@hmcts/ccd-case-ui-toolkit 7.4.8-v1 → 7.4.9-exui-5098
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +1138 -1100
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +453 -440
- package/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input,
|
|
2
|
+
import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, ChangeDetectionStrategy, SecurityContext, Injector, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i5 from '@angular/common';
|
|
4
4
|
import { CommonModule, AsyncPipe, CurrencyPipe, formatDate } from '@angular/common';
|
|
5
5
|
import * as i1 from 'rpx-xui-translation';
|
|
6
6
|
import { RpxTranslationModule, RpxTranslatePipe } from 'rpx-xui-translation';
|
|
7
|
-
import
|
|
7
|
+
import { BehaviorSubject, throwError, Subject, EMPTY, concat, defer, timer, Observable, skip, of, forkJoin, fromEvent, Subscription, combineLatest } from 'rxjs';
|
|
8
|
+
import { __decorate, __metadata } from 'tslib';
|
|
9
|
+
import { Type, plainToClass, Exclude, Expose, plainToClassFromExist } from 'class-transformer';
|
|
10
|
+
import * as i1$1 from '@angular/common/http';
|
|
11
|
+
import { HttpErrorResponse, HttpHeaders, HttpParams, HttpStatusCode } from '@angular/common/http';
|
|
12
|
+
import { distinctUntilChanged, catchError, map, shareReplay, switchMap, repeat, retry, publish, refCount, debounceTime, delay, tap, finalize, timeout, mergeMap, retryWhen, delayWhen, publishReplay, take, first, takeUntil, filter } from 'rxjs/operators';
|
|
13
|
+
import * as i1$2 from '@angular/router';
|
|
8
14
|
import { RouterModule, NavigationStart, NavigationEnd } from '@angular/router';
|
|
9
15
|
import * as i4 from '@angular/forms';
|
|
10
16
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormArray, FormGroup, FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
11
|
-
import { BehaviorSubject, throwError, Subject, EMPTY, concat, defer, timer, Observable, skip, of, forkJoin, fromEvent, Subscription, combineLatest } from 'rxjs';
|
|
12
|
-
import { distinctUntilChanged, catchError, map, switchMap, repeat, retry, publish, refCount, debounceTime, delay, finalize, timeout, mergeMap, retryWhen, tap, delayWhen, publishReplay, take, first, takeUntil, filter } from 'rxjs/operators';
|
|
13
|
-
import * as i1$2 from '@angular/common/http';
|
|
14
|
-
import { HttpErrorResponse, HttpHeaders, HttpParams, HttpStatusCode } from '@angular/common/http';
|
|
15
|
-
import { Type, Exclude, Expose, plainToClassFromExist, plainToClass } from 'class-transformer';
|
|
16
17
|
import moment from 'moment';
|
|
17
|
-
import { __decorate, __metadata } from 'tslib';
|
|
18
18
|
import * as _ from 'underscore';
|
|
19
19
|
import 'reflect-metadata';
|
|
20
20
|
import { StateMachine } from '@edium/fsm';
|
|
@@ -168,6 +168,620 @@ class FooterComponent {
|
|
|
168
168
|
}] }); })();
|
|
169
169
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 9 }); })();
|
|
170
170
|
|
|
171
|
+
class Jurisdiction {
|
|
172
|
+
id;
|
|
173
|
+
name;
|
|
174
|
+
description;
|
|
175
|
+
caseTypes;
|
|
176
|
+
currentCaseType;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function hasRoles(profile) {
|
|
180
|
+
if (profile.user && profile.user.idam && Array.isArray(profile.user.idam.roles)) {
|
|
181
|
+
return profile.user.idam.roles.length > 0;
|
|
182
|
+
}
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
185
|
+
// @dynamic
|
|
186
|
+
class Profile {
|
|
187
|
+
user;
|
|
188
|
+
channels;
|
|
189
|
+
jurisdictions;
|
|
190
|
+
default;
|
|
191
|
+
isSolicitor() {
|
|
192
|
+
if (hasRoles(this)) {
|
|
193
|
+
return this.user.idam.roles.find(r => r.endsWith('-solicitor')) !== undefined;
|
|
194
|
+
}
|
|
195
|
+
return false;
|
|
196
|
+
}
|
|
197
|
+
isCourtAdmin() {
|
|
198
|
+
if (hasRoles(this)) {
|
|
199
|
+
return this.user.idam.roles.find(r => r.endsWith('-courtadmin')) !== undefined;
|
|
200
|
+
}
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
__decorate([
|
|
205
|
+
Type(() => Jurisdiction),
|
|
206
|
+
__metadata("design:type", Array)
|
|
207
|
+
], Profile.prototype, "jurisdictions", void 0);
|
|
208
|
+
|
|
209
|
+
class ProfileNotifier {
|
|
210
|
+
profileSource = new BehaviorSubject(new Profile());
|
|
211
|
+
profile = this.profileSource.asObservable();
|
|
212
|
+
announceProfile(profile) {
|
|
213
|
+
this.profileSource.next(profile);
|
|
214
|
+
}
|
|
215
|
+
clearProfile() {
|
|
216
|
+
this.profileSource.next(new Profile());
|
|
217
|
+
}
|
|
218
|
+
static ɵfac = function ProfileNotifier_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileNotifier)(); };
|
|
219
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ProfileNotifier, factory: ProfileNotifier.ɵfac });
|
|
220
|
+
}
|
|
221
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileNotifier, [{
|
|
222
|
+
type: Injectable
|
|
223
|
+
}], null, null); })();
|
|
224
|
+
|
|
225
|
+
/* istanbul ignore file */
|
|
226
|
+
class AbstractAppConfig {
|
|
227
|
+
/**
|
|
228
|
+
* Dummy version replacing deprecated `getRemotePrintServiceUrl()`, to be removed in next major release
|
|
229
|
+
* @deprecated
|
|
230
|
+
* @returns `undefined`
|
|
231
|
+
*/
|
|
232
|
+
getRemotePrintServiceUrl() {
|
|
233
|
+
return undefined;
|
|
234
|
+
}
|
|
235
|
+
getUserInfoApiUrl() {
|
|
236
|
+
return undefined;
|
|
237
|
+
}
|
|
238
|
+
getWAServiceConfig() {
|
|
239
|
+
return undefined;
|
|
240
|
+
}
|
|
241
|
+
getAccessManagementBasicViewMock() {
|
|
242
|
+
return undefined;
|
|
243
|
+
}
|
|
244
|
+
getAccessManagementRequestReviewMockModel() {
|
|
245
|
+
return undefined;
|
|
246
|
+
}
|
|
247
|
+
getLocationRefApiUrl() {
|
|
248
|
+
return undefined;
|
|
249
|
+
}
|
|
250
|
+
getEnvironment() {
|
|
251
|
+
if (this.getActivityUrl()?.includes('.aat.'))
|
|
252
|
+
return 'aat';
|
|
253
|
+
else if (this.getActivityUrl()?.includes('.preview.'))
|
|
254
|
+
return 'preview';
|
|
255
|
+
else if (this.getActivityUrl()?.includes('.demo.'))
|
|
256
|
+
return 'demo';
|
|
257
|
+
else if (this.getActivityUrl()?.includes('.ithc.'))
|
|
258
|
+
return 'ithc';
|
|
259
|
+
return 'prod';
|
|
260
|
+
}
|
|
261
|
+
getWASupportedRoleCategories() {
|
|
262
|
+
return [];
|
|
263
|
+
}
|
|
264
|
+
getWASupportedRoleTypes() {
|
|
265
|
+
return [];
|
|
266
|
+
}
|
|
267
|
+
getCamRoleAssignmentsApiUrl() {
|
|
268
|
+
return undefined;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
class CaseEditorConfig {
|
|
272
|
+
api_url;
|
|
273
|
+
case_data_url;
|
|
274
|
+
document_management_url;
|
|
275
|
+
document_management_url_v2;
|
|
276
|
+
hrs_url;
|
|
277
|
+
document_management_secure_enabled;
|
|
278
|
+
documentSecureModeCaseTypeExclusions;
|
|
279
|
+
mc_cdam_exclusion_list;
|
|
280
|
+
login_url;
|
|
281
|
+
oauth2_client_id;
|
|
282
|
+
postcode_lookup_url;
|
|
283
|
+
remote_document_management_url;
|
|
284
|
+
remote_hrs_url;
|
|
285
|
+
annotation_api_url;
|
|
286
|
+
payments_url;
|
|
287
|
+
pay_bulk_scan_url;
|
|
288
|
+
activity_batch_collection_delay_ms;
|
|
289
|
+
activity_next_poll_request_ms;
|
|
290
|
+
activity_retry;
|
|
291
|
+
timeouts_case_retrieval;
|
|
292
|
+
timeouts_case_retrieval_artificial_delay;
|
|
293
|
+
activity_url;
|
|
294
|
+
activity_max_request_per_batch;
|
|
295
|
+
print_service_url;
|
|
296
|
+
/**
|
|
297
|
+
* remote_print_service_url marked as optional since deprecation, ahead of removal in next major release
|
|
298
|
+
* @deprecated
|
|
299
|
+
*/
|
|
300
|
+
remote_print_service_url;
|
|
301
|
+
pagination_page_size;
|
|
302
|
+
prd_url;
|
|
303
|
+
cache_time_out;
|
|
304
|
+
work_allocation_api_url;
|
|
305
|
+
user_info_api_url;
|
|
306
|
+
wa_service_config;
|
|
307
|
+
access_management_basic_view_mock;
|
|
308
|
+
access_management_request_review_mock;
|
|
309
|
+
location_ref_api_url;
|
|
310
|
+
cam_role_assignments_api_url;
|
|
311
|
+
refunds_url;
|
|
312
|
+
notification_url;
|
|
313
|
+
payment_return_url;
|
|
314
|
+
categories_and_documents_url;
|
|
315
|
+
document_data_url;
|
|
316
|
+
case_flags_refdata_api_url;
|
|
317
|
+
rd_common_data_api_url;
|
|
318
|
+
case_data_store_api_url;
|
|
319
|
+
icp_enabled;
|
|
320
|
+
icp_jurisdictions;
|
|
321
|
+
events_to_hide;
|
|
322
|
+
enable_service_specific_multi_followups;
|
|
323
|
+
wa_supported_role_categories;
|
|
324
|
+
wa_supported_role_types;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
class HttpError {
|
|
328
|
+
constructor() {
|
|
329
|
+
this.timestamp = new Date().toISOString();
|
|
330
|
+
this.error = HttpError.DEFAULT_ERROR;
|
|
331
|
+
this.message = HttpError.DEFAULT_MESSAGE;
|
|
332
|
+
this.status = HttpError.DEFAULT_STATUS;
|
|
333
|
+
this.exception = null;
|
|
334
|
+
this.path = null;
|
|
335
|
+
this.details = null;
|
|
336
|
+
this.callbackErrors = null;
|
|
337
|
+
this.callbackWarnings = null;
|
|
338
|
+
}
|
|
339
|
+
static DEFAULT_ERROR = 'Unknown error';
|
|
340
|
+
static DEFAULT_MESSAGE = 'Sorry, there is a problem with this service. Please try again later.';
|
|
341
|
+
static DEFAULT_STATUS = 500;
|
|
342
|
+
static MESSAGE_ERROR_429 = 'Your request was rate limited. Please wait a few seconds before retrying your document upload';
|
|
343
|
+
timestamp;
|
|
344
|
+
status;
|
|
345
|
+
error;
|
|
346
|
+
exception;
|
|
347
|
+
message;
|
|
348
|
+
path;
|
|
349
|
+
details;
|
|
350
|
+
callbackErrors;
|
|
351
|
+
callbackWarnings;
|
|
352
|
+
static from(response) {
|
|
353
|
+
const error = new HttpError();
|
|
354
|
+
if (response?.status === 429) {
|
|
355
|
+
error.error = HttpError.MESSAGE_ERROR_429;
|
|
356
|
+
error.status = response.status;
|
|
357
|
+
error.message = response.message;
|
|
358
|
+
}
|
|
359
|
+
// Check that the HttpErrorResponse contains an "error" object before mapping the error properties
|
|
360
|
+
if (!!(response && response.error)) {
|
|
361
|
+
Object.keys(error).forEach((key) => {
|
|
362
|
+
error[key] = response.error.hasOwnProperty(key) && response.error[key] ? response.error[key] : error[key];
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
// Error object in HttpErrorResponse will be empty for 403 errors
|
|
366
|
+
// Set the error properties of HttpError accordingly
|
|
367
|
+
if (response?.status === 403) {
|
|
368
|
+
error.error = response.statusText;
|
|
369
|
+
error.status = response.status;
|
|
370
|
+
error.message = response.message;
|
|
371
|
+
}
|
|
372
|
+
return error;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* `Oauth2Service` and `AuthService` cannot be merged as it creates a cyclic dependency on `AuthService` through `HttpErrorService`.
|
|
378
|
+
*/
|
|
379
|
+
class AuthService {
|
|
380
|
+
appConfig;
|
|
381
|
+
document;
|
|
382
|
+
static PATH_OAUTH2_REDIRECT = '/oauth2redirect';
|
|
383
|
+
constructor(appConfig, document) {
|
|
384
|
+
this.appConfig = appConfig;
|
|
385
|
+
this.document = document;
|
|
386
|
+
}
|
|
387
|
+
signIn() {
|
|
388
|
+
const loginUrl = this.appConfig.getLoginUrl();
|
|
389
|
+
const clientId = this.appConfig.getOAuth2ClientId();
|
|
390
|
+
const redirectUri = encodeURIComponent(this.redirectUri());
|
|
391
|
+
this.document.location.href = `${loginUrl}?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}`;
|
|
392
|
+
}
|
|
393
|
+
redirectUri() {
|
|
394
|
+
return this.document.location.origin + AuthService.PATH_OAUTH2_REDIRECT;
|
|
395
|
+
}
|
|
396
|
+
static ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(DOCUMENT)); };
|
|
397
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac });
|
|
398
|
+
}
|
|
399
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
400
|
+
type: Injectable
|
|
401
|
+
}], () => [{ type: AbstractAppConfig }, { type: undefined, decorators: [{
|
|
402
|
+
type: Inject,
|
|
403
|
+
args: [DOCUMENT]
|
|
404
|
+
}] }], null); })();
|
|
405
|
+
|
|
406
|
+
class LoadingService {
|
|
407
|
+
registered = new Map();
|
|
408
|
+
loading = new BehaviorSubject(false);
|
|
409
|
+
sharedSpinners = [];
|
|
410
|
+
get isLoading() {
|
|
411
|
+
return this.loading.pipe(distinctUntilChanged());
|
|
412
|
+
}
|
|
413
|
+
register() {
|
|
414
|
+
const token = this.generateToken();
|
|
415
|
+
this.registered.set(token, token);
|
|
416
|
+
this.loading.next(true);
|
|
417
|
+
return token;
|
|
418
|
+
}
|
|
419
|
+
unregister(token) {
|
|
420
|
+
this.registered.delete(token);
|
|
421
|
+
this.loading.next(this.registered.size > 0);
|
|
422
|
+
}
|
|
423
|
+
addSharedSpinner(spinnerId) {
|
|
424
|
+
this.sharedSpinners.push(spinnerId);
|
|
425
|
+
}
|
|
426
|
+
hasSharedSpinner() {
|
|
427
|
+
return this.sharedSpinners.length > 0;
|
|
428
|
+
}
|
|
429
|
+
unregisterSharedSpinner() {
|
|
430
|
+
this.registered.delete(this.sharedSpinners[0]);
|
|
431
|
+
this.sharedSpinners.shift();
|
|
432
|
+
this.loading.next(this.registered.size > 0);
|
|
433
|
+
}
|
|
434
|
+
generateToken() {
|
|
435
|
+
const timestamp = window.performance.now();
|
|
436
|
+
return `toolkit-loading-${timestamp}`; // format: [source-library]-[unique incrementing number]
|
|
437
|
+
}
|
|
438
|
+
static ɵfac = function LoadingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingService)(); };
|
|
439
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac });
|
|
440
|
+
}
|
|
441
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
442
|
+
type: Injectable
|
|
443
|
+
}], null, null); })();
|
|
444
|
+
|
|
445
|
+
class LoadingModule {
|
|
446
|
+
static ɵfac = function LoadingModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingModule)(); };
|
|
447
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LoadingModule });
|
|
448
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
449
|
+
LoadingService
|
|
450
|
+
] });
|
|
451
|
+
}
|
|
452
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingModule, [{
|
|
453
|
+
type: NgModule,
|
|
454
|
+
args: [{
|
|
455
|
+
imports: [],
|
|
456
|
+
declarations: [],
|
|
457
|
+
exports: [],
|
|
458
|
+
providers: [
|
|
459
|
+
LoadingService
|
|
460
|
+
]
|
|
461
|
+
}]
|
|
462
|
+
}], null, null); })();
|
|
463
|
+
|
|
464
|
+
class StructuredLoggerService {
|
|
465
|
+
static CIRCULAR_VALUE = '[Circular]';
|
|
466
|
+
static MAX_DEPTH_VALUE = '[MaxDepth]';
|
|
467
|
+
static MAX_REDACTION_DEPTH = 10;
|
|
468
|
+
static REDACTED_VALUE = '[REDACTED]';
|
|
469
|
+
static KEY_VALUE_PATTERN = /\b([a-z][\w-]*(?:[ _-][a-z][\w-]*)?)([ \t]*[:=][ \t]*)((?:Bearer[ \t]+)?)([^,;&\s]+)/gi;
|
|
470
|
+
static SENSITIVE_KEY_PATTERN = /(password|passcode|pwd|secret|token|authori[sz]ation|authentication|auth[-_ ]?context|^auth$|api[-_ ]?key|cookie|session|credential)/i;
|
|
471
|
+
static BEARER_TOKEN_PATTERN = /\bBearer\s+([\w.~+/-]+=*)/gi;
|
|
472
|
+
debug(message, context) {
|
|
473
|
+
this.write('debug', message, context);
|
|
474
|
+
}
|
|
475
|
+
error(message, context) {
|
|
476
|
+
this.write('error', message, context);
|
|
477
|
+
}
|
|
478
|
+
info(message, context) {
|
|
479
|
+
this.write('info', message, context);
|
|
480
|
+
}
|
|
481
|
+
warn(message, context) {
|
|
482
|
+
this.write('warn', message, context);
|
|
483
|
+
}
|
|
484
|
+
redact(value) {
|
|
485
|
+
return this.redactValue(value, new WeakSet(), false, 0);
|
|
486
|
+
}
|
|
487
|
+
write(level, message, context) {
|
|
488
|
+
const entry = {
|
|
489
|
+
level,
|
|
490
|
+
message,
|
|
491
|
+
timestamp: new Date().toISOString()
|
|
492
|
+
};
|
|
493
|
+
if (context !== undefined) {
|
|
494
|
+
entry.context = this.redact(context);
|
|
495
|
+
}
|
|
496
|
+
switch (level) {
|
|
497
|
+
case 'error':
|
|
498
|
+
console.error(entry);
|
|
499
|
+
break;
|
|
500
|
+
case 'warn':
|
|
501
|
+
console.warn(entry);
|
|
502
|
+
break;
|
|
503
|
+
default:
|
|
504
|
+
console.log(entry);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
redactValue(value, seen, redactCurrentValue, depth) {
|
|
508
|
+
if (redactCurrentValue) {
|
|
509
|
+
return StructuredLoggerService.REDACTED_VALUE;
|
|
510
|
+
}
|
|
511
|
+
if (value === null || value === undefined) {
|
|
512
|
+
return value;
|
|
513
|
+
}
|
|
514
|
+
if (typeof value === 'string') {
|
|
515
|
+
return this.redactSensitiveString(value);
|
|
516
|
+
}
|
|
517
|
+
if (typeof value !== 'object') {
|
|
518
|
+
return value;
|
|
519
|
+
}
|
|
520
|
+
if (seen.has(value)) {
|
|
521
|
+
return StructuredLoggerService.CIRCULAR_VALUE;
|
|
522
|
+
}
|
|
523
|
+
if (depth >= StructuredLoggerService.MAX_REDACTION_DEPTH) {
|
|
524
|
+
return StructuredLoggerService.MAX_DEPTH_VALUE;
|
|
525
|
+
}
|
|
526
|
+
seen.add(value);
|
|
527
|
+
let redactedValue;
|
|
528
|
+
if (value instanceof Date) {
|
|
529
|
+
redactedValue = value.toISOString();
|
|
530
|
+
}
|
|
531
|
+
else if (value instanceof Error) {
|
|
532
|
+
redactedValue = this.redactError(value, seen, depth);
|
|
533
|
+
}
|
|
534
|
+
else if (Array.isArray(value)) {
|
|
535
|
+
redactedValue = value.map(item => this.redactValue(item, seen, false, depth + 1));
|
|
536
|
+
}
|
|
537
|
+
else {
|
|
538
|
+
redactedValue = this.redactObject(value, seen, depth);
|
|
539
|
+
}
|
|
540
|
+
seen.delete(value);
|
|
541
|
+
return redactedValue;
|
|
542
|
+
}
|
|
543
|
+
redactError(error, seen, depth) {
|
|
544
|
+
const redactedError = {
|
|
545
|
+
name: this.redactValue(error.name, seen, false, depth + 1),
|
|
546
|
+
message: this.redactValue(error.message, seen, false, depth + 1)
|
|
547
|
+
};
|
|
548
|
+
if (error.stack) {
|
|
549
|
+
redactedError.stack = this.redactValue(error.stack, seen, false, depth + 1);
|
|
550
|
+
}
|
|
551
|
+
const errorContext = error;
|
|
552
|
+
Object.keys(errorContext).forEach(key => {
|
|
553
|
+
redactedError[key] = this.redactValue(errorContext[key], seen, this.isSensitiveKey(key), depth + 1);
|
|
554
|
+
});
|
|
555
|
+
return redactedError;
|
|
556
|
+
}
|
|
557
|
+
redactObject(value, seen, depth) {
|
|
558
|
+
const redactedValue = {};
|
|
559
|
+
const hasSensitiveNamedValue = this.hasSensitiveNamedValue(value);
|
|
560
|
+
Object.keys(value).forEach(key => {
|
|
561
|
+
redactedValue[key] = this.redactValue(value[key], seen, this.isSensitiveKey(key) || (hasSensitiveNamedValue && this.isValueKey(key)), depth + 1);
|
|
562
|
+
});
|
|
563
|
+
return redactedValue;
|
|
564
|
+
}
|
|
565
|
+
redactSensitiveString(value) {
|
|
566
|
+
return value
|
|
567
|
+
.replace(StructuredLoggerService.KEY_VALUE_PATTERN, (match, key, separator, bearerPrefix) => {
|
|
568
|
+
return this.isSensitiveKey(key) ? `${key}${separator}${bearerPrefix}${StructuredLoggerService.REDACTED_VALUE}` : match;
|
|
569
|
+
})
|
|
570
|
+
.replace(StructuredLoggerService.BEARER_TOKEN_PATTERN, 'Bearer [REDACTED]');
|
|
571
|
+
}
|
|
572
|
+
hasSensitiveNamedValue(value) {
|
|
573
|
+
return Object.keys(value)
|
|
574
|
+
.some(key => {
|
|
575
|
+
const namedValue = value[key];
|
|
576
|
+
return this.isNameKey(key) && typeof namedValue === 'string' && this.isSensitiveKey(namedValue);
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
isNameKey(key) {
|
|
580
|
+
return ['key', 'name'].includes(key.toLowerCase());
|
|
581
|
+
}
|
|
582
|
+
isSensitiveKey(key) {
|
|
583
|
+
return StructuredLoggerService.SENSITIVE_KEY_PATTERN.test(key);
|
|
584
|
+
}
|
|
585
|
+
isValueKey(key) {
|
|
586
|
+
return ['value', 'values'].includes(key.toLowerCase());
|
|
587
|
+
}
|
|
588
|
+
static ɵfac = function StructuredLoggerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StructuredLoggerService)(); };
|
|
589
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StructuredLoggerService, factory: StructuredLoggerService.ɵfac, providedIn: 'root' });
|
|
590
|
+
}
|
|
591
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StructuredLoggerService, [{
|
|
592
|
+
type: Injectable,
|
|
593
|
+
args: [{
|
|
594
|
+
providedIn: 'root'
|
|
595
|
+
}]
|
|
596
|
+
}], null, null); })();
|
|
597
|
+
|
|
598
|
+
class HttpErrorService {
|
|
599
|
+
authService;
|
|
600
|
+
loadingService;
|
|
601
|
+
static logger = new StructuredLoggerService();
|
|
602
|
+
constructor(authService, loadingService) {
|
|
603
|
+
this.authService = authService;
|
|
604
|
+
this.loadingService = loadingService;
|
|
605
|
+
}
|
|
606
|
+
static CONTENT_TYPE = 'Content-Type';
|
|
607
|
+
static JSON = 'json';
|
|
608
|
+
error;
|
|
609
|
+
static convertToHttpError(error) {
|
|
610
|
+
if (error instanceof HttpError) {
|
|
611
|
+
return error;
|
|
612
|
+
}
|
|
613
|
+
let httpError = new HttpError();
|
|
614
|
+
if (error instanceof HttpErrorResponse) {
|
|
615
|
+
if (error.headers?.get(HttpErrorService.CONTENT_TYPE).indexOf(HttpErrorService.JSON) !== -1) {
|
|
616
|
+
try {
|
|
617
|
+
httpError = HttpError.from(error);
|
|
618
|
+
}
|
|
619
|
+
catch (e) {
|
|
620
|
+
HttpErrorService.logger.error('Unable to convert HTTP error response.', { error: e });
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
if (!httpError.status) {
|
|
624
|
+
httpError.status = error.status;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
else if (error) {
|
|
628
|
+
if (error.message) {
|
|
629
|
+
httpError.message = error.message;
|
|
630
|
+
}
|
|
631
|
+
if (error.status) {
|
|
632
|
+
httpError.status = error.status;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
return httpError;
|
|
636
|
+
}
|
|
637
|
+
setError(error) {
|
|
638
|
+
this.error = error;
|
|
639
|
+
}
|
|
640
|
+
removeError() {
|
|
641
|
+
const error = this.error;
|
|
642
|
+
this.error = null;
|
|
643
|
+
return error;
|
|
644
|
+
}
|
|
645
|
+
handle(error, redirectIfNotAuthorised = true) {
|
|
646
|
+
if (this.loadingService.hasSharedSpinner()) {
|
|
647
|
+
this.loadingService.unregisterSharedSpinner();
|
|
648
|
+
}
|
|
649
|
+
const httpError = HttpErrorService.convertToHttpError(error);
|
|
650
|
+
if (redirectIfNotAuthorised && httpError.status === 401) {
|
|
651
|
+
this.authService.signIn();
|
|
652
|
+
}
|
|
653
|
+
return throwError(httpError);
|
|
654
|
+
}
|
|
655
|
+
static ɵfac = function HttpErrorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HttpErrorService)(i0.ɵɵinject(AuthService), i0.ɵɵinject(LoadingService)); };
|
|
656
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HttpErrorService, factory: HttpErrorService.ɵfac });
|
|
657
|
+
}
|
|
658
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HttpErrorService, [{
|
|
659
|
+
type: Injectable
|
|
660
|
+
}], () => [{ type: AuthService }, { type: LoadingService }], null); })();
|
|
661
|
+
|
|
662
|
+
class HttpService {
|
|
663
|
+
httpclient;
|
|
664
|
+
httpErrorService;
|
|
665
|
+
static HEADER_ACCEPT = 'Accept';
|
|
666
|
+
static HEADER_CONTENT_TYPE = 'Content-Type';
|
|
667
|
+
constructor(httpclient, httpErrorService) {
|
|
668
|
+
this.httpclient = httpclient;
|
|
669
|
+
this.httpErrorService = httpErrorService;
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
*
|
|
673
|
+
* @param url Url resolved using UrlResolverService
|
|
674
|
+
* @param options OptionsType
|
|
675
|
+
* @returns Observable<any> return value
|
|
676
|
+
* @see UrlResolverService
|
|
677
|
+
*/
|
|
678
|
+
get(url, options, redirectIfNotAuthorised = true, errorHandler) {
|
|
679
|
+
return this.httpclient
|
|
680
|
+
.get(url, this.setDefaultValue(options))
|
|
681
|
+
.pipe(catchError((res) => {
|
|
682
|
+
let error = res;
|
|
683
|
+
if (typeof errorHandler === 'function') {
|
|
684
|
+
error = errorHandler(res);
|
|
685
|
+
}
|
|
686
|
+
return this.httpErrorService.handle(error, redirectIfNotAuthorised);
|
|
687
|
+
}));
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @param url Url resolved using UrlResolverService
|
|
692
|
+
* @param body Body for post
|
|
693
|
+
* @param options OptionsType
|
|
694
|
+
* @returns Observable<any> return value
|
|
695
|
+
* @see UrlResolverService
|
|
696
|
+
*/
|
|
697
|
+
post(url, body, options, redirectIfNotAuthorised = true) {
|
|
698
|
+
return this.httpclient
|
|
699
|
+
.post(url, body, this.setDefaultValue(options))
|
|
700
|
+
.pipe(catchError((res) => {
|
|
701
|
+
return this.httpErrorService.handle(res, redirectIfNotAuthorised);
|
|
702
|
+
}));
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @param url Url resolved using UrlResolverService
|
|
707
|
+
* @param body Body for post
|
|
708
|
+
* @param options OptionsType
|
|
709
|
+
* @returns Observable<any> return value
|
|
710
|
+
* @see UrlResolverService
|
|
711
|
+
*/
|
|
712
|
+
put(url, body, options) {
|
|
713
|
+
return this.httpclient
|
|
714
|
+
.put(url, body, this.setDefaultValue(options))
|
|
715
|
+
.pipe(catchError((res) => {
|
|
716
|
+
return this.httpErrorService.handle(res);
|
|
717
|
+
}));
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @param url Url resolved using UrlResolverService
|
|
722
|
+
* @param options OptionsType
|
|
723
|
+
* @returns Observable<any> return value
|
|
724
|
+
* @see UrlResolverService
|
|
725
|
+
*/
|
|
726
|
+
delete(url, options) {
|
|
727
|
+
return this.httpclient
|
|
728
|
+
.delete(url, this.setDefaultValue(options))
|
|
729
|
+
.pipe(catchError((res) => {
|
|
730
|
+
return this.httpErrorService.handle(res);
|
|
731
|
+
}));
|
|
732
|
+
}
|
|
733
|
+
setDefaultValue(options) {
|
|
734
|
+
options = options || { observe: 'body' };
|
|
735
|
+
options.withCredentials = true;
|
|
736
|
+
if (!options.headers) {
|
|
737
|
+
options.headers = new HttpHeaders()
|
|
738
|
+
.set(HttpService.HEADER_ACCEPT, 'application/json')
|
|
739
|
+
.set(HttpService.HEADER_CONTENT_TYPE, 'application/json');
|
|
740
|
+
}
|
|
741
|
+
return options;
|
|
742
|
+
}
|
|
743
|
+
static ɵfac = function HttpService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HttpService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(HttpErrorService)); };
|
|
744
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HttpService, factory: HttpService.ɵfac });
|
|
745
|
+
}
|
|
746
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HttpService, [{
|
|
747
|
+
type: Injectable
|
|
748
|
+
}], () => [{ type: i1$1.HttpClient }, { type: HttpErrorService }], null); })();
|
|
749
|
+
|
|
750
|
+
class ProfileService {
|
|
751
|
+
httpService;
|
|
752
|
+
appConfig;
|
|
753
|
+
static V2_MEDIATYPE_USER_PROFILE = 'application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-user-profile.v2+json;charset=UTF-8';
|
|
754
|
+
static URL = '/internal/profile';
|
|
755
|
+
profile$;
|
|
756
|
+
constructor(httpService, appConfig) {
|
|
757
|
+
this.httpService = httpService;
|
|
758
|
+
this.appConfig = appConfig;
|
|
759
|
+
}
|
|
760
|
+
get() {
|
|
761
|
+
if (this.profile$) {
|
|
762
|
+
return this.profile$;
|
|
763
|
+
}
|
|
764
|
+
const url = this.appConfig.getCaseDataUrl() + ProfileService.URL;
|
|
765
|
+
const headers = new HttpHeaders()
|
|
766
|
+
.set('experimental', 'true')
|
|
767
|
+
.set('Accept', ProfileService.V2_MEDIATYPE_USER_PROFILE)
|
|
768
|
+
.set('Content-Type', 'application/json');
|
|
769
|
+
// Not adding client context header because header is added to call immediately afterwards
|
|
770
|
+
this.profile$ = this.httpService
|
|
771
|
+
.get(url, { headers, observe: 'body' })
|
|
772
|
+
.pipe(map((p) => plainToClass(Profile, p)), shareReplay(1));
|
|
773
|
+
return this.profile$;
|
|
774
|
+
}
|
|
775
|
+
clearProfileCache() {
|
|
776
|
+
this.profile$ = undefined;
|
|
777
|
+
}
|
|
778
|
+
static ɵfac = function ProfileService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
779
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ProfileService, factory: ProfileService.ɵfac });
|
|
780
|
+
}
|
|
781
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileService, [{
|
|
782
|
+
type: Injectable
|
|
783
|
+
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
784
|
+
|
|
171
785
|
const _c0$19 = [[["", "headerNavigation", ""]]];
|
|
172
786
|
const _c1$v = ["[headerNavigation]"];
|
|
173
787
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -202,14 +816,22 @@ function HeaderBarComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
202
816
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r0.title));
|
|
203
817
|
} }
|
|
204
818
|
class HeaderBarComponent {
|
|
819
|
+
profileService;
|
|
820
|
+
profileNotifier;
|
|
821
|
+
constructor(profileService, profileNotifier) {
|
|
822
|
+
this.profileService = profileService;
|
|
823
|
+
this.profileNotifier = profileNotifier;
|
|
824
|
+
}
|
|
205
825
|
title;
|
|
206
826
|
isSolicitor;
|
|
207
827
|
username;
|
|
208
828
|
signOutRequest = new EventEmitter();
|
|
209
829
|
signOut() {
|
|
830
|
+
this.profileService?.clearProfileCache();
|
|
831
|
+
this.profileNotifier?.clearProfile();
|
|
210
832
|
this.signOutRequest.emit();
|
|
211
833
|
}
|
|
212
|
-
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
|
|
834
|
+
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(i0.ɵɵdirectiveInject(ProfileService, 8), i0.ɵɵdirectiveInject(ProfileNotifier, 8)); };
|
|
213
835
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$v, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
214
836
|
i0.ɵɵprojectionDef(_c0$19);
|
|
215
837
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
@@ -250,7 +872,11 @@ class HeaderBarComponent {
|
|
|
250
872
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderBarComponent, [{
|
|
251
873
|
type: Component,
|
|
252
874
|
args: [{ selector: 'cut-header-bar', standalone: false, template: "<header role=\"banner\" id=\"global-header\" class=\"with-proposition\">\n <div [class.full-screen]=\"!isSolicitor\" class=\"header-wrapper\">\n\n <div class=\"header-global\" [class.header-logo]=\"isSolicitor\">\n <div *ngIf=\"isSolicitor\">\n <a href=\"https://www.gov.uk\" title=\"Go to the GOV.UK homepage\" id=\"logo\" class=\"content\" style=\"margin-left: 0px;\">\n <img src=\"/img/gov.uk_logotype_crown_invert_trans.png?0.23.0\" width=\"36\" height=\"32\" alt=\"\"> {{'GOV.UK'}}\n </a>\n </div>\n <div class=\"global-header\" *ngIf=\"!isSolicitor\">\n <div class=\"title\">\n <span>{{title | rpxTranslate}}</span>\n </div>\n </div>\n </div>\n\n <div class=\"header-proposition\">\n <div class=\"content\">\n <a href=\"#proposition-links\" class=\"js-header-toggle menu\">{{'Menu' | rpxTranslate}}</a>\n <div *ngIf=\"isSolicitor\" id=\"proposition-menu\">\n <div class=\"title-solicitor\">\n <span id=\"proposition-name\">{{title | rpxTranslate}}</span>\n <ng-content select=\"[headerNavigation]\"></ng-content>\n </div>\n </div>\n\n <div class=\"proposition-right\">\n <span id=\"user-name\">{{username}}</span>\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"signOut()\" id=\"sign-out\">{{'Sign Out' | rpxTranslate}}</button>\n </div>\n </div>\n </div>\n\n </div>\n</header>\n", styles: [".title:after,.global-header .header-username:after,.global-header .header-title:after,.global-header:after{content:\"\";display:block;clear:both}.govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.global-header{background-color:#000;width:100%}.global-header .header-title{font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16pt;line-height:1.25}@media(min-width:641px){.global-header .header-title{font-size:20pt;line-height:1.3}}@media print{.global-header .header-title{font-size:12pt}}.global-header .header-title{float:left;font-weight:700;color:#fff;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media(min-width:769px){.global-header .header-title{width:50%}}@media screen and (max-width:379px){.global-header .header-title{width:auto;float:none}}.global-header .header-title .header-title-span{padding-left:22px}.global-header .header-username{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:12pt;line-height:1.25}@media(min-width:641px){.global-header .header-username{font-size:14pt;line-height:1.4285714286}}@media print{.global-header .header-username{font-size:11pt}}.global-header .header-username{float:right;text-align:right;color:#fff;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media(min-width:769px){.global-header .header-username{width:50%}}.global-header .header-username .header-username-span{padding-right:15px}#global-header .full-screen{max-width:100%}.title{font-weight:700;color:#fff;font-size:24px}.title-solicitor{float:left}.proposition-right{float:right;padding-top:5px}#global-header.with-proposition .header-wrapper .header-logo{width:27%}#global-header.with-proposition .header-wrapper .header-proposition{width:100%;float:none}#global-header.with-proposition .header-wrapper .header-proposition .content{margin:0}#user-name,#sign-out{font-size:16px;font-weight:700;border:none;color:#fff;margin:0 0 0 9px;text-decoration:none;background-color:#000}#user-name:focus,#sign-out:focus{color:#fff}#sign-out:hover{text-decoration:underline}\n"] }]
|
|
253
|
-
}],
|
|
875
|
+
}], () => [{ type: ProfileService, decorators: [{
|
|
876
|
+
type: Optional
|
|
877
|
+
}] }, { type: ProfileNotifier, decorators: [{
|
|
878
|
+
type: Optional
|
|
879
|
+
}] }], { title: [{
|
|
254
880
|
type: Input
|
|
255
881
|
}], isSolicitor: [{
|
|
256
882
|
type: Input
|
|
@@ -259,7 +885,7 @@ class HeaderBarComponent {
|
|
|
259
885
|
}], signOutRequest: [{
|
|
260
886
|
type: Output
|
|
261
887
|
}] }); })();
|
|
262
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber:
|
|
888
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 11 }); })();
|
|
263
889
|
|
|
264
890
|
const _c0$18 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
265
891
|
const _c1$u = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
@@ -310,7 +936,7 @@ class NavigationItemComponent {
|
|
|
310
936
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 4, ctx.label));
|
|
311
937
|
i0.ɵɵadvance(2);
|
|
312
938
|
i0.ɵɵproperty("ngIf", ctx.imageLink);
|
|
313
|
-
} }, dependencies: [i5.NgIf, i1$
|
|
939
|
+
} }, dependencies: [i5.NgIf, i1$2.RouterLink, i1$2.RouterLinkActive, i1.RpxTranslatePipe], styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}a[_ngcontent-%COMP%]{color:#fff;text-decoration:none;padding-right:10px;font-size:18px}a.active[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]:focus{background-color:#005ea5;color:#fff}input[_ngcontent-%COMP%]{float:right;background-color:#00823b;margin-top:-3px}.item-bold[_ngcontent-%COMP%]{font-size:18px;font-weight:700}"] });
|
|
314
940
|
}
|
|
315
941
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationItemComponent, [{
|
|
316
942
|
type: Component,
|
|
@@ -1071,691 +1697,166 @@ class TabsComponent {
|
|
|
1071
1697
|
this.show(this.route.snapshot.fragment);
|
|
1072
1698
|
}
|
|
1073
1699
|
show(id) {
|
|
1074
|
-
const panels = this.panels.toArray();
|
|
1075
|
-
id = id || panels[0].id;
|
|
1076
|
-
/* istanbul ignore else */
|
|
1077
|
-
if (0 > this.panelIds.indexOf(id)) {
|
|
1078
|
-
id = panels[0].id;
|
|
1079
|
-
}
|
|
1080
|
-
panels.forEach((panel) => panel.selected = id === panel.id);
|
|
1081
|
-
}
|
|
1082
|
-
static ɵfac = function TabsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabsComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
1083
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [["cut-tabs"]], contentQueries: function TabsComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1084
|
-
i0.ɵɵcontentQuery(dirIndex, TabComponent, 4);
|
|
1085
|
-
} if (rf & 2) {
|
|
1086
|
-
let _t;
|
|
1087
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1088
|
-
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1089
|
-
i0.ɵɵviewQuery(_c0$13, 5);
|
|
1090
|
-
} if (rf & 2) {
|
|
1091
|
-
let _t;
|
|
1092
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
1093
|
-
} }, standalone: false, ngContentSelectors: _c1$r, decls: 5, vars: 1, consts: [["tab", ""], [1, "tabs"], ["role", "list", 1, "tabs-list"], ["class", "tabs-list-item", 4, "ngFor", "ngForOf"], [1, "tabs-content"], [1, "tabs-list-item"], ["role", "tab", "tabindex", "0", 1, "tabs-toggle", 3, "click", "routerLink", "fragment", "ngClass"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1094
|
-
i0.ɵɵprojectionDef();
|
|
1095
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
1096
|
-
i0.ɵɵtemplate(2, TabsComponent_li_2_Template, 5, 11, "li", 3);
|
|
1097
|
-
i0.ɵɵelementEnd();
|
|
1098
|
-
i0.ɵɵelementStart(3, "div", 4);
|
|
1099
|
-
i0.ɵɵprojection(4);
|
|
1100
|
-
i0.ɵɵelementEnd()();
|
|
1101
|
-
} if (rf & 2) {
|
|
1102
|
-
i0.ɵɵadvance(2);
|
|
1103
|
-
i0.ɵɵproperty("ngForOf", ctx.panels);
|
|
1104
|
-
} }, dependencies: [i5.NgClass, i5.NgForOf, i1$1.RouterLink, i1.RpxTranslatePipe], styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}.tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media(max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
1105
|
-
}
|
|
1106
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabsComponent, [{
|
|
1107
|
-
type: Component,
|
|
1108
|
-
args: [{ selector: 'cut-tabs', standalone: false, template: "<div class=\"tabs\">\n\n <ul class=\"tabs-list\" role=\"list\">\n <li class=\"tabs-list-item\" *ngFor=\"let panel of panels\">\n <a\n class=\"tabs-toggle\"\n [routerLink]=\"['.']\"\n [fragment]=\"panel.id\"\n role=\"tab\"\n (click)=\"show(panel.id)\"\n [attr.aria-controls]=\"panel.id\"\n [attr.aria-selected]=\"panel.selected\"\n tabindex=\"0\"\n [ngClass]=\"{\n 'tabs-toggle-selected': panel.selected\n }\"\n #tab\n >{{panel.title | rpxTranslate}}</a>\n </li>\n </ul>\n\n <div class=\"tabs-content\">\n <ng-content></ng-content>\n </div>\n\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.tabs-toggle{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle a{color:#005ea5}@media(max-width:640px){.tabs-list{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle{border-top:1px solid #bfc1c3}.tabs-toggle:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list{float:left}.tabs-list-item{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle:visited{color:#005ea5}.tabs-toggle-selected,.tabs-toggle[aria-selected=true]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}\n"] }]
|
|
1109
|
-
}], () => [{ type: i1$1.ActivatedRoute }], { tabs: [{
|
|
1110
|
-
type: ViewChildren,
|
|
1111
|
-
args: ['tab']
|
|
1112
|
-
}], panels: [{
|
|
1113
|
-
type: ContentChildren,
|
|
1114
|
-
args: [TabComponent]
|
|
1115
|
-
}] }); })();
|
|
1116
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabsComponent, { className: "TabsComponent", filePath: "lib/components/tabs/tabs.component.ts", lineNumber: 13 }); })();
|
|
1117
|
-
|
|
1118
|
-
class TabsModule {
|
|
1119
|
-
static ɵfac = function TabsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabsModule)(); };
|
|
1120
|
-
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TabsModule });
|
|
1121
|
-
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1122
|
-
RouterModule,
|
|
1123
|
-
RpxTranslationModule.forChild()] });
|
|
1124
|
-
}
|
|
1125
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabsModule, [{
|
|
1126
|
-
type: NgModule,
|
|
1127
|
-
args: [{
|
|
1128
|
-
imports: [
|
|
1129
|
-
CommonModule,
|
|
1130
|
-
RouterModule,
|
|
1131
|
-
RpxTranslationModule.forChild()
|
|
1132
|
-
],
|
|
1133
|
-
declarations: [
|
|
1134
|
-
TabsComponent,
|
|
1135
|
-
TabComponent,
|
|
1136
|
-
],
|
|
1137
|
-
exports: [
|
|
1138
|
-
TabsComponent,
|
|
1139
|
-
TabComponent,
|
|
1140
|
-
]
|
|
1141
|
-
}]
|
|
1142
|
-
}], null, null); })();
|
|
1143
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TabsModule, { declarations: [TabsComponent,
|
|
1144
|
-
TabComponent], imports: [CommonModule,
|
|
1145
|
-
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1146
|
-
TabComponent] }); })();
|
|
1147
|
-
|
|
1148
|
-
const _c0$12 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1149
|
-
class ActivityBannerComponent {
|
|
1150
|
-
bannerType;
|
|
1151
|
-
description;
|
|
1152
|
-
imageLink;
|
|
1153
|
-
constructor() { }
|
|
1154
|
-
ngOnInit() {
|
|
1155
|
-
}
|
|
1156
|
-
static ɵfac = function ActivityBannerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityBannerComponent)(); };
|
|
1157
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityBannerComponent, selectors: [["ccd-activity-banner"]], inputs: { bannerType: "bannerType", description: "description", imageLink: "imageLink" }, standalone: false, decls: 7, vars: 13, consts: [[3, "ngClass"], [1, "bannerIcon"], [1, "img-responsive", 3, "alt", "src"], [1, "bannerText"]], template: function ActivityBannerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1158
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
1159
|
-
i0.ɵɵelement(2, "img", 2);
|
|
1160
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
1161
|
-
i0.ɵɵelementEnd();
|
|
1162
|
-
i0.ɵɵelementStart(4, "div", 3);
|
|
1163
|
-
i0.ɵɵtext(5);
|
|
1164
|
-
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1165
|
-
i0.ɵɵelementEnd()();
|
|
1166
|
-
} if (rf & 2) {
|
|
1167
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$12, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1168
|
-
i0.ɵɵadvance(2);
|
|
1169
|
-
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1170
|
-
i0.ɵɵadvance(3);
|
|
1171
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, ctx.description));
|
|
1172
|
-
} }, dependencies: [i5.NgClass, i1.RpxTranslatePipe], styles: [".caseLocked[_ngcontent-%COMP%]{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#e72626}.someoneViewing[_ngcontent-%COMP%]{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#912b88}.bannerIcon[_ngcontent-%COMP%]{float:left;color:#fff;padding-left:9px;position:relative;top:50%;transform:translateY(-40%)}.bannerText[_ngcontent-%COMP%]{padding-left:40px;position:relative;top:50%;transform:translateY(-50%);height:20px;-webkit-filter:blur(0);filter:blur(0);font-family:nta,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.25;text-align:left;color:#fff}"] });
|
|
1173
|
-
}
|
|
1174
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityBannerComponent, [{
|
|
1175
|
-
type: Component,
|
|
1176
|
-
args: [{ selector: 'ccd-activity-banner', standalone: false, template: "<div [ngClass]=\"{caseLocked: bannerType === 'editor', someoneViewing: bannerType === 'viewer'}\">\n <div class=\"bannerIcon\"><img alt=\"{{description | rpxTranslate}}\" class=\"img-responsive\" src=\"{{imageLink}}\" /></div>\n <div class=\"bannerText\">{{description | rpxTranslate}}</div>\n</div>\n", styles: [".caseLocked{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#e72626}.someoneViewing{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#912b88}.bannerIcon{float:left;color:#fff;padding-left:9px;position:relative;top:50%;transform:translateY(-40%)}.bannerText{padding-left:40px;position:relative;top:50%;transform:translateY(-50%);height:20px;-webkit-filter:blur(0);filter:blur(0);font-family:nta,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.25;text-align:left;color:#fff}\n"] }]
|
|
1177
|
-
}], () => [], { bannerType: [{
|
|
1178
|
-
type: Input
|
|
1179
|
-
}], description: [{
|
|
1180
|
-
type: Input
|
|
1181
|
-
}], imageLink: [{
|
|
1182
|
-
type: Input
|
|
1183
|
-
}] }); })();
|
|
1184
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActivityBannerComponent, { className: "ActivityBannerComponent", filePath: "lib/shared/components/activity/activity-banner/activity-banner.component.ts", lineNumber: 9 }); })();
|
|
1185
|
-
|
|
1186
|
-
class ActivityIconComponent {
|
|
1187
|
-
description;
|
|
1188
|
-
imageLink;
|
|
1189
|
-
constructor() { }
|
|
1190
|
-
ngOnInit() {
|
|
1191
|
-
}
|
|
1192
|
-
static ɵfac = function ActivityIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityIconComponent)(); };
|
|
1193
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityIconComponent, selectors: [["ccd-activity-icon"]], inputs: { description: "description", imageLink: "imageLink" }, standalone: false, decls: 6, vars: 9, consts: [[1, "tooltip"], [1, "img-responsive", 3, "alt", "src"], [1, "tooltiptext"]], template: function ActivityIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1194
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
1195
|
-
i0.ɵɵelement(1, "img", 1);
|
|
1196
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
1197
|
-
i0.ɵɵelementStart(3, "span", 2);
|
|
1198
|
-
i0.ɵɵtext(4);
|
|
1199
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
1200
|
-
i0.ɵɵelementEnd()();
|
|
1201
|
-
} if (rf & 2) {
|
|
1202
|
-
i0.ɵɵadvance();
|
|
1203
|
-
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(2, 5, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1204
|
-
i0.ɵɵadvance(3);
|
|
1205
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 7, ctx.description));
|
|
1206
|
-
} }, dependencies: [i1.RpxTranslatePipe], styles: [".tooltip[_ngcontent-%COMP%]{position:relative;display:inline-block}.tooltip[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{visibility:hidden;width:140px;background-color:#1175b2;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;margin-left:-50px;opacity:0;transition:opacity 1s}.tooltip[_ngcontent-%COMP%]:hover .tooltiptext[_ngcontent-%COMP%]{visibility:visible;opacity:1}"] });
|
|
1207
|
-
}
|
|
1208
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityIconComponent, [{
|
|
1209
|
-
type: Component,
|
|
1210
|
-
args: [{ selector: 'ccd-activity-icon', standalone: false, template: "<div class=\"tooltip\">\n <img alt=\"{{description | rpxTranslate}}\" class=\"img-responsive\" src=\"{{imageLink}}\" />\n <span class=\"tooltiptext\">{{description | rpxTranslate}}</span>\n</div>\n", styles: [".tooltip{position:relative;display:inline-block}.tooltip .tooltiptext{visibility:hidden;width:140px;background-color:#1175b2;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;margin-left:-50px;opacity:0;transition:opacity 1s}.tooltip:hover .tooltiptext{visibility:visible;opacity:1}\n"] }]
|
|
1211
|
-
}], () => [], { description: [{
|
|
1212
|
-
type: Input
|
|
1213
|
-
}], imageLink: [{
|
|
1214
|
-
type: Input
|
|
1215
|
-
}] }); })();
|
|
1216
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActivityIconComponent, { className: "ActivityIconComponent", filePath: "lib/shared/components/activity/activity-icon/activity-icon.component.ts", lineNumber: 9 }); })();
|
|
1217
|
-
|
|
1218
|
-
class ActivityInfo {
|
|
1219
|
-
forename;
|
|
1220
|
-
surname;
|
|
1221
|
-
}
|
|
1222
|
-
class Activity {
|
|
1223
|
-
caseId;
|
|
1224
|
-
viewers;
|
|
1225
|
-
editors;
|
|
1226
|
-
unknownViewers;
|
|
1227
|
-
unknownEditors;
|
|
1228
|
-
}
|
|
1229
|
-
var DisplayMode;
|
|
1230
|
-
(function (DisplayMode) {
|
|
1231
|
-
DisplayMode[DisplayMode["BANNER"] = 0] = "BANNER";
|
|
1232
|
-
DisplayMode[DisplayMode["ICON"] = 1] = "ICON";
|
|
1233
|
-
})(DisplayMode || (DisplayMode = {}));
|
|
1234
|
-
|
|
1235
|
-
/* istanbul ignore file */
|
|
1236
|
-
class AbstractAppConfig {
|
|
1237
|
-
/**
|
|
1238
|
-
* Dummy version replacing deprecated `getRemotePrintServiceUrl()`, to be removed in next major release
|
|
1239
|
-
* @deprecated
|
|
1240
|
-
* @returns `undefined`
|
|
1241
|
-
*/
|
|
1242
|
-
getRemotePrintServiceUrl() {
|
|
1243
|
-
return undefined;
|
|
1244
|
-
}
|
|
1245
|
-
getUserInfoApiUrl() {
|
|
1246
|
-
return undefined;
|
|
1247
|
-
}
|
|
1248
|
-
getWAServiceConfig() {
|
|
1249
|
-
return undefined;
|
|
1250
|
-
}
|
|
1251
|
-
getAccessManagementBasicViewMock() {
|
|
1252
|
-
return undefined;
|
|
1253
|
-
}
|
|
1254
|
-
getAccessManagementRequestReviewMockModel() {
|
|
1255
|
-
return undefined;
|
|
1256
|
-
}
|
|
1257
|
-
getLocationRefApiUrl() {
|
|
1258
|
-
return undefined;
|
|
1259
|
-
}
|
|
1260
|
-
getEnvironment() {
|
|
1261
|
-
if (this.getActivityUrl()?.includes('.aat.'))
|
|
1262
|
-
return 'aat';
|
|
1263
|
-
else if (this.getActivityUrl()?.includes('.preview.'))
|
|
1264
|
-
return 'preview';
|
|
1265
|
-
else if (this.getActivityUrl()?.includes('.demo.'))
|
|
1266
|
-
return 'demo';
|
|
1267
|
-
else if (this.getActivityUrl()?.includes('.ithc.'))
|
|
1268
|
-
return 'ithc';
|
|
1269
|
-
return 'prod';
|
|
1270
|
-
}
|
|
1271
|
-
getWASupportedRoleCategories() {
|
|
1272
|
-
return [];
|
|
1273
|
-
}
|
|
1274
|
-
getWASupportedRoleTypes() {
|
|
1275
|
-
return [];
|
|
1276
|
-
}
|
|
1277
|
-
getCamRoleAssignmentsApiUrl() {
|
|
1278
|
-
return undefined;
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
class CaseEditorConfig {
|
|
1282
|
-
api_url;
|
|
1283
|
-
case_data_url;
|
|
1284
|
-
document_management_url;
|
|
1285
|
-
document_management_url_v2;
|
|
1286
|
-
hrs_url;
|
|
1287
|
-
document_management_secure_enabled;
|
|
1288
|
-
documentSecureModeCaseTypeExclusions;
|
|
1289
|
-
mc_cdam_exclusion_list;
|
|
1290
|
-
login_url;
|
|
1291
|
-
oauth2_client_id;
|
|
1292
|
-
postcode_lookup_url;
|
|
1293
|
-
remote_document_management_url;
|
|
1294
|
-
remote_hrs_url;
|
|
1295
|
-
annotation_api_url;
|
|
1296
|
-
payments_url;
|
|
1297
|
-
pay_bulk_scan_url;
|
|
1298
|
-
activity_batch_collection_delay_ms;
|
|
1299
|
-
activity_next_poll_request_ms;
|
|
1300
|
-
activity_retry;
|
|
1301
|
-
timeouts_case_retrieval;
|
|
1302
|
-
timeouts_case_retrieval_artificial_delay;
|
|
1303
|
-
activity_url;
|
|
1304
|
-
activity_max_request_per_batch;
|
|
1305
|
-
print_service_url;
|
|
1306
|
-
/**
|
|
1307
|
-
* remote_print_service_url marked as optional since deprecation, ahead of removal in next major release
|
|
1308
|
-
* @deprecated
|
|
1309
|
-
*/
|
|
1310
|
-
remote_print_service_url;
|
|
1311
|
-
pagination_page_size;
|
|
1312
|
-
prd_url;
|
|
1313
|
-
cache_time_out;
|
|
1314
|
-
work_allocation_api_url;
|
|
1315
|
-
user_info_api_url;
|
|
1316
|
-
wa_service_config;
|
|
1317
|
-
access_management_basic_view_mock;
|
|
1318
|
-
access_management_request_review_mock;
|
|
1319
|
-
location_ref_api_url;
|
|
1320
|
-
cam_role_assignments_api_url;
|
|
1321
|
-
refunds_url;
|
|
1322
|
-
notification_url;
|
|
1323
|
-
payment_return_url;
|
|
1324
|
-
categories_and_documents_url;
|
|
1325
|
-
document_data_url;
|
|
1326
|
-
case_flags_refdata_api_url;
|
|
1327
|
-
rd_common_data_api_url;
|
|
1328
|
-
case_data_store_api_url;
|
|
1329
|
-
icp_enabled;
|
|
1330
|
-
icp_jurisdictions;
|
|
1331
|
-
events_to_hide;
|
|
1332
|
-
enable_service_specific_multi_followups;
|
|
1333
|
-
wa_supported_role_categories;
|
|
1334
|
-
wa_supported_role_types;
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
class StructuredLoggerService {
|
|
1338
|
-
static CIRCULAR_VALUE = '[Circular]';
|
|
1339
|
-
static MAX_DEPTH_VALUE = '[MaxDepth]';
|
|
1340
|
-
static MAX_REDACTION_DEPTH = 10;
|
|
1341
|
-
static REDACTED_VALUE = '[REDACTED]';
|
|
1342
|
-
static KEY_VALUE_PATTERN = /\b([a-z][\w-]*(?:[ _-][a-z][\w-]*)?)([ \t]*[:=][ \t]*)((?:Bearer[ \t]+)?)([^,;&\s]+)/gi;
|
|
1343
|
-
static SENSITIVE_KEY_PATTERN = /(password|passcode|pwd|secret|token|authori[sz]ation|authentication|auth[-_ ]?context|^auth$|api[-_ ]?key|cookie|session|credential)/i;
|
|
1344
|
-
static BEARER_TOKEN_PATTERN = /\bBearer\s+([\w.~+/-]+=*)/gi;
|
|
1345
|
-
debug(message, context) {
|
|
1346
|
-
this.write('debug', message, context);
|
|
1347
|
-
}
|
|
1348
|
-
error(message, context) {
|
|
1349
|
-
this.write('error', message, context);
|
|
1350
|
-
}
|
|
1351
|
-
info(message, context) {
|
|
1352
|
-
this.write('info', message, context);
|
|
1353
|
-
}
|
|
1354
|
-
warn(message, context) {
|
|
1355
|
-
this.write('warn', message, context);
|
|
1356
|
-
}
|
|
1357
|
-
redact(value) {
|
|
1358
|
-
return this.redactValue(value, new WeakSet(), false, 0);
|
|
1359
|
-
}
|
|
1360
|
-
write(level, message, context) {
|
|
1361
|
-
const entry = {
|
|
1362
|
-
level,
|
|
1363
|
-
message,
|
|
1364
|
-
timestamp: new Date().toISOString()
|
|
1365
|
-
};
|
|
1366
|
-
if (context !== undefined) {
|
|
1367
|
-
entry.context = this.redact(context);
|
|
1368
|
-
}
|
|
1369
|
-
switch (level) {
|
|
1370
|
-
case 'error':
|
|
1371
|
-
console.error(entry);
|
|
1372
|
-
break;
|
|
1373
|
-
case 'warn':
|
|
1374
|
-
console.warn(entry);
|
|
1375
|
-
break;
|
|
1376
|
-
default:
|
|
1377
|
-
console.log(entry);
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
redactValue(value, seen, redactCurrentValue, depth) {
|
|
1381
|
-
if (redactCurrentValue) {
|
|
1382
|
-
return StructuredLoggerService.REDACTED_VALUE;
|
|
1383
|
-
}
|
|
1384
|
-
if (value === null || value === undefined) {
|
|
1385
|
-
return value;
|
|
1386
|
-
}
|
|
1387
|
-
if (typeof value === 'string') {
|
|
1388
|
-
return this.redactSensitiveString(value);
|
|
1389
|
-
}
|
|
1390
|
-
if (typeof value !== 'object') {
|
|
1391
|
-
return value;
|
|
1392
|
-
}
|
|
1393
|
-
if (seen.has(value)) {
|
|
1394
|
-
return StructuredLoggerService.CIRCULAR_VALUE;
|
|
1395
|
-
}
|
|
1396
|
-
if (depth >= StructuredLoggerService.MAX_REDACTION_DEPTH) {
|
|
1397
|
-
return StructuredLoggerService.MAX_DEPTH_VALUE;
|
|
1398
|
-
}
|
|
1399
|
-
seen.add(value);
|
|
1400
|
-
let redactedValue;
|
|
1401
|
-
if (value instanceof Date) {
|
|
1402
|
-
redactedValue = value.toISOString();
|
|
1403
|
-
}
|
|
1404
|
-
else if (value instanceof Error) {
|
|
1405
|
-
redactedValue = this.redactError(value, seen, depth);
|
|
1406
|
-
}
|
|
1407
|
-
else if (Array.isArray(value)) {
|
|
1408
|
-
redactedValue = value.map(item => this.redactValue(item, seen, false, depth + 1));
|
|
1409
|
-
}
|
|
1410
|
-
else {
|
|
1411
|
-
redactedValue = this.redactObject(value, seen, depth);
|
|
1412
|
-
}
|
|
1413
|
-
seen.delete(value);
|
|
1414
|
-
return redactedValue;
|
|
1415
|
-
}
|
|
1416
|
-
redactError(error, seen, depth) {
|
|
1417
|
-
const redactedError = {
|
|
1418
|
-
name: this.redactValue(error.name, seen, false, depth + 1),
|
|
1419
|
-
message: this.redactValue(error.message, seen, false, depth + 1)
|
|
1420
|
-
};
|
|
1421
|
-
if (error.stack) {
|
|
1422
|
-
redactedError.stack = this.redactValue(error.stack, seen, false, depth + 1);
|
|
1423
|
-
}
|
|
1424
|
-
const errorContext = error;
|
|
1425
|
-
Object.keys(errorContext).forEach(key => {
|
|
1426
|
-
redactedError[key] = this.redactValue(errorContext[key], seen, this.isSensitiveKey(key), depth + 1);
|
|
1427
|
-
});
|
|
1428
|
-
return redactedError;
|
|
1429
|
-
}
|
|
1430
|
-
redactObject(value, seen, depth) {
|
|
1431
|
-
const redactedValue = {};
|
|
1432
|
-
const hasSensitiveNamedValue = this.hasSensitiveNamedValue(value);
|
|
1433
|
-
Object.keys(value).forEach(key => {
|
|
1434
|
-
redactedValue[key] = this.redactValue(value[key], seen, this.isSensitiveKey(key) || (hasSensitiveNamedValue && this.isValueKey(key)), depth + 1);
|
|
1435
|
-
});
|
|
1436
|
-
return redactedValue;
|
|
1437
|
-
}
|
|
1438
|
-
redactSensitiveString(value) {
|
|
1439
|
-
return value
|
|
1440
|
-
.replace(StructuredLoggerService.KEY_VALUE_PATTERN, (match, key, separator, bearerPrefix) => {
|
|
1441
|
-
return this.isSensitiveKey(key) ? `${key}${separator}${bearerPrefix}${StructuredLoggerService.REDACTED_VALUE}` : match;
|
|
1442
|
-
})
|
|
1443
|
-
.replace(StructuredLoggerService.BEARER_TOKEN_PATTERN, 'Bearer [REDACTED]');
|
|
1444
|
-
}
|
|
1445
|
-
hasSensitiveNamedValue(value) {
|
|
1446
|
-
return Object.keys(value)
|
|
1447
|
-
.some(key => {
|
|
1448
|
-
const namedValue = value[key];
|
|
1449
|
-
return this.isNameKey(key) && typeof namedValue === 'string' && this.isSensitiveKey(namedValue);
|
|
1450
|
-
});
|
|
1451
|
-
}
|
|
1452
|
-
isNameKey(key) {
|
|
1453
|
-
return ['key', 'name'].includes(key.toLowerCase());
|
|
1454
|
-
}
|
|
1455
|
-
isSensitiveKey(key) {
|
|
1456
|
-
return StructuredLoggerService.SENSITIVE_KEY_PATTERN.test(key);
|
|
1457
|
-
}
|
|
1458
|
-
isValueKey(key) {
|
|
1459
|
-
return ['value', 'values'].includes(key.toLowerCase());
|
|
1460
|
-
}
|
|
1461
|
-
static ɵfac = function StructuredLoggerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StructuredLoggerService)(); };
|
|
1462
|
-
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StructuredLoggerService, factory: StructuredLoggerService.ɵfac, providedIn: 'root' });
|
|
1463
|
-
}
|
|
1464
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StructuredLoggerService, [{
|
|
1465
|
-
type: Injectable,
|
|
1466
|
-
args: [{
|
|
1467
|
-
providedIn: 'root'
|
|
1468
|
-
}]
|
|
1469
|
-
}], null, null); })();
|
|
1470
|
-
|
|
1471
|
-
class HttpError {
|
|
1472
|
-
constructor() {
|
|
1473
|
-
this.timestamp = new Date().toISOString();
|
|
1474
|
-
this.error = HttpError.DEFAULT_ERROR;
|
|
1475
|
-
this.message = HttpError.DEFAULT_MESSAGE;
|
|
1476
|
-
this.status = HttpError.DEFAULT_STATUS;
|
|
1477
|
-
this.exception = null;
|
|
1478
|
-
this.path = null;
|
|
1479
|
-
this.details = null;
|
|
1480
|
-
this.callbackErrors = null;
|
|
1481
|
-
this.callbackWarnings = null;
|
|
1482
|
-
}
|
|
1483
|
-
static DEFAULT_ERROR = 'Unknown error';
|
|
1484
|
-
static DEFAULT_MESSAGE = 'Sorry, there is a problem with this service. Please try again later.';
|
|
1485
|
-
static DEFAULT_STATUS = 500;
|
|
1486
|
-
static MESSAGE_ERROR_429 = 'Your request was rate limited. Please wait a few seconds before retrying your document upload';
|
|
1487
|
-
timestamp;
|
|
1488
|
-
status;
|
|
1489
|
-
error;
|
|
1490
|
-
exception;
|
|
1491
|
-
message;
|
|
1492
|
-
path;
|
|
1493
|
-
details;
|
|
1494
|
-
callbackErrors;
|
|
1495
|
-
callbackWarnings;
|
|
1496
|
-
static from(response) {
|
|
1497
|
-
const error = new HttpError();
|
|
1498
|
-
if (response?.status === 429) {
|
|
1499
|
-
error.error = HttpError.MESSAGE_ERROR_429;
|
|
1500
|
-
error.status = response.status;
|
|
1501
|
-
error.message = response.message;
|
|
1502
|
-
}
|
|
1503
|
-
// Check that the HttpErrorResponse contains an "error" object before mapping the error properties
|
|
1504
|
-
if (!!(response && response.error)) {
|
|
1505
|
-
Object.keys(error).forEach((key) => {
|
|
1506
|
-
error[key] = response.error.hasOwnProperty(key) && response.error[key] ? response.error[key] : error[key];
|
|
1507
|
-
});
|
|
1508
|
-
}
|
|
1509
|
-
// Error object in HttpErrorResponse will be empty for 403 errors
|
|
1510
|
-
// Set the error properties of HttpError accordingly
|
|
1511
|
-
if (response?.status === 403) {
|
|
1512
|
-
error.error = response.statusText;
|
|
1513
|
-
error.status = response.status;
|
|
1514
|
-
error.message = response.message;
|
|
1515
|
-
}
|
|
1516
|
-
return error;
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
* `Oauth2Service` and `AuthService` cannot be merged as it creates a cyclic dependency on `AuthService` through `HttpErrorService`.
|
|
1522
|
-
*/
|
|
1523
|
-
class AuthService {
|
|
1524
|
-
appConfig;
|
|
1525
|
-
document;
|
|
1526
|
-
static PATH_OAUTH2_REDIRECT = '/oauth2redirect';
|
|
1527
|
-
constructor(appConfig, document) {
|
|
1528
|
-
this.appConfig = appConfig;
|
|
1529
|
-
this.document = document;
|
|
1530
|
-
}
|
|
1531
|
-
signIn() {
|
|
1532
|
-
const loginUrl = this.appConfig.getLoginUrl();
|
|
1533
|
-
const clientId = this.appConfig.getOAuth2ClientId();
|
|
1534
|
-
const redirectUri = encodeURIComponent(this.redirectUri());
|
|
1535
|
-
this.document.location.href = `${loginUrl}?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}`;
|
|
1536
|
-
}
|
|
1537
|
-
redirectUri() {
|
|
1538
|
-
return this.document.location.origin + AuthService.PATH_OAUTH2_REDIRECT;
|
|
1539
|
-
}
|
|
1540
|
-
static ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(DOCUMENT)); };
|
|
1541
|
-
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac });
|
|
1542
|
-
}
|
|
1543
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1544
|
-
type: Injectable
|
|
1545
|
-
}], () => [{ type: AbstractAppConfig }, { type: undefined, decorators: [{
|
|
1546
|
-
type: Inject,
|
|
1547
|
-
args: [DOCUMENT]
|
|
1548
|
-
}] }], null); })();
|
|
1549
|
-
|
|
1550
|
-
class LoadingService {
|
|
1551
|
-
registered = new Map();
|
|
1552
|
-
loading = new BehaviorSubject(false);
|
|
1553
|
-
sharedSpinners = [];
|
|
1554
|
-
get isLoading() {
|
|
1555
|
-
return this.loading.pipe(distinctUntilChanged());
|
|
1556
|
-
}
|
|
1557
|
-
register() {
|
|
1558
|
-
const token = this.generateToken();
|
|
1559
|
-
this.registered.set(token, token);
|
|
1560
|
-
this.loading.next(true);
|
|
1561
|
-
return token;
|
|
1562
|
-
}
|
|
1563
|
-
unregister(token) {
|
|
1564
|
-
this.registered.delete(token);
|
|
1565
|
-
this.loading.next(this.registered.size > 0);
|
|
1566
|
-
}
|
|
1567
|
-
addSharedSpinner(spinnerId) {
|
|
1568
|
-
this.sharedSpinners.push(spinnerId);
|
|
1569
|
-
}
|
|
1570
|
-
hasSharedSpinner() {
|
|
1571
|
-
return this.sharedSpinners.length > 0;
|
|
1572
|
-
}
|
|
1573
|
-
unregisterSharedSpinner() {
|
|
1574
|
-
this.registered.delete(this.sharedSpinners[0]);
|
|
1575
|
-
this.sharedSpinners.shift();
|
|
1576
|
-
this.loading.next(this.registered.size > 0);
|
|
1577
|
-
}
|
|
1578
|
-
generateToken() {
|
|
1579
|
-
const timestamp = window.performance.now();
|
|
1580
|
-
return `toolkit-loading-${timestamp}`; // format: [source-library]-[unique incrementing number]
|
|
1700
|
+
const panels = this.panels.toArray();
|
|
1701
|
+
id = id || panels[0].id;
|
|
1702
|
+
/* istanbul ignore else */
|
|
1703
|
+
if (0 > this.panelIds.indexOf(id)) {
|
|
1704
|
+
id = panels[0].id;
|
|
1705
|
+
}
|
|
1706
|
+
panels.forEach((panel) => panel.selected = id === panel.id);
|
|
1581
1707
|
}
|
|
1582
|
-
static ɵfac = function
|
|
1583
|
-
static
|
|
1708
|
+
static ɵfac = function TabsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabsComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
1709
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [["cut-tabs"]], contentQueries: function TabsComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1710
|
+
i0.ɵɵcontentQuery(dirIndex, TabComponent, 4);
|
|
1711
|
+
} if (rf & 2) {
|
|
1712
|
+
let _t;
|
|
1713
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1714
|
+
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1715
|
+
i0.ɵɵviewQuery(_c0$13, 5);
|
|
1716
|
+
} if (rf & 2) {
|
|
1717
|
+
let _t;
|
|
1718
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
1719
|
+
} }, standalone: false, ngContentSelectors: _c1$r, decls: 5, vars: 1, consts: [["tab", ""], [1, "tabs"], ["role", "list", 1, "tabs-list"], ["class", "tabs-list-item", 4, "ngFor", "ngForOf"], [1, "tabs-content"], [1, "tabs-list-item"], ["role", "tab", "tabindex", "0", 1, "tabs-toggle", 3, "click", "routerLink", "fragment", "ngClass"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1720
|
+
i0.ɵɵprojectionDef();
|
|
1721
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
1722
|
+
i0.ɵɵtemplate(2, TabsComponent_li_2_Template, 5, 11, "li", 3);
|
|
1723
|
+
i0.ɵɵelementEnd();
|
|
1724
|
+
i0.ɵɵelementStart(3, "div", 4);
|
|
1725
|
+
i0.ɵɵprojection(4);
|
|
1726
|
+
i0.ɵɵelementEnd()();
|
|
1727
|
+
} if (rf & 2) {
|
|
1728
|
+
i0.ɵɵadvance(2);
|
|
1729
|
+
i0.ɵɵproperty("ngForOf", ctx.panels);
|
|
1730
|
+
} }, dependencies: [i5.NgClass, i5.NgForOf, i1$2.RouterLink, i1.RpxTranslatePipe], styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}.tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media(max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
1584
1731
|
}
|
|
1585
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
1586
|
-
type:
|
|
1587
|
-
}
|
|
1732
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabsComponent, [{
|
|
1733
|
+
type: Component,
|
|
1734
|
+
args: [{ selector: 'cut-tabs', standalone: false, template: "<div class=\"tabs\">\n\n <ul class=\"tabs-list\" role=\"list\">\n <li class=\"tabs-list-item\" *ngFor=\"let panel of panels\">\n <a\n class=\"tabs-toggle\"\n [routerLink]=\"['.']\"\n [fragment]=\"panel.id\"\n role=\"tab\"\n (click)=\"show(panel.id)\"\n [attr.aria-controls]=\"panel.id\"\n [attr.aria-selected]=\"panel.selected\"\n tabindex=\"0\"\n [ngClass]=\"{\n 'tabs-toggle-selected': panel.selected\n }\"\n #tab\n >{{panel.title | rpxTranslate}}</a>\n </li>\n </ul>\n\n <div class=\"tabs-content\">\n <ng-content></ng-content>\n </div>\n\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.tabs-toggle{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle a{color:#005ea5}@media(max-width:640px){.tabs-list{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle{border-top:1px solid #bfc1c3}.tabs-toggle:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list{float:left}.tabs-list-item{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle:visited{color:#005ea5}.tabs-toggle-selected,.tabs-toggle[aria-selected=true]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}\n"] }]
|
|
1735
|
+
}], () => [{ type: i1$2.ActivatedRoute }], { tabs: [{
|
|
1736
|
+
type: ViewChildren,
|
|
1737
|
+
args: ['tab']
|
|
1738
|
+
}], panels: [{
|
|
1739
|
+
type: ContentChildren,
|
|
1740
|
+
args: [TabComponent]
|
|
1741
|
+
}] }); })();
|
|
1742
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabsComponent, { className: "TabsComponent", filePath: "lib/components/tabs/tabs.component.ts", lineNumber: 13 }); })();
|
|
1588
1743
|
|
|
1589
|
-
class
|
|
1590
|
-
static ɵfac = function
|
|
1591
|
-
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type:
|
|
1592
|
-
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
1593
|
-
|
|
1594
|
-
|
|
1744
|
+
class TabsModule {
|
|
1745
|
+
static ɵfac = function TabsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabsModule)(); };
|
|
1746
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TabsModule });
|
|
1747
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1748
|
+
RouterModule,
|
|
1749
|
+
RpxTranslationModule.forChild()] });
|
|
1595
1750
|
}
|
|
1596
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
1751
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabsModule, [{
|
|
1597
1752
|
type: NgModule,
|
|
1598
1753
|
args: [{
|
|
1599
|
-
imports: [
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1754
|
+
imports: [
|
|
1755
|
+
CommonModule,
|
|
1756
|
+
RouterModule,
|
|
1757
|
+
RpxTranslationModule.forChild()
|
|
1758
|
+
],
|
|
1759
|
+
declarations: [
|
|
1760
|
+
TabsComponent,
|
|
1761
|
+
TabComponent,
|
|
1762
|
+
],
|
|
1763
|
+
exports: [
|
|
1764
|
+
TabsComponent,
|
|
1765
|
+
TabComponent,
|
|
1604
1766
|
]
|
|
1605
1767
|
}]
|
|
1606
1768
|
}], null, null); })();
|
|
1769
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TabsModule, { declarations: [TabsComponent,
|
|
1770
|
+
TabComponent], imports: [CommonModule,
|
|
1771
|
+
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1772
|
+
TabComponent] }); })();
|
|
1607
1773
|
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
}
|
|
1616
|
-
static CONTENT_TYPE = 'Content-Type';
|
|
1617
|
-
static JSON = 'json';
|
|
1618
|
-
error;
|
|
1619
|
-
static convertToHttpError(error) {
|
|
1620
|
-
if (error instanceof HttpError) {
|
|
1621
|
-
return error;
|
|
1622
|
-
}
|
|
1623
|
-
let httpError = new HttpError();
|
|
1624
|
-
if (error instanceof HttpErrorResponse) {
|
|
1625
|
-
if (error.headers?.get(HttpErrorService.CONTENT_TYPE).indexOf(HttpErrorService.JSON) !== -1) {
|
|
1626
|
-
try {
|
|
1627
|
-
httpError = HttpError.from(error);
|
|
1628
|
-
}
|
|
1629
|
-
catch (e) {
|
|
1630
|
-
HttpErrorService.logger.error('Unable to convert HTTP error response.', { error: e });
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
if (!httpError.status) {
|
|
1634
|
-
httpError.status = error.status;
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
else if (error) {
|
|
1638
|
-
if (error.message) {
|
|
1639
|
-
httpError.message = error.message;
|
|
1640
|
-
}
|
|
1641
|
-
if (error.status) {
|
|
1642
|
-
httpError.status = error.status;
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
return httpError;
|
|
1646
|
-
}
|
|
1647
|
-
setError(error) {
|
|
1648
|
-
this.error = error;
|
|
1649
|
-
}
|
|
1650
|
-
removeError() {
|
|
1651
|
-
const error = this.error;
|
|
1652
|
-
this.error = null;
|
|
1653
|
-
return error;
|
|
1654
|
-
}
|
|
1655
|
-
handle(error, redirectIfNotAuthorised = true) {
|
|
1656
|
-
if (this.loadingService.hasSharedSpinner()) {
|
|
1657
|
-
this.loadingService.unregisterSharedSpinner();
|
|
1658
|
-
}
|
|
1659
|
-
const httpError = HttpErrorService.convertToHttpError(error);
|
|
1660
|
-
if (redirectIfNotAuthorised && httpError.status === 401) {
|
|
1661
|
-
this.authService.signIn();
|
|
1662
|
-
}
|
|
1663
|
-
return throwError(httpError);
|
|
1774
|
+
const _c0$12 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1775
|
+
class ActivityBannerComponent {
|
|
1776
|
+
bannerType;
|
|
1777
|
+
description;
|
|
1778
|
+
imageLink;
|
|
1779
|
+
constructor() { }
|
|
1780
|
+
ngOnInit() {
|
|
1664
1781
|
}
|
|
1665
|
-
static ɵfac = function
|
|
1666
|
-
static
|
|
1782
|
+
static ɵfac = function ActivityBannerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityBannerComponent)(); };
|
|
1783
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityBannerComponent, selectors: [["ccd-activity-banner"]], inputs: { bannerType: "bannerType", description: "description", imageLink: "imageLink" }, standalone: false, decls: 7, vars: 13, consts: [[3, "ngClass"], [1, "bannerIcon"], [1, "img-responsive", 3, "alt", "src"], [1, "bannerText"]], template: function ActivityBannerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1784
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
1785
|
+
i0.ɵɵelement(2, "img", 2);
|
|
1786
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
1787
|
+
i0.ɵɵelementEnd();
|
|
1788
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
1789
|
+
i0.ɵɵtext(5);
|
|
1790
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1791
|
+
i0.ɵɵelementEnd()();
|
|
1792
|
+
} if (rf & 2) {
|
|
1793
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$12, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1794
|
+
i0.ɵɵadvance(2);
|
|
1795
|
+
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1796
|
+
i0.ɵɵadvance(3);
|
|
1797
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, ctx.description));
|
|
1798
|
+
} }, dependencies: [i5.NgClass, i1.RpxTranslatePipe], styles: [".caseLocked[_ngcontent-%COMP%]{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#e72626}.someoneViewing[_ngcontent-%COMP%]{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#912b88}.bannerIcon[_ngcontent-%COMP%]{float:left;color:#fff;padding-left:9px;position:relative;top:50%;transform:translateY(-40%)}.bannerText[_ngcontent-%COMP%]{padding-left:40px;position:relative;top:50%;transform:translateY(-50%);height:20px;-webkit-filter:blur(0);filter:blur(0);font-family:nta,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.25;text-align:left;color:#fff}"] });
|
|
1667
1799
|
}
|
|
1668
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
1669
|
-
type:
|
|
1670
|
-
|
|
1800
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityBannerComponent, [{
|
|
1801
|
+
type: Component,
|
|
1802
|
+
args: [{ selector: 'ccd-activity-banner', standalone: false, template: "<div [ngClass]=\"{caseLocked: bannerType === 'editor', someoneViewing: bannerType === 'viewer'}\">\n <div class=\"bannerIcon\"><img alt=\"{{description | rpxTranslate}}\" class=\"img-responsive\" src=\"{{imageLink}}\" /></div>\n <div class=\"bannerText\">{{description | rpxTranslate}}</div>\n</div>\n", styles: [".caseLocked{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#e72626}.someoneViewing{margin-top:4px;height:40px;-webkit-filter:blur(0);filter:blur(0);background-color:#912b88}.bannerIcon{float:left;color:#fff;padding-left:9px;position:relative;top:50%;transform:translateY(-40%)}.bannerText{padding-left:40px;position:relative;top:50%;transform:translateY(-50%);height:20px;-webkit-filter:blur(0);filter:blur(0);font-family:nta,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.25;text-align:left;color:#fff}\n"] }]
|
|
1803
|
+
}], () => [], { bannerType: [{
|
|
1804
|
+
type: Input
|
|
1805
|
+
}], description: [{
|
|
1806
|
+
type: Input
|
|
1807
|
+
}], imageLink: [{
|
|
1808
|
+
type: Input
|
|
1809
|
+
}] }); })();
|
|
1810
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActivityBannerComponent, { className: "ActivityBannerComponent", filePath: "lib/shared/components/activity/activity-banner/activity-banner.component.ts", lineNumber: 9 }); })();
|
|
1671
1811
|
|
|
1672
|
-
class
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
constructor(httpclient, httpErrorService) {
|
|
1678
|
-
this.httpclient = httpclient;
|
|
1679
|
-
this.httpErrorService = httpErrorService;
|
|
1680
|
-
}
|
|
1681
|
-
/**
|
|
1682
|
-
*
|
|
1683
|
-
* @param url Url resolved using UrlResolverService
|
|
1684
|
-
* @param options OptionsType
|
|
1685
|
-
* @returns Observable<any> return value
|
|
1686
|
-
* @see UrlResolverService
|
|
1687
|
-
*/
|
|
1688
|
-
get(url, options, redirectIfNotAuthorised = true, errorHandler) {
|
|
1689
|
-
return this.httpclient
|
|
1690
|
-
.get(url, this.setDefaultValue(options))
|
|
1691
|
-
.pipe(catchError((res) => {
|
|
1692
|
-
let error = res;
|
|
1693
|
-
if (typeof errorHandler === 'function') {
|
|
1694
|
-
error = errorHandler(res);
|
|
1695
|
-
}
|
|
1696
|
-
return this.httpErrorService.handle(error, redirectIfNotAuthorised);
|
|
1697
|
-
}));
|
|
1698
|
-
}
|
|
1699
|
-
/**
|
|
1700
|
-
*
|
|
1701
|
-
* @param url Url resolved using UrlResolverService
|
|
1702
|
-
* @param body Body for post
|
|
1703
|
-
* @param options OptionsType
|
|
1704
|
-
* @returns Observable<any> return value
|
|
1705
|
-
* @see UrlResolverService
|
|
1706
|
-
*/
|
|
1707
|
-
post(url, body, options, redirectIfNotAuthorised = true) {
|
|
1708
|
-
return this.httpclient
|
|
1709
|
-
.post(url, body, this.setDefaultValue(options))
|
|
1710
|
-
.pipe(catchError((res) => {
|
|
1711
|
-
return this.httpErrorService.handle(res, redirectIfNotAuthorised);
|
|
1712
|
-
}));
|
|
1713
|
-
}
|
|
1714
|
-
/**
|
|
1715
|
-
*
|
|
1716
|
-
* @param url Url resolved using UrlResolverService
|
|
1717
|
-
* @param body Body for post
|
|
1718
|
-
* @param options OptionsType
|
|
1719
|
-
* @returns Observable<any> return value
|
|
1720
|
-
* @see UrlResolverService
|
|
1721
|
-
*/
|
|
1722
|
-
put(url, body, options) {
|
|
1723
|
-
return this.httpclient
|
|
1724
|
-
.put(url, body, this.setDefaultValue(options))
|
|
1725
|
-
.pipe(catchError((res) => {
|
|
1726
|
-
return this.httpErrorService.handle(res);
|
|
1727
|
-
}));
|
|
1728
|
-
}
|
|
1729
|
-
/**
|
|
1730
|
-
*
|
|
1731
|
-
* @param url Url resolved using UrlResolverService
|
|
1732
|
-
* @param options OptionsType
|
|
1733
|
-
* @returns Observable<any> return value
|
|
1734
|
-
* @see UrlResolverService
|
|
1735
|
-
*/
|
|
1736
|
-
delete(url, options) {
|
|
1737
|
-
return this.httpclient
|
|
1738
|
-
.delete(url, this.setDefaultValue(options))
|
|
1739
|
-
.pipe(catchError((res) => {
|
|
1740
|
-
return this.httpErrorService.handle(res);
|
|
1741
|
-
}));
|
|
1742
|
-
}
|
|
1743
|
-
setDefaultValue(options) {
|
|
1744
|
-
options = options || { observe: 'body' };
|
|
1745
|
-
options.withCredentials = true;
|
|
1746
|
-
if (!options.headers) {
|
|
1747
|
-
options.headers = new HttpHeaders()
|
|
1748
|
-
.set(HttpService.HEADER_ACCEPT, 'application/json')
|
|
1749
|
-
.set(HttpService.HEADER_CONTENT_TYPE, 'application/json');
|
|
1750
|
-
}
|
|
1751
|
-
return options;
|
|
1812
|
+
class ActivityIconComponent {
|
|
1813
|
+
description;
|
|
1814
|
+
imageLink;
|
|
1815
|
+
constructor() { }
|
|
1816
|
+
ngOnInit() {
|
|
1752
1817
|
}
|
|
1753
|
-
static ɵfac = function
|
|
1754
|
-
static
|
|
1818
|
+
static ɵfac = function ActivityIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityIconComponent)(); };
|
|
1819
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityIconComponent, selectors: [["ccd-activity-icon"]], inputs: { description: "description", imageLink: "imageLink" }, standalone: false, decls: 6, vars: 9, consts: [[1, "tooltip"], [1, "img-responsive", 3, "alt", "src"], [1, "tooltiptext"]], template: function ActivityIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1820
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
1821
|
+
i0.ɵɵelement(1, "img", 1);
|
|
1822
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
1823
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
1824
|
+
i0.ɵɵtext(4);
|
|
1825
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
1826
|
+
i0.ɵɵelementEnd()();
|
|
1827
|
+
} if (rf & 2) {
|
|
1828
|
+
i0.ɵɵadvance();
|
|
1829
|
+
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(2, 5, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1830
|
+
i0.ɵɵadvance(3);
|
|
1831
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 7, ctx.description));
|
|
1832
|
+
} }, dependencies: [i1.RpxTranslatePipe], styles: [".tooltip[_ngcontent-%COMP%]{position:relative;display:inline-block}.tooltip[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{visibility:hidden;width:140px;background-color:#1175b2;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;margin-left:-50px;opacity:0;transition:opacity 1s}.tooltip[_ngcontent-%COMP%]:hover .tooltiptext[_ngcontent-%COMP%]{visibility:visible;opacity:1}"] });
|
|
1755
1833
|
}
|
|
1756
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
1757
|
-
type:
|
|
1758
|
-
|
|
1834
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityIconComponent, [{
|
|
1835
|
+
type: Component,
|
|
1836
|
+
args: [{ selector: 'ccd-activity-icon', standalone: false, template: "<div class=\"tooltip\">\n <img alt=\"{{description | rpxTranslate}}\" class=\"img-responsive\" src=\"{{imageLink}}\" />\n <span class=\"tooltiptext\">{{description | rpxTranslate}}</span>\n</div>\n", styles: [".tooltip{position:relative;display:inline-block}.tooltip .tooltiptext{visibility:hidden;width:140px;background-color:#1175b2;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;margin-left:-50px;opacity:0;transition:opacity 1s}.tooltip:hover .tooltiptext{visibility:visible;opacity:1}\n"] }]
|
|
1837
|
+
}], () => [], { description: [{
|
|
1838
|
+
type: Input
|
|
1839
|
+
}], imageLink: [{
|
|
1840
|
+
type: Input
|
|
1841
|
+
}] }); })();
|
|
1842
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActivityIconComponent, { className: "ActivityIconComponent", filePath: "lib/shared/components/activity/activity-icon/activity-icon.component.ts", lineNumber: 9 }); })();
|
|
1843
|
+
|
|
1844
|
+
class ActivityInfo {
|
|
1845
|
+
forename;
|
|
1846
|
+
surname;
|
|
1847
|
+
}
|
|
1848
|
+
class Activity {
|
|
1849
|
+
caseId;
|
|
1850
|
+
viewers;
|
|
1851
|
+
editors;
|
|
1852
|
+
unknownViewers;
|
|
1853
|
+
unknownEditors;
|
|
1854
|
+
}
|
|
1855
|
+
var DisplayMode;
|
|
1856
|
+
(function (DisplayMode) {
|
|
1857
|
+
DisplayMode[DisplayMode["BANNER"] = 0] = "BANNER";
|
|
1858
|
+
DisplayMode[DisplayMode["ICON"] = 1] = "ICON";
|
|
1859
|
+
})(DisplayMode || (DisplayMode = {}));
|
|
1759
1860
|
|
|
1760
1861
|
class SessionStorageService {
|
|
1761
1862
|
/**
|
|
@@ -1840,7 +1941,7 @@ class SessionStorageGuard {
|
|
|
1840
1941
|
this.router.navigate([this.errorRoute || '/session-error']);
|
|
1841
1942
|
return false;
|
|
1842
1943
|
}
|
|
1843
|
-
static ɵfac = function SessionStorageGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SessionStorageGuard)(i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(i1$
|
|
1944
|
+
static ɵfac = function SessionStorageGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SessionStorageGuard)(i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(SessionErrorRoute, 8), i0.ɵɵinject(SessionJsonErrorLogger, 8)); };
|
|
1844
1945
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SessionStorageGuard, factory: SessionStorageGuard.ɵfac, providedIn: 'root' });
|
|
1845
1946
|
}
|
|
1846
1947
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionStorageGuard, [{
|
|
@@ -1848,7 +1949,7 @@ class SessionStorageGuard {
|
|
|
1848
1949
|
args: [{
|
|
1849
1950
|
providedIn: 'root',
|
|
1850
1951
|
}]
|
|
1851
|
-
}], () => [{ type: SessionStorageService }, { type: i1$
|
|
1952
|
+
}], () => [{ type: SessionStorageService }, { type: i1$2.Router }, { type: undefined, decorators: [{
|
|
1852
1953
|
type: Optional
|
|
1853
1954
|
}, {
|
|
1854
1955
|
type: Inject,
|
|
@@ -2445,12 +2546,12 @@ class AlertService {
|
|
|
2445
2546
|
message: this.message
|
|
2446
2547
|
});
|
|
2447
2548
|
}
|
|
2448
|
-
static ɵfac = function AlertService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertService)(i0.ɵɵinject(i1$
|
|
2549
|
+
static ɵfac = function AlertService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertService)(i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(i1.RpxTranslationService)); };
|
|
2449
2550
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AlertService, factory: AlertService.ɵfac });
|
|
2450
2551
|
}
|
|
2451
2552
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertService, [{
|
|
2452
2553
|
type: Injectable
|
|
2453
|
-
}], () => [{ type: i1$
|
|
2554
|
+
}], () => [{ type: i1$2.Router }, { type: i1.RpxTranslationService }], null); })();
|
|
2454
2555
|
|
|
2455
2556
|
const DRAFT_PREFIX = 'DRAFT';
|
|
2456
2557
|
const DRAFT_QUERY_PARAM = 'draft';
|
|
@@ -3939,14 +4040,6 @@ class EventCaseField {
|
|
|
3939
4040
|
showCondition;
|
|
3940
4041
|
}
|
|
3941
4042
|
|
|
3942
|
-
class Jurisdiction {
|
|
3943
|
-
id;
|
|
3944
|
-
name;
|
|
3945
|
-
description;
|
|
3946
|
-
caseTypes;
|
|
3947
|
-
currentCaseType;
|
|
3948
|
-
}
|
|
3949
|
-
|
|
3950
4043
|
class Banner {
|
|
3951
4044
|
bannerDescription;
|
|
3952
4045
|
bannerUrlText;
|
|
@@ -4069,36 +4162,6 @@ class PaginationMetadata {
|
|
|
4069
4162
|
totalPagesCount;
|
|
4070
4163
|
}
|
|
4071
4164
|
|
|
4072
|
-
function hasRoles(profile) {
|
|
4073
|
-
if (profile.user && profile.user.idam && Array.isArray(profile.user.idam.roles)) {
|
|
4074
|
-
return profile.user.idam.roles.length > 0;
|
|
4075
|
-
}
|
|
4076
|
-
return false;
|
|
4077
|
-
}
|
|
4078
|
-
// @dynamic
|
|
4079
|
-
class Profile {
|
|
4080
|
-
user;
|
|
4081
|
-
channels;
|
|
4082
|
-
jurisdictions;
|
|
4083
|
-
default;
|
|
4084
|
-
isSolicitor() {
|
|
4085
|
-
if (hasRoles(this)) {
|
|
4086
|
-
return this.user.idam.roles.find(r => r.endsWith('-solicitor')) !== undefined;
|
|
4087
|
-
}
|
|
4088
|
-
return false;
|
|
4089
|
-
}
|
|
4090
|
-
isCourtAdmin() {
|
|
4091
|
-
if (hasRoles(this)) {
|
|
4092
|
-
return this.user.idam.roles.find(r => r.endsWith('-courtadmin')) !== undefined;
|
|
4093
|
-
}
|
|
4094
|
-
return false;
|
|
4095
|
-
}
|
|
4096
|
-
}
|
|
4097
|
-
__decorate([
|
|
4098
|
-
Type(() => Jurisdiction),
|
|
4099
|
-
__metadata("design:type", Array)
|
|
4100
|
-
], Profile.prototype, "jurisdictions", void 0);
|
|
4101
|
-
|
|
4102
4165
|
class Field {
|
|
4103
4166
|
id;
|
|
4104
4167
|
field_type;
|
|
@@ -9033,45 +9096,22 @@ class OrderService {
|
|
|
9033
9096
|
type: Injectable
|
|
9034
9097
|
}], null, null); })();
|
|
9035
9098
|
|
|
9036
|
-
class
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
this.httpService = httpService;
|
|
9043
|
-
this.appConfig = appConfig;
|
|
9044
|
-
}
|
|
9045
|
-
get() {
|
|
9046
|
-
const url = this.appConfig.getCaseDataUrl() + ProfileService.URL;
|
|
9047
|
-
const headers = new HttpHeaders()
|
|
9048
|
-
.set('experimental', 'true')
|
|
9049
|
-
.set('Accept', ProfileService.V2_MEDIATYPE_USER_PROFILE)
|
|
9050
|
-
.set('Content-Type', 'application/json');
|
|
9051
|
-
// Not adding client context header because header is added to call immediately afterwards
|
|
9052
|
-
return this.httpService
|
|
9053
|
-
.get(url, { headers, observe: 'body' })
|
|
9054
|
-
.pipe(map((p) => plainToClass(Profile, p)));
|
|
9099
|
+
class ProfileResolver {
|
|
9100
|
+
profileService;
|
|
9101
|
+
profileNotifier;
|
|
9102
|
+
constructor(profileService, profileNotifier) {
|
|
9103
|
+
this.profileService = profileService;
|
|
9104
|
+
this.profileNotifier = profileNotifier;
|
|
9055
9105
|
}
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
}
|
|
9059
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileService, [{
|
|
9060
|
-
type: Injectable
|
|
9061
|
-
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
9062
|
-
|
|
9063
|
-
class ProfileNotifier {
|
|
9064
|
-
profileSource = new BehaviorSubject(new Profile());
|
|
9065
|
-
profile = this.profileSource.asObservable();
|
|
9066
|
-
announceProfile(profile) {
|
|
9067
|
-
this.profileSource.next(profile);
|
|
9106
|
+
resolve() {
|
|
9107
|
+
return this.profileService.get().pipe(tap(profile => this.profileNotifier.announceProfile(profile)));
|
|
9068
9108
|
}
|
|
9069
|
-
static ɵfac = function
|
|
9070
|
-
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token:
|
|
9109
|
+
static ɵfac = function ProfileResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileResolver)(i0.ɵɵinject(ProfileService), i0.ɵɵinject(ProfileNotifier)); };
|
|
9110
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ProfileResolver, factory: ProfileResolver.ɵfac });
|
|
9071
9111
|
}
|
|
9072
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
9112
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileResolver, [{
|
|
9073
9113
|
type: Injectable
|
|
9074
|
-
}],
|
|
9114
|
+
}], () => [{ type: ProfileService }, { type: ProfileNotifier }], null); })();
|
|
9075
9115
|
|
|
9076
9116
|
class RequestOptionsBuilder {
|
|
9077
9117
|
static FIELD_PREFIX = 'case.';
|
|
@@ -9614,12 +9654,12 @@ class OrganisationService {
|
|
|
9614
9654
|
}
|
|
9615
9655
|
return this.organisations$;
|
|
9616
9656
|
}
|
|
9617
|
-
static ɵfac = function OrganisationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganisationService)(i0.ɵɵinject(i1$
|
|
9657
|
+
static ɵfac = function OrganisationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganisationService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(AbstractAppConfig)); };
|
|
9618
9658
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrganisationService, factory: OrganisationService.ɵfac });
|
|
9619
9659
|
}
|
|
9620
9660
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganisationService, [{
|
|
9621
9661
|
type: Injectable
|
|
9622
|
-
}], () => [{ type: i1$
|
|
9662
|
+
}], () => [{ type: i1$1.HttpClient }, { type: AbstractAppConfig }], null); })();
|
|
9623
9663
|
|
|
9624
9664
|
class BrowserService {
|
|
9625
9665
|
isFirefox() {
|
|
@@ -9993,12 +10033,12 @@ class ConvertHrefToRouterService {
|
|
|
9993
10033
|
queryParams: queryParamObj && (Object.keys(queryParamObj).length) ? queryParamObj : ''
|
|
9994
10034
|
});
|
|
9995
10035
|
}
|
|
9996
|
-
static ɵfac = function ConvertHrefToRouterService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConvertHrefToRouterService)(i0.ɵɵinject(i1$
|
|
10036
|
+
static ɵfac = function ConvertHrefToRouterService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConvertHrefToRouterService)(i0.ɵɵinject(i1$2.Router)); };
|
|
9997
10037
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConvertHrefToRouterService, factory: ConvertHrefToRouterService.ɵfac });
|
|
9998
10038
|
}
|
|
9999
10039
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConvertHrefToRouterService, [{
|
|
10000
10040
|
type: Injectable
|
|
10001
|
-
}], () => [{ type: i1$
|
|
10041
|
+
}], () => [{ type: i1$2.Router }], null); })();
|
|
10002
10042
|
|
|
10003
10043
|
class EventTriggerService {
|
|
10004
10044
|
eventTriggerSource = new Subject();
|
|
@@ -10102,12 +10142,12 @@ class CaseEditWizardGuard {
|
|
|
10102
10142
|
parentUrlSegments(route) {
|
|
10103
10143
|
return this.routerHelper.getUrlSegmentsFromRoot(route.parent);
|
|
10104
10144
|
}
|
|
10105
|
-
static ɵfac = function CaseEditWizardGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditWizardGuard)(i0.ɵɵinject(i1$
|
|
10145
|
+
static ɵfac = function CaseEditWizardGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditWizardGuard)(i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(RouterHelperService), i0.ɵɵinject(WizardFactoryService), i0.ɵɵinject(AlertService), i0.ɵɵinject(EventTriggerService)); };
|
|
10106
10146
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseEditWizardGuard, factory: CaseEditWizardGuard.ɵfac });
|
|
10107
10147
|
}
|
|
10108
10148
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditWizardGuard, [{
|
|
10109
10149
|
type: Injectable
|
|
10110
|
-
}], () => [{ type: i1$
|
|
10150
|
+
}], () => [{ type: i1$2.Router }, { type: RouterHelperService }, { type: WizardFactoryService }, { type: AlertService }, { type: EventTriggerService }], null); })();
|
|
10111
10151
|
|
|
10112
10152
|
class CaseworkerService {
|
|
10113
10153
|
http;
|
|
@@ -11297,19 +11337,19 @@ class CaseEditComponent {
|
|
|
11297
11337
|
this.abstractConfig.logMessage(`checking taskIsForEvent: task ID ${task.id}, task description ${task.description}, event name ${eventDetails.eventId}`);
|
|
11298
11338
|
return task.case_id === eventDetails.caseId && (task.description?.includes(eventDetails.eventId));
|
|
11299
11339
|
}
|
|
11300
|
-
static ɵfac = function CaseEditComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$
|
|
11340
|
+
static ɵfac = function CaseEditComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ReadCookieService)); };
|
|
11301
11341
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, standalone: false, features: [i0.ɵɵProvidersFeature([GreyBarService])], decls: 2, vars: 1, consts: [["class", "refresh-modal-backdrop", 4, "ngIf"], [1, "refresh-modal-backdrop"], [1, "refresh-modal"], [1, "heading-h2"], [1, "button", 3, "click"]], template: function CaseEditComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11302
11342
|
i0.ɵɵelement(0, "router-outlet");
|
|
11303
11343
|
i0.ɵɵtemplate(1, CaseEditComponent_div_1_Template, 10, 2, "div", 0);
|
|
11304
11344
|
} if (rf & 2) {
|
|
11305
11345
|
i0.ɵɵadvance();
|
|
11306
11346
|
i0.ɵɵproperty("ngIf", ctx.isRefreshModalVisible);
|
|
11307
|
-
} }, dependencies: [i5.NgIf, i1$
|
|
11347
|
+
} }, dependencies: [i5.NgIf, i1$2.RouterOutlet], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.case-field-change[_ngcontent-%COMP%]{width:5%}.refresh-modal-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal[_ngcontent-%COMP%]{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{margin-top:12px}"] });
|
|
11308
11348
|
}
|
|
11309
11349
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditComponent, [{
|
|
11310
11350
|
type: Component,
|
|
11311
11351
|
args: [{ selector: 'ccd-case-edit', providers: [GreyBarService], standalone: false, template: "<router-outlet></router-outlet>\n<!-- Simple centered modal shown on refresh -->\n<div *ngIf=\"isRefreshModalVisible\" class=\"refresh-modal-backdrop\">\n <div class=\"refresh-modal\">\n <h2 class=\"heading-h2\">Page refreshed</h2>\n <p>{{ 'As the page has been refreshed mandatory data is now missing. You will be redirected to the first page of this event.' }}</p>\n <p>{{ 'Please select Ok to continue.' }}</p>\n <button class=\"button\" (click)=\"onRefreshModalOk()\">Ok</button>\n </div>\n</div>", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}.refresh-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal .button{margin-top:12px}\n"] }]
|
|
11312
|
-
}], () => [{ type: i4.FormBuilder }, { type: CaseNotifier }, { type: i1$
|
|
11352
|
+
}], () => [{ type: i4.FormBuilder }, { type: CaseNotifier }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }, { type: WorkAllocationService }, { type: AlertService }, { type: AbstractAppConfig }, { type: ReadCookieService }], { eventTrigger: [{
|
|
11313
11353
|
type: Input
|
|
11314
11354
|
}], submit: [{
|
|
11315
11355
|
type: Input
|
|
@@ -11865,7 +11905,7 @@ class CaseEditConfirmComponent {
|
|
|
11865
11905
|
}
|
|
11866
11906
|
return this.eventTrigger.case_fields;
|
|
11867
11907
|
}
|
|
11868
|
-
static ɵfac = function CaseEditConfirmComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditConfirmComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$
|
|
11908
|
+
static ɵfac = function CaseEditConfirmComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditConfirmComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$2.Router)); };
|
|
11869
11909
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditConfirmComponent, selectors: [["ng-component"]], standalone: false, decls: 14, vars: 12, consts: [["titleBlock", ""], ["idBlock", ""], [1, "heading-h1"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "submit", "formGroup"], ["id", "confirmation-header", 4, "ngIf"], ["id", "confirmation-body", 4, "ngIf"], ["type", "submit", "data-ng-click", "submit()", 1, "button"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["id", "confirmation-header"], ["id", "confirmation-body"]], template: function CaseEditConfirmComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11870
11910
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11871
11911
|
i0.ɵɵelementStart(0, "h1", 2);
|
|
@@ -11900,7 +11940,7 @@ class CaseEditConfirmComponent {
|
|
|
11900
11940
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditConfirmComponent, [{
|
|
11901
11941
|
type: Component,
|
|
11902
11942
|
args: [{ standalone: false, template: "<!-- Current Page && Event trigger name -->\n<h1 class=\"heading-h1\">{{ eventTrigger.name | rpxTranslate}}</h1>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data'] | rpxTranslate\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<form [formGroup]=\"formGroup\" (submit)=\"submit()\">\n <div id=\"confirmation-header\" *ngIf=\"confirmation.getHeader()\">\n <ccd-markdown [content]=\"confirmation.getHeader() | rpxTranslate\"></ccd-markdown>\n </div>\n <div id=\"confirmation-body\" *ngIf=\"confirmation.getBody()\">\n <ccd-markdown [content]=\"confirmation.getBody() | rpxTranslate\"></ccd-markdown>\n </div>\n <button type=\"submit\" class=\"button\" data-ng-click=\"submit()\">{{triggerText | rpxTranslate}}</button>\n</form>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}.refresh-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal .button{margin-top:12px}\n"] }]
|
|
11903
|
-
}], () => [{ type: CaseEditComponent }, { type: i1$
|
|
11943
|
+
}], () => [{ type: CaseEditComponent }, { type: i1$2.Router }], null); })();
|
|
11904
11944
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditConfirmComponent, { className: "CaseEditConfirmComponent", filePath: "lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.ts", lineNumber: 16 }); })();
|
|
11905
11945
|
|
|
11906
11946
|
function CaseEditFormComponent_ng_container_0_ccd_field_read_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -13272,7 +13312,7 @@ class CaseEditPageComponent {
|
|
|
13272
13312
|
}
|
|
13273
13313
|
return caseField.id;
|
|
13274
13314
|
}
|
|
13275
|
-
static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$
|
|
13315
|
+
static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(FocusService)); };
|
|
13276
13316
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], viewQuery: function CaseEditPageComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13277
13317
|
i0.ɵɵviewQuery(CaseEditFormComponent, 5);
|
|
13278
13318
|
} if (rf & 2) {
|
|
@@ -13310,7 +13350,7 @@ class CaseEditPageComponent {
|
|
|
13310
13350
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditPageComponent, [{
|
|
13311
13351
|
type: Component,
|
|
13312
13352
|
args: [{ selector: 'ccd-case-edit-page', standalone: false, template: "<ng-container *ngIf=\"eventTrigger\">\n <h1 *ngIf=\"!currentPage?.label\" class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n <ng-container *ngIf=\"currentPage?.label\">\n <span class=\"govuk-caption-l\">{{ eventTrigger.name | rpxTranslate}}</span>\n <h1 class=\"govuk-heading-l\">{{currentPage.label | rpxTranslate}}</h1>\n </ng-container>\n</ng-container>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"demoteCaseTitleHeadingLevel(getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data'] | rpxTranslate)\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<!-- Error message summary -->\n<div *ngIf=\"validationErrors.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div *ngFor=\"let validationError of validationErrors\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(validationError.id)\" (keyup.enter)=\"navigateToErrorElement(validationError.id)\" tabindex=\"0\" class=\"validation-error\">\n {{ validationError.message | rpxTranslate: getRpxTranslatePipeArgs(validationError.label | rpxTranslate): null }}\n </a>\n </li>\n </ul>\n </div>\n</div>\n\n<ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<div class=\"width-50\">\n <form *ngIf=\"currentPage\" class=\"form\" [formGroup]=\"editForm\" (submit)=\"nextStep()\">\n <div id=\"fieldset-case-data\">\n <!-- single column -->\n <ccd-case-edit-form id='caseEditForm' *ngIf=\"!currentPage.isMultiColumn()\" [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"\n [pageChangeSubject]=\"pageChangeSubject\"\n (valuesChanged)=\"applyValuesChanged($event)\"></ccd-case-edit-form>\n <!-- two columns -->\n <div *ngIf=\"currentPage.isMultiColumn()\" class=\"grid-row\">\n <div class=\"column-two-thirds rightBorderSeparator\">\n <ccd-case-edit-form id='caseEditForm1' [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n <div class=\"column-one-third\">\n <ccd-case-edit-form id='caseEditForm2' [fields]=\"currentPage.getCol2Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n </div>\n </div>\n\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"toPreviousPage()\" *ngIf=\"!isAtStart()\" [disabled]=\"isDisabled()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button class=\"button\" type=\"submit\" [disabled]=\"submitting()\">{{triggerText | rpxTranslate}}</button>\n </div>\n\n <p class=\"cancel\"><button type=\"button\" (click)=\"cancel()\" class=\"govuk-js-link\">{{getCancelText() | rpxTranslate}}</button></p>\n </form>\n</div>\n\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.rightBorderSeparator{border-right-width:4px;border-right-color:#ffcc02;border-right-style:solid}.validation-error{cursor:pointer;text-decoration:underline;color:#d4351c}\n"] }]
|
|
13313
|
-
}], () => [{ type: CaseEditComponent }, { type: i1$
|
|
13353
|
+
}], () => [{ type: CaseEditComponent }, { type: i1$2.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatLegacyDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }, { type: MultipageComponentStateService }, { type: AddressesService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: FocusService }], { caseEditFormComponents: [{
|
|
13314
13354
|
type: ViewChildren,
|
|
13315
13355
|
args: [CaseEditFormComponent]
|
|
13316
13356
|
}] }); })();
|
|
@@ -13574,7 +13614,7 @@ class CaseEventCompletionComponent {
|
|
|
13574
13614
|
this.eventCanBeCompleted.emit(completable);
|
|
13575
13615
|
}
|
|
13576
13616
|
}
|
|
13577
|
-
static ɵfac = function CaseEventCompletionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionComponent)(i0.ɵɵdirectiveInject(EventCompletionStateMachineService), i0.ɵɵdirectiveInject(i1$
|
|
13617
|
+
static ɵfac = function CaseEventCompletionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionComponent)(i0.ɵɵdirectiveInject(EventCompletionStateMachineService), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
13578
13618
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionComponent, selectors: [["ccd-case-event-completion"]], inputs: { eventCompletionParams: "eventCompletionParams" }, outputs: { eventCanBeCompleted: "eventCanBeCompleted" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [[3, "context", "notifyEventCompletionCancelled", 4, "ngIf"], [3, "context", "notifyEventCompletionReassigned", 4, "ngIf"], [3, "notifyEventCompletionCancelled", "context"], [3, "notifyEventCompletionReassigned", "context"]], template: function CaseEventCompletionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13579
13619
|
i0.ɵɵtemplate(0, CaseEventCompletionComponent_app_case_event_completion_task_cancelled_0_Template, 1, 1, "app-case-event-completion-task-cancelled", 0)(1, CaseEventCompletionComponent_app_case_event_completion_task_reassigned_1_Template, 1, 1, "app-case-event-completion-task-reassigned", 1);
|
|
13580
13620
|
} if (rf & 2) {
|
|
@@ -13586,7 +13626,7 @@ class CaseEventCompletionComponent {
|
|
|
13586
13626
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionComponent, [{
|
|
13587
13627
|
type: Component,
|
|
13588
13628
|
args: [{ selector: 'ccd-case-event-completion', standalone: false, template: "<app-case-event-completion-task-cancelled\n *ngIf=\"taskState === eventCompletionTaskStates.TaskCancelled\"\n [context]=\"context\"\n (notifyEventCompletionCancelled)=\"setEventCanBeCompleted($event)\">\n</app-case-event-completion-task-cancelled>\n<app-case-event-completion-task-reassigned\n *ngIf=\"taskState === eventCompletionTaskStates.TaskReassigned\"\n [context]=\"context\"\n (notifyEventCompletionReassigned)=\"setEventCanBeCompleted($event)\">\n</app-case-event-completion-task-reassigned>" }]
|
|
13589
|
-
}], () => [{ type: EventCompletionStateMachineService }, { type: i1$
|
|
13629
|
+
}], () => [{ type: EventCompletionStateMachineService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: SessionStorageService }, { type: WorkAllocationService }, { type: AlertService }], { eventCompletionParams: [{
|
|
13590
13630
|
type: Input
|
|
13591
13631
|
}], eventCanBeCompleted: [{
|
|
13592
13632
|
type: Output
|
|
@@ -13665,7 +13705,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13665
13705
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$11, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13666
13706
|
i0.ɵɵadvance();
|
|
13667
13707
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13668
|
-
} }, dependencies: [i1$
|
|
13708
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
13669
13709
|
}
|
|
13670
13710
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskCancelledComponent, [{
|
|
13671
13711
|
type: Component,
|
|
@@ -13814,7 +13854,7 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
13814
13854
|
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31, 30, "div", 0);
|
|
13815
13855
|
} if (rf & 2) {
|
|
13816
13856
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
13817
|
-
} }, dependencies: [i5.NgIf, i1$
|
|
13857
|
+
} }, dependencies: [i5.NgIf, i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
13818
13858
|
}
|
|
13819
13859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskReassignedComponent, [{
|
|
13820
13860
|
type: Component,
|
|
@@ -14865,7 +14905,7 @@ class CaseFileViewFieldComponent {
|
|
|
14865
14905
|
return defaultMsg;
|
|
14866
14906
|
}
|
|
14867
14907
|
}
|
|
14868
|
-
static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$
|
|
14908
|
+
static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
14869
14909
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], standalone: false, decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["type", "button", 1, "govuk-js-link"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height", "caseId", "multimediaPlayerEnabled", "enableICP"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14870
14910
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 0)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 1)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 0);
|
|
14871
14911
|
} if (rf & 2) {
|
|
@@ -14879,7 +14919,7 @@ class CaseFileViewFieldComponent {
|
|
|
14879
14919
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
14880
14920
|
type: Component,
|
|
14881
14921
|
args: [{ selector: 'ccd-case-file-view-field', standalone: false, template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <button type=\"button\" class=\"govuk-js-link\">{{ errorMessage }}</button>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <mv-media-viewer\n [url]=\"currentDocument.document_binary_url\"\n [downloadFileName]=\"currentDocument.document_filename\"\n [showToolbar]=\"true\"\n [contentType]=\"currentDocument.content_type\"\n [enableAnnotations]=\"true\"\n [enableRedactions]=\"true\"\n [height]=\"'94.5vh'\"\n [caseId]=\"caseId\"\n [multimediaPlayerEnabled]=\"true\"\n [enableICP]=\"isIcpEnabled()\"\n >\n </mv-media-viewer>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
|
|
14882
|
-
}], () => [{ type: i0.ElementRef }, { type: i1$
|
|
14922
|
+
}], () => [{ type: i0.ElementRef }, { type: i1$2.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
14883
14923
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 20 }); })();
|
|
14884
14924
|
|
|
14885
14925
|
const PVP_FLAG_CODE = 'PF0021';
|
|
@@ -15243,7 +15283,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
15243
15283
|
this.caseFlagStateService.fieldStateToNavigate = fieldState;
|
|
15244
15284
|
this.router.navigate([`../${this.caseFlagStateService.pageLocation}`], { relativeTo: this.route });
|
|
15245
15285
|
}
|
|
15246
|
-
static ɵfac = function ReadCaseFlagFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$
|
|
15286
|
+
static ɵfac = function ReadCaseFlagFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
15247
15287
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCaseFlagFieldComponent, selectors: [["ccd-read-case-flag-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "changeButtonEmitter", "flagForSummaryDisplay", "displayContextParameter"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["id", "read-case-flag-title", 1, "govuk-heading-l"], [4, "ngFor", "ngForOf"], [3, "tableCaption", "flagData", "firstColumnHeader", "caseFlagsExternalUser", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader", "caseFlagsExternalUser"], [3, "tableCaption", "flagData", "firstColumnHeader", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader"]], template: function ReadCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15248
15288
|
i0.ɵɵtemplate(0, ReadCaseFlagFieldComponent_ng_container_0_Template, 2, 2, "ng-container", 0)(1, ReadCaseFlagFieldComponent_ng_container_1_Template, 4, 2, "ng-container", 0);
|
|
15249
15289
|
} if (rf & 2) {
|
|
@@ -15255,7 +15295,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
15255
15295
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCaseFlagFieldComponent, [{
|
|
15256
15296
|
type: Component,
|
|
15257
15297
|
args: [{ selector: 'ccd-read-case-flag-field', standalone: false, template: "<ng-container *ngIf=\"context === paletteContext.CHECK_YOUR_ANSWER\">\n <ccd-case-flag-summary-list\n [flagForSummaryDisplay]=\"flagForSummaryDisplay\"\n [displayContextParameter]=\"displayContextParameter\"\n (changeButtonEmitter)=\"navigateBackToForm($event)\">\n </ccd-case-flag-summary-list>\n</ng-container>\n\n<ng-container *ngIf=\"context !== paletteContext.CHECK_YOUR_ANSWER\">\n <ng-container [ngSwitch]=\"displayContextParameter\">\n <ng-container *ngSwitchCase=\"caseFlagDisplayContextParameter.READ_EXTERNAL\">\n <h2 id=\"read-case-flag-title\" class=\"govuk-heading-l\">\n {{ 'Support requested' | rpxTranslate }}\n </h2>\n\n <div *ngFor=\"let flagData of partyLevelCaseFlagData\">\n <ccd-case-flag-table *ngIf=\"flagData.flags.partyName\"\n [tableCaption]=\"''\"\n [flagData]=\"flagData\"\n [firstColumnHeader]=\"flagData.flags.partyName\"\n [caseFlagsExternalUser]=\"caseFlagsExternalUser\"\n ></ccd-case-flag-table>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <h2 id=\"read-case-flag-title\" class=\"govuk-heading-l\">\n {{ 'Case flags' | rpxTranslate }}\n </h2>\n\n <div *ngFor=\"let flagData of partyLevelCaseFlagData\">\n <ccd-case-flag-table *ngIf=\"flagData.flags.partyName\"\n [tableCaption]=\"flagData.flags.partyName\"\n [flagData]=\"flagData\"\n [firstColumnHeader]=\"'Party level flags' | rpxTranslate\"\n ></ccd-case-flag-table>\n </div>\n <div *ngIf=\"caseLevelCaseFlagData\">\n <ccd-case-flag-table\n [tableCaption]=\"'Case level flags' | rpxTranslate\"\n [flagData]=\"caseLevelCaseFlagData\"\n [firstColumnHeader]=\"'Case flags' | rpxTranslate\"\n ></ccd-case-flag-table>\n </div>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".govuk-heading-l{margin-top:30px}\n"] }]
|
|
15258
|
-
}], () => [{ type: i1$
|
|
15298
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: CaseFlagStateService }], null); })();
|
|
15259
15299
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseFlagFieldComponent, { className: "ReadCaseFlagFieldComponent", filePath: "lib/shared/components/palette/case-flag/read-case-flag-field.component.ts", lineNumber: 18 }); })();
|
|
15260
15300
|
|
|
15261
15301
|
function WriteCaseFlagFieldComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -16036,7 +16076,7 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent {
|
|
|
16036
16076
|
setDisplayContextParameter(caseFields) {
|
|
16037
16077
|
return caseFields.find(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']))?.display_context_parameter;
|
|
16038
16078
|
}
|
|
16039
|
-
static ɵfac = function WriteCaseFlagFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$
|
|
16079
|
+
static ɵfac = function WriteCaseFlagFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(i1.RpxTranslationService), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
16040
16080
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseFlagFieldComponent, selectors: [["ccd-write-case-flag-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [["journeyChild", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "form-group", 3, "formGroup", 4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], [3, "caseFlagStateEmitter", "formGroup", "flagsData", "isDisplayContextParameterExternal"], [3, "caseFlagStateEmitter", "flagCommentsOptionalEmitter", "flagTypeSubJourneyEmitter", "formGroup", "jurisdiction", "caseTypeId", "hmctsServiceId", "isDisplayContextParameterExternal", "isDisplayContextParameter2Point1Enabled", "selectedFlagsLocation"], [3, "caseFlagStateEmitter", "formGroup", "flagType"], [3, "caseFlagStateEmitter", "formGroup", "optional", "isDisplayContextParameterExternal", "isDisplayContextParameter2Point1Enabled"], [3, "caseFlagStateEmitter", "formGroup", "defaultStatus"], [3, "caseFlagStateEmitter", "formGroup", "flagsData", "caseTitle", "displayContextParameter"], [3, "caseFlagStateEmitter", "formGroup", "displayContextParameter"], [3, "caseFlagStateEmitter", "formGroup"]], template: function WriteCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16041
16081
|
i0.ɵɵtemplate(0, WriteCaseFlagFieldComponent_div_0_Template, 5, 4, "div", 1)(1, WriteCaseFlagFieldComponent_div_1_Template, 7, 7, "div", 2)(2, WriteCaseFlagFieldComponent_div_2_Template, 5, 5, "div", 2);
|
|
16042
16082
|
} if (rf & 2) {
|
|
@@ -16050,7 +16090,7 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent {
|
|
|
16050
16090
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCaseFlagFieldComponent, [{
|
|
16051
16091
|
type: Component,
|
|
16052
16092
|
args: [{ selector: 'ccd-write-case-flag-field', standalone: false, template: "<!-- Error message summary -->\n<div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\"\n tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div *ngFor=\"let errorMessage of errorMessages\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(errorMessage.fieldId)\" class=\"validation-error\">{{errorMessage.description |\n rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n</div>\n<div *ngIf=\"!isDisplayContextParameterUpdate\" class=\"form-group\" [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group\" [ngSwitch]=\"fieldState\">\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_LOCATION\">\n <ccd-select-flag-location \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\" \n [flagsData]=\"flagsData\"\n [isDisplayContextParameterExternal]=\"isDisplayContextParameterExternal\"\n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-select-flag-location>\n </ng-container>\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_TYPE\">\n <ccd-select-flag-type \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\" \n [jurisdiction]=\"jurisdiction\"\n [caseTypeId]=\"caseTypeId\" \n [hmctsServiceId]=\"hmctsServiceId\"\n [isDisplayContextParameterExternal]=\"isDisplayContextParameterExternal\"\n [isDisplayContextParameter2Point1Enabled]=\"isDisplayContextParameter2Point1Enabled\"\n [selectedFlagsLocation]=\"selectedFlagsLocation\" \n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\"\n (flagCommentsOptionalEmitter)=\"onFlagCommentsOptionalEmitted($event)\"\n (flagTypeSubJourneyEmitter)=\"updateFlagTypeSubJourney($event)\">\n </ccd-select-flag-type>\n </ng-container>\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_LANGUAGE_INTERPRETER\">\n <ccd-search-language-interpreter \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\" \n [flagType]=\"flagType\" \n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-search-language-interpreter>\n </ng-container>\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_COMMENTS\">\n <ccd-add-comments \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\" \n [optional]=\"flagCommentsOptional\"\n [isDisplayContextParameterExternal]=\"isDisplayContextParameterExternal\"\n [isDisplayContextParameter2Point1Enabled]=\"isDisplayContextParameter2Point1Enabled\"\n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-add-comments>\n </ng-container>\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_STATUS\">\n <ccd-confirm-flag-status \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\"\n [defaultStatus]=\"flagType.defaultStatus\" \n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-confirm-flag-status>\n </ng-container>\n </div>\n</div>\n<div *ngIf=\"isDisplayContextParameterUpdate\" class=\"form-group\" [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group\" [ngSwitch]=\"fieldState\">\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS\">\n <ccd-manage-case-flags \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\" \n [flagsData]=\"flagsData\"\n [caseTitle]=\"caseTitle\" \n [displayContextParameter]=\"displayContextParameter\"\n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-manage-case-flags>\n </ng-container>\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_UPDATE\">\n <ccd-update-flag \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\"\n [displayContextParameter]=\"displayContextParameter\" \n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-update-flag>\n </ng-container>\n <ng-container *ngSwitchCase=\"caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION\">\n <ccd-update-flag-add-translation-form \n #journeyChild \n [formGroup]=\"caseFlagParentFormGroup\"\n (caseFlagStateEmitter)=\"onCaseFlagStateEmitted($event)\">\n </ccd-update-flag-add-translation-form>\n </ng-container>\n </div>\n</div>", styles: [".validation-error{cursor:pointer;text-decoration:underline;color:#d4351c}\n"] }]
|
|
16053
|
-
}], () => [{ type: i1$
|
|
16093
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: CaseEditDataService }, { type: CaseFlagStateService }, { type: i1.RpxTranslationService }, { type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
16054
16094
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseFlagFieldComponent, { className: "WriteCaseFlagFieldComponent", filePath: "lib/shared/components/palette/case-flag/write-case-flag-field.component.ts", lineNumber: 23 }); })();
|
|
16055
16095
|
|
|
16056
16096
|
class CaseReferencePipe {
|
|
@@ -17015,7 +17055,7 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
|
17015
17055
|
this.caseViewSubscription.unsubscribe();
|
|
17016
17056
|
}
|
|
17017
17057
|
}
|
|
17018
|
-
static ɵfac = function ReadDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadDocumentFieldComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$
|
|
17058
|
+
static ɵfac = function ReadDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadDocumentFieldComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService)); };
|
|
17019
17059
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDocumentFieldComponent, selectors: [["ccd-read-document-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["type", "button", "class", "govuk-js-link", 3, "click", 4, "ngIf"], ["type", "button", 1, "govuk-js-link", 3, "click"]], template: function ReadDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17020
17060
|
i0.ɵɵtemplate(0, ReadDocumentFieldComponent_button_0_Template, 2, 1, "button", 0);
|
|
17021
17061
|
} if (rf & 2) {
|
|
@@ -17025,7 +17065,7 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
|
17025
17065
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDocumentFieldComponent, [{
|
|
17026
17066
|
type: Component,
|
|
17027
17067
|
args: [{ selector: 'ccd-read-document-field', standalone: false, template: "<button type=\"button\" *ngIf=\"caseField.value\" class=\"govuk-js-link\"\n (click)=\"showMediaViewer()\">\n {{ caseField.value.document_filename }}\n</button>\n" }]
|
|
17028
|
-
}], () => [{ type: WindowService }, { type: DocumentManagementService }, { type: i1$
|
|
17068
|
+
}], () => [{ type: WindowService }, { type: DocumentManagementService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: CasesService }], null); })();
|
|
17029
17069
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 17 }); })();
|
|
17030
17070
|
|
|
17031
17071
|
class DocumentDialogComponent {
|
|
@@ -17781,7 +17821,7 @@ class MarkdownComponent {
|
|
|
17781
17821
|
const markdownLinkRegex = /\[([^\]]+)\]\(?([^ )]+)\)/g;
|
|
17782
17822
|
return markdownLinkRegex.test(inputString);
|
|
17783
17823
|
}
|
|
17784
|
-
static ɵfac = function MarkdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkdownComponent)(i0.ɵɵdirectiveInject(i1$
|
|
17824
|
+
static ɵfac = function MarkdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkdownComponent)(i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
17785
17825
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", renderUrlToTextFeature: "renderUrlToTextFeature" }, standalone: false, decls: 3, vars: 3, consts: [[1, "markdown", 3, "click", "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17786
17826
|
i0.ɵɵelementStart(0, "div")(1, "markdown", 0);
|
|
17787
17827
|
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
@@ -17795,7 +17835,7 @@ class MarkdownComponent {
|
|
|
17795
17835
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
17796
17836
|
type: Component,
|
|
17797
17837
|
args: [{ selector: 'ccd-markdown', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div><markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\"></markdown></div>\n" }]
|
|
17798
|
-
}], () => [{ type: i1$
|
|
17838
|
+
}], () => [{ type: i1$2.Router }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], { content: [{
|
|
17799
17839
|
type: Input
|
|
17800
17840
|
}], renderUrlToTextFeature: [{
|
|
17801
17841
|
type: Input
|
|
@@ -19335,7 +19375,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
19335
19375
|
onBack() {
|
|
19336
19376
|
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
19337
19377
|
}
|
|
19338
|
-
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$
|
|
19378
|
+
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
19339
19379
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "link-cases-journey", 4, "ngIf"], ["id", "manage-link-cases-journey", 4, "ngIf"], ["id", "link-cases-journey"], ["id", "manage-link-cases-journey"]], template: function BeforeYouStartComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19340
19380
|
i0.ɵɵelementStart(0, "div");
|
|
19341
19381
|
i0.ɵɵtemplate(1, BeforeYouStartComponent_div_1_Template, 7, 1, "div", 0)(2, BeforeYouStartComponent_div_2_Template, 5, 2, "div", 0);
|
|
@@ -19350,7 +19390,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
19350
19390
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BeforeYouStartComponent, [{
|
|
19351
19391
|
type: Component,
|
|
19352
19392
|
args: [{ selector: 'ccd-linked-cases-before-you-start', standalone: false, template: "<div>\n <div *ngIf=\"serverLinkedApiError\">\n <h1 class=\"govuk-heading-xl\">There is a problem</h1>\n <p id=\"unlink-cases-error\" class=\"govuk-error-message\" *ngIf=\"serverLinkedApiError\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{serverLinkedApiError.message}}\n </p>\n <p class=\"govuk-body\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"onBack()\">Go back to the Linked cases tab</button>\n </p>\n </div>\n <div *ngIf=\"!serverLinkedApiError\">\n <h1 class=\"govuk-heading-xl\">Before you start</h1>\n <div id=\"link-cases-journey\" *ngIf=\"isLinkCasesJourney\">\n <p class=\"govuk-body\">If a group of linked cases has a lead case, you must start from the lead case.</p>\n <p class=\"govuk-body\">If the cases to be linked has no lead, you can start the linking journey from any of those\n cases.</p>\n </div>\n <div id=\"manage-link-cases-journey\" *ngIf=\"!isLinkCasesJourney\">\n <p class=\"govuk-body\">If there are linked hearings for the case you need to un-link then you must unlink the\n hearing first.</p>\n </div>\n </div>\n</div>\n" }]
|
|
19353
|
-
}], () => [{ type: i1$
|
|
19393
|
+
}], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], { linkedCasesStateEmitter: [{
|
|
19354
19394
|
type: Output
|
|
19355
19395
|
}] }); })();
|
|
19356
19396
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BeforeYouStartComponent, { className: "BeforeYouStartComponent", filePath: "lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.ts", lineNumber: 15 }); })();
|
|
@@ -20362,7 +20402,7 @@ class LinkedCasesFromTableComponent {
|
|
|
20362
20402
|
? 'Hide'
|
|
20363
20403
|
: 'Show';
|
|
20364
20404
|
}
|
|
20365
|
-
static ɵfac = function LinkedCasesFromTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesFromTableComponent)(i0.ɵɵdirectiveInject(i1$
|
|
20405
|
+
static ɵfac = function LinkedCasesFromTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesFromTableComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
20366
20406
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, standalone: false, decls: 2, vars: 2, consts: [["type", "button", "id", "show-hide-link", "class", "govuk-js-link", 3, "click", 4, "ngIf"], ["aria-label", "table to display cases linked from", 4, "ngIf"], ["type", "button", "id", "show-hide-link", 1, "govuk-js-link", 3, "click"], ["aria-label", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20367
20407
|
i0.ɵɵtemplate(0, LinkedCasesFromTableComponent_button_0_Template, 2, 1, "button", 0)(1, LinkedCasesFromTableComponent_table_1_Template, 14, 1, "table", 1);
|
|
20368
20408
|
} if (rf & 2) {
|
|
@@ -20374,7 +20414,7 @@ class LinkedCasesFromTableComponent {
|
|
|
20374
20414
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
20375
20415
|
type: Component,
|
|
20376
20416
|
args: [{ selector: 'ccd-linked-cases-from-table', standalone: false, template: "<button type=\"button\" *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-js-link\"\n (click)=\"onClick()\">{{showHideLinkText}}</button>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-label=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
20377
|
-
}], () => [{ type: i1$
|
|
20417
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
20378
20418
|
type: Input
|
|
20379
20419
|
}], notifyAPIFailure: [{
|
|
20380
20420
|
type: Output
|
|
@@ -20638,7 +20678,7 @@ class LinkedCasesToTableComponent {
|
|
|
20638
20678
|
reasons: caseInfo?.value?.ReasonForLink
|
|
20639
20679
|
};
|
|
20640
20680
|
}
|
|
20641
|
-
static ɵfac = function LinkedCasesToTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesToTableComponent)(i0.ɵɵdirectiveInject(i1$
|
|
20681
|
+
static ɵfac = function LinkedCasesToTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesToTableComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CasesService)); };
|
|
20642
20682
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesToTableComponent, selectors: [["ccd-linked-cases-to-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, standalone: false, decls: 3, vars: 1, consts: [[1, "govuk-grid-row", "govuk-!-margin-bottom-2"], [1, "govuk-grid-column-full"], ["aria-label", "table to display cases linked TO", 4, "ngIf"], ["aria-label", "table to display cases linked TO"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 3, "href"], [1, "govuk-link"], [3, "title"], [4, "ngIf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesToTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20643
20683
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
20644
20684
|
i0.ɵɵtemplate(2, LinkedCasesToTableComponent_table_2_Template, 16, 2, "table", 2);
|
|
@@ -20651,7 +20691,7 @@ class LinkedCasesToTableComponent {
|
|
|
20651
20691
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesToTableComponent, [{
|
|
20652
20692
|
type: Component,
|
|
20653
20693
|
args: [{ selector: 'ccd-linked-cases-to-table', standalone: false, template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-label=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.value.Reason)\">{{getCaseRefereneLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"linkedCasesFromResponse.length === 0 && (!isServerError && !isServerReasonCodeError)\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".case-table-column{min-width:20%;max-width:20%}\n"] }]
|
|
20654
|
-
}], () => [{ type: i1$
|
|
20694
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: LinkedCasesService }, { type: CasesService }], { caseField: [{
|
|
20655
20695
|
type: Input
|
|
20656
20696
|
}], notifyAPIFailure: [{
|
|
20657
20697
|
type: Output
|
|
@@ -20694,7 +20734,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20694
20734
|
onBack() {
|
|
20695
20735
|
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
20696
20736
|
}
|
|
20697
|
-
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$
|
|
20737
|
+
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
20698
20738
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoLinkedCasesComponent, selectors: [["ccd-no-linked-cases"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["noLinkedCases", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], ["class", "govuk-heading-xl", 4, "ngIf"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf", "ngIfElse"], [1, "govuk-body"], ["type", "button", 1, "govuk-js-link", 3, "click"], [1, "govuk-button-group"], ["type", "button", "id", "back-button", 1, "button", "button-primary", 3, "click"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function NoLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20699
20739
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
20700
20740
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
@@ -20718,7 +20758,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20718
20758
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoLinkedCasesComponent, [{
|
|
20719
20759
|
type: Component,
|
|
20720
20760
|
args: [{ selector: 'ccd-no-linked-cases', standalone: false, template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h1 class=\"govuk-heading-xl\" *ngIf=\"serverLinkedApiError\">There is a problem</h1>\n <p id=\"unlink-cases-error\" class=\"govuk-error-message\"\n *ngIf=\"serverLinkedApiError;else noLinkedCases;\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{serverLinkedApiError.message}}\n </p>\n <ng-template #noLinkedCases>\n <p class=\"govuk-body\">There are no cases linked to this one.</p>\n </ng-template>\n <p class=\"govuk-body\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"onBack()\">Go back to the Linked cases tab</button>\n </p>\n <div class=\"govuk-button-group\">\n <button class=\"button button-primary\" type=\"button\" id=\"back-button\" (click)=\"onBack()\">Back</button>\n </div>\n </div>\n</div>\n" }]
|
|
20721
|
-
}], () => [{ type: i1$
|
|
20761
|
+
}], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
20722
20762
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 13 }); })();
|
|
20723
20763
|
|
|
20724
20764
|
const _c0$L = a0 => ({ "govuk-form-group--error": a0 });
|
|
@@ -21038,12 +21078,12 @@ class CommonDataService {
|
|
|
21038
21078
|
}
|
|
21039
21079
|
return of(null);
|
|
21040
21080
|
}
|
|
21041
|
-
static ɵfac = function CommonDataService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CommonDataService)(i0.ɵɵinject(i1$
|
|
21081
|
+
static ɵfac = function CommonDataService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CommonDataService)(i0.ɵɵinject(i1$1.HttpClient)); };
|
|
21042
21082
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CommonDataService, factory: CommonDataService.ɵfac });
|
|
21043
21083
|
}
|
|
21044
21084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CommonDataService, [{
|
|
21045
21085
|
type: Injectable
|
|
21046
|
-
}], () => [{ type: i1$
|
|
21086
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
21047
21087
|
|
|
21048
21088
|
function ReadLinkedCasesFieldComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
21049
21089
|
i0.ɵɵelementContainer(0);
|
|
@@ -21156,7 +21196,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
21156
21196
|
getFailureLinkedFromNotification(evt) {
|
|
21157
21197
|
this.isServerLinkedFromError = true;
|
|
21158
21198
|
}
|
|
21159
|
-
static ɵfac = function ReadLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(i1$
|
|
21199
|
+
static ɵfac = function ReadLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService)); };
|
|
21160
21200
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadLinkedCasesFieldComponent, selectors: [["ccd-read-linked-cases-field"]], standalone: false, decls: 20, vars: 10, consts: [["singleApiError", ""], ["multiApisError", ""], [1, "govuk-!-margin-bottom-2"], [1, "heading-h1"], [1, "table-sub-heading"], ["reloadPage", "reload", 3, "notifyAPIFailure", "caseField"], [4, "ngIf", "ngIfThen"], [1, "govuk-!-margin-top-8"], [1, "govuk-main-wrapper"], [1, "govuk-body"], [1, "govuk-body", "align-left"], ["href", "#", "id", "reload-linked-cases-tab", 1, "govuk-link", 3, "click"]], template: function ReadLinkedCasesFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21161
21201
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
21162
21202
|
i0.ɵɵelementStart(0, "div")(1, "div", 2)(2, "h1", 3);
|
|
@@ -21200,7 +21240,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
21200
21240
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadLinkedCasesFieldComponent, [{
|
|
21201
21241
|
type: Component,
|
|
21202
21242
|
args: [{ selector: 'ccd-read-linked-cases-field', standalone: false, template: "<div>\n <div class=\"govuk-!-margin-bottom-2\">\n <h1 class=\"heading-h1\">Linked cases</h1>\n <label class=\"table-sub-heading\">This case is linked to</label>\n <ccd-linked-cases-to-table [caseField]=\"caseField\" (notifyAPIFailure)=\"getFailureLinkedToNotification($event)\"\n reloadPage=\"reload\"></ccd-linked-cases-to-table>\n <ng-container\n *ngIf=\"(isServerLinkedToError && isServerJurisdictionError && isServerReasonCodeError); then multiApisError;\">\n </ng-container>\n <ng-container\n *ngIf=\"!(isServerLinkedToError && isServerJurisdictionError && isServerReasonCodeError) && (isServerLinkedToError || isServerJurisdictionError || isServerReasonCodeError); then singleApiError;\">\n </ng-container>\n </div>\n <div class=\"govuk-!-margin-top-8\">\n <label class=\"table-sub-heading\">This case is linked from</label>\n <br>\n <ccd-linked-cases-from-table [caseField]=\"caseField\" (notifyAPIFailure)=\"getFailureLinkedFromNotification($event)\"\n reloadPage=\"reload\"></ccd-linked-cases-from-table>\n <ng-container\n *ngIf=\"(isServerLinkedFromError && isServerJurisdictionError && isServerReasonCodeError); then multiApisError;\">\n </ng-container>\n <ng-container\n *ngIf=\"!(isServerLinkedFromError && isServerJurisdictionError && isServerReasonCodeError) && (isServerLinkedFromError || isServerJurisdictionError || isServerReasonCodeError); then singleApiError;\">\n </ng-container>\n </div>\n</div>\n\n<ng-template #singleApiError>\n <div class=\"govuk-main-wrapper\">\n <p class=\"govuk-body\">{{serverLinkedApiError.message}}</p>\n <span class=\"govuk-body align-left\">\n <a href=\"#\" (click)=\"reloadCurrentRoute(); $event.preventDefault()\" id=\"reload-linked-cases-tab\" class=\"govuk-link\">Reload\n the Linked cases tab</a>\n </span>\n </div>\n</ng-template>\n<ng-template #multiApisError>\n <div class=\"govuk-main-wrapper\">\n <p class=\"govuk-body\">{{serverError.message}}</p>\n <span class=\"govuk-body align-left\">\n <a href=\"#\" (click)=\"reloadCurrentRoute(); $event.preventDefault()\" id=\"reload-linked-cases-tab\" class=\"govuk-link\">Reload\n the Linked cases tab</a>\n </span>\n </div>\n</ng-template>\n", styles: [".table-sub-heading{font-size:24px;font-weight:700}\n"] }]
|
|
21203
|
-
}], () => [{ type: i1$
|
|
21243
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: LinkedCasesService }, { type: AbstractAppConfig }, { type: CommonDataService }], null); })();
|
|
21204
21244
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadLinkedCasesFieldComponent, { className: "ReadLinkedCasesFieldComponent", filePath: "lib/shared/components/palette/linked-cases/read-linked-cases-field.component.ts", lineNumber: 14 }); })();
|
|
21205
21245
|
|
|
21206
21246
|
function WriteLinkedCasesFieldComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -21491,7 +21531,7 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteJourneyComponent
|
|
|
21491
21531
|
}
|
|
21492
21532
|
super.previousPage();
|
|
21493
21533
|
}
|
|
21494
|
-
static ɵfac = function WriteLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(i1$
|
|
21534
|
+
static ɵfac = function WriteLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
21495
21535
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteLinkedCasesFieldComponent, selectors: [["ccd-write-linked-cases-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 7, consts: [["journeyChild", ""], [1, "form-group", "govuk-!-margin-bottom-2", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], [3, "linkedCasesStateEmitter"]], template: function WriteLinkedCasesFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21496
21536
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
21497
21537
|
i0.ɵɵtemplate(2, WriteLinkedCasesFieldComponent_ng_container_2_Template, 3, 0, "ng-container", 3)(3, WriteLinkedCasesFieldComponent_ng_container_3_Template, 3, 0, "ng-container", 3)(4, WriteLinkedCasesFieldComponent_ng_container_4_Template, 3, 0, "ng-container", 3)(5, WriteLinkedCasesFieldComponent_ng_container_5_Template, 3, 0, "ng-container", 3)(6, WriteLinkedCasesFieldComponent_ng_container_6_Template, 3, 0, "ng-container", 3);
|
|
@@ -21515,7 +21555,7 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteJourneyComponent
|
|
|
21515
21555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteLinkedCasesFieldComponent, [{
|
|
21516
21556
|
type: Component,
|
|
21517
21557
|
args: [{ selector: 'ccd-write-linked-cases-field', standalone: false, template: "<div class=\"form-group govuk-!-margin-bottom-2\" [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group\" [ngSwitch]=\"linkedCasesPage\">\n <ng-container *ngSwitchCase=\"linkedCasesPages.BEFORE_YOU_START\">\n <ccd-linked-cases-before-you-start\n #journeyChild \n (linkedCasesStateEmitter)=\"onLinkedCasesStateEmitted($event)\">\n </ccd-linked-cases-before-you-start>\n </ng-container>\n <ng-container *ngSwitchCase=\"linkedCasesPages.NO_LINKED_CASES\">\n <ccd-no-linked-cases\n #journeyChild \n (linkedCasesStateEmitter)=\"onLinkedCasesStateEmitted($event)\">\n </ccd-no-linked-cases>\n </ng-container>\n <ng-container *ngSwitchCase=\"linkedCasesPages.LINK_CASE\">\n <ccd-link-cases\n #journeyChild \n (linkedCasesStateEmitter)=\"onLinkedCasesStateEmitted($event)\">\n </ccd-link-cases>\n </ng-container>\n <ng-container *ngSwitchCase=\"linkedCasesPages.UNLINK_CASE\">\n <ccd-unlink-cases\n #journeyChild \n (linkedCasesStateEmitter)=\"onLinkedCasesStateEmitted($event)\">\n </ccd-unlink-cases>\n </ng-container>\n <ng-container *ngSwitchCase=\"linkedCasesPages.CHECK_YOUR_ANSWERS\">\n <ccd-linked-cases-check-your-answers\n #journeyChild \n (linkedCasesStateEmitter)=\"onLinkedCasesStateEmitted($event)\">\n </ccd-linked-cases-check-your-answers>\n </ng-container>\n </div>\n</div>\n" }]
|
|
21518
|
-
}], () => [{ type: AbstractAppConfig }, { type: CommonDataService }, { type: CasesService }, { type: LinkedCasesService }, { type: CaseEditDataService }, { type: i1$
|
|
21558
|
+
}], () => [{ type: AbstractAppConfig }, { type: CommonDataService }, { type: CasesService }, { type: LinkedCasesService }, { type: CaseEditDataService }, { type: i1$2.Router }, { type: MultipageComponentStateService }], null); })();
|
|
21519
21559
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteLinkedCasesFieldComponent, { className: "WriteLinkedCasesFieldComponent", filePath: "lib/shared/components/palette/linked-cases/write-linked-cases-field.component.ts", lineNumber: 21 }); })();
|
|
21520
21560
|
|
|
21521
21561
|
function ReadMoneyGbpFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -23465,13 +23505,13 @@ class QueryManagementService {
|
|
|
23465
23505
|
getCollectionSelectionMethod(jurisdiction) {
|
|
23466
23506
|
return jurisdiction.toUpperCase() === CIVIL_JURISDICTION ? QM_SELECT_FIRST_COLLECTION : QM_COLLECTION_PROMPT;
|
|
23467
23507
|
}
|
|
23468
|
-
static ɵfac = function QueryManagementService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryManagementService)(i0.ɵɵinject(i1$
|
|
23508
|
+
static ɵfac = function QueryManagementService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryManagementService)(i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(SessionStorageService)); };
|
|
23469
23509
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QueryManagementService, factory: QueryManagementService.ɵfac, providedIn: 'root' });
|
|
23470
23510
|
}
|
|
23471
23511
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryManagementService, [{
|
|
23472
23512
|
type: Injectable,
|
|
23473
23513
|
args: [{ providedIn: 'root' }]
|
|
23474
|
-
}], () => [{ type: i1$
|
|
23514
|
+
}], () => [{ type: i1$2.Router }, { type: SessionStorageService }], null); })();
|
|
23475
23515
|
|
|
23476
23516
|
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
|
23477
23517
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23590,7 +23630,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
23590
23630
|
onSelectionChange(qualifyingQuestion) {
|
|
23591
23631
|
this.questionSelected.emit(qualifyingQuestion);
|
|
23592
23632
|
}
|
|
23593
|
-
static ɵfac = function QualifyingQuestionOptionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionOptionsComponent)(i0.ɵɵdirectiveInject(i1$
|
|
23633
|
+
static ɵfac = function QualifyingQuestionOptionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionOptionsComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
23594
23634
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, outputs: { questionSelected: "questionSelected" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "change", "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "qm-qualifying-question__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23595
23635
|
i0.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 14, 12, "ng-container", 0);
|
|
23596
23636
|
} if (rf & 2) {
|
|
@@ -23600,7 +23640,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
23600
23640
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
|
|
23601
23641
|
type: Component,
|
|
23602
23642
|
args: [{ selector: 'ccd-qualifying-question-options', standalone: false, template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"qm-qualifying-question__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" \n id=\"{{qualifyingQuestion.name}}\" \n name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\" \n [value]=\"qualifyingQuestion\"\n (change)=\"onSelectionChange(qualifyingQuestion)\">\n <label class=\"govuk-label govuk-radios__label\" [for]=\"qualifyingQuestion.name\">{{ qualifyingQuestion.name |\n rpxTranslate }}</label>\n </div>\n </ng-container>\n </div>\n </fieldset>\n </div>\n</ng-container>\n" }]
|
|
23603
|
-
}], () => [{ type: i1$
|
|
23643
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: QualifyingQuestionService }], { qualifyingQuestionsControl: [{
|
|
23604
23644
|
type: Input
|
|
23605
23645
|
}], qualifyingQuestions$: [{
|
|
23606
23646
|
type: Input
|
|
@@ -24270,7 +24310,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
24270
24310
|
}
|
|
24271
24311
|
this.queryManagementService.setCaseQueriesCollectionData(this.eventData, this.queryCreateContext, this.caseDetails, this.messageId);
|
|
24272
24312
|
}
|
|
24273
|
-
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$
|
|
24313
|
+
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(QualifyingQuestionService), i0.ɵɵdirectiveInject(QueryManagementService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
24274
24314
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData", multipleFollowUpFeature: "multipleFollowUpFeature", qmCaseQueriesCollectionData: "qmCaseQueriesCollectionData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage", createEventResponse: "createEventResponse" }, standalone: false, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "#", 1, "validation-error", 3, "click", "id"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "event_error-summary-heading", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "govuk-caption-l"], ["type", "button", "class", "govuk-js-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24275
24315
|
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 36, 25, "div", 2);
|
|
24276
24316
|
} if (rf & 2) {
|
|
@@ -24280,7 +24320,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
24280
24320
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
24281
24321
|
type: Component,
|
|
24282
24322
|
args: [{ selector: 'ccd-query-check-your-answers', standalone: false, template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"#\" (click)=\"$event.preventDefault()\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div *ngIf=\"error && (error.details || error.message)\" class=\"error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\" class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n </ul>\n </div>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"callbackErrorsSubject\"></ccd-callback-errors>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Closing the query' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('closeQuery')?.value ? 'I want to close this query' : 'No answer' | rpxTranslate }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <br>\n\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\"> \n </ccd-query-event-completion>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.govuk-summary-list__value--documentAttached{vertical-align:middle}\n"] }]
|
|
24283
|
-
}], () => [{ type: i1$
|
|
24323
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: QualifyingQuestionService }, { type: QueryManagementService }, { type: ErrorNotifierService }, { type: AlertService }], { formGroup: [{
|
|
24284
24324
|
type: Input
|
|
24285
24325
|
}], queryItem: [{
|
|
24286
24326
|
type: Input
|
|
@@ -24753,7 +24793,7 @@ class QueryDetailsComponent {
|
|
|
24753
24793
|
this.hasResponded.emit(false);
|
|
24754
24794
|
return false;
|
|
24755
24795
|
}
|
|
24756
|
-
static ɵfac = function QueryDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1$
|
|
24796
|
+
static ɵfac = function QueryDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
24757
24797
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId", queryResponseStatus: "queryResponseStatus" }, outputs: { backClicked: "backClicked", hasResponded: "hasResponded" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["followUpMessage", ""], [4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], ["class", "govuk-table__row", 4, "ngIf"], ["type", "button", 1, "govuk-js-link", 3, "click"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments", 4, "ngIf"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24758
24798
|
i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 53, 47, "ng-container", 1);
|
|
24759
24799
|
} if (rf & 2) {
|
|
@@ -24763,7 +24803,7 @@ class QueryDetailsComponent {
|
|
|
24763
24803
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
24764
24804
|
type: Component,
|
|
24765
24805
|
args: [{ selector: 'ccd-query-details', standalone: false, template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <br />\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</button>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Sender name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.name }} @if (query?.isHmctsStaff?.toLowerCase() === 'yes') { - {{ hmctsStaff }} }</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }} @if (query?.isHmctsStaff?.toLowerCase() === 'yes') { - {{ hmctsStaff }} }</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd MMMM yyyy HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"(i % 2 === 0 && !child?.messageType) || (child && child?.messageType === respondToQuery); else followUpMessage\">\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Response of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Response' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last response date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM yyyy HH:mm' }}</td>\n </tr>\n\n <tr *ngIf=\"isInternalUser()\" class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Caseworker name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }} @if (child?.isHmctsStaff?.toLowerCase() === 'yes') { - {{ hmctsStaff }} }</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Response detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n\n <ng-template #followUpMessage>\n <!-- <div class=\"query_details_caption\">{{ 'Follow-up' | rpxTranslate }}</div> -->\n <table class=\"govuk-table query-details-table\"\n [attr.aria-describedby]=\"'Follow-up of the response' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Follow up query' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM yyyy HH:mm'}}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: ["@charset \"UTF-8\";:root{--govuk-frontend-version: \"5.13.0\";--govuk-breakpoint-mobile: 20rem;--govuk-frontend-breakpoint-mobile: var(--govuk-breakpoint-mobile);--govuk-breakpoint-tablet: 40.0625rem;--govuk-frontend-breakpoint-tablet: var(--govuk-breakpoint-tablet);--govuk-breakpoint-desktop: 48.0625rem;--govuk-frontend-breakpoint-desktop: var(--govuk-breakpoint-desktop)}.govuk-link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\");font-display:fallback}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\");font-display:fallback}@media print{.govuk-link{font-family:sans-serif}}.govuk-link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-link:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-link:link{color:#1d70b8}.govuk-link:visited{color:#4c2c92}.govuk-link:hover{color:#003078}.govuk-link:active{color:#0b0c0c}.govuk-link:focus{color:#0b0c0c}@media print{[href^=\"/\"].govuk-link:after,[href^=\"http://\"].govuk-link:after,[href^=\"https://\"].govuk-link:after{content:\" (\" attr(href) \")\";font-size:90%;word-wrap:break-word}}.govuk-link--muted:link,.govuk-link--muted:visited{color:#505a5f}.govuk-link--muted:hover,.govuk-link--muted:active{color:#0b0c0c}.govuk-link--muted:focus{color:#0b0c0c}.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#0b0c0c}@media print{.govuk-link--text-colour:link,.govuk-link--text-colour:visited{color:#000}}.govuk-link--text-colour:hover{color:#0b0c0cfc}.govuk-link--text-colour:active,.govuk-link--text-colour:focus{color:#0b0c0c}@media print{.govuk-link--text-colour:active,.govuk-link--text-colour:focus{color:#000}}.govuk-link--inverse:link,.govuk-link--inverse:visited{color:#fff}.govuk-link--inverse:hover,.govuk-link--inverse:active{color:#fffffffc}.govuk-link--inverse:focus{color:#0b0c0c}.govuk-link--no-underline:not(:hover):not(:active){text-decoration:none}.govuk-link--no-visited-state:link,.govuk-link--no-visited-state:visited{color:#1d70b8}.govuk-link--no-visited-state:hover{color:#003078}.govuk-link--no-visited-state:active{color:#0b0c0c}.govuk-link--no-visited-state:focus{color:#0b0c0c}.govuk-link-image{display:inline-block;line-height:0;text-decoration:none}.govuk-link-image:focus{outline:3px solid transparent;box-shadow:0 0 0 4px #fd0,0 0 0 8px #0b0c0c}.govuk-list{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-list{font-family:sans-serif}}.govuk-list{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-list{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-list{font-size:14pt;line-height:1.15}}.govuk-list{color:#0b0c0c}@media print{.govuk-list{color:#000}}.govuk-list{margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-list{margin-bottom:20px}}.govuk-list{padding-left:0;list-style-type:none}.govuk-list .govuk-list{margin-top:10px}.govuk-list>li{margin-bottom:5px}.govuk-list--bullet{padding-left:20px;list-style-type:disc}.govuk-list--number{padding-left:20px;list-style-type:decimal}.govuk-list--bullet>li,.govuk-list--number>li{margin-bottom:0}@media(min-width:40.0625em){.govuk-list--bullet>li,.govuk-list--number>li{margin-bottom:5px}}.govuk-list--spaced>li{margin-bottom:10px}@media(min-width:40.0625em){.govuk-list--spaced>li{margin-bottom:15px}}.govuk-heading-xl{color:#0b0c0c}@media print{.govuk-heading-xl{color:#000}}.govuk-heading-xl{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-heading-xl{font-family:sans-serif}}.govuk-heading-xl{font-weight:700;font-size:2rem;line-height:1.09375}@media(min-width:40.0625em){.govuk-heading-xl{font-size:3rem;line-height:1.0416666667}}@media print{.govuk-heading-xl{font-size:32pt;line-height:1.15}}.govuk-heading-xl{display:block;margin-top:0;margin-bottom:30px}@media(min-width:40.0625em){.govuk-heading-xl{margin-bottom:50px}}.govuk-heading-l{color:#0b0c0c}@media print{.govuk-heading-l{color:#000}}.govuk-heading-l{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-heading-l{font-family:sans-serif}}.govuk-heading-l{font-weight:700;font-size:1.5rem;line-height:1.0416666667}@media(min-width:40.0625em){.govuk-heading-l{font-size:2.25rem;line-height:1.1111111111}}@media print{.govuk-heading-l{font-size:24pt;line-height:1.05}}.govuk-heading-l{display:block;margin-top:0;margin-bottom:20px}@media(min-width:40.0625em){.govuk-heading-l{margin-bottom:30px}}.govuk-heading-m{color:#0b0c0c}@media print{.govuk-heading-m{color:#000}}.govuk-heading-m{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-heading-m{font-family:sans-serif}}.govuk-heading-m{font-weight:700;font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-heading-m{font-size:1.5rem;line-height:1.25}}@media print{.govuk-heading-m{font-size:18pt;line-height:1.15}}.govuk-heading-m{display:block;margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-heading-m{margin-bottom:20px}}.govuk-heading-s{color:#0b0c0c}@media print{.govuk-heading-s{color:#000}}.govuk-heading-s{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-heading-s{font-family:sans-serif}}.govuk-heading-s{font-weight:700;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-heading-s{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-heading-s{font-size:14pt;line-height:1.15}}.govuk-heading-s{display:block;margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-heading-s{margin-bottom:20px}}.govuk-caption-xl{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-caption-xl{font-family:sans-serif}}.govuk-caption-xl{font-weight:400;font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-caption-xl{font-size:1.6875rem;line-height:1.1111111111}}@media print{.govuk-caption-xl{font-size:18pt;line-height:1.15}}.govuk-caption-xl{display:block;margin-bottom:5px;color:#505a5f}.govuk-caption-l{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-caption-l{font-family:sans-serif}}.govuk-caption-l{font-weight:400;font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-caption-l{font-size:1.5rem;line-height:1.25}}@media print{.govuk-caption-l{font-size:18pt;line-height:1.15}}.govuk-caption-l{display:block;margin-bottom:5px;color:#505a5f}@media(min-width:40.0625em){.govuk-caption-l{margin-bottom:0}}.govuk-caption-m{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-caption-m{font-family:sans-serif}}.govuk-caption-m{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-caption-m{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-caption-m{font-size:14pt;line-height:1.15}}.govuk-caption-m{display:block;color:#505a5f}.govuk-body-lead,.govuk-body-l{color:#0b0c0c}@media print{.govuk-body-lead,.govuk-body-l{color:#000}}.govuk-body-lead,.govuk-body-l{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-body-lead,.govuk-body-l{font-family:sans-serif}}.govuk-body-lead,.govuk-body-l{font-weight:400;font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-body-lead,.govuk-body-l{font-size:1.5rem;line-height:1.25}}@media print{.govuk-body-lead,.govuk-body-l{font-size:18pt;line-height:1.15}}.govuk-body-lead,.govuk-body-l{margin-top:0;margin-bottom:20px}@media(min-width:40.0625em){.govuk-body-lead,.govuk-body-l{margin-bottom:30px}}.govuk-body,.govuk-body-m{color:#0b0c0c}@media print{.govuk-body,.govuk-body-m{color:#000}}.govuk-body,.govuk-body-m{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-body,.govuk-body-m{font-family:sans-serif}}.govuk-body,.govuk-body-m{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-body,.govuk-body-m{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-body,.govuk-body-m{font-size:14pt;line-height:1.15}}.govuk-body,.govuk-body-m{margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-body,.govuk-body-m{margin-bottom:20px}}.govuk-body-s{color:#0b0c0c}@media print{.govuk-body-s{color:#000}}.govuk-body-s{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-body-s{font-family:sans-serif}}.govuk-body-s{font-weight:400;font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-body-s{font-size:1rem;line-height:1.25}}@media print{.govuk-body-s{font-size:14pt;line-height:1.2}}.govuk-body-s{margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-body-s{margin-bottom:20px}}.govuk-body-xs{color:#0b0c0c}@media print{.govuk-body-xs{color:#000}}.govuk-body-xs{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-body-xs{font-family:sans-serif}}.govuk-body-xs{font-weight:400;font-size:.75rem;line-height:1.25}@media(min-width:40.0625em){.govuk-body-xs{font-size:.875rem;line-height:1.4285714286}}@media print{.govuk-body-xs{font-size:12pt;line-height:1.2}}.govuk-body-xs{margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-body-xs{margin-bottom:20px}}.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:5px}@media(min-width:40.0625em){.govuk-body-l+.govuk-heading-l,.govuk-body-lead+.govuk-heading-l{padding-top:10px}}.govuk-body-m+.govuk-heading-l,.govuk-body+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:15px}@media(min-width:40.0625em){.govuk-body-m+.govuk-heading-l,.govuk-body+.govuk-heading-l,.govuk-body-s+.govuk-heading-l,.govuk-list+.govuk-heading-l{padding-top:20px}}.govuk-body-m+.govuk-heading-m,.govuk-body+.govuk-heading-m,.govuk-body-s+.govuk-heading-m,.govuk-list+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body+.govuk-heading-s,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-s{padding-top:5px}@media(min-width:40.0625em){.govuk-body-m+.govuk-heading-m,.govuk-body+.govuk-heading-m,.govuk-body-s+.govuk-heading-m,.govuk-list+.govuk-heading-m,.govuk-body-m+.govuk-heading-s,.govuk-body+.govuk-heading-s,.govuk-body-s+.govuk-heading-s,.govuk-list+.govuk-heading-s{padding-top:10px}}.govuk-section-break{margin:0;border:0}.govuk-section-break--xl{margin-top:30px}@media(min-width:40.0625em){.govuk-section-break--xl{margin-top:50px}}.govuk-section-break--xl{margin-bottom:30px}@media(min-width:40.0625em){.govuk-section-break--xl{margin-bottom:50px}}.govuk-section-break--l{margin-top:20px}@media(min-width:40.0625em){.govuk-section-break--l{margin-top:30px}}.govuk-section-break--l{margin-bottom:20px}@media(min-width:40.0625em){.govuk-section-break--l{margin-bottom:30px}}.govuk-section-break--m{margin-top:15px}@media(min-width:40.0625em){.govuk-section-break--m{margin-top:20px}}.govuk-section-break--m{margin-bottom:15px}@media(min-width:40.0625em){.govuk-section-break--m{margin-bottom:20px}}.govuk-section-break--visible{border-bottom:1px solid #b1b4b6}.govuk-button-group{margin-bottom:5px}@media(min-width:40.0625em){.govuk-button-group{margin-bottom:15px}}.govuk-button-group{display:flex;flex-direction:column;align-items:center}.govuk-button-group .govuk-link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-button-group .govuk-link{font-family:sans-serif}}.govuk-button-group .govuk-link{font-weight:400;font-size:1rem;line-height:1.1875}@media(min-width:40.0625em){.govuk-button-group .govuk-link{font-size:1.1875rem;line-height:1}}@media print{.govuk-button-group .govuk-link{font-size:14pt;line-height:19px}}.govuk-button-group .govuk-link{display:inline-block;max-width:100%;margin-top:5px;margin-bottom:20px;text-align:center}.govuk-button-group .govuk-button{margin-bottom:17px}@media(min-width:40.0625em){.govuk-button-group{margin-right:-15px;flex-direction:row;flex-wrap:wrap;align-items:baseline}.govuk-button-group .govuk-button,.govuk-button-group .govuk-link{margin-right:15px}.govuk-button-group .govuk-link{text-align:left}}.govuk-form-group:after{content:\"\";display:block;clear:both}.govuk-form-group{margin-bottom:20px}@media(min-width:40.0625em){.govuk-form-group{margin-bottom:30px}}.govuk-form-group .govuk-form-group:last-of-type{margin-bottom:0}.govuk-form-group--error{padding-left:15px;border-left:5px solid #d4351c}.govuk-form-group--error .govuk-form-group{padding:0;border:0}.govuk-grid-row:after{content:\"\";display:block;clear:both}.govuk-grid-row{margin-right:-15px;margin-left:-15px}.govuk-grid-column-one-quarter{box-sizing:border-box;width:100%;padding:0 15px}@media(min-width:40.0625em){.govuk-grid-column-one-quarter{width:25%;float:left}}.govuk-grid-column-one-third{box-sizing:border-box;width:100%;padding:0 15px}@media(min-width:40.0625em){.govuk-grid-column-one-third{width:33.3333333333%;float:left}}.govuk-grid-column-one-half{box-sizing:border-box;width:100%;padding:0 15px}@media(min-width:40.0625em){.govuk-grid-column-one-half{width:50%;float:left}}.govuk-grid-column-two-thirds{box-sizing:border-box;width:100%;padding:0 15px}@media(min-width:40.0625em){.govuk-grid-column-two-thirds{width:66.6666666667%;float:left}}.govuk-grid-column-three-quarters{box-sizing:border-box;width:100%;padding:0 15px}@media(min-width:40.0625em){.govuk-grid-column-three-quarters{width:75%;float:left}}.govuk-grid-column-full{box-sizing:border-box;width:100%;padding:0 15px}@media(min-width:40.0625em){.govuk-grid-column-full{width:100%;float:left}}.govuk-grid-column-one-quarter-from-desktop{box-sizing:border-box;padding:0 15px}@media(min-width:48.0625em){.govuk-grid-column-one-quarter-from-desktop{width:25%;float:left}}.govuk-grid-column-one-third-from-desktop{box-sizing:border-box;padding:0 15px}@media(min-width:48.0625em){.govuk-grid-column-one-third-from-desktop{width:33.3333333333%;float:left}}.govuk-grid-column-one-half-from-desktop{box-sizing:border-box;padding:0 15px}@media(min-width:48.0625em){.govuk-grid-column-one-half-from-desktop{width:50%;float:left}}.govuk-grid-column-two-thirds-from-desktop{box-sizing:border-box;padding:0 15px}@media(min-width:48.0625em){.govuk-grid-column-two-thirds-from-desktop{width:66.6666666667%;float:left}}.govuk-grid-column-three-quarters-from-desktop{box-sizing:border-box;padding:0 15px}@media(min-width:48.0625em){.govuk-grid-column-three-quarters-from-desktop{width:75%;float:left}}.govuk-grid-column-full-from-desktop{box-sizing:border-box;padding:0 15px}@media(min-width:48.0625em){.govuk-grid-column-full-from-desktop{width:100%;float:left}}.govuk-main-wrapper{display:block;padding-top:20px;padding-bottom:20px}@media(min-width:40.0625em){.govuk-main-wrapper{padding-top:40px;padding-bottom:40px}}.govuk-main-wrapper--auto-spacing:first-child,.govuk-main-wrapper--l{padding-top:30px}@media(min-width:40.0625em){.govuk-main-wrapper--auto-spacing:first-child,.govuk-main-wrapper--l{padding-top:50px}}.govuk-template{background-color:#f3f2f1}.govuk-template--rebranded{background-color:#f4f8fb}.govuk-template{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}@supports (position: -webkit-sticky) or (position: sticky){.govuk-template{scroll-padding-top:60px}.govuk-template:not(:has(.govuk-exit-this-page)){scroll-padding-top:0}}@media screen{.govuk-template{overflow-y:scroll}}.govuk-template__body{margin:0;background-color:#fff}.govuk-width-container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media(min-width:40.0625em){.govuk-width-container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media(min-width:1020px){.govuk-width-container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container{margin-right:auto;margin-left:auto}}}.govuk-accordion{margin-bottom:20px}@media(min-width:40.0625em){.govuk-accordion{margin-bottom:30px}}.govuk-accordion__section{padding-top:15px}.govuk-accordion__section-heading{margin-top:0;margin-bottom:0;padding-top:15px;padding-bottom:15px}.govuk-accordion__section-button{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-accordion__section-button{font-family:sans-serif}}.govuk-accordion__section-button{font-weight:700;font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-accordion__section-button{font-size:1.5rem;line-height:1.25}}@media print{.govuk-accordion__section-button{font-size:18pt;line-height:1.15}}.govuk-accordion__section-button{color:#0b0c0c}@media print{.govuk-accordion__section-button{color:#000}}.govuk-accordion__section-button{display:block;margin-bottom:0;padding-top:15px}.govuk-accordion__section-content>:last-child{margin-bottom:0}.govuk-frontend-supported .govuk-accordion{border-bottom:1px solid #b1b4b6}.govuk-frontend-supported .govuk-accordion__section{padding-top:0}.govuk-frontend-supported .govuk-accordion__section-content{display:none;padding-top:15px;padding-bottom:30px}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-accordion__section-content{padding-bottom:50px}}@supports (content-visibility: hidden){.govuk-frontend-supported .govuk-accordion__section-content[hidden]{content-visibility:hidden;display:inherit}}.govuk-frontend-supported .govuk-accordion__section-content[hidden]{padding-top:0;padding-bottom:0}.govuk-frontend-supported .govuk-accordion__section--expanded .govuk-accordion__section-content{display:block}.govuk-frontend-supported .govuk-accordion__show-all{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-frontend-supported .govuk-accordion__show-all{font-family:sans-serif}}.govuk-frontend-supported .govuk-accordion__show-all{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-accordion__show-all{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-frontend-supported .govuk-accordion__show-all{font-size:14pt;line-height:1.15}}.govuk-frontend-supported .govuk-accordion__show-all{position:relative;z-index:1;margin-bottom:9px;padding:5px 2px 5px 0;border-width:0;color:#1d70b8;background:none;cursor:pointer;-webkit-appearance:none}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-accordion__show-all{margin-bottom:14px}}.govuk-frontend-supported .govuk-accordion__show-all::-moz-focus-inner{padding:0;border:0}.govuk-frontend-supported .govuk-accordion__show-all:hover{color:#0b0c0c;background:#f3f2f1;box-shadow:0 -2px #f3f2f1,0 4px #f3f2f1}.govuk-frontend-supported .govuk-accordion__show-all:hover .govuk-accordion__section-toggle-text{color:#0b0c0c}.govuk-frontend-supported .govuk-accordion__show-all:hover .govuk-accordion-nav__chevron{color:#0b0c0c;background:#0b0c0c}.govuk-frontend-supported .govuk-accordion__show-all:hover .govuk-accordion-nav__chevron:after{color:#f3f2f1}.govuk-frontend-supported .govuk-accordion__show-all:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-frontend-supported .govuk-accordion__show-all:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-frontend-supported .govuk-accordion__show-all:focus .govuk-accordion-nav__chevron{background:#0b0c0c}.govuk-frontend-supported .govuk-accordion__show-all:focus .govuk-accordion-nav__chevron:after{color:#fd0}.govuk-frontend-supported .govuk-accordion__section-heading{padding:0}.govuk-frontend-supported .govuk-accordion-nav__chevron{box-sizing:border-box;display:inline-block;position:relative;width:1.25rem;height:1.25rem;border:.0625rem solid;border-radius:50%;vertical-align:middle}.govuk-frontend-supported .govuk-accordion-nav__chevron:after{content:\"\";box-sizing:border-box;display:block;position:absolute;bottom:.3125rem;left:.375rem;width:.375rem;height:.375rem;transform:rotate(-45deg);border-top:.125rem solid;border-right:.125rem solid}.govuk-frontend-supported .govuk-accordion-nav__chevron--down{transform:rotate(180deg)}.govuk-frontend-supported .govuk-accordion__section-button{width:100%;padding:10px 0 0;border:0;border-top:1px solid #b1b4b6;border-bottom:10px solid transparent;color:#0b0c0c;background:none;text-align:left;cursor:pointer;-webkit-appearance:none}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-accordion__section-button{padding-bottom:10px}}.govuk-frontend-supported .govuk-accordion__section-button:active{color:#0b0c0c;background:none}.govuk-frontend-supported .govuk-accordion__section-button:hover{color:#0b0c0c;background:#f3f2f1}.govuk-frontend-supported .govuk-accordion__section-button:hover .govuk-accordion__section-toggle-text{color:#0b0c0c}.govuk-frontend-supported .govuk-accordion__section-button:hover .govuk-accordion-nav__chevron{color:#0b0c0c;background:#0b0c0c}.govuk-frontend-supported .govuk-accordion__section-button:hover .govuk-accordion-nav__chevron:after{color:#f3f2f1}.govuk-frontend-supported .govuk-accordion__section-button:focus{outline:0}.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion-nav__chevron{color:#0b0c0c;background:#0b0c0c}.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion-nav__chevron:after{color:#fd0}.govuk-frontend-supported .govuk-accordion__section-button::-moz-focus-inner{padding:0;border:0}.govuk-frontend-supported .govuk-accordion__section--expanded .govuk-accordion__section-button{padding-bottom:15px;border-bottom:0}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-accordion__section--expanded .govuk-accordion__section-button{padding-bottom:20px}}.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus{padding-bottom:3px}@media(min-width:48.0625em){.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus{padding-bottom:2px}}.govuk-frontend-supported .govuk-accordion__section-toggle,.govuk-frontend-supported .govuk-accordion__section-heading-text,.govuk-frontend-supported .govuk-accordion__section-summary{display:block;margin-bottom:13px}.govuk-frontend-supported .govuk-accordion__section-toggle .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__section-toggle .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__section-toggle .govuk-accordion__section-toggle-focus,.govuk-frontend-supported .govuk-accordion__section-heading-text .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__section-heading-text .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__section-heading-text .govuk-accordion__section-toggle-focus,.govuk-frontend-supported .govuk-accordion__section-summary .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__section-summary .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__section-summary .govuk-accordion__section-toggle-focus{display:inline}.govuk-frontend-supported .govuk-accordion__section-toggle{font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-accordion__section-toggle{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-frontend-supported .govuk-accordion__section-toggle{font-size:14pt;line-height:1.15}}.govuk-frontend-supported .govuk-accordion__section-toggle{font-weight:400;color:#1d70b8}.govuk-frontend-supported .govuk-accordion__show-all-text,.govuk-frontend-supported .govuk-accordion__section-toggle-text{margin-left:5px;vertical-align:middle}@media screen and (forced-colors:active){.govuk-frontend-supported .govuk-accordion__show-all:hover .govuk-accordion-nav__chevron,.govuk-frontend-supported .govuk-accordion__section-button:hover .govuk-accordion-nav__chevron{background-color:transparent}.govuk-frontend-supported .govuk-accordion__show-all:focus .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__show-all:focus .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__show-all:focus .govuk-accordion__section-toggle-focus,.govuk-frontend-supported .govuk-accordion__show-all:focus .govuk-accordion-nav__chevron,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-heading-text-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-summary-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion__section-toggle-focus,.govuk-frontend-supported .govuk-accordion__section-button:focus .govuk-accordion-nav__chevron{background:transparent;background-color:transparent}}@media(hover:none){.govuk-frontend-supported .govuk-accordion__section-header:hover{border-top-color:#b1b4b6;box-shadow:inset 0 3px #1d70b8}.govuk-frontend-supported .govuk-accordion__section-header:hover .govuk-accordion__section-button{border-top-color:#b1b4b6}}.govuk-back-link{font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-back-link{font-size:1rem;line-height:1.25}}@media print{.govuk-back-link{font-size:14pt;line-height:1.2}}.govuk-back-link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-back-link{font-family:sans-serif}}.govuk-back-link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-back-link:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-back-link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-back-link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-back-link:link,.govuk-back-link:visited{color:#0b0c0c}@media print{.govuk-back-link:link,.govuk-back-link:visited{color:#000}}.govuk-back-link:hover{color:#0b0c0cfc}.govuk-back-link:active,.govuk-back-link:focus{color:#0b0c0c}@media print{.govuk-back-link:active,.govuk-back-link:focus{color:#000}}.govuk-back-link{display:inline-block;position:relative;margin-top:15px;margin-bottom:15px;padding-left:.875em}.govuk-back-link:before{content:\"\";display:block;position:absolute;top:0;bottom:0;left:.1875em;width:.4375em;height:.4375em;margin:auto 0;transform:rotate(225deg);border:solid;border-width:1px 1px 0 0;border-color:#505a5f}@supports (border-width: max(0px)){.govuk-back-link:before{border-width:max(1px,.0625em) max(1px,.0625em) 0 0;font-size:max(16px,1em)}}.govuk-back-link:focus:before{border-color:#0b0c0c}.govuk-back-link:after{content:\"\";position:absolute;inset:-14px 0}.govuk-back-link--inverse:link,.govuk-back-link--inverse:visited{color:#fff}.govuk-back-link--inverse:hover,.govuk-back-link--inverse:active{color:#fffffffc}.govuk-back-link--inverse:focus{color:#0b0c0c}.govuk-back-link--inverse:before{border-color:currentcolor}.govuk-breadcrumbs{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-breadcrumbs{font-family:sans-serif}}.govuk-breadcrumbs{font-weight:400;font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-breadcrumbs{font-size:1rem;line-height:1.25}}@media print{.govuk-breadcrumbs{font-size:14pt;line-height:1.2}}.govuk-breadcrumbs{color:#0b0c0c}@media print{.govuk-breadcrumbs{color:#000}}.govuk-breadcrumbs{margin-top:15px;margin-bottom:10px}.govuk-breadcrumbs__list:after{content:\"\";display:block;clear:both}.govuk-breadcrumbs__list{margin:0;padding:0;list-style-type:none}.govuk-breadcrumbs__list-item{display:inline-block;position:relative;margin-bottom:5px;margin-left:.625em;padding-left:.9784375em;float:left}.govuk-breadcrumbs__list-item:before{content:\"\";display:block;position:absolute;top:0;bottom:0;left:-.206875em;width:.4375em;height:.4375em;margin:auto 0;transform:rotate(45deg);border:solid;border-width:1px 1px 0 0;border-color:#505a5f}@supports (border-width: max(0px)){.govuk-breadcrumbs__list-item:before{border-width:max(1px,.0625em) max(1px,.0625em) 0 0;font-size:max(16px,1em)}}.govuk-breadcrumbs__list-item:first-child{margin-left:0;padding-left:0}.govuk-breadcrumbs__list-item:first-child:before{content:none;display:none}.govuk-breadcrumbs__link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-breadcrumbs__link{font-family:sans-serif}}.govuk-breadcrumbs__link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-breadcrumbs__link:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-breadcrumbs__link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-breadcrumbs__link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#0b0c0c}@media print{.govuk-breadcrumbs__link:link,.govuk-breadcrumbs__link:visited{color:#000}}.govuk-breadcrumbs__link:hover{color:#0b0c0cfc}.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus{color:#0b0c0c}@media print{.govuk-breadcrumbs__link:active,.govuk-breadcrumbs__link:focus{color:#000}}@media(max-width:40.0525em){.govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item{display:none}.govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item:first-child,.govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item:last-child{display:inline-block}.govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item:before{top:.375em;margin:0}.govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list{display:flex}}.govuk-breadcrumbs--inverse,.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:link,.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:visited{color:#fff}.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:hover,.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:active{color:#fffffffc}.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:focus{color:#0b0c0c}.govuk-breadcrumbs--inverse .govuk-breadcrumbs__list-item:before{border-color:currentcolor}.govuk-button{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-button{font-family:sans-serif}}.govuk-button{font-weight:400;font-size:1rem;line-height:1.1875}@media(min-width:40.0625em){.govuk-button{font-size:1.1875rem;line-height:1}}@media print{.govuk-button{font-size:14pt;line-height:19px}}.govuk-button{box-sizing:border-box;display:inline-block;position:relative;width:100%;margin:0 0 22px}@media(min-width:40.0625em){.govuk-button{margin-bottom:32px}}.govuk-button{padding:8px 10px 7px;border:2px solid transparent;border-radius:0;color:#fff;background-color:#00703c;box-shadow:0 2px #002d18;text-align:center;vertical-align:top;cursor:pointer;-webkit-appearance:none}@media(min-width:40.0625em){.govuk-button{width:auto}}.govuk-button:link,.govuk-button:visited,.govuk-button:active,.govuk-button:hover{color:#fff;text-decoration:none}.govuk-button::-moz-focus-inner{padding:0;border:0}.govuk-button:hover{background-color:#005a30}.govuk-button:active{top:2px}.govuk-button:focus{border-color:#fd0;outline:3px solid transparent;box-shadow:inset 0 0 0 1px #fd0}.govuk-button:focus:not(:active):not(:hover){border-color:#fd0;color:#0b0c0c;background-color:#fd0;box-shadow:0 2px #0b0c0c}.govuk-button:before{content:\"\";display:block;position:absolute;inset:-2px -2px -4px;background:transparent}.govuk-button:active:before{top:-4px}.govuk-button[disabled]{opacity:.5}.govuk-button[disabled]:hover{background-color:#00703c;cursor:not-allowed}.govuk-button[disabled]:active{top:0;box-shadow:0 2px #002d18}.govuk-button--secondary{background-color:#f3f2f1;box-shadow:0 2px #929191}.govuk-button--secondary,.govuk-button--secondary:link,.govuk-button--secondary:visited,.govuk-button--secondary:active,.govuk-button--secondary:hover{color:#0b0c0c}.govuk-button--secondary:hover{background-color:#dbdad9}.govuk-button--secondary:hover[disabled]{background-color:#f3f2f1}.govuk-button--warning{background-color:#d4351c;box-shadow:0 2px #55150b}.govuk-button--warning,.govuk-button--warning:link,.govuk-button--warning:visited,.govuk-button--warning:active,.govuk-button--warning:hover{color:#fff}.govuk-button--warning:hover{background-color:#aa2a16}.govuk-button--warning:hover[disabled]{background-color:#d4351c}.govuk-button--inverse{background-color:#fff;box-shadow:0 2px #144e81}.govuk-button--inverse,.govuk-button--inverse:link,.govuk-button--inverse:visited,.govuk-button--inverse:active,.govuk-button--inverse:hover{color:#1d70b8}.govuk-button--inverse:hover{background-color:#e8f1f8}.govuk-button--inverse:hover[disabled]{background-color:#fff}.govuk-button--start{font-weight:700;font-size:1.125rem;line-height:1}@media(min-width:40.0625em){.govuk-button--start{font-size:1.5rem;line-height:1}}@media print{.govuk-button--start{font-size:18pt;line-height:1}}.govuk-button--start{display:inline-flex;min-height:auto;justify-content:center}.govuk-button__start-icon{margin-left:5px}@media(min-width:48.0625em){.govuk-button__start-icon{margin-left:10px}}.govuk-button__start-icon{vertical-align:middle;flex-shrink:0;align-self:center;forced-color-adjust:auto}.govuk-error-message{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-error-message{font-family:sans-serif}}.govuk-error-message{font-weight:700;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-error-message{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-error-message{font-size:14pt;line-height:1.15}}.govuk-error-message{display:block;margin-top:0;margin-bottom:15px;clear:both;color:#d4351c}.govuk-hint{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-hint{font-family:sans-serif}}.govuk-hint{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-hint{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-hint{font-size:14pt;line-height:1.15}}.govuk-hint{margin-bottom:15px;color:#505a5f}.govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl)+.govuk-hint{margin-bottom:10px}.govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl)+.govuk-hint{margin-bottom:10px}.govuk-fieldset__legend+.govuk-hint{margin-top:-5px}.govuk-label{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-label{font-family:sans-serif}}.govuk-label{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-label{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-label{font-size:14pt;line-height:1.15}}.govuk-label{color:#0b0c0c}@media print{.govuk-label{color:#000}}.govuk-label{display:block;margin-bottom:5px}.govuk-label--xl,.govuk-label--l,.govuk-label--m{font-weight:700;margin-bottom:15px}.govuk-label--xl{font-size:2rem;line-height:1.09375}@media(min-width:40.0625em){.govuk-label--xl{font-size:3rem;line-height:1.0416666667}}@media print{.govuk-label--xl{font-size:32pt;line-height:1.15}}.govuk-label--l{font-size:1.5rem;line-height:1.0416666667}@media(min-width:40.0625em){.govuk-label--l{font-size:2.25rem;line-height:1.1111111111}}@media print{.govuk-label--l{font-size:24pt;line-height:1.05}}.govuk-label--m{font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-label--m{font-size:1.5rem;line-height:1.25}}@media print{.govuk-label--m{font-size:18pt;line-height:1.15}}.govuk-label--s{font-weight:700}.govuk-label-wrapper{margin:0}.govuk-textarea{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-textarea{font-family:sans-serif}}.govuk-textarea{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-textarea{font-size:1.1875rem;line-height:1.25}}@media print{.govuk-textarea{font-size:14pt;line-height:1.25}}.govuk-textarea{box-sizing:border-box;display:block;width:100%;min-height:40px;margin-bottom:20px}@media(min-width:40.0625em){.govuk-textarea{margin-bottom:30px}}.govuk-textarea{padding:5px;resize:vertical;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none}.govuk-textarea:focus{outline:3px solid #ffdd00;outline-offset:0;box-shadow:inset 0 0 0 2px}.govuk-textarea:disabled{opacity:.5;color:inherit;background-color:transparent;cursor:not-allowed}.govuk-textarea--error{border-color:#d4351c}.govuk-textarea--error:focus{border-color:#0b0c0c}.govuk-character-count{margin-bottom:20px}@media(min-width:40.0625em){.govuk-character-count{margin-bottom:30px}}.govuk-character-count .govuk-form-group,.govuk-character-count .govuk-textarea{margin-bottom:5px}.govuk-character-count .govuk-textarea--error:focus{border-color:#d4351c;box-shadow:inset 0 0 0 2px #d4351c}.govuk-character-count__message{font-variant-numeric:tabular-nums;margin-top:0;margin-bottom:0}.govuk-character-count__message:after{content:\"\\200b\"}.govuk-character-count__message--disabled{visibility:hidden}.govuk-fieldset{min-width:0;margin:0;padding:0;border:0}.govuk-fieldset:after{content:\"\";display:block;clear:both}@supports not (caret-color: auto){.govuk-fieldset,x:-moz-any-link{display:table-cell}}.govuk-fieldset__legend{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-fieldset__legend{font-family:sans-serif}}.govuk-fieldset__legend{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-fieldset__legend{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-fieldset__legend{font-size:14pt;line-height:1.15}}.govuk-fieldset__legend{color:#0b0c0c}@media print{.govuk-fieldset__legend{color:#000}}.govuk-fieldset__legend{box-sizing:border-box;display:table;max-width:100%;margin-bottom:10px;padding:0;white-space:normal}.govuk-fieldset__legend--xl,.govuk-fieldset__legend--l,.govuk-fieldset__legend--m{font-weight:700;margin-bottom:15px}.govuk-fieldset__legend--xl{font-size:2rem;line-height:1.09375}@media(min-width:40.0625em){.govuk-fieldset__legend--xl{font-size:3rem;line-height:1.0416666667}}@media print{.govuk-fieldset__legend--xl{font-size:32pt;line-height:1.15}}.govuk-fieldset__legend--l{font-size:1.5rem;line-height:1.0416666667}@media(min-width:40.0625em){.govuk-fieldset__legend--l{font-size:2.25rem;line-height:1.1111111111}}@media print{.govuk-fieldset__legend--l{font-size:24pt;line-height:1.05}}.govuk-fieldset__legend--m{font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-fieldset__legend--m{font-size:1.5rem;line-height:1.25}}@media print{.govuk-fieldset__legend--m{font-size:18pt;line-height:1.15}}.govuk-fieldset__legend--s{font-weight:700}.govuk-fieldset__heading{margin:0;font-size:inherit;font-weight:inherit}.govuk-checkboxes__item{display:flex;flex-wrap:wrap;position:relative;margin-bottom:10px}.govuk-checkboxes__item:last-child,.govuk-checkboxes__item:last-of-type{margin-bottom:0}.govuk-checkboxes__input{z-index:1;width:44px;height:44px;margin:0;opacity:0;cursor:pointer}.govuk-checkboxes__label{align-self:center;max-width:calc(100% - 74px);margin-bottom:0;padding:7px 15px;cursor:pointer;touch-action:manipulation}.govuk-checkboxes__label:before{content:\"\";box-sizing:border-box;position:absolute;top:2px;left:2px;width:40px;height:40px;border:2px solid currentcolor;background:transparent}.govuk-checkboxes__label:after{content:\"\";box-sizing:border-box;position:absolute;top:13px;left:10px;width:23px;height:12px;transform:rotate(-45deg);border:solid;border-width:0 0 5px 5px;border-top-color:transparent;opacity:0;background:transparent}.govuk-checkboxes__hint{display:block;width:100%;margin-top:-5px;padding-right:15px;padding-left:59px}.govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl)+.govuk-checkboxes__hint{margin-bottom:0}.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{border-width:4px;outline:3px solid transparent;outline-offset:1px}@media screen and (forced-colors:active),(-ms-high-contrast:active){.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{outline-color:Highlight}}.govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{box-shadow:0 0 0 3px #fd0}.govuk-checkboxes__input:checked+.govuk-checkboxes__label:after{opacity:1}.govuk-checkboxes__input:disabled,.govuk-checkboxes__input:disabled+.govuk-checkboxes__label{cursor:not-allowed}.govuk-checkboxes__input:disabled+.govuk-checkboxes__label,.govuk-checkboxes__input:disabled~.govuk-hint{opacity:.5}.govuk-checkboxes__divider{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-checkboxes__divider{font-family:sans-serif}}.govuk-checkboxes__divider{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-checkboxes__divider{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-checkboxes__divider{font-size:14pt;line-height:1.15}}.govuk-checkboxes__divider{color:#0b0c0c}@media print{.govuk-checkboxes__divider{color:#000}}.govuk-checkboxes__divider{width:40px;margin-bottom:10px;text-align:center}.govuk-checkboxes__conditional{margin-bottom:15px}@media(min-width:40.0625em){.govuk-checkboxes__conditional{margin-bottom:20px}}.govuk-checkboxes__conditional{margin-left:20px;padding-left:35px;border-left:4px solid #b1b4b6}.govuk-frontend-supported .govuk-checkboxes__conditional--hidden{display:none}.govuk-checkboxes__conditional>:last-child{margin-bottom:0}.govuk-checkboxes--small .govuk-checkboxes__item{margin-bottom:0}.govuk-checkboxes--small .govuk-checkboxes__input{margin-left:-10px}.govuk-checkboxes--small .govuk-checkboxes__label{padding-left:1px}.govuk-checkboxes--small .govuk-checkboxes__label:before{top:10px;left:0;width:24px;height:24px}.govuk-checkboxes--small .govuk-checkboxes__label:after{top:17px;left:6px;width:12px;height:6.5px;border-width:0 0 3px 3px}.govuk-checkboxes--small .govuk-checkboxes__hint{padding-left:34px}.govuk-checkboxes--small .govuk-checkboxes__conditional{margin-left:10px;padding-left:20px}.govuk-checkboxes--small .govuk-checkboxes__divider{width:24px;margin-bottom:5px}.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled)+.govuk-checkboxes__label:before{outline:3px dashed transparent;outline-offset:1px;box-shadow:0 0 0 10px #b1b4b6}@media screen and (forced-colors:active),(-ms-high-contrast:active){.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{outline-color:Highlight}}.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{box-shadow:0 0 0 3px #fd0,0 0 0 10px #b1b4b6}@media(hover:none),(pointer:coarse){.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled)+.govuk-checkboxes__label:before{box-shadow:initial}.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus+.govuk-checkboxes__label:before{box-shadow:0 0 0 3px #fd0}}.govuk-cookie-banner{padding-top:20px;border-bottom:10px solid transparent;background-color:#f3f2f1}.govuk-template--rebranded .govuk-cookie-banner{background-color:#f4f8fb}.govuk-cookie-banner[hidden]{display:none}.govuk-cookie-banner__message{margin-bottom:-10px}.govuk-cookie-banner__message[hidden]{display:none}.govuk-cookie-banner__message:focus{outline:none}.govuk-input{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-input{font-family:sans-serif}}.govuk-input{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-input{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-input{font-size:14pt;line-height:1.15}}.govuk-input{box-sizing:border-box;width:100%;height:2.5rem;margin-top:0;padding:5px;border:2px solid #0b0c0c;border-radius:0;-webkit-appearance:none;appearance:none}.govuk-input:focus{outline:3px solid #ffdd00;outline-offset:0;box-shadow:inset 0 0 0 2px}.govuk-input:disabled{opacity:.5;color:inherit;background-color:transparent;cursor:not-allowed}.govuk-input::-webkit-outer-spin-button,.govuk-input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.govuk-input[type=number]{-moz-appearance:textfield}.govuk-input--error{border-color:#d4351c}.govuk-input--error:focus{border-color:#0b0c0c}.govuk-input--extra-letter-spacing{font-variant-numeric:tabular-nums;letter-spacing:.05em}.govuk-input--width-30{max-width:29.5em}.govuk-input--width-20{max-width:20.5em}.govuk-input--width-10{max-width:11.5em}.govuk-input--width-5{max-width:5.5em}.govuk-input--width-4{max-width:4.5em}.govuk-input--width-3{max-width:3.75em}.govuk-input--width-2{max-width:2.75em}.govuk-input__wrapper{display:flex}.govuk-input__wrapper .govuk-input{flex:0 1 auto}.govuk-input__wrapper .govuk-input:focus{z-index:1}@media(max-width:19.99em){.govuk-input__wrapper{display:block}.govuk-input__wrapper .govuk-input{max-width:100%}}.govuk-input__prefix,.govuk-input__suffix{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-input__prefix,.govuk-input__suffix{font-family:sans-serif}}.govuk-input__prefix,.govuk-input__suffix{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-input__prefix,.govuk-input__suffix{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-input__prefix,.govuk-input__suffix{font-size:14pt;line-height:1.15}}.govuk-input__prefix,.govuk-input__suffix{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:2.5rem;height:2.5rem;padding:5px;border:2px solid #0b0c0c;background-color:#f3f2f1;text-align:center;white-space:nowrap;cursor:default;flex:0 0 auto}@media(max-width:19.99em){.govuk-input__prefix,.govuk-input__suffix{display:block;height:100%;white-space:normal}}@media(max-width:19.99em){.govuk-input__prefix{border-bottom:0}}@media(min-width:20em){.govuk-input__prefix{border-right:0}}@media(max-width:19.99em){.govuk-input__suffix{border-top:0}}@media(min-width:20em){.govuk-input__suffix{border-left:0}}.govuk-date-input:after{content:\"\";display:block;clear:both}.govuk-date-input{font-size:0}.govuk-date-input__item{display:inline-block;margin-right:20px;margin-bottom:0}.govuk-date-input__label{display:block}.govuk-date-input__input{margin-bottom:0}.govuk-details{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-details{font-family:sans-serif}}.govuk-details{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-details{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-details{font-size:14pt;line-height:1.15}}.govuk-details{color:#0b0c0c}@media print{.govuk-details{color:#000}}.govuk-details{margin-bottom:20px}@media(min-width:40.0625em){.govuk-details{margin-bottom:30px}}.govuk-details,.govuk-details__summary{display:block}.govuk-details[open] .govuk-details__summary{margin-bottom:5px}.govuk-details__summary-text>:first-child{margin-top:0}.govuk-details__summary-text>:only-child,.govuk-details__summary-text>:last-child{margin-bottom:0}.govuk-details__text{padding-top:15px;padding-bottom:15px;padding-left:20px}.govuk-details__text p{margin-top:0;margin-bottom:20px}.govuk-details__text>:last-child{margin-bottom:0}@media screen\\fffd {.govuk-details{border-left:10px solid #b1b4b6}.govuk-details__summary{margin-top:15px}.govuk-details__summary-text{font-weight:700;margin-bottom:15px;padding-left:20px}}@media screen\\fffd and (min-width:40.0625em){.govuk-details__summary-text{margin-bottom:20px}}@supports not (-ms-ime-align: auto){.govuk-details__summary{position:relative;width:-webkit-fit-content;width:fit-content;padding-left:25px;color:#1d70b8;cursor:pointer}.govuk-details__summary:hover{color:#003078}.govuk-details__summary:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-details__summary:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-details__summary-text{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-details__summary:hover .govuk-details__summary-text{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-details__summary:focus .govuk-details__summary-text{text-decoration:none}.govuk-details__summary::-webkit-details-marker{display:none}.govuk-details__summary:before{content:\"\";position:absolute;top:-1px;bottom:0;left:0;margin:auto;display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0% 0%,100% 50%,0% 100%);clip-path:polygon(0% 0%,100% 50%,0% 100%);border-width:7px 0 7px 12.124px;border-left-color:inherit}.govuk-details[open]>.govuk-details__summary:before{display:block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0% 0%,50% 100%,100% 0%);clip-path:polygon(0% 0%,50% 100%,100% 0%);border-width:12.124px 7px 0 7px;border-top-color:inherit}.govuk-details__text{border-left:5px solid #b1b4b6}}.govuk-error-summary{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-error-summary{font-family:sans-serif}}.govuk-error-summary{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-error-summary{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-error-summary{font-size:14pt;line-height:1.15}}.govuk-error-summary{color:#0b0c0c}@media print{.govuk-error-summary{color:#000}}.govuk-error-summary{padding:15px}@media(min-width:40.0625em){.govuk-error-summary{padding:20px}}.govuk-error-summary{margin-bottom:30px}@media(min-width:40.0625em){.govuk-error-summary{margin-bottom:50px}}.govuk-error-summary{border:5px solid #d4351c}.govuk-error-summary:focus{outline:3px solid #ffdd00}.govuk-error-summary__title{font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-error-summary__title{font-size:1.5rem;line-height:1.25}}@media print{.govuk-error-summary__title{font-size:18pt;line-height:1.15}}.govuk-error-summary__title{font-weight:700;margin-top:0;margin-bottom:15px}@media(min-width:40.0625em){.govuk-error-summary__title{margin-bottom:20px}}.govuk-error-summary__body p{margin-bottom:0}.govuk-error-summary__body>*+*{margin-top:15px}@media(min-width:40.0625em){.govuk-error-summary__body>*+*{margin-top:20px}}.govuk-error-summary__body>:last-child{margin-bottom:5px}.govuk-error-summary__list{margin-bottom:0}.govuk-error-summary__list li:last-child{margin-bottom:0}.govuk-error-summary__list a{font-weight:700;font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-error-summary__list a{font-family:sans-serif}}.govuk-error-summary__list a{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-error-summary__list a:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-error-summary__list a:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-error-summary__list a:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-error-summary__list a:link,.govuk-error-summary__list a:visited{color:#d4351c}.govuk-error-summary__list a:hover{color:#942514}.govuk-error-summary__list a:active{color:#d4351c}.govuk-error-summary__list a:focus{color:#0b0c0c}.govuk-exit-this-page{margin-bottom:30px}@media(min-width:40.0625em){.govuk-exit-this-page{margin-bottom:50px}}.govuk-exit-this-page{position:-webkit-sticky;position:sticky;z-index:1000;top:0;left:0;width:100%}@media(min-width:40.0625em){.govuk-exit-this-page{display:inline-block;right:0;left:auto;width:auto;float:right}}.govuk-exit-this-page__button{margin-bottom:0}.govuk-exit-this-page__indicator{padding:10px 10px 0;display:none;color:inherit;line-height:0;text-align:center;pointer-events:none}.govuk-exit-this-page__indicator--visible{display:block}.govuk-exit-this-page__indicator-light{box-sizing:border-box;display:inline-block;width:.75em;height:.75em;margin:0 .125em;border-width:2px;border-style:solid;border-radius:50%;border-color:currentcolor}.govuk-exit-this-page__indicator-light--on{border-width:.375em}@media only print{.govuk-exit-this-page{display:none}}.govuk-exit-this-page-overlay{position:fixed;z-index:9999;inset:0;background-color:#fff}.govuk-exit-this-page-hide-content *{display:none!important}.govuk-exit-this-page-hide-content .govuk-exit-this-page-overlay{display:block!important}.govuk-file-upload{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-file-upload{font-family:sans-serif}}.govuk-file-upload{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-file-upload{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-file-upload{font-size:14pt;line-height:1.15}}.govuk-file-upload{color:#0b0c0c}@media print{.govuk-file-upload{color:#000}}.govuk-file-upload{max-width:100%;margin-left:-5px;padding:5px}.govuk-file-upload::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}.govuk-file-upload:focus{outline:3px solid #ffdd00;box-shadow:inset 0 0 0 4px #0b0c0c}.govuk-file-upload:focus-within{outline:3px solid #ffdd00;box-shadow:inset 0 0 0 4px #0b0c0c}.govuk-file-upload:disabled{opacity:.5;cursor:not-allowed}.govuk-drop-zone{display:block;position:relative;z-index:0;background-color:#fff}.govuk-drop-zone--disabled{cursor:not-allowed}.govuk-file-upload-button__pseudo-button{width:auto;margin-right:10px;margin-bottom:3px;flex-shrink:0}.govuk-file-upload-button__instruction{margin-top:7px;margin-bottom:0;text-align:left}.govuk-file-upload-button__status{display:block;margin-bottom:10px;padding:15px 10px;background-color:#fff;text-align:left;word-wrap:break-word;overflow-wrap:break-word}.govuk-file-upload-button__pseudo-button-container{display:flex;align-items:baseline;flex-wrap:wrap}.govuk-file-upload-button{width:100%;padding:18px;border:2px #b1b4b6 solid;background-color:#f3f2f1;cursor:pointer}@media(min-width:40.0625em){.govuk-file-upload-button{padding:23px}}.govuk-file-upload-button .govuk-file-upload-button__pseudo-button{background-color:#fff}.govuk-file-upload-button:hover{background-color:#c1c3c5}.govuk-file-upload-button:hover .govuk-file-upload-button__pseudo-button{background-color:#dbdad9}.govuk-file-upload-button:hover .govuk-file-upload-button__status{background-color:#d2e2f1}.govuk-file-upload-button:active,.govuk-file-upload-button:focus{border:2px solid #0b0c0c;outline:3px solid #ffdd00;outline-offset:0;background-color:#c1c3c5;box-shadow:inset 0 0 0 2px}.govuk-file-upload-button:active .govuk-file-upload-button__pseudo-button,.govuk-file-upload-button:focus .govuk-file-upload-button__pseudo-button{background-color:#fd0;box-shadow:0 2px #0b0c0c}.govuk-file-upload-button:active:hover .govuk-file-upload-button__pseudo-button,.govuk-file-upload-button:focus:hover .govuk-file-upload-button__pseudo-button{border-color:#fd0;outline:3px solid transparent;background-color:#f3f2f1;box-shadow:inset 0 0 0 1px #fd0}.govuk-file-upload-button--empty{border-style:dashed;background-color:#fff}.govuk-file-upload-button--empty .govuk-file-upload-button__pseudo-button{background-color:#f3f2f1}.govuk-file-upload-button--empty .govuk-file-upload-button__status{color:#0c2d4a;background-color:#bbd4ea}.govuk-file-upload-button--empty:hover,.govuk-file-upload-button--empty:focus,.govuk-file-upload-button--empty:active{background-color:#f3f2f1}.govuk-file-upload-button--empty:hover .govuk-file-upload-button__status,.govuk-file-upload-button--empty:focus .govuk-file-upload-button__status,.govuk-file-upload-button--empty:active .govuk-file-upload-button__status{background-color:#d2e2f1}.govuk-file-upload-button--dragging{border-style:solid;border-color:#0b0c0c}.govuk-file-upload-button--dragging.govuk-file-upload-button{background-color:#c1c3c5}.govuk-file-upload-button--dragging.govuk-file-upload-button--empty{background-color:#f3f2f1}.govuk-file-upload-button--dragging.govuk-file-upload-button--empty:not(:disabled) .govuk-file-upload-button__status,.govuk-file-upload-button--dragging.govuk-file-upload-button--empty .govuk-file-upload-button__pseudo-button{background-color:#fff}.govuk-file-upload-button--dragging .govuk-file-upload-button__pseudo-button{background-color:#dbdad9}.govuk-file-upload-button:disabled{pointer-events:none;opacity:.5;background-color:#fff}.govuk-file-upload-button:disabled .govuk-file-upload-button__pseudo-button{background-color:#f3f2f1}.govuk-file-upload-button:disabled .govuk-file-upload-button__status{background-color:#bbd4ea}.govuk-footer{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-footer{font-family:sans-serif}}.govuk-footer{font-weight:400;font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-footer{font-size:1rem;line-height:1.25}}@media print{.govuk-footer{font-size:14pt;line-height:1.2}}.govuk-footer{padding-top:25px}@media(min-width:40.0625em){.govuk-footer{padding-top:40px}}.govuk-footer{padding-bottom:15px}@media(min-width:40.0625em){.govuk-footer{padding-bottom:25px}}.govuk-footer{border-top:10px solid #1d70b8;color:#0b0c0c;background:#f3f2f1}.govuk-template--rebranded .govuk-footer{background:#f4f8fb}.govuk-footer__crown{margin-bottom:25px}.govuk-footer__link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-footer__link{font-family:sans-serif}}.govuk-footer__link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-footer__link:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-footer__link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-footer__link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-footer__link:link,.govuk-footer__link:visited{color:#0b0c0c}@media print{.govuk-footer__link:link,.govuk-footer__link:visited{color:#000}}.govuk-footer__link:hover{color:#0b0c0cfc}.govuk-footer__link:active,.govuk-footer__link:focus{color:#0b0c0c}@media print{.govuk-footer__link:active,.govuk-footer__link:focus{color:#000}}.govuk-footer__section-break{margin:0 0 30px}@media(min-width:40.0625em){.govuk-footer__section-break{margin-bottom:50px}}.govuk-footer__section-break{border:0;border-bottom:1px solid;border-bottom-color:#b1b4b6}.govuk-template--rebranded .govuk-footer__section-break{border-bottom-color:#8eb8dc}.govuk-footer__meta{display:flex;margin-right:-15px;margin-left:-15px;flex-wrap:wrap;align-items:flex-end;justify-content:center}.govuk-footer__meta-item{margin-right:15px;margin-bottom:25px;margin-left:15px}.govuk-footer__meta-item--grow{flex:1}@media(max-width:40.0525em){.govuk-footer__meta-item--grow{flex-basis:320px}}.govuk-footer__licence-logo{display:inline-block;margin-right:10px}@media(max-width:48.0525em){.govuk-footer__licence-logo{margin-bottom:15px}}.govuk-footer__licence-logo{vertical-align:top;forced-color-adjust:auto}.govuk-footer__licence-description{display:inline-block;text-wrap:balance}.govuk-footer__copyright-logo:before{content:\"\";display:block;width:100%;padding-top:112px;background-image:url(/assets/images/govuk-crest.svg);background-repeat:no-repeat;background-position:50% 0%;background-size:125px 102px;text-align:center;white-space:nowrap}@supports (-webkit-mask-position: initial) or (mask-position: initial){.govuk-footer__copyright-logo:before{background:currentcolor;-webkit-mask-image:url(/assets/images/govuk-crest.svg);mask-image:url(/assets/images/govuk-crest.svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:50% 0%;mask-position:50% 0%;-webkit-mask-size:125px 102px;mask-size:125px 102px}@media screen and (forced-colors:active){.govuk-footer__copyright-logo:before{background:linktext}}}.govuk-footer__inline-list{margin-top:0;margin-bottom:15px;padding:0}.govuk-footer__meta-custom{margin-bottom:20px}.govuk-footer__inline-list-item{display:inline-block;margin-right:15px;margin-bottom:5px}.govuk-footer__heading{margin-bottom:30px;padding-bottom:20px}@media(max-width:40.0525em){.govuk-footer__heading{padding-bottom:10px}}.govuk-footer__heading{border-bottom:1px solid;border-bottom-color:#b1b4b6}.govuk-template--rebranded .govuk-footer__heading{border-bottom-color:#8eb8dc}.govuk-footer__navigation:after{content:\"\";display:block;clear:both}.govuk-footer__navigation{margin-right:-15px;margin-left:-15px}.govuk-footer__section{display:inline-block;margin-bottom:30px;vertical-align:top}.govuk-footer__list{margin:0;padding:0;list-style:none;column-gap:30px}@media(min-width:48.0625em){.govuk-footer__list--columns-2{column-count:2}.govuk-footer__list--columns-3{column-count:3}}.govuk-footer__list-item{margin-bottom:15px}@media(min-width:40.0625em){.govuk-footer__list-item{margin-bottom:20px}}.govuk-footer__list-item:last-child{margin-bottom:0}.govuk-header{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-header{font-family:sans-serif}}.govuk-header{font-weight:400;font-size:.875rem;line-height:1}@media(min-width:40.0625em){.govuk-header{font-size:1rem;line-height:1}}@media print{.govuk-header{font-size:14pt;line-height:1}}.govuk-header{border-bottom:10px solid #ffffff}.govuk-template--rebranded .govuk-header{border-bottom:1px solid transparent}.govuk-header{background:#0b0c0c}.govuk-template--rebranded .govuk-header{background:#1d70b8}.govuk-header{color:#fff}@media(max-width:48.0525em){.govuk-header--with-js-navigation .govuk-header__logo{padding-right:80px}}.govuk-header__container--full-width{padding:0 15px;border-color:#1d70b8}.govuk-header__container--full-width .govuk-header__menu-button{right:15px}.govuk-header__container:after{content:\"\";display:block;clear:both}.govuk-header__container{position:relative;margin-bottom:-10px;padding-top:10px;border-bottom:10px solid #1d70b8}.govuk-template--rebranded .govuk-header__container{margin-bottom:0;padding-top:0;border-bottom:none}.govuk-header--full-width-border{border-bottom-color:#1d70b8}.govuk-header--full-width-border .govuk-header__container{border-bottom-color:transparent}.govuk-header__logotype{display:inline-block;position:relative;top:-3px;margin-right:5px;fill:currentcolor;vertical-align:top}@media(forced-colors:active){.govuk-header__logotype{forced-color-adjust:none;color:linktext}}.govuk-header__logotype:last-child{margin-right:0}.govuk-template--rebranded .govuk-header__logotype{margin-right:.4375rem;margin-bottom:2px}.govuk-template--rebranded .govuk-header__logotype:last-child{margin-right:0}.govuk-logo-dot{fill:#00ffe0}@media print{.govuk-logo-dot{fill:currentcolor}}@media(forced-colors:active){.govuk-logo-dot{fill:currentcolor}}:focus .govuk-logo-dot{fill:currentcolor}.govuk-header__product-name{font-size:1.125rem;line-height:1}@media(min-width:40.0625em){.govuk-header__product-name{font-size:1.5rem;line-height:1}}@media print{.govuk-header__product-name{font-size:18pt;line-height:1}}.govuk-header__product-name{font-weight:400;display:inline-table;margin-top:10px}@-moz-document url-prefix(){.govuk-header__product-name{margin-top:9.5px}}.govuk-header__product-name{vertical-align:top}@media(min-width:40.0625em){.govuk-header__product-name{margin-top:5px}@-moz-document url-prefix(){.govuk-header__product-name{margin-top:4.5px}}}.govuk-template--rebranded .govuk-header__product-name{margin-top:0;margin-bottom:-.0625rem;font-size:1.9375rem;letter-spacing:-.015em;forced-color-adjust:none}@media screen and (forced-colors:active){.govuk-template--rebranded .govuk-header__product-name{color:LinkText;background:transparent}}@media(min-width:40.0625em){.govuk-template--rebranded .govuk-header__product-name{margin-top:0}}@media(min-width:48.0625em){.govuk-template--rebranded .govuk-header__product-name{margin-top:0}}.govuk-header__link:link,.govuk-header__link:visited{color:#fff}.govuk-header__link:hover,.govuk-header__link:active{color:#fffffffc}.govuk-header__link:focus{color:#0b0c0c}.govuk-header__link{text-decoration:none}.govuk-header__link:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:.1578em}.govuk-header__link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-header__link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-header__link--homepage{display:inline-block;margin-right:10px;font-size:30px}@media(min-width:48.0625em){.govuk-header__link--homepage{display:inline}}.govuk-header__link--homepage:link,.govuk-header__link--homepage:visited{text-decoration:none}.govuk-header__link--homepage:hover,.govuk-header__link--homepage:active{margin-bottom:-3px;border-bottom:3px solid}.govuk-header__link--homepage:focus{margin-bottom:0;border-bottom:0}.govuk-template--rebranded .govuk-header__link--homepage{display:inline;word-spacing:-.375rem}.govuk-template--rebranded .govuk-header__link--homepage>*{word-spacing:0}.govuk-template--rebranded .govuk-header__link--homepage:not(:focus){background-color:#1d70b8}.govuk-header__service-name{display:inline-block;margin-bottom:10px;font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-header__service-name{font-size:1.5rem;line-height:1.25}}@media print{.govuk-header__service-name{font-size:18pt;line-height:1.15}}.govuk-header__service-name{font-weight:700}.govuk-template--rebranded .govuk-header__service-name{margin-bottom:15px}@media(min-width:48.0625em){.govuk-template--rebranded .govuk-header__service-name{margin:19px 0 11px}}.govuk-header__logo,.govuk-header__content{box-sizing:border-box}.govuk-header__logo{margin-bottom:10px}@media(min-width:48.0625em){.govuk-header__logo{width:33.33%;padding-right:15px;float:left;vertical-align:top}.govuk-header__logo:last-child{width:auto;padding-right:0;float:none}}.govuk-template--rebranded .govuk-header__logo{margin-bottom:0;padding-top:16px;padding-bottom:12px}@media(min-width:48.0625em){.govuk-header__content{width:66.66%;padding-left:15px;float:left}}.govuk-header__menu-button{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-header__menu-button{font-family:sans-serif}}.govuk-header__menu-button{font-weight:400;font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-header__menu-button{font-size:1rem;line-height:1.25}}@media print{.govuk-header__menu-button{font-size:14pt;line-height:1.2}}.govuk-header__menu-button{max-width:80px;min-height:24px;margin-bottom:5px;padding:0;border:0;color:#fff;background:none;word-break:break-all;cursor:pointer}.govuk-header__menu-button:hover{-webkit-text-decoration:solid underline 3px;text-decoration:solid underline 3px;text-underline-offset:.1578em}.govuk-header__menu-button:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-header__menu-button:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-header__menu-button:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0% 0%,50% 100%,100% 0%);clip-path:polygon(0% 0%,50% 100%,100% 0%);border-width:8.66px 5px 0 5px;border-top-color:inherit;content:\"\";margin-left:5px}.govuk-header__menu-button[aria-expanded=true]:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(50% 0%,0% 100%,100% 100%);clip-path:polygon(50% 0%,0% 100%,100% 100%);border-width:0 5px 8.66px;border-bottom-color:inherit}@media(min-width:20em){.govuk-header__menu-button{position:absolute;top:13px;right:0;margin:0}}@media(min-width:40.0625em){.govuk-header__menu-button{top:15px}}.govuk-frontend-supported .govuk-header__menu-button{display:block}.govuk-header__menu-button[hidden],.govuk-frontend-supported .govuk-header__menu-button[hidden]{display:none}@media(max-width:19.99em){.govuk-template--rebranded .govuk-header__navigation{padding-bottom:15px}}@media(min-width:48.0625em){.govuk-header__navigation{margin-bottom:10px}.govuk-template--rebranded .govuk-header__navigation{margin-bottom:0;padding:22px 0 8px}}@media(min-width:48.0625em){.govuk-template--rebranded .govuk-header__service-name+.govuk-header__navigation{padding-top:0;padding-bottom:15px}}.govuk-header__navigation-list{margin:0;padding:0;list-style:none}.govuk-header__navigation-list[hidden]{display:none}@media(min-width:20em)and (max-width:48.0525em){.govuk-template--rebranded .govuk-header__navigation-list{padding-bottom:15px}}@media(min-width:48.0625em){.govuk-header__navigation--end{margin:0;padding:5px 0;text-align:right}}.govuk-header__navigation-item{padding:10px 0;border-bottom:1px solid #2e3133}@media(min-width:48.0625em){.govuk-header__navigation-item{display:inline-block;margin-right:15px;padding:5px 0;border:0}}.govuk-header__navigation-item a{font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-header__navigation-item a{font-size:1rem;line-height:1.25}}@media print{.govuk-header__navigation-item a{font-size:14pt;line-height:1.2}}.govuk-header__navigation-item a{font-weight:700;white-space:nowrap}.govuk-template--rebranded .govuk-header__navigation-item{padding-top:15px}@media(min-width:48.0625em){.govuk-template--rebranded .govuk-header__navigation-item{padding-top:5px}}.govuk-template--rebranded .govuk-header__navigation-item{border-bottom-color:#fff}.govuk-template--rebranded .govuk-header__navigation-item a{font-weight:400}.govuk-template--rebranded .govuk-header__navigation-item--active a{font-weight:700}.govuk-header__navigation-item--active a:link,.govuk-header__navigation-item--active a:hover,.govuk-header__navigation-item--active a:visited{color:#1d8feb}.govuk-template--rebranded .govuk-header__navigation-item--active a:link,.govuk-template--rebranded .govuk-header__navigation-item--active a:hover,.govuk-template--rebranded .govuk-header__navigation-item--active a:visited{color:inherit}@media print{.govuk-header__navigation-item--active a{color:#1d70b8}}.govuk-header__navigation-item--active a:focus{color:#0b0c0c}.govuk-template--rebranded .govuk-header__navigation-item--active a:focus{color:#0b0c0c}.govuk-header__navigation-item:last-child{margin-right:0;border-bottom:0}@media print{.govuk-header{border-bottom-width:0;color:#0b0c0c;background:transparent}.govuk-header__link:link,.govuk-header__link:visited{color:#0b0c0c}.govuk-header__link:after{display:none}}.govuk-inset-text{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-inset-text{font-family:sans-serif}}.govuk-inset-text{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-inset-text{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-inset-text{font-size:14pt;line-height:1.15}}.govuk-inset-text{color:#0b0c0c}@media print{.govuk-inset-text{color:#000}}.govuk-inset-text{padding:15px;margin-top:20px}@media(min-width:40.0625em){.govuk-inset-text{margin-top:30px}}.govuk-inset-text{margin-bottom:20px}@media(min-width:40.0625em){.govuk-inset-text{margin-bottom:30px}}.govuk-inset-text{clear:both;border-left:10px solid #b1b4b6}.govuk-inset-text>:first-child{margin-top:0}.govuk-inset-text>:only-child,.govuk-inset-text>:last-child{margin-bottom:0}.govuk-notification-banner{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-notification-banner{font-family:sans-serif}}.govuk-notification-banner{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-notification-banner{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-notification-banner{font-size:14pt;line-height:1.15}}.govuk-notification-banner{margin-bottom:30px}@media(min-width:40.0625em){.govuk-notification-banner{margin-bottom:50px}}.govuk-notification-banner{border:5px solid #1d70b8;background-color:#1d70b8}.govuk-notification-banner:focus{outline:3px solid #ffdd00}.govuk-notification-banner__header{padding:2px 15px 5px;border-bottom:1px solid transparent}@media(min-width:40.0625em){.govuk-notification-banner__header{padding:2px 20px 5px}}.govuk-notification-banner__title{font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-notification-banner__title{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-notification-banner__title{font-size:14pt;line-height:1.15}}.govuk-notification-banner__title{font-weight:700;margin:0;padding:0;color:#fff}.govuk-notification-banner__content{color:#0b0c0c}@media print{.govuk-notification-banner__content{color:#000}}.govuk-notification-banner__content{padding:15px;background-color:#fff}@media(min-width:40.0625em){.govuk-notification-banner__content{padding:20px}}.govuk-notification-banner__content>*{box-sizing:border-box;max-width:605px}.govuk-notification-banner__content>:last-child{margin-bottom:0}.govuk-notification-banner__heading{font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-notification-banner__heading{font-size:1.5rem;line-height:1.25}}@media print{.govuk-notification-banner__heading{font-size:18pt;line-height:1.15}}.govuk-notification-banner__heading{font-weight:700;margin:0 0 15px;padding:0}.govuk-notification-banner__link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-notification-banner__link{font-family:sans-serif}}.govuk-notification-banner__link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-notification-banner__link:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-notification-banner__link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-notification-banner__link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-notification-banner__link:link,.govuk-notification-banner__link:visited{color:#1d70b8}.govuk-notification-banner__link:hover{color:#003078}.govuk-notification-banner__link:active{color:#0b0c0c}.govuk-notification-banner__link:focus{color:#0b0c0c}.govuk-notification-banner--success{border-color:#00703c;background-color:#00703c}.govuk-notification-banner--success .govuk-notification-banner__link:link,.govuk-notification-banner--success .govuk-notification-banner__link:visited{color:#00703c}.govuk-notification-banner--success .govuk-notification-banner__link:hover{color:#004e2a}.govuk-notification-banner--success .govuk-notification-banner__link:active{color:#00703c}.govuk-notification-banner--success .govuk-notification-banner__link:focus{color:#0b0c0c}.govuk-pagination{margin-bottom:20px}@media(min-width:40.0625em){.govuk-pagination{margin-bottom:30px}}.govuk-pagination{display:flex;flex-direction:column;align-items:center;flex-wrap:wrap}@media(min-width:40.0625em){.govuk-pagination{flex-direction:row;align-items:flex-start}}.govuk-pagination__list{margin:0;padding:0;list-style:none}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-family:sans-serif}}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-size:14pt;line-height:1.15}}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{box-sizing:border-box;position:relative;min-width:45px;min-height:45px;padding:10px 15px;float:left}.govuk-pagination__item:hover,.govuk-pagination__next:hover,.govuk-pagination__prev:hover{background-color:#f3f2f1}.govuk-pagination__item{display:none;text-align:center}@media(min-width:40.0625em){.govuk-pagination__item{display:block}}.govuk-pagination__prev,.govuk-pagination__next{font-weight:700}.govuk-pagination__prev .govuk-pagination__link,.govuk-pagination__next .govuk-pagination__link{display:flex;align-items:center}.govuk-pagination__prev{padding-left:0}.govuk-pagination__next{padding-right:0}.govuk-pagination__item--current,.govuk-pagination__item--ellipsis,.govuk-pagination__item--ellipses,.govuk-pagination__item:first-child,.govuk-pagination__item:last-child{display:block}.govuk-pagination__item--current{font-weight:700;outline:1px solid transparent;background-color:#1d70b8}.govuk-pagination__item--current:hover{background-color:#1d70b8}.govuk-pagination__item--current .govuk-pagination__link:link,.govuk-pagination__item--current .govuk-pagination__link:visited{color:#fff}.govuk-pagination__item--current .govuk-pagination__link:hover,.govuk-pagination__item--current .govuk-pagination__link:active{color:#fffffffc}.govuk-pagination__item--current .govuk-pagination__link:focus{color:#0b0c0c}.govuk-pagination__item--ellipsis,.govuk-pagination__item--ellipses{font-weight:700;color:#505a5f}.govuk-pagination__item--ellipsis:hover,.govuk-pagination__item--ellipses:hover{background-color:transparent}.govuk-pagination__link{display:block;min-width:15px}@media screen{.govuk-pagination__link:after{content:\"\";position:absolute;inset:0}}.govuk-pagination__link:hover .govuk-pagination__link-title--decorated,.govuk-pagination__link:active .govuk-pagination__link-title--decorated{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-pagination__link:hover .govuk-pagination__link-label,.govuk-pagination__link:hover .govuk-pagination__link-title--decorated,.govuk-pagination__link:active .govuk-pagination__link-label,.govuk-pagination__link:active .govuk-pagination__link-title--decorated{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-pagination__link:focus .govuk-pagination__icon{color:#0b0c0c}.govuk-pagination__link:focus .govuk-pagination__link-label{text-decoration:none}.govuk-pagination__link:focus .govuk-pagination__link-title--decorated{text-decoration:none}.govuk-pagination__link-title{text-decoration-thickness:inherit}.govuk-pagination__link-label{font-weight:400;text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em;display:inline-block}.govuk-pagination__icon{width:.9375rem;height:.8125rem;color:#505a5f;fill:currentcolor;forced-color-adjust:auto}.govuk-pagination__icon--prev{margin-right:15px}.govuk-pagination__icon--next{margin-left:15px}.govuk-pagination--block{display:block}.govuk-pagination--block .govuk-pagination__next,.govuk-pagination--block .govuk-pagination__prev{padding-left:0;float:none}.govuk-pagination--block .govuk-pagination__next .govuk-pagination__link,.govuk-pagination--block .govuk-pagination__prev .govuk-pagination__link{display:inline-block}.govuk-pagination--block .govuk-pagination__next{padding-right:15px}.govuk-pagination--block .govuk-pagination__prev+.govuk-pagination__next{border-top:1px solid #b1b4b6}.govuk-pagination--block .govuk-pagination__link-title:after{content:\"\";display:block}.govuk-pagination--block .govuk-pagination__link{padding-left:30px;text-align:left}.govuk-pagination--block .govuk-pagination__link:not(:focus){text-decoration:none}.govuk-pagination--block .govuk-pagination__icon{margin-top:.326em;margin-left:-30px;float:left}.govuk-panel{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-panel{font-family:sans-serif}}.govuk-panel{font-weight:400;font-size:1.5rem;line-height:1.0416666667}@media(min-width:40.0625em){.govuk-panel{font-size:2.25rem;line-height:1.1111111111}}@media print{.govuk-panel{font-size:24pt;line-height:1.05}}.govuk-panel{box-sizing:border-box;margin-bottom:15px;padding:35px;border:5px solid transparent;text-align:center}@media(max-width:40.0525em){.govuk-panel{padding:10px;overflow-wrap:break-word;word-wrap:break-word}}.govuk-panel--confirmation{color:#fff;background:#00703c}@media print{.govuk-panel--confirmation{border-color:currentcolor;color:#000;background:none}}.govuk-panel__title{font-size:2rem;line-height:1.09375}@media(min-width:40.0625em){.govuk-panel__title{font-size:3rem;line-height:1.0416666667}}@media print{.govuk-panel__title{font-size:32pt;line-height:1.15}}.govuk-panel__title{font-weight:700;margin-top:0;margin-bottom:30px}.govuk-panel__title:last-child{margin-bottom:0}@media(min-width:20em){.govuk-password-input__wrapper{flex-direction:row;align-items:flex-start}}.govuk-password-input__input::-ms-reveal{display:none}.govuk-password-input__toggle{margin-top:5px;margin-bottom:0}.govuk-password-input__toggle[hidden]{display:none}@media(min-width:20em){.govuk-password-input__toggle{width:auto;flex-shrink:0;flex-basis:5em;margin-top:0;margin-left:5px}}.govuk-tag{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-tag{font-family:sans-serif}}.govuk-tag{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-tag{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-tag{font-size:14pt;line-height:1.15}}.govuk-tag{display:inline-block;max-width:160px;margin-top:-2px;margin-bottom:-3px;padding:2px 8px 3px;color:#0c2d4a;background-color:#bbd4ea;text-decoration:none;overflow-wrap:break-word}@media screen and (forced-colors:active){.govuk-tag{font-weight:700}}.govuk-tag--grey{color:#282d30;background-color:#e5e6e7}.govuk-tag--purple{color:#491644;background-color:#efdfed}.govuk-tag--turquoise{color:#10403c;background-color:#d4ecea}.govuk-tag--blue{color:#0c2d4a;background-color:#bbd4ea}.govuk-tag--light-blue{color:#0c2d4a;background-color:#e8f1f8}.govuk-tag--yellow{color:#594d00;background-color:#fff7bf}.govuk-tag--orange{color:#6e3619;background-color:#fcd6c3}.govuk-tag--red{color:#2a0b06;background-color:#f4cdc6}.govuk-tag--pink{color:#6b1c40;background-color:#f9e1ec}.govuk-tag--green{color:#005a30;background-color:#cce2d8}.govuk-phase-banner{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #b1b4b6}.govuk-phase-banner__content{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-phase-banner__content{font-family:sans-serif}}.govuk-phase-banner__content{font-weight:400;font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-phase-banner__content{font-size:1rem;line-height:1.25}}@media print{.govuk-phase-banner__content{font-size:14pt;line-height:1.2}}.govuk-phase-banner__content{color:#0b0c0c}@media print{.govuk-phase-banner__content{color:#000}}.govuk-phase-banner__content{display:table;margin:0}.govuk-phase-banner__content__tag{font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-phase-banner__content__tag{font-size:1rem;line-height:1.25}}@media print{.govuk-phase-banner__content__tag{font-size:14pt;line-height:1.2}}.govuk-phase-banner__content__tag{margin-right:10px}.govuk-phase-banner__text{display:table-cell;vertical-align:middle}.govuk-radios__item{display:flex;flex-wrap:wrap;position:relative;margin-bottom:10px}.govuk-radios__item:last-child,.govuk-radios__item:last-of-type{margin-bottom:0}.govuk-radios__input{z-index:1;width:44px;height:44px;margin:0;opacity:0;cursor:pointer}.govuk-radios__label{align-self:center;max-width:calc(100% - 74px);margin-bottom:0;padding:7px 15px;cursor:pointer;touch-action:manipulation}.govuk-radios__label:before{content:\"\";box-sizing:border-box;position:absolute;top:2px;left:2px;width:40px;height:40px;border:2px solid currentcolor;border-radius:50%;background:transparent}.govuk-radios__label:after{content:\"\";position:absolute;top:12px;left:12px;width:0;height:0;border:10px solid currentcolor;border-radius:50%;opacity:0;background:currentcolor}.govuk-radios__hint{display:block;width:100%;margin-top:-5px;padding-right:15px;padding-left:59px}.govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl)+.govuk-radios__hint{margin-bottom:0}.govuk-radios__input:focus+.govuk-radios__label:before{border-width:4px;outline:3px solid transparent;outline-offset:1px}@media screen and (forced-colors:active),(-ms-high-contrast:active){.govuk-radios__input:focus+.govuk-radios__label:before{outline-color:Highlight}}.govuk-radios__input:focus+.govuk-radios__label:before{box-shadow:0 0 0 4px #fd0}.govuk-radios__input:checked+.govuk-radios__label:after{opacity:1}.govuk-radios__input:disabled,.govuk-radios__input:disabled+.govuk-radios__label{cursor:not-allowed}.govuk-radios__input:disabled+.govuk-radios__label,.govuk-radios__input:disabled~.govuk-hint{opacity:.5}@media(min-width:40.0625em){.govuk-radios--inline{display:flex;flex-wrap:wrap;align-items:flex-start}.govuk-radios--inline .govuk-radios__item{margin-right:20px}}.govuk-radios__divider{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-radios__divider{font-family:sans-serif}}.govuk-radios__divider{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-radios__divider{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-radios__divider{font-size:14pt;line-height:1.15}}.govuk-radios__divider{color:#0b0c0c}@media print{.govuk-radios__divider{color:#000}}.govuk-radios__divider{width:40px;margin-bottom:10px;text-align:center}.govuk-radios__conditional{margin-bottom:15px}@media(min-width:40.0625em){.govuk-radios__conditional{margin-bottom:20px}}.govuk-radios__conditional{margin-left:20px;padding-left:35px;border-left:4px solid #b1b4b6}.govuk-frontend-supported .govuk-radios__conditional--hidden{display:none}.govuk-radios__conditional>:last-child{margin-bottom:0}.govuk-radios--small .govuk-radios__item{margin-bottom:0}.govuk-radios--small .govuk-radios__input{margin-left:-10px}.govuk-radios--small .govuk-radios__label{padding-left:1px}.govuk-radios--small .govuk-radios__label:before{top:10px;left:0;width:24px;height:24px}.govuk-radios--small .govuk-radios__label:after{top:17px;left:7px;border-width:5px}.govuk-radios--small .govuk-radios__hint{padding-left:34px}.govuk-radios--small .govuk-radios__conditional{margin-left:10px;padding-left:20px}.govuk-radios--small .govuk-radios__divider{width:24px;margin-bottom:5px}.govuk-radios--small .govuk-radios__item:hover .govuk-radios__input:not(:disabled)+.govuk-radios__label:before{outline:4px dashed transparent;outline-offset:1px;box-shadow:0 0 0 10px #b1b4b6}@media screen and (forced-colors:active),(-ms-high-contrast:active){.govuk-radios--small .govuk-radios__item:hover .govuk-radios__input:focus+.govuk-radios__label:before{outline-color:Highlight}}.govuk-radios--small .govuk-radios__item:hover .govuk-radios__input:focus+.govuk-radios__label:before{box-shadow:0 0 0 4px #fd0 0 0 0 10px #b1b4b6}@media(hover:none),(pointer:coarse){.govuk-radios--small .govuk-radios__item:hover .govuk-radios__input:not(:disabled)+.govuk-radios__label:before{box-shadow:initial}.govuk-radios--small .govuk-radios__item:hover .govuk-radios__input:focus+.govuk-radios__label:before{box-shadow:0 0 0 4px #fd0}}.govuk-select{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-select{font-family:sans-serif}}.govuk-select{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-select{font-size:1.1875rem;line-height:1.25}}@media print{.govuk-select{font-size:14pt;line-height:1.25}}.govuk-select{box-sizing:border-box;min-width:11.5em;max-width:100%;height:2.5rem;padding:5px;border:2px solid #0b0c0c;color:#0b0c0c;background-color:#fff}.govuk-select:focus{outline:3px solid #ffdd00;outline-offset:0;box-shadow:inset 0 0 0 2px}.govuk-select:disabled{opacity:.5;color:inherit;cursor:not-allowed}.govuk-select option:active,.govuk-select option:checked,.govuk-select:focus::-ms-value{color:#fff;background-color:#1d70b8}.govuk-select--error{border-color:#d4351c}.govuk-select--error:focus{border-color:#0b0c0c}.govuk-service-navigation{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#b1b4b6}.govuk-template--rebranded .govuk-service-navigation{border-bottom-color:#8eb8dc}.govuk-service-navigation{background-color:#f3f2f1}.govuk-template--rebranded .govuk-service-navigation{background-color:#f4f8fb}.govuk-service-navigation__container{display:flex;flex-direction:column;align-items:start}@media(min-width:40.0625em){.govuk-service-navigation__container{flex-direction:row;flex-wrap:wrap}}.govuk-service-navigation__item,.govuk-service-navigation__service-name{position:relative;margin:10px 0;border:0 solid #1a65a6}@media(min-width:40.0625em){.govuk-service-navigation__item,.govuk-service-navigation__service-name{display:inline-block;margin-top:0;margin-bottom:0;padding:20px 0}.govuk-template--rebranded .govuk-service-navigation__item,.govuk-template--rebranded .govuk-service-navigation__service-name{padding:15px 0;line-height:1.5263157895}.govuk-service-navigation__item:not(:last-child),.govuk-service-navigation__service-name:not(:last-child){margin-right:20px}}@media(min-width:40.0625em)and (min-width:40.0625em){.govuk-service-navigation__item:not(:last-child),.govuk-service-navigation__service-name:not(:last-child){margin-right:30px}}.govuk-service-navigation__service-name+.govuk-service-navigation__wrapper .govuk-service-navigation__list:first-child .govuk-service-navigation__item:first-child,.govuk-service-navigation__service-name+.govuk-service-navigation__wrapper .govuk-service-navigation__toggle[hidden]+.govuk-service-navigation__list .govuk-service-navigation__item:first-child{margin-top:0}@media(max-width:40.0525em){.govuk-service-navigation__item--active{margin-left:-15px;padding-left:10px;border-left-width:5px}}@media(min-width:40.0625em){.govuk-service-navigation__item--active{padding-bottom:15px}.govuk-template--rebranded .govuk-service-navigation__item--active{padding-bottom:10px}.govuk-service-navigation__item--active{border-bottom-width:5px}}.govuk-service-navigation__link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-service-navigation__link{font-family:sans-serif}}.govuk-service-navigation__link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-service-navigation__link:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-service-navigation__link:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-service-navigation__link:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-service-navigation__link:not(:hover):not(:active){text-decoration:none}.govuk-service-navigation__link:link,.govuk-service-navigation__link:visited{color:#1d70b8}.govuk-service-navigation__link:hover{color:#003078}.govuk-service-navigation__link:active{color:#0b0c0c}.govuk-service-navigation__link:focus{color:#0b0c0c}.govuk-service-navigation__link:not(:hover):not(:focus){color:#1a65a6}.govuk-service-navigation__service-name{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-service-navigation__service-name{font-family:sans-serif}}.govuk-service-navigation__service-name{font-weight:700;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-service-navigation__service-name{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-service-navigation__service-name{font-size:14pt;line-height:1.15}}.govuk-service-navigation__service-name .govuk-service-navigation__link:link,.govuk-service-navigation__service-name .govuk-service-navigation__link:visited{color:#0b0c0c}@media print{.govuk-service-navigation__service-name .govuk-service-navigation__link:link,.govuk-service-navigation__service-name .govuk-service-navigation__link:visited{color:#000}}.govuk-service-navigation__service-name .govuk-service-navigation__link:hover{color:#0b0c0cfc}.govuk-service-navigation__service-name .govuk-service-navigation__link:active,.govuk-service-navigation__service-name .govuk-service-navigation__link:focus{color:#0b0c0c}@media print{.govuk-service-navigation__service-name .govuk-service-navigation__link:active,.govuk-service-navigation__service-name .govuk-service-navigation__link:focus{color:#000}}.govuk-service-navigation__wrapper{flex-grow:1}.govuk-service-navigation__toggle{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-service-navigation__toggle{font-family:sans-serif}}.govuk-service-navigation__toggle{font-weight:700;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-service-navigation__toggle{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-service-navigation__toggle{font-size:14pt;line-height:1.15}}.govuk-service-navigation__toggle{display:inline-flex;margin:10px 0;padding:0;border:0;color:#1a65a6;background:none;word-break:break-all;cursor:pointer;align-items:center}.govuk-service-navigation__toggle:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-service-navigation__toggle:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-service-navigation__toggle:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(0% 0%,50% 100%,100% 0%);clip-path:polygon(0% 0%,50% 100%,100% 0%);border-width:8.66px 5px 0 5px;border-top-color:inherit;content:\"\";margin-left:5px}.govuk-service-navigation__toggle[aria-expanded=true]:after{display:inline-block;width:0;height:0;border-style:solid;border-color:transparent;-webkit-clip-path:polygon(50% 0%,0% 100%,100% 100%);clip-path:polygon(50% 0%,0% 100%,100% 100%);border-width:0 5px 8.66px;border-bottom-color:inherit}.govuk-service-navigation__toggle[hidden]{display:none}.govuk-service-navigation__service-name+.govuk-service-navigation__wrapper .govuk-service-navigation__toggle{margin-top:0}.govuk-service-navigation__list{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-service-navigation__list{font-family:sans-serif}}.govuk-service-navigation__list{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-service-navigation__list{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-service-navigation__list{font-size:14pt;line-height:1.15}}.govuk-service-navigation__list{margin:0 0 15px;padding:0;list-style:none}@media(min-width:40.0625em){.govuk-service-navigation__list{display:flex;flex-wrap:wrap;margin-bottom:0}}@media screen and (min-width:40.0625em)and (min-width:0\\fffd){.govuk-service-navigation__list{display:block}}.govuk-service-navigation__active-fallback{font-weight:inherit}.govuk-template--rebranded .govuk-service-navigation--inverse{border-bottom:none;color:#fff;background-color:#1d70b8}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-width-container{border-width:1px 0;border-style:solid;border-color:#8eb8dc}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__container{margin-top:-1px}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__item,.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__service-name{border-color:#fff}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__link:link,.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__link:visited{color:#fff}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__link:hover,.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__link:active{color:#fffffffc}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__link:focus{color:#0b0c0c}.govuk-template--rebranded .govuk-service-navigation--inverse .govuk-service-navigation__toggle:not(:focus){color:currentcolor}.govuk-skip-link:not(:active):not(:focus):not(.\\:focus){position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important;-webkit-user-select:none;-ms-user-select:none;user-select:none}.govuk-skip-link{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-skip-link:link,.govuk-skip-link:visited{color:#0b0c0c}@media print{.govuk-skip-link:link,.govuk-skip-link:visited{color:#000}}.govuk-skip-link:hover{color:#0b0c0cfc}.govuk-skip-link:active,.govuk-skip-link:focus{color:#0b0c0c}@media print{.govuk-skip-link:active,.govuk-skip-link:focus{color:#000}}.govuk-skip-link{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-skip-link{font-family:sans-serif}}.govuk-skip-link{font-weight:400;font-size:.875rem;line-height:1.1428571429}@media(min-width:40.0625em){.govuk-skip-link{font-size:1rem;line-height:1.25}}@media print{.govuk-skip-link{font-size:14pt;line-height:1.2}}.govuk-skip-link{display:block;padding:10px 15px}@supports (padding: max(0px)){.govuk-skip-link{padding-right:max(15px,calc(15px + env(safe-area-inset-right)));padding-left:max(15px,calc(15px + env(safe-area-inset-left)))}}.govuk-skip-link:focus{outline:3px solid #ffdd00;outline-offset:0;background-color:#fd0}.govuk-skip-link-focused-element:focus{outline:none}.govuk-summary-list{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-summary-list{font-family:sans-serif}}.govuk-summary-list{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-summary-list{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-summary-list{font-size:14pt;line-height:1.15}}.govuk-summary-list{color:#0b0c0c}@media print{.govuk-summary-list{color:#000}}@media(min-width:40.0625em){.govuk-summary-list{display:table;width:100%;table-layout:fixed;border-collapse:collapse}}.govuk-summary-list{margin:0 0 20px}@media(min-width:40.0625em){.govuk-summary-list{margin-bottom:30px}}.govuk-summary-list__row{border-bottom:1px solid #b1b4b6}@media(max-width:40.0525em){.govuk-summary-list__row{margin-bottom:15px}}@media(min-width:40.0625em){.govuk-summary-list__row{display:table-row}}.govuk-summary-list__row:not(.govuk-summary-list__row--no-actions)>:last-child{padding-right:0}@media(min-width:40.0625em){.govuk-summary-list__row--no-actions:after{content:\"\";display:table-cell;width:20%}}.govuk-summary-list__key,.govuk-summary-list__value,.govuk-summary-list__actions{margin:0}@media(min-width:40.0625em){.govuk-summary-list__key,.govuk-summary-list__value,.govuk-summary-list__actions{display:table-cell;padding-top:10px;padding-right:20px;padding-bottom:10px}}.govuk-summary-list__actions{margin-bottom:15px}@media(min-width:40.0625em){.govuk-summary-list__actions{width:20%;text-align:right}}.govuk-summary-list__key,.govuk-summary-list__value{word-wrap:break-word;overflow-wrap:break-word}.govuk-summary-list__key{margin-bottom:5px;font-weight:700}@media(min-width:40.0625em){.govuk-summary-list__key{width:30%}}@media(max-width:40.0525em){.govuk-summary-list__value{margin-bottom:15px}}.govuk-summary-list__value>p{margin-bottom:10px}.govuk-summary-list__value>:last-child{margin-bottom:0}.govuk-summary-list__actions-list{width:100%;margin:0;padding:0}.govuk-summary-list__actions-list-item,.govuk-summary-card__action{display:inline-block}@media(max-width:40.0525em){.govuk-summary-list__actions-list-item,.govuk-summary-card__action{margin-right:10px;padding-right:10px;border-right:1px solid #b1b4b6}.govuk-summary-list__actions-list-item:last-child,.govuk-summary-card__action:last-child{margin-right:0;padding-right:0;border:0}}@media(min-width:40.0625em){.govuk-summary-list__actions-list-item,.govuk-summary-card__action{margin-left:10px;padding-left:10px}.govuk-summary-list__actions-list-item:not(:first-child),.govuk-summary-card__action:not(:first-child){border-left:1px solid #b1b4b6}.govuk-summary-list__actions-list-item:first-child,.govuk-summary-card__action:first-child{margin-left:0;padding-left:0;border:0}}.govuk-summary-list__actions-list-item .govuk-link:focus{isolation:isolate}.govuk-summary-list--no-border .govuk-summary-list__row{border:0}@media(min-width:40.0625em){.govuk-summary-list--no-border .govuk-summary-list__key,.govuk-summary-list--no-border .govuk-summary-list__value,.govuk-summary-list--no-border .govuk-summary-list__actions{padding-bottom:11px}}.govuk-summary-list__row--no-border{border:0}@media(min-width:40.0625em){.govuk-summary-list__row--no-border .govuk-summary-list__key,.govuk-summary-list__row--no-border .govuk-summary-list__value,.govuk-summary-list__row--no-border .govuk-summary-list__actions{padding-bottom:11px}}.govuk-summary-card{margin-bottom:20px}@media(min-width:40.0625em){.govuk-summary-card{margin-bottom:30px}}.govuk-summary-card{border:1px solid #b1b4b6}.govuk-summary-card__title-wrapper{padding:15px;border-bottom:1px solid transparent;background-color:#f3f2f1}@media(min-width:40.0625em){.govuk-summary-card__title-wrapper{display:flex;justify-content:space-between;flex-wrap:nowrap;padding:15px 20px}}.govuk-summary-card__title{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-summary-card__title{font-family:sans-serif}}.govuk-summary-card__title{font-weight:700;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-summary-card__title{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-summary-card__title{font-size:14pt;line-height:1.15}}.govuk-summary-card__title{color:#0b0c0c}@media print{.govuk-summary-card__title{color:#000}}.govuk-summary-card__title{margin:5px 20px 10px 0}@media(min-width:40.0625em){.govuk-summary-card__title{margin-bottom:5px}}.govuk-summary-card__actions{font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-summary-card__actions{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-summary-card__actions{font-size:14pt;line-height:1.15}}.govuk-summary-card__actions{font-weight:700;display:flex;flex-wrap:wrap;row-gap:10px;margin:5px 0;padding:0;list-style:none}@media(min-width:40.0625em){.govuk-summary-card__actions{justify-content:right;text-align:right}}.govuk-summary-card__action{display:inline}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.govuk-summary-card__action{margin-bottom:5px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.govuk-summary-card__action:last-child{margin-bottom:0}}.govuk-summary-card__content{padding:15px 15px 0}@media(min-width:40.0625em){.govuk-summary-card__content{padding:15px 20px}}.govuk-summary-card__content .govuk-summary-list{margin-bottom:0}.govuk-summary-card__content .govuk-summary-list__row:last-of-type{margin-bottom:0;border-bottom:none}.govuk-table{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-table{font-family:sans-serif}}.govuk-table{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-table{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-table{font-size:14pt;line-height:1.15}}.govuk-table{color:#0b0c0c}@media print{.govuk-table{color:#000}}.govuk-table{width:100%;margin-bottom:20px}@media(min-width:40.0625em){.govuk-table{margin-bottom:30px}}.govuk-table{border-spacing:0;border-collapse:collapse}.govuk-table__header{font-weight:700}.govuk-table__header,.govuk-table__cell{padding:10px 20px 10px 0;border-bottom:1px solid #b1b4b6;text-align:left;vertical-align:top}.govuk-table__cell--numeric{font-variant-numeric:tabular-nums}.govuk-table__header--numeric,.govuk-table__cell--numeric{text-align:right}.govuk-table__header:last-child,.govuk-table__cell:last-child{padding-right:0}.govuk-table__caption{font-weight:700;display:table-caption;text-align:left}.govuk-table__caption--xl,.govuk-table__caption--l,.govuk-table__caption--m{margin-bottom:15px}.govuk-table__caption--xl{font-size:2rem;line-height:1.09375}@media(min-width:40.0625em){.govuk-table__caption--xl{font-size:3rem;line-height:1.0416666667}}@media print{.govuk-table__caption--xl{font-size:32pt;line-height:1.15}}.govuk-table__caption--l{font-size:1.5rem;line-height:1.0416666667}@media(min-width:40.0625em){.govuk-table__caption--l{font-size:2.25rem;line-height:1.1111111111}}@media print{.govuk-table__caption--l{font-size:24pt;line-height:1.05}}.govuk-table__caption--m{font-size:1.125rem;line-height:1.1111111111}@media(min-width:40.0625em){.govuk-table__caption--m{font-size:1.5rem;line-height:1.25}}@media print{.govuk-table__caption--m{font-size:18pt;line-height:1.15}}.govuk-tabs{margin-top:5px;margin-bottom:20px}@media(min-width:40.0625em){.govuk-tabs{margin-bottom:30px}}.govuk-tabs{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-tabs{font-family:sans-serif}}.govuk-tabs{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-tabs{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-tabs{font-size:14pt;line-height:1.15}}.govuk-tabs__title{font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-tabs__title{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-tabs__title{font-size:14pt;line-height:1.15}}.govuk-tabs__title{font-weight:400;color:#0b0c0c}@media print{.govuk-tabs__title{color:#000}}.govuk-tabs__title{margin-bottom:10px}.govuk-tabs__list{margin:0 0 20px;padding:0;list-style:none}@media(min-width:40.0625em){.govuk-tabs__list{margin-bottom:30px}}.govuk-tabs__list-item{margin-left:25px}.govuk-tabs__list-item:before{color:#0b0c0c}@media print{.govuk-tabs__list-item:before{color:#000}}.govuk-tabs__list-item:before{content:\"\\2014\";margin-left:-25px;padding-right:5px}.govuk-tabs__tab{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-tabs__tab{font-family:sans-serif}}.govuk-tabs__tab{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-tabs__tab:hover{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-tabs__tab:focus{outline:3px solid transparent;color:#0b0c0c;background-color:#fd0;box-shadow:0 -2px #fd0,0 4px #0b0c0c;text-decoration:none}@supports not (text-wrap: balance){.govuk-tabs__tab:focus{-webkit-box-decoration-break:clone;box-decoration-break:clone}}.govuk-tabs__tab:link{color:#1d70b8}.govuk-tabs__tab:visited{color:#4c2c92}.govuk-tabs__tab:hover{color:#003078}.govuk-tabs__tab:active{color:#0b0c0c}.govuk-tabs__tab:focus{color:#0b0c0c}.govuk-tabs__tab{display:inline-block;margin-bottom:10px}.govuk-tabs__panel{margin-bottom:30px}@media(min-width:40.0625em){.govuk-tabs__panel{margin-bottom:50px}}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-tabs__list:after{content:\"\";display:block;clear:both}.govuk-frontend-supported .govuk-tabs__list{margin-bottom:0;border-bottom:1px solid #b1b4b6}.govuk-frontend-supported .govuk-tabs__title{display:none}.govuk-frontend-supported .govuk-tabs__list-item{position:relative;margin-right:5px;margin-bottom:0;margin-left:0;padding:10px 20px;float:left;background-color:#f3f2f1;text-align:center}.govuk-frontend-supported .govuk-tabs__list-item:before{content:none}.govuk-frontend-supported .govuk-tabs__list-item--selected{position:relative;margin-top:-5px;margin-bottom:-1px;padding:14px 19px 16px;border:1px solid #b1b4b6;border-bottom:0;background-color:#fff}.govuk-frontend-supported .govuk-tabs__list-item--selected .govuk-tabs__tab{text-decoration:none}.govuk-frontend-supported .govuk-tabs__tab:link,.govuk-frontend-supported .govuk-tabs__tab:visited{color:#0b0c0c}.govuk-frontend-supported .govuk-tabs__tab{margin-bottom:0}}@media print and (min-width:40.0625em){.govuk-frontend-supported .govuk-tabs__tab:link,.govuk-frontend-supported .govuk-tabs__tab:visited{color:#000}}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-tabs__tab:hover{color:#0b0c0cfc}.govuk-frontend-supported .govuk-tabs__tab:active,.govuk-frontend-supported .govuk-tabs__tab:focus{color:#0b0c0c}}@media print and (min-width:40.0625em){.govuk-frontend-supported .govuk-tabs__tab:active,.govuk-frontend-supported .govuk-tabs__tab:focus{color:#000}}@media(min-width:40.0625em){.govuk-frontend-supported .govuk-tabs__tab:after{content:\"\";position:absolute;inset:0}.govuk-frontend-supported .govuk-tabs__panel{margin-bottom:0;padding:30px 20px;border:1px solid #b1b4b6;border-top:0}.govuk-frontend-supported .govuk-tabs__panel>:last-child{margin-bottom:0}.govuk-frontend-supported .govuk-tabs__panel--hidden{display:none}}.govuk-task-list{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-task-list{font-family:sans-serif}}.govuk-task-list{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-task-list{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-task-list{font-size:14pt;line-height:1.15}}.govuk-task-list{margin-top:0;margin-bottom:20px}@media(min-width:40.0625em){.govuk-task-list{margin-bottom:30px}}.govuk-task-list{padding:0;list-style-type:none}.govuk-task-list__item{display:table;position:relative;width:100%;margin-bottom:0;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #b1b4b6}.govuk-task-list__item:first-child{border-top:1px solid #b1b4b6}.govuk-task-list__item--with-link:hover{background:#f3f2f1}.govuk-task-list__name-and-hint{display:table-cell;vertical-align:top;color:#0b0c0c}@media print{.govuk-task-list__name-and-hint{color:#000}}.govuk-task-list__status{display:table-cell;padding-left:10px;text-align:right;vertical-align:top;color:#0b0c0c}@media print{.govuk-task-list__status{color:#000}}.govuk-task-list__status--cannot-start-yet{color:#505a5f}.govuk-task-list__link:after{content:\"\";display:block;position:absolute;inset:0}.govuk-task-list__hint{margin-top:5px;color:#505a5f}.govuk-warning-text{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-warning-text{font-family:sans-serif}}.govuk-warning-text{font-weight:400;font-size:1rem;line-height:1.25}@media(min-width:40.0625em){.govuk-warning-text{font-size:1.1875rem;line-height:1.3157894737}}@media print{.govuk-warning-text{font-size:14pt;line-height:1.15}}.govuk-warning-text{margin-bottom:20px}@media(min-width:40.0625em){.govuk-warning-text{margin-bottom:30px}}.govuk-warning-text{font-weight:700;position:relative;padding:10px 0}.govuk-warning-text__icon{box-sizing:border-box;display:inline-block;position:absolute;left:0;min-width:35px;min-height:35px;margin-top:-7px}@media(min-width:40.0625em){.govuk-warning-text__icon{margin-top:-5px}}.govuk-warning-text__icon{border:3px solid #0b0c0c;border-radius:50%;color:#fff;background:#0b0c0c;font-size:30px;line-height:29px;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;forced-color-adjust:none}@media screen and (forced-colors:active){.govuk-warning-text__icon{border-color:windowText;color:windowText;background:transparent}}.govuk-warning-text__text{color:#0b0c0c}@media print{.govuk-warning-text__text{color:#000}}.govuk-warning-text__text{display:block;padding-left:45px;font-weight:inherit}.govuk-clearfix:after{content:\"\";display:block;clear:both}.govuk-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important;-webkit-user-select:none;-ms-user-select:none;user-select:none}.govuk-visually-hidden:before{content:\"\\a0\"}.govuk-visually-hidden:after{content:\"\\a0\"}.govuk-visually-hidden-focusable:not(:active):not(:focus):not(.\\:focus){position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important;-webkit-user-select:none;-ms-user-select:none;user-select:none}.govuk-\\!-display-inline{display:inline!important}.govuk-\\!-display-inline-block{display:inline-block!important}.govuk-\\!-display-block{display:block!important}.govuk-\\!-display-none{display:none!important}@media print{.govuk-\\!-display-none-print{display:none!important}}.govuk-\\!-margin-0{margin:0!important}.govuk-\\!-margin-top-0{margin-top:0!important}.govuk-\\!-margin-right-0{margin-right:0!important}.govuk-\\!-margin-bottom-0{margin-bottom:0!important}.govuk-\\!-margin-left-0{margin-left:0!important}.govuk-\\!-margin-1{margin:5px!important}.govuk-\\!-margin-top-1{margin-top:5px!important}.govuk-\\!-margin-right-1{margin-right:5px!important}.govuk-\\!-margin-bottom-1{margin-bottom:5px!important}.govuk-\\!-margin-left-1{margin-left:5px!important}.govuk-\\!-margin-2{margin:10px!important}.govuk-\\!-margin-top-2{margin-top:10px!important}.govuk-\\!-margin-right-2{margin-right:10px!important}.govuk-\\!-margin-bottom-2{margin-bottom:10px!important}.govuk-\\!-margin-left-2{margin-left:10px!important}.govuk-\\!-margin-3{margin:15px!important}.govuk-\\!-margin-top-3{margin-top:15px!important}.govuk-\\!-margin-right-3{margin-right:15px!important}.govuk-\\!-margin-bottom-3{margin-bottom:15px!important}.govuk-\\!-margin-left-3{margin-left:15px!important}.govuk-\\!-margin-4{margin:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-4{margin:20px!important}}.govuk-\\!-margin-top-4{margin-top:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-top-4{margin-top:20px!important}}.govuk-\\!-margin-right-4{margin-right:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-right-4{margin-right:20px!important}}.govuk-\\!-margin-bottom-4{margin-bottom:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-bottom-4{margin-bottom:20px!important}}.govuk-\\!-margin-left-4{margin-left:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-left-4{margin-left:20px!important}}.govuk-\\!-margin-5{margin:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-5{margin:25px!important}}.govuk-\\!-margin-top-5{margin-top:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-top-5{margin-top:25px!important}}.govuk-\\!-margin-right-5{margin-right:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-right-5{margin-right:25px!important}}.govuk-\\!-margin-bottom-5{margin-bottom:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-bottom-5{margin-bottom:25px!important}}.govuk-\\!-margin-left-5{margin-left:15px!important}@media(min-width:40.0625em){.govuk-\\!-margin-left-5{margin-left:25px!important}}.govuk-\\!-margin-6{margin:20px!important}@media(min-width:40.0625em){.govuk-\\!-margin-6{margin:30px!important}}.govuk-\\!-margin-top-6{margin-top:20px!important}@media(min-width:40.0625em){.govuk-\\!-margin-top-6{margin-top:30px!important}}.govuk-\\!-margin-right-6{margin-right:20px!important}@media(min-width:40.0625em){.govuk-\\!-margin-right-6{margin-right:30px!important}}.govuk-\\!-margin-bottom-6{margin-bottom:20px!important}@media(min-width:40.0625em){.govuk-\\!-margin-bottom-6{margin-bottom:30px!important}}.govuk-\\!-margin-left-6{margin-left:20px!important}@media(min-width:40.0625em){.govuk-\\!-margin-left-6{margin-left:30px!important}}.govuk-\\!-margin-7{margin:25px!important}@media(min-width:40.0625em){.govuk-\\!-margin-7{margin:40px!important}}.govuk-\\!-margin-top-7{margin-top:25px!important}@media(min-width:40.0625em){.govuk-\\!-margin-top-7{margin-top:40px!important}}.govuk-\\!-margin-right-7{margin-right:25px!important}@media(min-width:40.0625em){.govuk-\\!-margin-right-7{margin-right:40px!important}}.govuk-\\!-margin-bottom-7{margin-bottom:25px!important}@media(min-width:40.0625em){.govuk-\\!-margin-bottom-7{margin-bottom:40px!important}}.govuk-\\!-margin-left-7{margin-left:25px!important}@media(min-width:40.0625em){.govuk-\\!-margin-left-7{margin-left:40px!important}}.govuk-\\!-margin-8{margin:30px!important}@media(min-width:40.0625em){.govuk-\\!-margin-8{margin:50px!important}}.govuk-\\!-margin-top-8{margin-top:30px!important}@media(min-width:40.0625em){.govuk-\\!-margin-top-8{margin-top:50px!important}}.govuk-\\!-margin-right-8{margin-right:30px!important}@media(min-width:40.0625em){.govuk-\\!-margin-right-8{margin-right:50px!important}}.govuk-\\!-margin-bottom-8{margin-bottom:30px!important}@media(min-width:40.0625em){.govuk-\\!-margin-bottom-8{margin-bottom:50px!important}}.govuk-\\!-margin-left-8{margin-left:30px!important}@media(min-width:40.0625em){.govuk-\\!-margin-left-8{margin-left:50px!important}}.govuk-\\!-margin-9{margin:40px!important}@media(min-width:40.0625em){.govuk-\\!-margin-9{margin:60px!important}}.govuk-\\!-margin-top-9{margin-top:40px!important}@media(min-width:40.0625em){.govuk-\\!-margin-top-9{margin-top:60px!important}}.govuk-\\!-margin-right-9{margin-right:40px!important}@media(min-width:40.0625em){.govuk-\\!-margin-right-9{margin-right:60px!important}}.govuk-\\!-margin-bottom-9{margin-bottom:40px!important}@media(min-width:40.0625em){.govuk-\\!-margin-bottom-9{margin-bottom:60px!important}}.govuk-\\!-margin-left-9{margin-left:40px!important}@media(min-width:40.0625em){.govuk-\\!-margin-left-9{margin-left:60px!important}}.govuk-\\!-padding-0{padding:0!important}.govuk-\\!-padding-top-0{padding-top:0!important}.govuk-\\!-padding-right-0{padding-right:0!important}.govuk-\\!-padding-bottom-0{padding-bottom:0!important}.govuk-\\!-padding-left-0{padding-left:0!important}.govuk-\\!-padding-1{padding:5px!important}.govuk-\\!-padding-top-1{padding-top:5px!important}.govuk-\\!-padding-right-1{padding-right:5px!important}.govuk-\\!-padding-bottom-1{padding-bottom:5px!important}.govuk-\\!-padding-left-1{padding-left:5px!important}.govuk-\\!-padding-2{padding:10px!important}.govuk-\\!-padding-top-2{padding-top:10px!important}.govuk-\\!-padding-right-2{padding-right:10px!important}.govuk-\\!-padding-bottom-2{padding-bottom:10px!important}.govuk-\\!-padding-left-2{padding-left:10px!important}.govuk-\\!-padding-3{padding:15px!important}.govuk-\\!-padding-top-3{padding-top:15px!important}.govuk-\\!-padding-right-3{padding-right:15px!important}.govuk-\\!-padding-bottom-3{padding-bottom:15px!important}.govuk-\\!-padding-left-3{padding-left:15px!important}.govuk-\\!-padding-4{padding:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-4{padding:20px!important}}.govuk-\\!-padding-top-4{padding-top:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-top-4{padding-top:20px!important}}.govuk-\\!-padding-right-4{padding-right:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-right-4{padding-right:20px!important}}.govuk-\\!-padding-bottom-4{padding-bottom:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-bottom-4{padding-bottom:20px!important}}.govuk-\\!-padding-left-4{padding-left:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-left-4{padding-left:20px!important}}.govuk-\\!-padding-5{padding:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-5{padding:25px!important}}.govuk-\\!-padding-top-5{padding-top:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-top-5{padding-top:25px!important}}.govuk-\\!-padding-right-5{padding-right:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-right-5{padding-right:25px!important}}.govuk-\\!-padding-bottom-5{padding-bottom:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-bottom-5{padding-bottom:25px!important}}.govuk-\\!-padding-left-5{padding-left:15px!important}@media(min-width:40.0625em){.govuk-\\!-padding-left-5{padding-left:25px!important}}.govuk-\\!-padding-6{padding:20px!important}@media(min-width:40.0625em){.govuk-\\!-padding-6{padding:30px!important}}.govuk-\\!-padding-top-6{padding-top:20px!important}@media(min-width:40.0625em){.govuk-\\!-padding-top-6{padding-top:30px!important}}.govuk-\\!-padding-right-6{padding-right:20px!important}@media(min-width:40.0625em){.govuk-\\!-padding-right-6{padding-right:30px!important}}.govuk-\\!-padding-bottom-6{padding-bottom:20px!important}@media(min-width:40.0625em){.govuk-\\!-padding-bottom-6{padding-bottom:30px!important}}.govuk-\\!-padding-left-6{padding-left:20px!important}@media(min-width:40.0625em){.govuk-\\!-padding-left-6{padding-left:30px!important}}.govuk-\\!-padding-7{padding:25px!important}@media(min-width:40.0625em){.govuk-\\!-padding-7{padding:40px!important}}.govuk-\\!-padding-top-7{padding-top:25px!important}@media(min-width:40.0625em){.govuk-\\!-padding-top-7{padding-top:40px!important}}.govuk-\\!-padding-right-7{padding-right:25px!important}@media(min-width:40.0625em){.govuk-\\!-padding-right-7{padding-right:40px!important}}.govuk-\\!-padding-bottom-7{padding-bottom:25px!important}@media(min-width:40.0625em){.govuk-\\!-padding-bottom-7{padding-bottom:40px!important}}.govuk-\\!-padding-left-7{padding-left:25px!important}@media(min-width:40.0625em){.govuk-\\!-padding-left-7{padding-left:40px!important}}.govuk-\\!-padding-8{padding:30px!important}@media(min-width:40.0625em){.govuk-\\!-padding-8{padding:50px!important}}.govuk-\\!-padding-top-8{padding-top:30px!important}@media(min-width:40.0625em){.govuk-\\!-padding-top-8{padding-top:50px!important}}.govuk-\\!-padding-right-8{padding-right:30px!important}@media(min-width:40.0625em){.govuk-\\!-padding-right-8{padding-right:50px!important}}.govuk-\\!-padding-bottom-8{padding-bottom:30px!important}@media(min-width:40.0625em){.govuk-\\!-padding-bottom-8{padding-bottom:50px!important}}.govuk-\\!-padding-left-8{padding-left:30px!important}@media(min-width:40.0625em){.govuk-\\!-padding-left-8{padding-left:50px!important}}.govuk-\\!-padding-9{padding:40px!important}@media(min-width:40.0625em){.govuk-\\!-padding-9{padding:60px!important}}.govuk-\\!-padding-top-9{padding-top:40px!important}@media(min-width:40.0625em){.govuk-\\!-padding-top-9{padding-top:60px!important}}.govuk-\\!-padding-right-9{padding-right:40px!important}@media(min-width:40.0625em){.govuk-\\!-padding-right-9{padding-right:60px!important}}.govuk-\\!-padding-bottom-9{padding-bottom:40px!important}@media(min-width:40.0625em){.govuk-\\!-padding-bottom-9{padding-bottom:60px!important}}.govuk-\\!-padding-left-9{padding-left:40px!important}@media(min-width:40.0625em){.govuk-\\!-padding-left-9{padding-left:60px!important}}.govuk-\\!-static-margin-0{margin:0!important}.govuk-\\!-static-margin-top-0{margin-top:0!important}.govuk-\\!-static-margin-right-0{margin-right:0!important}.govuk-\\!-static-margin-bottom-0{margin-bottom:0!important}.govuk-\\!-static-margin-left-0{margin-left:0!important}.govuk-\\!-static-margin-1{margin:5px!important}.govuk-\\!-static-margin-top-1{margin-top:5px!important}.govuk-\\!-static-margin-right-1{margin-right:5px!important}.govuk-\\!-static-margin-bottom-1{margin-bottom:5px!important}.govuk-\\!-static-margin-left-1{margin-left:5px!important}.govuk-\\!-static-margin-2{margin:10px!important}.govuk-\\!-static-margin-top-2{margin-top:10px!important}.govuk-\\!-static-margin-right-2{margin-right:10px!important}.govuk-\\!-static-margin-bottom-2{margin-bottom:10px!important}.govuk-\\!-static-margin-left-2{margin-left:10px!important}.govuk-\\!-static-margin-3{margin:15px!important}.govuk-\\!-static-margin-top-3{margin-top:15px!important}.govuk-\\!-static-margin-right-3{margin-right:15px!important}.govuk-\\!-static-margin-bottom-3{margin-bottom:15px!important}.govuk-\\!-static-margin-left-3{margin-left:15px!important}.govuk-\\!-static-margin-4{margin:20px!important}.govuk-\\!-static-margin-top-4{margin-top:20px!important}.govuk-\\!-static-margin-right-4{margin-right:20px!important}.govuk-\\!-static-margin-bottom-4{margin-bottom:20px!important}.govuk-\\!-static-margin-left-4{margin-left:20px!important}.govuk-\\!-static-margin-5{margin:25px!important}.govuk-\\!-static-margin-top-5{margin-top:25px!important}.govuk-\\!-static-margin-right-5{margin-right:25px!important}.govuk-\\!-static-margin-bottom-5{margin-bottom:25px!important}.govuk-\\!-static-margin-left-5{margin-left:25px!important}.govuk-\\!-static-margin-6{margin:30px!important}.govuk-\\!-static-margin-top-6{margin-top:30px!important}.govuk-\\!-static-margin-right-6{margin-right:30px!important}.govuk-\\!-static-margin-bottom-6{margin-bottom:30px!important}.govuk-\\!-static-margin-left-6{margin-left:30px!important}.govuk-\\!-static-margin-7{margin:40px!important}.govuk-\\!-static-margin-top-7{margin-top:40px!important}.govuk-\\!-static-margin-right-7{margin-right:40px!important}.govuk-\\!-static-margin-bottom-7{margin-bottom:40px!important}.govuk-\\!-static-margin-left-7{margin-left:40px!important}.govuk-\\!-static-margin-8{margin:50px!important}.govuk-\\!-static-margin-top-8{margin-top:50px!important}.govuk-\\!-static-margin-right-8{margin-right:50px!important}.govuk-\\!-static-margin-bottom-8{margin-bottom:50px!important}.govuk-\\!-static-margin-left-8{margin-left:50px!important}.govuk-\\!-static-margin-9{margin:60px!important}.govuk-\\!-static-margin-top-9{margin-top:60px!important}.govuk-\\!-static-margin-right-9{margin-right:60px!important}.govuk-\\!-static-margin-bottom-9{margin-bottom:60px!important}.govuk-\\!-static-margin-left-9{margin-left:60px!important}.govuk-\\!-static-padding-0{padding:0!important}.govuk-\\!-static-padding-top-0{padding-top:0!important}.govuk-\\!-static-padding-right-0{padding-right:0!important}.govuk-\\!-static-padding-bottom-0{padding-bottom:0!important}.govuk-\\!-static-padding-left-0{padding-left:0!important}.govuk-\\!-static-padding-1{padding:5px!important}.govuk-\\!-static-padding-top-1{padding-top:5px!important}.govuk-\\!-static-padding-right-1{padding-right:5px!important}.govuk-\\!-static-padding-bottom-1{padding-bottom:5px!important}.govuk-\\!-static-padding-left-1{padding-left:5px!important}.govuk-\\!-static-padding-2{padding:10px!important}.govuk-\\!-static-padding-top-2{padding-top:10px!important}.govuk-\\!-static-padding-right-2{padding-right:10px!important}.govuk-\\!-static-padding-bottom-2{padding-bottom:10px!important}.govuk-\\!-static-padding-left-2{padding-left:10px!important}.govuk-\\!-static-padding-3{padding:15px!important}.govuk-\\!-static-padding-top-3{padding-top:15px!important}.govuk-\\!-static-padding-right-3{padding-right:15px!important}.govuk-\\!-static-padding-bottom-3{padding-bottom:15px!important}.govuk-\\!-static-padding-left-3{padding-left:15px!important}.govuk-\\!-static-padding-4{padding:20px!important}.govuk-\\!-static-padding-top-4{padding-top:20px!important}.govuk-\\!-static-padding-right-4{padding-right:20px!important}.govuk-\\!-static-padding-bottom-4{padding-bottom:20px!important}.govuk-\\!-static-padding-left-4{padding-left:20px!important}.govuk-\\!-static-padding-5{padding:25px!important}.govuk-\\!-static-padding-top-5{padding-top:25px!important}.govuk-\\!-static-padding-right-5{padding-right:25px!important}.govuk-\\!-static-padding-bottom-5{padding-bottom:25px!important}.govuk-\\!-static-padding-left-5{padding-left:25px!important}.govuk-\\!-static-padding-6{padding:30px!important}.govuk-\\!-static-padding-top-6{padding-top:30px!important}.govuk-\\!-static-padding-right-6{padding-right:30px!important}.govuk-\\!-static-padding-bottom-6{padding-bottom:30px!important}.govuk-\\!-static-padding-left-6{padding-left:30px!important}.govuk-\\!-static-padding-7{padding:40px!important}.govuk-\\!-static-padding-top-7{padding-top:40px!important}.govuk-\\!-static-padding-right-7{padding-right:40px!important}.govuk-\\!-static-padding-bottom-7{padding-bottom:40px!important}.govuk-\\!-static-padding-left-7{padding-left:40px!important}.govuk-\\!-static-padding-8{padding:50px!important}.govuk-\\!-static-padding-top-8{padding-top:50px!important}.govuk-\\!-static-padding-right-8{padding-right:50px!important}.govuk-\\!-static-padding-bottom-8{padding-bottom:50px!important}.govuk-\\!-static-padding-left-8{padding-left:50px!important}.govuk-\\!-static-padding-9{padding:60px!important}.govuk-\\!-static-padding-top-9{padding-top:60px!important}.govuk-\\!-static-padding-right-9{padding-right:60px!important}.govuk-\\!-static-padding-bottom-9{padding-bottom:60px!important}.govuk-\\!-static-padding-left-9{padding-left:60px!important}.govuk-\\!-text-align-left{text-align:left!important}.govuk-\\!-text-align-centre{text-align:center!important}.govuk-\\!-text-align-right{text-align:right!important}.govuk-\\!-font-size-80{font-size:3.3125rem!important;line-height:1.0377358491!important}@media(min-width:40.0625em){.govuk-\\!-font-size-80{font-size:5rem!important;line-height:1!important}}@media print{.govuk-\\!-font-size-80{font-size:53pt!important;line-height:1.1!important}}.govuk-\\!-font-size-48{font-size:2rem!important;line-height:1.09375!important}@media(min-width:40.0625em){.govuk-\\!-font-size-48{font-size:3rem!important;line-height:1.0416666667!important}}@media print{.govuk-\\!-font-size-48{font-size:32pt!important;line-height:1.15!important}}.govuk-\\!-font-size-36{font-size:1.5rem!important;line-height:1.0416666667!important}@media(min-width:40.0625em){.govuk-\\!-font-size-36{font-size:2.25rem!important;line-height:1.1111111111!important}}@media print{.govuk-\\!-font-size-36{font-size:24pt!important;line-height:1.05!important}}.govuk-\\!-font-size-27{font-size:1.125rem!important;line-height:1.1111111111!important}@media(min-width:40.0625em){.govuk-\\!-font-size-27{font-size:1.6875rem!important;line-height:1.1111111111!important}}@media print{.govuk-\\!-font-size-27{font-size:18pt!important;line-height:1.15!important}}.govuk-\\!-font-size-24{font-size:1.125rem!important;line-height:1.1111111111!important}@media(min-width:40.0625em){.govuk-\\!-font-size-24{font-size:1.5rem!important;line-height:1.25!important}}@media print{.govuk-\\!-font-size-24{font-size:18pt!important;line-height:1.15!important}}.govuk-\\!-font-size-19{font-size:1rem!important;line-height:1.25!important}@media(min-width:40.0625em){.govuk-\\!-font-size-19{font-size:1.1875rem!important;line-height:1.3157894737!important}}@media print{.govuk-\\!-font-size-19{font-size:14pt!important;line-height:1.15!important}}.govuk-\\!-font-size-16{font-size:.875rem!important;line-height:1.1428571429!important}@media(min-width:40.0625em){.govuk-\\!-font-size-16{font-size:1rem!important;line-height:1.25!important}}@media print{.govuk-\\!-font-size-16{font-size:14pt!important;line-height:1.2!important}}.govuk-\\!-font-size-14{font-size:.75rem!important;line-height:1.25!important}@media(min-width:40.0625em){.govuk-\\!-font-size-14{font-size:.875rem!important;line-height:1.4285714286!important}}@media print{.govuk-\\!-font-size-14{font-size:12pt!important;line-height:1.2!important}}.govuk-\\!-font-weight-regular{font-weight:400!important}.govuk-\\!-font-weight-bold{font-weight:700!important}.govuk-\\!-font-tabular-numbers{font-variant-numeric:tabular-nums!important}.govuk-\\!-text-break-word{word-wrap:break-word!important;overflow-wrap:break-word!important}.govuk-\\!-width-full,.govuk-\\!-width-three-quarters{width:100%!important}@media(min-width:40.0625em){.govuk-\\!-width-three-quarters{width:75%!important}}.govuk-\\!-width-two-thirds{width:100%!important}@media(min-width:40.0625em){.govuk-\\!-width-two-thirds{width:66.66%!important}}.govuk-\\!-width-one-half{width:100%!important}@media(min-width:40.0625em){.govuk-\\!-width-one-half{width:50%!important}}.govuk-\\!-width-one-third{width:100%!important}@media(min-width:40.0625em){.govuk-\\!-width-one-third{width:33.33%!important}}.govuk-\\!-width-one-quarter{width:100%!important}@media(min-width:40.0625em){.govuk-\\!-width-one-quarter{width:25%!important}}.govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.query-details-table .govuk-table__header{width:330px}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
24766
|
-
}], () => [{ type: SessionStorageService }, { type: i1$
|
|
24806
|
+
}], () => [{ type: SessionStorageService }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: AbstractAppConfig }, { type: CaseNotifier }], { query: [{
|
|
24767
24807
|
type: Input
|
|
24768
24808
|
}], caseId: [{
|
|
24769
24809
|
type: Input
|
|
@@ -25419,7 +25459,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
25419
25459
|
generateCaseQueriesCollectionData() {
|
|
25420
25460
|
return this.queryManagementService.generateCaseQueriesCollectionData(this.formGroup, this.queryCreateContext, this.queryItem, this.messageId);
|
|
25421
25461
|
}
|
|
25422
|
-
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRaiseQueryComponent)(i0.ɵɵdirectiveInject(QueryManagementService), i0.ɵɵdirectiveInject(i1$
|
|
25462
|
+
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRaiseQueryComponent)(i0.ɵɵdirectiveInject(QueryManagementService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
25423
25463
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm", serviceMessage: "serviceMessage", queryCreateContext: "queryCreateContext", eventData: "eventData", queryItem: "queryItem", validate: "validate", triggerSubmission: "triggerSubmission" }, outputs: { queryDataCreated: "queryDataCreated" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [3, "caseDetails"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "content"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200", "aria-describedby", "subject-error", 1, "govuk-input", 3, "input"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25424
25464
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
25425
25465
|
i0.ɵɵtext(3);
|
|
@@ -25449,7 +25489,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
25449
25489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
25450
25490
|
type: Component,
|
|
25451
25491
|
args: [{ selector: 'ccd-query-write-raise-query', standalone: false, template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <ccd-markdown\n [content]=\"serviceMessage | rpxTranslate\">\n </ccd-markdown>\n </strong>\n </div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n aria-describedby=\"subject-error\" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n aria-describedby=\"body-hint body-error\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
25452
|
-
}], () => [{ type: QueryManagementService }, { type: i1$
|
|
25492
|
+
}], () => [{ type: QueryManagementService }, { type: i1$2.ActivatedRoute }], { formGroup: [{
|
|
25453
25493
|
type: Input
|
|
25454
25494
|
}], submitted: [{
|
|
25455
25495
|
type: Input
|
|
@@ -25645,7 +25685,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
25645
25685
|
generateCaseQueriesCollectionData() {
|
|
25646
25686
|
return this.queryManagementService.generateCaseQueriesCollectionData(this.formGroup, this.queryCreateContext, this.queryItem, this.messageId);
|
|
25647
25687
|
}
|
|
25648
|
-
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$
|
|
25688
|
+
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(QueryManagementService)); };
|
|
25649
25689
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted", caseQueriesCollections: "caseQueriesCollections", showForm: "showForm", triggerSubmission: "triggerSubmission", eventData: "eventData" }, outputs: { queryDataCreated: "queryDataCreated", hasRespondedToQueryTask: "hasRespondedToQueryTask" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 14, vars: 11, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], [3, "hasResponded", "query", "queryResponseStatus"], ["class", "query-respond", 4, "ngIf"], [4, "ngIf"], [3, "caseDetails"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [3, "formGroup", 4, "ngIf"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25650
25690
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 0)(2, "div", 1);
|
|
25651
25691
|
i0.ɵɵtext(3);
|
|
@@ -25680,7 +25720,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
25680
25720
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
25681
25721
|
type: Component,
|
|
25682
25722
|
args: [{ selector: 'ccd-query-write-respond-to-query', standalone: false, template: "<div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Respond to a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-0\">{{ 'Query details' | rpxTranslate }}</h1>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <div>\n <ccd-query-details [query]=\"queryListData\"\n [queryResponseStatus]=\"queryResponseStatus\"\n (hasResponded)=\"hasResponded($event)\"></ccd-query-details>\n </div>\n</div>\n<div class=\"query-respond\" *ngIf=\"showForm\">\n <div *ngIf=\"!hasRespondedToQuery\">\n <h1 class=\"govuk-heading-m\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Respond to a query' : 'Ask a follow-up question' | rpxTranslate }}\n </h1>\n\n <div [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group body-textarea\"\n [class.govuk-form-group--error]=\"submitted && formGroup.get('body')?.hasError('required')\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query Body' | rpxTranslate }}\n </label>\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body')?.hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ queryCreateContext === queryCreateContextEnum.RESPOND ? raiseQueryErrorMessages.RESPOND_QUERY_BODY : raiseQueryErrorMessages.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\" class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body')?.hasError('required')\" id=\"body\"\n name=\"body\" rows=\"5\" aria-describedby=\"body-hint body-error\">\n </textarea>\n </div>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <ccd-close-query *ngIf=\"!hasRespondedToQuery\"\n [formGroup]=\"formGroup\">\n </ccd-close-query>\n</ng-container>", styles: [".query-respond{width:100%;max-width:720px}\n"] }]
|
|
25683
|
-
}], () => [{ type: CaseNotifier }, { type: i1$
|
|
25723
|
+
}], () => [{ type: CaseNotifier }, { type: i1$2.ActivatedRoute }, { type: QueryManagementService }], { queryItem: [{
|
|
25684
25724
|
type: Input
|
|
25685
25725
|
}], formGroup: [{
|
|
25686
25726
|
type: Input
|
|
@@ -25904,17 +25944,17 @@ class QueryConfirmationComponent {
|
|
|
25904
25944
|
this.isHmctsStaffRaisedQuery = parentItem?.isHmctsStaff ?? null;
|
|
25905
25945
|
}
|
|
25906
25946
|
}
|
|
25907
|
-
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$
|
|
25947
|
+
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
25908
25948
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText", eventResponseData: "eventResponseData" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-body"], [1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-heading-s"], ["id", "tasks-link", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25909
25949
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
25910
25950
|
} if (rf & 2) {
|
|
25911
25951
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
25912
|
-
} }, dependencies: [i5.NgIf, i1$
|
|
25952
|
+
} }, dependencies: [i5.NgIf, i1$2.RouterLink, MarkdownComponent, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
25913
25953
|
}
|
|
25914
25954
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
25915
25955
|
type: Component,
|
|
25916
25956
|
args: [{ selector: 'ccd-query-confirmation', standalone: false, template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n\n @if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.FOLLOWUP) {\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n } @else if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'Your query has been sent.' | rpxTranslate}}</div>\n } @else {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n }\n\n </div>\n <div class=\"govuk-body\">\n @if (isHmctsStaff.toLowerCase() !== 'yes') {\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n }\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}#Tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
|
|
25917
|
-
}], () => [{ type: i1$
|
|
25957
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: SessionStorageService }], { queryCreateContext: [{
|
|
25918
25958
|
type: Input
|
|
25919
25959
|
}], callbackConfirmationMessageText: [{
|
|
25920
25960
|
type: Input
|
|
@@ -26173,7 +26213,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
26173
26213
|
? query.children[query.children.length - 1]?.messageType
|
|
26174
26214
|
: query?.messageType;
|
|
26175
26215
|
}
|
|
26176
|
-
static ɵfac = function ReadQueryManagementFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadQueryManagementFieldComponent)(i0.ɵɵdirectiveInject(i1$
|
|
26216
|
+
static ɵfac = function ReadQueryManagementFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadQueryManagementFieldComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
26177
26217
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["singleQueryDetails", ""], ["sequentialQuery", ""], ["queryIsInReview", ""], [4, "ngIf", "ngIfElse"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "selectedQuery", "caseQueriesCollection"], [3, "backClicked", "query", "caseId"], [4, "ngIf"], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "qm-service-message", "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26178
26218
|
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 3)(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 3, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
26179
26219
|
} if (rf & 2) {
|
|
@@ -26184,7 +26224,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
26184
26224
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
26185
26225
|
type: Component,
|
|
26186
26226
|
args: [{ selector: 'ccd-read-query-management-field', standalone: false, template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser() && !isQueryClosed && !isJudiciaryUser()\">\n <ng-container *ngIf=\"(messageType && messageType === followUpQuery && isMultipleFollowUpEnabled) ||\n (messageType && messageType === respondToQuery) || (messageType && messageType === followUpQuery && query?.isHmctsStaff?.toLowerCase() === 'yes'); else sequentialQuery\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n <ng-template #sequentialQuery>\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-template>\n\n </ng-container>\n <ng-container *ngIf=\"isQueryClosed\">\n <div class=\"govuk-warning-text\">\n <span aria-hidden=\"true\" class=\"govuk-warning-text__icon\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <p class=\"qm-service-message govuk-!-font-weight-bold\">{{ 'This query has been closed by HMCTS staff.' | rpxTranslate }}</p>\n </strong>\n </div>\n </ng-container>\n</ng-template>\n" }]
|
|
26187
|
-
}], () => [{ type: i1$
|
|
26227
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
26188
26228
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 19 }); })();
|
|
26189
26229
|
|
|
26190
26230
|
const SUPPORTED_RICH_TEXT_TAGS = new Set([
|
|
@@ -30827,7 +30867,7 @@ class CaseFileViewFolderComponent {
|
|
|
30827
30867
|
a.click();
|
|
30828
30868
|
a.remove();
|
|
30829
30869
|
}
|
|
30830
|
-
static ɵfac = function CaseFileViewFolderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$
|
|
30870
|
+
static ɵfac = function CaseFileViewFolderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog)); };
|
|
30831
30871
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, standalone: false, decls: 12, vars: 3, consts: [["role", "search", 1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["for", "document-search", 1, "govuk-visually-hidden"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], ["id", "document-folders-header-title", "aria-hidden", "true", 1, "document-folders-header__title"], ["role", "toolbar", "aria-label", "Document list actions", "aria-labelledby", "document-folders-header-title", 1, "document-folders-header__flex"], [3, "expandAll", "collapseAll"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], ["role", "tree", "aria-label", "Case documents", 3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], ["type", "button", 1, "node", "case-file__node", 3, "click"], ["disabled", "", "aria-hidden", "true", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", "aria-hidden", "true", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-upload-timestamp"], [1, "node__document-options", "case-file__action"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction", "allowMoving"], [1, "document-tree-container__node", "document-tree-container__folder"], ["type", "button", "cdkTreeNodeToggle", "", 1, "node"], ["aria-hidden", "true", 1, "node__icon"], ["alt", "Folder icon", "aria-hidden", "true", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["role", "group"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
30832
30872
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "label", 2);
|
|
30833
30873
|
i0.ɵɵtext(3, " Search by document name ");
|
|
@@ -30856,7 +30896,7 @@ class CaseFileViewFolderComponent {
|
|
|
30856
30896
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
30857
30897
|
type: Component,
|
|
30858
30898
|
args: [{ selector: 'ccd-case-file-view-folder', standalone: false, template: "<div class=\"document-filter-container\" role=\"search\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <label\n class=\"govuk-visually-hidden\"\n for=\"document-search\">\n Search by document name\n </label>\n <input\n class=\"form-control document-search\"\n type=\"search\"\n id=\"document-search\"\n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"/>\n </div>\n</div>\n\n<div class=\"document-folders-header\">\n <div class=\"document-folders-header__title\" id=\"document-folders-header-title\" aria-hidden=\"true\">\n Documents ({{ documentCount }})\n </div>\n <div\n class=\"document-folders-header__flex\"\n role=\"toolbar\"\n aria-label=\"Document list actions\"\n aria-labelledby=\"document-folders-header-title\">\n <ccd-case-file-view-folder-toggle\n (expandAll)=\"expandAll($event)\"\n (collapseAll)=\"collapseAll($event)\">\n </ccd-case-file-view-folder-toggle>\n <ccd-case-file-view-folder-sort\n (sortAscending)=\"sortDataSourceAscending($event)\"\n (sortDescending)=\"sortDataSourceDescending($event)\">\n </ccd-case-file-view-folder-sort>\n </div>\n</div>\n\n<div class=\"document-tree-container\" *ngIf=\"documentTreeData\">\n <div *ngIf=\"!nestedDataSource || nestedDataSource.length === 0\">\n No results found\n </div>\n <div>\n <cdk-tree\n [dataSource]=\"nestedDataSource\"\n [treeControl]=\"nestedTreeControl\"\n role=\"tree\"\n aria-label=\"Case documents\">\n <!-- document -->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__node--document\" *cdkTreeNodeDef=\"let node\">\n <button\n type=\"button\"\n class=\"node case-file__node\"\n [attr.aria-label]=\"node.name\"\n (click)=\"selectedNodeItem = node; clickedDocument.emit(node)\"\n [class.node--selected]=\"selectedNodeItem?.name === node.name\">\n <div class=\"node__icon\" disabled aria-hidden=\"true\">\n <img src=\"/assets/img/case-file-view/case-file-view-document.svg\"\n class=\"node__iconImg\"\n alt=\"Document icon\"\n aria-hidden=\"true\"\n />\n </div>\n <span class=\"node__name node-name-document\" [attr.title]=\"node.name\">\n {{ node.name }}\n <br />\n <span class=\"node__document-upload-timestamp\">{{\n node.upload_timestamp | ccdDate: \"local\":\"dd MMM yyyy HH:mm\"\n }}</span>\n </span>\n </button>\n <div class=\"node__document-options case-file__action\">\n <ccd-case-file-view-folder-document-actions\n (changeFolderAction)=\"triggerDocumentAction('changeFolder', node)\"\n (openInANewTabAction)=\"triggerDocumentAction('openInANewTab', node)\"\n (downloadAction)=\"triggerDocumentAction('download', node)\"\n (printAction)=\"triggerDocumentAction('print', node)\"\n [allowMoving]=\"allowMoving\"\n >\n </ccd-case-file-view-folder-document-actions>\n </div>\n </cdk-nested-tree-node>\n <!-- folder-->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__folder\" *cdkTreeNodeDef=\"let node; when: nestedChildren\">\n <button\n type=\"button\"\n class=\"node\"\n cdkTreeNodeToggle\n [attr.aria-expanded]=\"nestedTreeControl.isExpanded(node)\"\n [attr.aria-label]=\"node.name + ' folder, ' + node.childDocumentCount + ' documents'\">\n <div class=\"node__icon\" aria-hidden=\"true\">\n <img class=\"node__iconImg\"\n [src]=\"nestedTreeControl.isExpanded(node)\n ? '/assets/images/folder-open.png'\n : '/assets/images/folder.png'\n \"\n alt=\"Folder icon\"\n aria-hidden=\"true\" />\n <span class=\"node__count\">{{ node.childDocumentCount }}</span>\n </div>\n <span class=\"node__name node__name--folder\">{{ node.name }}</span>\n </button>\n <div\n role=\"group\"\n [class.document-tree-invisible]=\"!nestedTreeControl.isExpanded(node)\">\n <ng-container cdkTreeNodeOutlet></ng-container>\n </div>\n </cdk-nested-tree-node>\n </cdk-tree>\n </div>\n</div>\n", styles: [":host{display:flex;height:100%;flex-direction:column}:host .document-tree-container{flex:1 0}.document-filter-container{border-bottom:2px solid #C9C9C9}.document-filter-container .document-filter{padding:10px}.document-filter-container .document-filter .document-search{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container .documents-title{height:30%;margin-left:8px;font-weight:700}.document-folders-header__flex{display:flex;flex-direction:row}.document-tree-container{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node{display:block}.document-tree-container__node .document-tree-container__node{padding-left:40px}.document-tree-container .document-tree-invisible{display:none}.document-tree-container::-webkit-scrollbar{width:7px}.document-tree-container::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container::-webkit-scrollbar-button{display:none}.document-tree-container::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title{font-weight:700}.node{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected{background:#fff2cc}.node__icon{position:relative;display:inline-block}.node__count{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg{display:block;height:30px;width:30px}.node__name{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options{margin-left:auto;margin-right:0}.node__document-upload-timestamp{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node{width:80%;float:left}.node__document-options.case-file__action{width:15%;float:left;box-sizing:border-box;padding:12px}\n"] }]
|
|
30859
|
-
}], () => [{ type: WindowService }, { type: i1$
|
|
30899
|
+
}], () => [{ type: WindowService }, { type: i1$2.Router }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }], { categoriesAndDocuments: [{
|
|
30860
30900
|
type: Input
|
|
30861
30901
|
}], allowMoving: [{
|
|
30862
30902
|
type: Input
|
|
@@ -35110,90 +35150,90 @@ class DocumentUrlPipe {
|
|
|
35110
35150
|
class EventLogDetailsComponent {
|
|
35111
35151
|
event;
|
|
35112
35152
|
static ɵfac = function EventLogDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventLogDetailsComponent)(); };
|
|
35113
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogDetailsComponent, selectors: [["ccd-event-log-details"]], inputs: { event: "event" }, standalone: false, decls:
|
|
35114
|
-
i0.ɵɵelementStart(0, "
|
|
35115
|
-
i0.ɵɵtext(
|
|
35116
|
-
i0.ɵɵpipe(
|
|
35117
|
-
i0.ɵɵelementEnd();
|
|
35118
|
-
i0.ɵɵelementStart(3, "dl", 1)(4, "div", 2)(5, "dt", 3)(6, "span", 4);
|
|
35119
|
-
i0.ɵɵtext(7);
|
|
35120
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
35153
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogDetailsComponent, selectors: [["ccd-event-log-details"]], inputs: { event: "event" }, standalone: false, decls: 59, vars: 39, consts: [["tabindex", "0", 1, "EventLogDetails"], [1, "heading-h2"], ["tabindex", "0", "aria-live", "polite"], [1, "text-16"], [1, "tooltip", "text-16"]], template: function EventLogDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35154
|
+
i0.ɵɵelementStart(0, "table", 0)(1, "caption")(2, "h2", 1);
|
|
35155
|
+
i0.ɵɵtext(3);
|
|
35156
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
35121
35157
|
i0.ɵɵelementEnd()();
|
|
35122
|
-
i0.ɵɵelementStart(
|
|
35123
|
-
i0.ɵɵtext(
|
|
35124
|
-
i0.ɵɵpipe(
|
|
35158
|
+
i0.ɵɵelementStart(5, "tbody", 2)(6, "tr")(7, "th")(8, "span", 3);
|
|
35159
|
+
i0.ɵɵtext(9);
|
|
35160
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
35161
|
+
i0.ɵɵelementEnd()();
|
|
35162
|
+
i0.ɵɵelementStart(11, "td")(12, "div", 4);
|
|
35163
|
+
i0.ɵɵtext(13);
|
|
35164
|
+
i0.ɵɵpipe(14, "ccdDate");
|
|
35125
35165
|
i0.ɵɵelementEnd()()();
|
|
35126
|
-
i0.ɵɵelementStart(
|
|
35127
|
-
i0.ɵɵtext(
|
|
35128
|
-
i0.ɵɵpipe(
|
|
35166
|
+
i0.ɵɵelementStart(15, "tr")(16, "th")(17, "span", 3);
|
|
35167
|
+
i0.ɵɵtext(18);
|
|
35168
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
35129
35169
|
i0.ɵɵelementEnd()();
|
|
35130
|
-
i0.ɵɵelementStart(
|
|
35131
|
-
i0.ɵɵtext(
|
|
35132
|
-
i0.ɵɵpipe(
|
|
35133
|
-
i0.ɵɵpipe(
|
|
35170
|
+
i0.ɵɵelementStart(20, "td")(21, "span", 3);
|
|
35171
|
+
i0.ɵɵtext(22);
|
|
35172
|
+
i0.ɵɵpipe(23, "titlecase");
|
|
35173
|
+
i0.ɵɵpipe(24, "uppercase");
|
|
35134
35174
|
i0.ɵɵelementEnd()()();
|
|
35135
|
-
i0.ɵɵelementStart(
|
|
35136
|
-
i0.ɵɵtext(
|
|
35137
|
-
i0.ɵɵpipe(
|
|
35175
|
+
i0.ɵɵelementStart(25, "tr")(26, "th")(27, "span", 3);
|
|
35176
|
+
i0.ɵɵtext(28);
|
|
35177
|
+
i0.ɵɵpipe(29, "rpxTranslate");
|
|
35138
35178
|
i0.ɵɵelementEnd()();
|
|
35139
|
-
i0.ɵɵelementStart(
|
|
35140
|
-
i0.ɵɵtext(
|
|
35179
|
+
i0.ɵɵelementStart(30, "td")(31, "span", 3);
|
|
35180
|
+
i0.ɵɵtext(32);
|
|
35141
35181
|
i0.ɵɵelementEnd()()();
|
|
35142
|
-
i0.ɵɵelementStart(
|
|
35143
|
-
i0.ɵɵtext(
|
|
35144
|
-
i0.ɵɵpipe(
|
|
35182
|
+
i0.ɵɵelementStart(33, "tr")(34, "th")(35, "span", 3);
|
|
35183
|
+
i0.ɵɵtext(36);
|
|
35184
|
+
i0.ɵɵpipe(37, "rpxTranslate");
|
|
35145
35185
|
i0.ɵɵelementEnd()();
|
|
35146
|
-
i0.ɵɵelementStart(
|
|
35147
|
-
i0.ɵɵtext(
|
|
35186
|
+
i0.ɵɵelementStart(38, "td")(39, "span", 3);
|
|
35187
|
+
i0.ɵɵtext(40);
|
|
35148
35188
|
i0.ɵɵelementEnd()()();
|
|
35149
|
-
i0.ɵɵelementStart(
|
|
35150
|
-
i0.ɵɵtext(
|
|
35151
|
-
i0.ɵɵpipe(
|
|
35189
|
+
i0.ɵɵelementStart(41, "tr")(42, "th")(43, "span", 3);
|
|
35190
|
+
i0.ɵɵtext(44);
|
|
35191
|
+
i0.ɵɵpipe(45, "rpxTranslate");
|
|
35152
35192
|
i0.ɵɵelementEnd()();
|
|
35153
|
-
i0.ɵɵelementStart(
|
|
35154
|
-
i0.ɵɵtext(
|
|
35155
|
-
i0.ɵɵpipe(
|
|
35193
|
+
i0.ɵɵelementStart(46, "td")(47, "span", 3);
|
|
35194
|
+
i0.ɵɵtext(48);
|
|
35195
|
+
i0.ɵɵpipe(49, "ccdDash");
|
|
35156
35196
|
i0.ɵɵelementEnd()()();
|
|
35157
|
-
i0.ɵɵelementStart(
|
|
35158
|
-
i0.ɵɵtext(
|
|
35159
|
-
i0.ɵɵpipe(
|
|
35197
|
+
i0.ɵɵelementStart(50, "tr")(51, "th")(52, "span", 3);
|
|
35198
|
+
i0.ɵɵtext(53);
|
|
35199
|
+
i0.ɵɵpipe(54, "rpxTranslate");
|
|
35160
35200
|
i0.ɵɵelementEnd()();
|
|
35161
|
-
i0.ɵɵelementStart(
|
|
35162
|
-
i0.ɵɵtext(
|
|
35163
|
-
i0.ɵɵpipe(
|
|
35164
|
-
i0.ɵɵelementEnd()()()();
|
|
35201
|
+
i0.ɵɵelementStart(55, "td")(56, "span", 3);
|
|
35202
|
+
i0.ɵɵtext(57);
|
|
35203
|
+
i0.ɵɵpipe(58, "ccdDash");
|
|
35204
|
+
i0.ɵɵelementEnd()()()()();
|
|
35165
35205
|
} if (rf & 2) {
|
|
35166
|
-
i0.ɵɵadvance();
|
|
35167
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35206
|
+
i0.ɵɵadvance(3);
|
|
35207
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 14, "Details"));
|
|
35168
35208
|
i0.ɵɵadvance(6);
|
|
35169
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35209
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 16, "Date"));
|
|
35170
35210
|
i0.ɵɵadvance(4);
|
|
35171
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(
|
|
35211
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(14, 18, ctx.event.timestamp, "local"), " ");
|
|
35172
35212
|
i0.ɵɵadvance(5);
|
|
35173
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35213
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 21, "Author"));
|
|
35174
35214
|
i0.ɵɵadvance(4);
|
|
35175
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(
|
|
35215
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(23, 23, ctx.event.user_first_name), " ", i0.ɵɵpipeBind1(24, 25, ctx.event.user_last_name));
|
|
35176
35216
|
i0.ɵɵadvance(6);
|
|
35177
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35217
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 27, "End state"));
|
|
35178
35218
|
i0.ɵɵadvance(4);
|
|
35179
35219
|
i0.ɵɵtextInterpolate(ctx.event.state_name);
|
|
35180
35220
|
i0.ɵɵadvance(4);
|
|
35181
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35221
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 29, "Event"));
|
|
35182
35222
|
i0.ɵɵadvance(4);
|
|
35183
35223
|
i0.ɵɵtextInterpolate(ctx.event.event_name);
|
|
35184
35224
|
i0.ɵɵadvance(4);
|
|
35185
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35225
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 31, "Summary"));
|
|
35186
35226
|
i0.ɵɵadvance(4);
|
|
35187
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35227
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(49, 33, ctx.event.summary));
|
|
35188
35228
|
i0.ɵɵadvance(5);
|
|
35189
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35229
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(54, 35, "Comment"));
|
|
35190
35230
|
i0.ɵɵadvance(4);
|
|
35191
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35192
|
-
} }, dependencies: [i5.UpperCasePipe, i5.TitleCasePipe, DatePipe, DashPipe, i1.RpxTranslatePipe], styles: [".EventLogDetails[_ngcontent-%COMP%] .
|
|
35231
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(58, 37, ctx.event.comment));
|
|
35232
|
+
} }, dependencies: [i5.UpperCasePipe, i5.TitleCasePipe, DatePipe, DashPipe, i1.RpxTranslatePipe], styles: [".EventLogDetails[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .EventLogDetails[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:none}"] });
|
|
35193
35233
|
}
|
|
35194
35234
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventLogDetailsComponent, [{
|
|
35195
35235
|
type: Component,
|
|
35196
|
-
args: [{ selector: 'ccd-event-log-details', standalone: false, template: "<h2 class=\"heading-h2\">{{'Details' | rpxTranslate}}</h2>\n<
|
|
35236
|
+
args: [{ selector: 'ccd-event-log-details', standalone: false, template: "<table tabindex=\"0\" class=\"EventLogDetails\">\n <caption><h2 class=\"heading-h2\">{{'Details' | rpxTranslate}}</h2></caption>\n <tbody tabindex=\"0\" aria-live=\"polite\">\n <tr>\n <th><span class=\"text-16\">{{'Date' | rpxTranslate}}</span></th>\n <td>\n <div class=\"tooltip text-16\">{{event.timestamp | ccdDate : 'local'}}\n </div>\n </td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Author' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.user_first_name | titlecase}} {{event.user_last_name | uppercase}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'End state' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.state_name}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Event' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.event_name}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Summary' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.summary | ccdDash}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Comment' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.comment | ccdDash}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: [".EventLogDetails th,.EventLogDetails td{border-bottom:none}\n"] }]
|
|
35197
35237
|
}], null, { event: [{
|
|
35198
35238
|
type: Input
|
|
35199
35239
|
}] }); })();
|
|
@@ -35440,7 +35480,7 @@ class EventLogTableComponent {
|
|
|
35440
35480
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 11, "Author"));
|
|
35441
35481
|
i0.ɵɵadvance(3);
|
|
35442
35482
|
i0.ɵɵproperty("ngForOf", ctx.events);
|
|
35443
|
-
} }, dependencies: [i5.NgClass, i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$
|
|
35483
|
+
} }, dependencies: [i5.NgClass, i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$2.RouterLink, i5.UpperCasePipe, i5.TitleCasePipe, DatePipe, i1.RpxTranslatePipe], styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}#case-timeline[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:#005ea5}#case-timeline[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#2b8cc4}#case-timeline[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#4c2c92}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:10px}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr.EventLogTable-Selected[_ngcontent-%COMP%]{border-left:8px solid #005ea5;background-color:#f8f8f8}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr.EventLogTable-Selected[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:6px}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:not(.EventLogTable-Selected):hover{border-left:8px solid #2b8cc4;background-color:#f8f8f8;cursor:pointer;cursor:hand}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:not(.EventLogTable-Selected):hover td[_ngcontent-%COMP%]:first-child{padding-left:6px}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] .event-link[_ngcontent-%COMP%]{float:left;padding-right:8px}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] .doc-img[_ngcontent-%COMP%]{width:16px;float:left}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] .doc-tooltip[_ngcontent-%COMP%]{left:35%;bottom:7px}.EventLogTable[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] .doc-tooltip[_ngcontent-%COMP%]:after{border-color:transparent}"] });
|
|
35444
35484
|
}
|
|
35445
35485
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventLogTableComponent, [{
|
|
35446
35486
|
type: Component,
|
|
@@ -35537,7 +35577,7 @@ class RouterLinkComponent {
|
|
|
35537
35577
|
i0.ɵɵelementEnd();
|
|
35538
35578
|
} if (rf & 2) {
|
|
35539
35579
|
i0.ɵɵproperty("routerLink", ctx.link);
|
|
35540
|
-
} }, dependencies: [i1$
|
|
35580
|
+
} }, dependencies: [i1$2.RouterLink], encapsulation: 2 });
|
|
35541
35581
|
}
|
|
35542
35582
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterLinkComponent, [{
|
|
35543
35583
|
type: Component,
|
|
@@ -37203,7 +37243,7 @@ i0.ɵɵsetComponentScope(LinkCasesComponent, function () { return [i5.NgClass, i
|
|
|
37203
37243
|
i0.ɵɵsetComponentScope(CheckYourAnswersComponent, function () { return [i5.NgForOf, i5.NgIf]; }, function () { return [CaseReferencePipe, LinkCasesReasonValuePipe]; });
|
|
37204
37244
|
i0.ɵɵsetComponentScope(
|
|
37205
37245
|
// Components for Query Management
|
|
37206
|
-
ReadQueryManagementFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i1$
|
|
37246
|
+
ReadQueryManagementFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i1$2.RouterLink, QueryDetailsComponent,
|
|
37207
37247
|
QueryListComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
37208
37248
|
i0.ɵɵsetComponentScope(QueryDetailsComponent, function () { return [i5.NgForOf, i5.NgIf, QueryAttachmentsReadComponent]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe]; });
|
|
37209
37249
|
i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, function () { return [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, QueryDetailsComponent,
|
|
@@ -37834,7 +37874,7 @@ class CaseEditSubmitComponent {
|
|
|
37834
37874
|
resolvePlaceholders(fields, stringToResolve) {
|
|
37835
37875
|
return this.placeholderService.resolvePlaceholders(fields, stringToResolve);
|
|
37836
37876
|
}
|
|
37837
|
-
static ɵfac = function CaseEditSubmitComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$
|
|
37877
|
+
static ɵfac = function CaseEditSubmitComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(FormValidatorsService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(PlaceholderService)); };
|
|
37838
37878
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], standalone: false, decls: 25, vars: 24, consts: [["titleBlock", ""], ["idBlock", ""], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "#", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-label", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content", "text-16"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "#", 3, "click", 4, "ngIf"], ["aria-label", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group", 3, "ngClass"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], [1, "error-message"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37839
37879
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
37840
37880
|
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
@@ -37897,7 +37937,7 @@ class CaseEditSubmitComponent {
|
|
|
37897
37937
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
37898
37938
|
type: Component,
|
|
37899
37939
|
args: [{ selector: 'ccd-case-edit-submit', standalone: false, template: "<div>\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data'] | rpxTranslate\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-label=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content text-16\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id); $event.preventDefault()\"\n href=\"#\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-label=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!summary && !summary.valid && (summary.dirty || summary.touched)}\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <span class=\"error-message\" *ngIf=\"summary?.errors && (summary.dirty || summary.touched)\">\n {{summary.errors | ccdFirstError: eventSummaryLabel | rpxTranslate}}\n </span>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\"\n [ngClass]=\"{'govuk-input--error': summary?.errors && (summary.dirty || summary.touched)}\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!description && !description.valid && (description.dirty || description.touched)}\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <span class=\"error-message\" *ngIf=\"description?.errors && (description.dirty || description.touched)\">\n {{description.errors | ccdFirstError: eventDescriptionLabel | rpxTranslate}}\n </span>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n [ngClass]=\"{'govuk-input--error': description?.errors && (description.dirty || description.touched)}\" maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n </div>\n <ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n </ccd-case-event-completion>\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel(); $event.preventDefault()\" href=\"#\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}.refresh-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal .button{margin-top:12px}\n"] }]
|
|
37900
|
-
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$
|
|
37940
|
+
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$2.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: MultipageComponentStateService }, { type: FormValidatorsService }, { type: CaseFlagStateService }, { type: LinkedCasesService }, { type: PlaceholderService }], null); })();
|
|
37901
37941
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditSubmitComponent, { className: "CaseEditSubmitComponent", filePath: "lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts", lineNumber: 32 }); })();
|
|
37902
37942
|
|
|
37903
37943
|
function CaseProgressComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -38109,6 +38149,7 @@ class CaseEditorModule {
|
|
|
38109
38149
|
EventTriggerService,
|
|
38110
38150
|
ProfileService,
|
|
38111
38151
|
ProfileNotifier,
|
|
38152
|
+
ProfileResolver,
|
|
38112
38153
|
AddressesService,
|
|
38113
38154
|
DocumentManagementService,
|
|
38114
38155
|
RouterHelperService,
|
|
@@ -38193,6 +38234,7 @@ class CaseEditorModule {
|
|
|
38193
38234
|
EventTriggerService,
|
|
38194
38235
|
ProfileService,
|
|
38195
38236
|
ProfileNotifier,
|
|
38237
|
+
ProfileResolver,
|
|
38196
38238
|
AddressesService,
|
|
38197
38239
|
DocumentManagementService,
|
|
38198
38240
|
RouterHelperService,
|
|
@@ -38264,6 +38306,7 @@ const editorRouting = [
|
|
|
38264
38306
|
path: ':page',
|
|
38265
38307
|
resolve: {
|
|
38266
38308
|
caseEditWizardGuard: CaseEditWizardGuard,
|
|
38309
|
+
profile: ProfileResolver,
|
|
38267
38310
|
},
|
|
38268
38311
|
canDeactivate: [FileUploadProgressGuard],
|
|
38269
38312
|
component: CaseEditPageComponent,
|
|
@@ -38924,7 +38967,7 @@ class CaseListComponent {
|
|
|
38924
38967
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$d, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
38925
38968
|
i0.ɵɵadvance(2);
|
|
38926
38969
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
38927
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$
|
|
38970
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$2.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$1.PaginatePipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
38928
38971
|
}
|
|
38929
38972
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
38930
38973
|
type: Component,
|
|
@@ -39448,7 +39491,7 @@ class WorkbasketFiltersComponent {
|
|
|
39448
39491
|
this.caseFields = this.workbasketInputs.map(item => FieldsUtils.convertToCaseField(item.field));
|
|
39449
39492
|
}
|
|
39450
39493
|
}
|
|
39451
|
-
static ɵfac = function WorkbasketFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersComponent)(i0.ɵɵdirectiveInject(i1$
|
|
39494
|
+
static ɵfac = function WorkbasketFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(WorkbasketInputFilterService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
39452
39495
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, standalone: false, decls: 45, vars: 55, consts: [["id", "filters", 1, "global-display"], [1, "form-group", "flex"], [1, "heading-h2"], ["type", "button", 1, "button", "workbasket-filters-apply", 3, "click", "disabled", "title"], ["type", "button", 1, "button", "button-secondary", 3, "click", "title"], [1, "form-group"], ["for", "wb-jurisdiction", 1, "form-label"], ["id", "wb-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["for", "wb-case-type", 1, "form-label"], ["id", "wb-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel", "disabled"], ["for", "wb-case-state", 1, "form-label"], ["id", "wb-case-state", "name", "state", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "ngModel", "disabled"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", 1, "button", 3, "click", "title"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "keyup.enter", "caseField", "formGroup", "isExpanded", "isInSearchBlock"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39453
39496
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "h2", 2);
|
|
39454
39497
|
i0.ɵɵtext(3);
|
|
@@ -39560,7 +39603,7 @@ class WorkbasketFiltersComponent {
|
|
|
39560
39603
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39561
39604
|
type: Component,
|
|
39562
39605
|
args: [{ selector: 'ccd-workbasket-filters', standalone: false, template: "<form id=\"filters\" class=\"global-display\">\n <div class=\"form-group flex\">\n <h2 class=\"heading-h2\">{{'Filters' | rpxTranslate }}</h2>\n <button type=\"button\" class=\"button workbasket-filters-apply\" (click)=\"apply(true)\" [disabled]=\"isApplyButtonDisabled()\"\n [title]=\"'Apply filter' | rpxTranslate\" [attr.aria-label]=\"'Apply filter' | rpxTranslate\">\n {{'Apply' | rpxTranslate}}\n </button> \n <button type=\"button\" (click)=\"reset()\" class=\"button button-secondary\"\n [title]=\"'Reset filter' | rpxTranslate\" [attr.aria-label]=\"'Reset filter' | rpxTranslate\">\n {{'Reset' | rpxTranslate}}\n </button>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-jurisdiction\">{{'Jurisdiction' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-jurisdiction\"\n name=\"jurisdiction\" [(ngModel)]=\"selected.jurisdiction\" aria-controls=\"search-result\"\n (change)=\"onJurisdictionIdChange()\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let j of jurisdictions\" [ngValue]=\"j\">{{j.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-type\">{{'Case type' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-type\"\n name=\"case-type\" [(ngModel)]=\"selected.caseType\" [disabled]=\"isCaseTypesDropdownDisabled()\"\n (change)=\"onCaseTypeIdChange()\" aria-controls=\"search-result\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let ct of selectedJurisdictionCaseTypes\" [ngValue]=\"ct\">{{ct.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-state\">{{'State' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-state\"\n name=\"state\" [(ngModel)]=\"selected.caseState\" [disabled]=\"isCaseStatesDropdownDisabled()\"\n aria-controls=\"search-result\">\n <option [ngValue]=\"null\">{{'Any' | rpxTranslate}}</option>\n <option *ngFor=\"let cs of selectedCaseTypeStates\" [ngValue]=\"cs\">{{cs.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <ng-container ccdConditionalShowForm *ngIf=\"isSearchableAndWorkbasketInputsReady()\" [formGroup]=\"formGroup\" [contextFields]=\"caseFields\">\n <div id=\"dynamicFilters\">\n <div class=\"form-group\" *ngFor=\"let workbasketInput of workbasketInputs\">\n <ccd-field-write [caseField]=\"workbasketInput.field\" [formGroup]=\"formGroup\" [isExpanded]=\"true\" [isInSearchBlock]=\"true\" (keyup.enter)=\"apply(null)\">\n </ccd-field-write>\n </div>\n </div>\n </ng-container>\n\n <button type=\"button\" class=\"button\" (click)=\"scrollToTop()\"\n [title]=\"'Back to top' | rpxTranslate\" [attr.aria-label]=\"'Back to top' | rpxTranslate\">{{'Back to top' | rpxTranslate}}\n </button>\n</form>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}div select{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:11pt;line-height:1.2727272727}@media(min-width:641px){div select{font-size:12pt;line-height:1.3333333333}}@media print{div select{font-size:10pt}}.form-group{margin-bottom:7px}.form-group.flex{display:flex;align-items:baseline}.form-group.flex h2{flex:1 1 auto;margin-bottom:0}.form-group.flex button{margin:.25rem}.ccd-dropdown{width:100%}span.heading-medium{margin-top:0}\n"] }]
|
|
39563
|
-
}], () => [{ type: i1$
|
|
39606
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { jurisdictions: [{
|
|
39564
39607
|
type: Input
|
|
39565
39608
|
}], defaults: [{
|
|
39566
39609
|
type: Input
|
|
@@ -40013,7 +40056,7 @@ class CaseHistoryComponent {
|
|
|
40013
40056
|
.map(tab => Object.assign({}, tab, { fields: this.orderService.sort(tab.fields) }))
|
|
40014
40057
|
.filter(tab => ShowCondition.getInstance(tab.show_condition).matchByContextFields(tab.fields));
|
|
40015
40058
|
}
|
|
40016
|
-
static ɵfac = function CaseHistoryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHistoryComponent)(i0.ɵɵdirectiveInject(i1$
|
|
40059
|
+
static ɵfac = function CaseHistoryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHistoryComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(CaseHistoryService)); };
|
|
40017
40060
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseHistoryComponent, selectors: [["ccd-case-history"]], inputs: { event: "event" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "grid-row"], [1, "column-full"], [3, "caseDetails"], [1, "heading-h2"], ["aria-label", "event details table", 1, "EventDetails"], [4, "ngFor", "ngForOf"], [1, "caseHistorySection"], [1, "heading-h3"], [1, "CaseHistory", 3, "id"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-label-header"], [1, "case-viewer-label"], [3, "caseField", "caseReference"], [1, "compound-field"], ["colspan", "2"]], template: function CaseHistoryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40018
40061
|
i0.ɵɵtemplate(0, CaseHistoryComponent_div_0_Template, 58, 44, "div", 0);
|
|
40019
40062
|
} if (rf & 2) {
|
|
@@ -40023,7 +40066,7 @@ class CaseHistoryComponent {
|
|
|
40023
40066
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryComponent, [{
|
|
40024
40067
|
type: Component,
|
|
40025
40068
|
args: [{ selector: 'ccd-case-history', standalone: false, template: "<div *ngIf=\"isDataLoaded()\">\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n </div>\n </div>\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <div>\n <h2 class=\"heading-h2\">{{'Event Details' | rpxTranslate}}</h2>\n <table class=\"EventDetails\" aria-label=\"event details table\">\n <tbody>\n <tr>\n <th>{{'Date' | rpxTranslate}}</th>\n <td>{{caseHistory.event.timestamp | ccdDate : 'local'}}</td>\n </tr>\n <tr>\n <th>{{'Author' | rpxTranslate}}</th>\n <td>{{caseHistory.event.user_first_name | titlecase}} {{caseHistory.event.user_last_name | uppercase}}</td>\n </tr>\n <tr>\n <th>{{'End state' | rpxTranslate}}</th>\n <td>{{caseHistory.event.state_name}}</td>\n </tr>\n <tr>\n <th>{{'Event' | rpxTranslate}}</th>\n <td>{{caseHistory.event.event_name}}</td>\n </tr>\n <tr>\n <th>{{'Summary' | rpxTranslate}}</th>\n <td>{{caseHistory.event.summary | ccdDash}}</td>\n </tr>\n <tr>\n <th>{{'Comment' | rpxTranslate}}</th>\n <td>{{caseHistory.event.comment | ccdDash}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div>\n <h2 class=\"heading-h2\">{{'Case Details' | rpxTranslate}}</h2>\n <ng-container *ngFor=\"let tab of tabs\">\n <div class=\"caseHistorySection\">\n <h3 class=\"heading-h3\">{{tab.label}}</h3>\n <table class=\"CaseHistory\" id=\"{{tab.id}}\" [attr.aria-describedby]=\"'case history table' | rpxTranslate\">\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"tab.fields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th id=\"case-viewer-label-header\">\n <div class=\"case-viewer-label\">{{field.label}}</div>\n </th>\n <td>\n <ccd-field-read [caseField]=\"field\" [caseReference]=\"caseHistory.case_id\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <th colspan=\"2\">\n <ccd-field-read [caseField]=\"field\" [caseReference]=\"caseHistory.case_id\"></ccd-field-read>\n </th>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </table>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [".CaseHistory th,.CaseHistory td{border-bottom:none}.caseHistorySection{margin-top:40px}.EventDetails th,.EventDetails td{border-bottom:none}th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}\n"] }]
|
|
40026
|
-
}], () => [{ type: i1$
|
|
40069
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: AlertService }, { type: OrderService }, { type: CaseNotifier }, { type: CaseHistoryService }], { event: [{
|
|
40027
40070
|
type: Input
|
|
40028
40071
|
}] }); })();
|
|
40029
40072
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseHistoryComponent, { className: "CaseHistoryComponent", filePath: "lib/shared/components/case-history/case-history.component.ts", lineNumber: 22 }); })();
|
|
@@ -40347,12 +40390,12 @@ class CaseResolver {
|
|
|
40347
40390
|
|| userDetails.roles.includes('caseworker-privatelaw'))
|
|
40348
40391
|
? this.router.navigate([CaseResolver.defaultWAPage]) : this.router.navigate([CaseResolver.defaultPage]);
|
|
40349
40392
|
}
|
|
40350
|
-
static ɵfac = function CaseResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseResolver)(i0.ɵɵinject(CaseNotifier), i0.ɵɵinject(DraftService), i0.ɵɵinject(NavigationNotifierService), i0.ɵɵinject(i1$
|
|
40393
|
+
static ɵfac = function CaseResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseResolver)(i0.ɵɵinject(CaseNotifier), i0.ɵɵinject(DraftService), i0.ɵɵinject(NavigationNotifierService), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(SessionStorageService)); };
|
|
40351
40394
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseResolver, factory: CaseResolver.ɵfac });
|
|
40352
40395
|
}
|
|
40353
40396
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseResolver, [{
|
|
40354
40397
|
type: Injectable
|
|
40355
|
-
}], () => [{ type: CaseNotifier }, { type: DraftService }, { type: NavigationNotifierService }, { type: i1$
|
|
40398
|
+
}], () => [{ type: CaseNotifier }, { type: DraftService }, { type: NavigationNotifierService }, { type: i1$2.Router }, { type: SessionStorageService }], null); })();
|
|
40356
40399
|
|
|
40357
40400
|
class EventTriggerResolver {
|
|
40358
40401
|
casesService;
|
|
@@ -40369,7 +40412,6 @@ class EventTriggerResolver {
|
|
|
40369
40412
|
static IGNORE_WARNING = 'ignoreWarning';
|
|
40370
40413
|
static IGNORE_WARNING_VALUES = ['true', 'false'];
|
|
40371
40414
|
cachedEventTrigger;
|
|
40372
|
-
cachedProfile;
|
|
40373
40415
|
constructor(casesService, alertService, profileService, profileNotifier, router, appConfig, errorNotifier, loadingService, sessionStorageService) {
|
|
40374
40416
|
this.casesService = casesService;
|
|
40375
40417
|
this.alertService = alertService;
|
|
@@ -40438,18 +40480,10 @@ class EventTriggerResolver {
|
|
|
40438
40480
|
if (-1 === EventTriggerResolver.IGNORE_WARNING_VALUES.indexOf(ignoreWarning)) {
|
|
40439
40481
|
ignoreWarning = 'false';
|
|
40440
40482
|
}
|
|
40441
|
-
|
|
40442
|
-
|
|
40443
|
-
|
|
40444
|
-
|
|
40445
|
-
this.profileService.get().subscribe(profile => {
|
|
40446
|
-
this.cachedProfile = profile;
|
|
40447
|
-
this.profileNotifier.announceProfile(profile);
|
|
40448
|
-
});
|
|
40449
|
-
}
|
|
40450
|
-
return this.casesService
|
|
40451
|
-
.getEventTrigger(caseTypeId, eventTriggerId, cid, ignoreWarning)
|
|
40452
|
-
.pipe(map((eventTrigger) => this.cachedEventTrigger = eventTrigger), catchError((error) => {
|
|
40483
|
+
const profile$ = this.profileService.get().pipe(tap(profile => this.profileNotifier.announceProfile(profile)));
|
|
40484
|
+
const eventTrigger$ = this.casesService.getEventTrigger(caseTypeId, eventTriggerId, cid, ignoreWarning);
|
|
40485
|
+
return forkJoin([profile$, eventTrigger$])
|
|
40486
|
+
.pipe(map(([, eventTrigger]) => this.cachedEventTrigger = eventTrigger), catchError((error) => {
|
|
40453
40487
|
error.details = { eventId: eventTriggerId, ...error.details };
|
|
40454
40488
|
this.alertService.setPreserveAlerts(true);
|
|
40455
40489
|
this.alertService.error(error.message);
|
|
@@ -40461,12 +40495,12 @@ class EventTriggerResolver {
|
|
|
40461
40495
|
return throwError(error);
|
|
40462
40496
|
})).toPromise();
|
|
40463
40497
|
}
|
|
40464
|
-
static ɵfac = function EventTriggerResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTriggerResolver)(i0.ɵɵinject(CasesService), i0.ɵɵinject(AlertService), i0.ɵɵinject(ProfileService), i0.ɵɵinject(ProfileNotifier), i0.ɵɵinject(i1$
|
|
40498
|
+
static ɵfac = function EventTriggerResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTriggerResolver)(i0.ɵɵinject(CasesService), i0.ɵɵinject(AlertService), i0.ɵɵinject(ProfileService), i0.ɵɵinject(ProfileNotifier), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(ErrorNotifierService), i0.ɵɵinject(LoadingService), i0.ɵɵinject(SessionStorageService)); };
|
|
40465
40499
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventTriggerResolver, factory: EventTriggerResolver.ɵfac });
|
|
40466
40500
|
}
|
|
40467
40501
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventTriggerResolver, [{
|
|
40468
40502
|
type: Injectable
|
|
40469
|
-
}], () => [{ type: CasesService }, { type: AlertService }, { type: ProfileService }, { type: ProfileNotifier }, { type: i1$
|
|
40503
|
+
}], () => [{ type: CasesService }, { type: AlertService }, { type: ProfileService }, { type: ProfileNotifier }, { type: i1$2.Router }, { type: AbstractAppConfig }, { type: ErrorNotifierService }, { type: LoadingService }, { type: SessionStorageService }], null); })();
|
|
40470
40504
|
|
|
40471
40505
|
function CaseEventTriggerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
40472
40506
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -40628,7 +40662,7 @@ class CaseEventTriggerComponent {
|
|
|
40628
40662
|
isDataLoaded() {
|
|
40629
40663
|
return !!(this.eventTrigger && this.caseDetails);
|
|
40630
40664
|
}
|
|
40631
|
-
static ɵfac = function CaseEventTriggerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventTriggerComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$
|
|
40665
|
+
static ɵfac = function CaseEventTriggerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventTriggerComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(EventTriggerResolver)); };
|
|
40632
40666
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventTriggerComponent, selectors: [["ccd-case-event-trigger"]], standalone: false, decls: 1, vars: 1, consts: [["class", "screen-990", 4, "ngIf"], [1, "screen-990"], [3, "caseId", "displayMode"], [3, "cancelled", "submitted", "caseDetails", "submit", "validate", "eventTrigger"]], template: function CaseEventTriggerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40633
40667
|
i0.ɵɵtemplate(0, CaseEventTriggerComponent_div_0_Template, 3, 6, "div", 0);
|
|
40634
40668
|
} if (rf & 2) {
|
|
@@ -40638,7 +40672,7 @@ class CaseEventTriggerComponent {
|
|
|
40638
40672
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventTriggerComponent, [{
|
|
40639
40673
|
type: Component,
|
|
40640
40674
|
args: [{ selector: 'ccd-case-event-trigger', standalone: false, template: "<div *ngIf=\"isDataLoaded()\" class=\"screen-990\">\n <ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n <ccd-case-edit [caseDetails]=\"caseDetails\"\n [submit]=\"submit()\"\n [validate]=\"validate()\"\n [eventTrigger]=\"eventTrigger\"\n (cancelled)=\"cancel()\"\n (submitted)=\"submitted($event)\"></ccd-case-edit>\n</div>\n" }]
|
|
40641
|
-
}], () => [{ type: i0.NgZone }, { type: CasesService }, { type: CaseNotifier }, { type: i1$
|
|
40675
|
+
}], () => [{ type: i0.NgZone }, { type: CasesService }, { type: CaseNotifier }, { type: i1$2.Router }, { type: AlertService }, { type: i1$2.ActivatedRoute }, { type: CaseReferencePipe }, { type: ActivityPollingService }, { type: SessionStorageService }, { type: LoadingService }, { type: EventTriggerResolver }], null); })();
|
|
40642
40676
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventTriggerComponent, { className: "CaseEventTriggerComponent", filePath: "lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.ts", lineNumber: 16 }); })();
|
|
40643
40677
|
|
|
40644
40678
|
function CaseViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -40892,7 +40926,7 @@ class CaseBasicAccessViewComponent {
|
|
|
40892
40926
|
getRequestUrl(accessType) {
|
|
40893
40927
|
return accessType === 'CHALLENGED' ? 'challenged-access-request' : 'specific-access-request';
|
|
40894
40928
|
}
|
|
40895
|
-
static ɵfac = function CaseBasicAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseBasicAccessViewComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$
|
|
40929
|
+
static ɵfac = function CaseBasicAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseBasicAccessViewComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$2.Router)); };
|
|
40896
40930
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseBasicAccessViewComponent, selectors: [["ccd-case-basic-access-view"]], inputs: { caseDetails: "caseDetails", accessType: "accessType" }, standalone: false, decls: 29, vars: 23, consts: [[4, "ngIf"], ["type", "information"], [1, "heading-h1"], [1, "govuk-heading-m"], [1, "govuk-summary-list"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-button-group"], [1, "govuk-button", "govuk-!-margin-right-3", 3, "routerLink"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key", "summary-key"], [1, "govuk-summary-list__value"]], template: function CaseBasicAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40897
40931
|
i0.ɵɵtemplate(0, CaseBasicAccessViewComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
40898
40932
|
i0.ɵɵelementStart(1, "div")(2, "cut-alert", 1);
|
|
@@ -40950,12 +40984,12 @@ class CaseBasicAccessViewComponent {
|
|
|
40950
40984
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 19, "Request access"), " ");
|
|
40951
40985
|
i0.ɵɵadvance(5);
|
|
40952
40986
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 21, "Cancel"), " ");
|
|
40953
|
-
} }, dependencies: [i5.NgIf, i1$
|
|
40987
|
+
} }, dependencies: [i5.NgIf, i1$2.RouterLink, AlertComponent, LoadingSpinnerComponent, i5.LowerCasePipe, i5.TitleCasePipe, CaseReferencePipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
40954
40988
|
}
|
|
40955
40989
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseBasicAccessViewComponent, [{
|
|
40956
40990
|
type: Component,
|
|
40957
40991
|
args: [{ selector: 'ccd-case-basic-access-view', standalone: false, template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<div>\n <cut-alert type=\"information\">\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This case requires' | rpxTranslate}} {{accessType | rpxTranslate | lowercase}} {{'access' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{'Authorisation is needed to access this case' | rpxTranslate}}</ng-container>\n <br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{\"This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes\" | rpxTranslate }}.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Case details' | rpxTranslate}}</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Case name' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Service' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'State' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Court or hearing centre' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre | titlecase}}</dd>\n </div>\n\n <div class=\"govuk-summary-list__row\" *ngIf=\"accessType\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Access' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{accessType | titlecase | rpxTranslate}}</dd>\n </div>\n </dl>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" [routerLink]=\"getRequestUrl(accessType)\">\n {{'Request access' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n</div>\n" }]
|
|
40958
|
-
}], () => [{ type: CasesService }, { type: i1$
|
|
40992
|
+
}], () => [{ type: CasesService }, { type: i1$2.Router }], { caseDetails: [{
|
|
40959
40993
|
type: Input
|
|
40960
40994
|
}], accessType: [{
|
|
40961
40995
|
type: Input
|
|
@@ -41188,7 +41222,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx)
|
|
|
41188
41222
|
i0.ɵɵproperty("id", tab_r6.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
|
|
41189
41223
|
} }
|
|
41190
41224
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
41191
|
-
i0.ɵɵelementStart(0, "th",
|
|
41225
|
+
i0.ɵɵelementStart(0, "th", 38)(1, "div", 39);
|
|
41192
41226
|
i0.ɵɵtext(2);
|
|
41193
41227
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41194
41228
|
i0.ɵɵelementEnd()();
|
|
@@ -41199,51 +41233,52 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
|
|
|
41199
41233
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r7.label));
|
|
41200
41234
|
} }
|
|
41201
41235
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
41202
|
-
i0.ɵɵelementStart(0, "tr"
|
|
41203
|
-
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th",
|
|
41204
|
-
i0.ɵɵelementStart(2, "td",
|
|
41205
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41236
|
+
i0.ɵɵelementStart(0, "tr");
|
|
41237
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 34);
|
|
41238
|
+
i0.ɵɵelementStart(2, "td", 35)(3, "span", 36);
|
|
41239
|
+
i0.ɵɵelement(4, "ccd-field-read", 37);
|
|
41206
41240
|
i0.ɵɵelementEnd()()();
|
|
41207
41241
|
} if (rf & 2) {
|
|
41208
41242
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
41209
41243
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41210
|
-
i0.ɵɵproperty("hidden", field_r7.hidden);
|
|
41211
41244
|
i0.ɵɵadvance();
|
|
41212
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
|
41245
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r7) && field_r7.label);
|
|
41213
41246
|
i0.ɵɵadvance();
|
|
41214
41247
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
41215
|
-
i0.ɵɵattribute("colspan", ctx_r1.hasFieldLabel(field_r7) ? null : 2);
|
|
41216
41248
|
i0.ɵɵadvance(2);
|
|
41217
41249
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41218
41250
|
} }
|
|
41219
41251
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
41220
|
-
i0.ɵɵelementStart(0, "tr",
|
|
41252
|
+
i0.ɵɵelementStart(0, "tr", 40)(1, "td", 41);
|
|
41221
41253
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41222
|
-
i0.ɵɵelementStart(3, "span",
|
|
41223
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41254
|
+
i0.ɵɵelementStart(3, "span", 36);
|
|
41255
|
+
i0.ɵɵelement(4, "ccd-field-read", 37);
|
|
41224
41256
|
i0.ɵɵelementEnd()()();
|
|
41225
41257
|
} if (rf & 2) {
|
|
41226
41258
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
41227
41259
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41228
|
-
i0.ɵɵproperty("hidden", field_r7.hidden);
|
|
41229
41260
|
i0.ɵɵadvance();
|
|
41230
41261
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
41231
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2,
|
|
41262
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r7.label || field_r7.id));
|
|
41232
41263
|
i0.ɵɵadvance(3);
|
|
41233
41264
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41234
41265
|
} }
|
|
41235
41266
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
41236
|
-
i0.ɵɵelementContainerStart(0)
|
|
41267
|
+
i0.ɵɵelementContainerStart(0);
|
|
41268
|
+
i0.ɵɵelementStart(1, "div", 30);
|
|
41269
|
+
i0.ɵɵelementContainerStart(2, 31);
|
|
41237
41270
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
41238
|
-
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5,
|
|
41239
|
-
i0.ɵɵelementContainerEnd()
|
|
41271
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 33);
|
|
41272
|
+
i0.ɵɵelementContainerEnd();
|
|
41273
|
+
i0.ɵɵelementEnd();
|
|
41274
|
+
i0.ɵɵelementContainerEnd();
|
|
41240
41275
|
} if (rf & 2) {
|
|
41241
41276
|
const field_r7 = ctx.$implicit;
|
|
41242
41277
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41243
41278
|
i0.ɵɵadvance();
|
|
41244
|
-
i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields);
|
|
41279
|
+
i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields)("hidden", field_r7.hidden);
|
|
41245
41280
|
i0.ɵɵadvance();
|
|
41246
|
-
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3,
|
|
41281
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r7));
|
|
41247
41282
|
i0.ɵɵadvance(2);
|
|
41248
41283
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
41249
41284
|
i0.ɵɵadvance();
|
|
@@ -41253,7 +41288,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Tem
|
|
|
41253
41288
|
i0.ɵɵelementStart(0, "table");
|
|
41254
41289
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41255
41290
|
i0.ɵɵelementStart(2, "tbody");
|
|
41256
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6,
|
|
41291
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 19);
|
|
41257
41292
|
i0.ɵɵpipe(4, "ccdTabFields");
|
|
41258
41293
|
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
41259
41294
|
i0.ɵɵelementEnd()();
|
|
@@ -41725,9 +41760,6 @@ class CaseFullAccessViewComponent {
|
|
|
41725
41760
|
return caseField.field_type.type === 'ComponentLauncher'
|
|
41726
41761
|
&& caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
|
|
41727
41762
|
}
|
|
41728
|
-
hasFieldLabel(caseField) {
|
|
41729
|
-
return !this.isFieldToHaveNoLabel(caseField) && !!caseField.label;
|
|
41730
|
-
}
|
|
41731
41763
|
init() {
|
|
41732
41764
|
// Clone and sort tabs array
|
|
41733
41765
|
this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
|
|
@@ -41773,13 +41805,13 @@ class CaseFullAccessViewComponent {
|
|
|
41773
41805
|
this.errorNotifierService.announceError(null);
|
|
41774
41806
|
this.alertService.clear();
|
|
41775
41807
|
}
|
|
41776
|
-
static ɵfac = function CaseFullAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$
|
|
41808
|
+
static ɵfac = function CaseFullAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i5.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1.RpxTranslatePipe), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
41777
41809
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
41778
41810
|
i0.ɵɵviewQuery(_c0$c, 5);
|
|
41779
41811
|
} if (rf & 2) {
|
|
41780
41812
|
let _t;
|
|
41781
41813
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
41782
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [3, "id", "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields"
|
|
41814
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [3, "id", "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41783
41815
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
41784
41816
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
41785
41817
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -41817,8 +41849,8 @@ class CaseFullAccessViewComponent {
|
|
|
41817
41849
|
}
|
|
41818
41850
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
41819
41851
|
type: Component,
|
|
41820
|
-
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <
|
|
41821
|
-
}], () => [{ type: i0.NgZone }, { type: i1$
|
|
41852
|
+
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
41853
|
+
}], () => [{ type: i0.NgZone }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: i0.NgZone }], { hasPrint: [{
|
|
41822
41854
|
type: Input
|
|
41823
41855
|
}], hasEventSelector: [{
|
|
41824
41856
|
type: Input
|
|
@@ -42097,7 +42129,7 @@ class CaseViewerComponent {
|
|
|
42097
42129
|
}
|
|
42098
42130
|
return tabs;
|
|
42099
42131
|
}
|
|
42100
|
-
static ɵfac = function CaseViewerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1$
|
|
42132
|
+
static ɵfac = function CaseViewerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(OrderService)); };
|
|
42101
42133
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewerComponent, selectors: [["ccd-case-viewer"]], inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "accessType", "caseDetails", 4, "ngIf"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs", 4, "ngIf"], [3, "accessType", "caseDetails"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs"]], template: function CaseViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42102
42134
|
i0.ɵɵtemplate(0, CaseViewerComponent_div_0_Template, 3, 2, "div", 0);
|
|
42103
42135
|
} if (rf & 2) {
|
|
@@ -42107,7 +42139,7 @@ class CaseViewerComponent {
|
|
|
42107
42139
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseViewerComponent, [{
|
|
42108
42140
|
type: Component,
|
|
42109
42141
|
args: [{ selector: 'ccd-case-viewer', standalone: false, template: "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-basic-access-view *ngIf=\"!hasStandardAccess()\"\n [accessType]=\"userAccessType\"\n [caseDetails]=\"caseDetails\">\n </ccd-case-basic-access-view>\n <ccd-case-full-access-view *ngIf=\"hasStandardAccess()\"\n [caseDetails]=\"caseDetails\"\n [hasPrint]=\"hasPrint\"\n [hasEventSelector]=\"hasEventSelector\"\n [prependedTabs]=\"prependedTabs\"\n [appendedTabs]=\"appendedTabs\">\n </ccd-case-full-access-view>\n</div>\n" }]
|
|
42110
|
-
}], () => [{ type: i1$
|
|
42142
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: CaseNotifier }, { type: AbstractAppConfig }, { type: OrderService }], { hasPrint: [{
|
|
42111
42143
|
type: Input
|
|
42112
42144
|
}], hasEventSelector: [{
|
|
42113
42145
|
type: Input
|
|
@@ -42210,7 +42242,7 @@ class MultipleTasksExistComponent {
|
|
|
42210
42242
|
this.loadingService.unregisterSharedSpinner();
|
|
42211
42243
|
}
|
|
42212
42244
|
}
|
|
42213
|
-
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$
|
|
42245
|
+
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
42214
42246
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], standalone: false, decls: 24, vars: 23, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function MultipleTasksExistComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42215
42247
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
42216
42248
|
i0.ɵɵtext(3);
|
|
@@ -42251,12 +42283,12 @@ class MultipleTasksExistComponent {
|
|
|
42251
42283
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(19, _c0$b, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
42252
42284
|
i0.ɵɵadvance();
|
|
42253
42285
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
42254
|
-
} }, dependencies: [i1$
|
|
42286
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
42255
42287
|
}
|
|
42256
42288
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
|
|
42257
42289
|
type: Component,
|
|
42258
42290
|
args: [{ selector: 'app-multiple-tasks-exist', standalone: false, template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Multiple tasks exist' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">\n {{'Multiple tasks exist' | rpxTranslate}}\n </h2>\n <p>{{\"You're starting work which could complete more than one of the active tasks for this case.\" | rpxTranslate}}</p>\n <p>{{'Return to tasks tab and start the event from there.' | rpxTranslate}}</p>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
42259
|
-
}], () => [{ type: i1$
|
|
42291
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: LoadingService }], null); })();
|
|
42260
42292
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultipleTasksExistComponent, { className: "MultipleTasksExistComponent", filePath: "lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.ts", lineNumber: 10 }); })();
|
|
42261
42293
|
|
|
42262
42294
|
const _c0$a = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
@@ -42271,7 +42303,7 @@ class NoTasksAvailableComponent {
|
|
|
42271
42303
|
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
42272
42304
|
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
42273
42305
|
}
|
|
42274
|
-
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$
|
|
42306
|
+
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
42275
42307
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], standalone: false, decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function NoTasksAvailableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42276
42308
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
42277
42309
|
i0.ɵɵtext(3);
|
|
@@ -42306,12 +42338,12 @@ class NoTasksAvailableComponent {
|
|
|
42306
42338
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$a, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
42307
42339
|
i0.ɵɵadvance();
|
|
42308
42340
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 14, "Return to tasks tab"));
|
|
42309
|
-
} }, dependencies: [i1$
|
|
42341
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
42310
42342
|
}
|
|
42311
42343
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoTasksAvailableComponent, [{
|
|
42312
42344
|
type: Component,
|
|
42313
42345
|
args: [{ selector: 'app-no-tasks-available', standalone: false, template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'No task available' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'No task available' | rpxTranslate}}</h2>\n <p>{{'You should have an assigned task for this event, but something has gone wrong.' | rpxTranslate}}</p>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
42314
|
-
}], () => [{ type: i1$
|
|
42346
|
+
}], () => [{ type: i1$2.ActivatedRoute }], null); })();
|
|
42315
42347
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoTasksAvailableComponent, { className: "NoTasksAvailableComponent", filePath: "lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.ts", lineNumber: 9 }); })();
|
|
42316
42348
|
|
|
42317
42349
|
const _c0$9 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
@@ -42404,17 +42436,17 @@ class TaskAssignedComponent {
|
|
|
42404
42436
|
this.judicialworkerSubscription.unsubscribe();
|
|
42405
42437
|
}
|
|
42406
42438
|
}
|
|
42407
|
-
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$
|
|
42439
|
+
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
42408
42440
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function TaskAssignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42409
42441
|
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 24, "div", 0);
|
|
42410
42442
|
} if (rf & 2) {
|
|
42411
42443
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
42412
|
-
} }, dependencies: [i5.NgIf, i1$
|
|
42444
|
+
} }, dependencies: [i5.NgIf, i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
42413
42445
|
}
|
|
42414
42446
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
|
|
42415
42447
|
type: Component,
|
|
42416
42448
|
args: [{ selector: 'app-task-assigned', standalone: false, template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
42417
|
-
}], () => [{ type: i1$
|
|
42449
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: JudicialworkerService }, { type: CaseworkerService }], null); })();
|
|
42418
42450
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskAssignedComponent, { className: "TaskAssignedComponent", filePath: "lib/shared/components/event-start/components/task-assigned/task-assigned.component.ts", lineNumber: 13 }); })();
|
|
42419
42451
|
|
|
42420
42452
|
const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
@@ -42473,7 +42505,7 @@ class TaskCancelledComponent {
|
|
|
42473
42505
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$8, ctx.caseId));
|
|
42474
42506
|
i0.ɵɵadvance();
|
|
42475
42507
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
|
|
42476
|
-
} }, dependencies: [i1$
|
|
42508
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
42477
42509
|
}
|
|
42478
42510
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskCancelledComponent, [{
|
|
42479
42511
|
type: Component,
|
|
@@ -42528,7 +42560,7 @@ class TaskConflictComponent {
|
|
|
42528
42560
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$7, ctx.caseId));
|
|
42529
42561
|
i0.ɵɵadvance();
|
|
42530
42562
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
42531
|
-
} }, dependencies: [i1$
|
|
42563
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
42532
42564
|
}
|
|
42533
42565
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskConflictComponent, [{
|
|
42534
42566
|
type: Component,
|
|
@@ -42552,7 +42584,7 @@ class TaskUnassignedComponent {
|
|
|
42552
42584
|
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
42553
42585
|
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
42554
42586
|
}
|
|
42555
|
-
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$
|
|
42587
|
+
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
42556
42588
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], standalone: false, decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function TaskUnassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42557
42589
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
42558
42590
|
i0.ɵɵtext(3);
|
|
@@ -42587,12 +42619,12 @@ class TaskUnassignedComponent {
|
|
|
42587
42619
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$6, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
42588
42620
|
i0.ɵɵadvance();
|
|
42589
42621
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
|
|
42590
|
-
} }, dependencies: [i1$
|
|
42622
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
42591
42623
|
}
|
|
42592
42624
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
|
|
42593
42625
|
type: Component,
|
|
42594
42626
|
args: [{ selector: 'app-task-unassigned', standalone: false, template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab to assign a task' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
42595
|
-
}], () => [{ type: i1$
|
|
42627
|
+
}], () => [{ type: i1$2.ActivatedRoute }], null); })();
|
|
42596
42628
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskUnassignedComponent, { className: "TaskUnassignedComponent", filePath: "lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.ts", lineNumber: 9 }); })();
|
|
42597
42629
|
|
|
42598
42630
|
class EventStartGuard {
|
|
@@ -42774,12 +42806,12 @@ class EventStartGuard {
|
|
|
42774
42806
|
this.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(storeClientContext));
|
|
42775
42807
|
this.abstractConfig.logMessage(`EventStartGuard:setClientContextStorage: set task ${task?.id} in client context for caseId ${caseId} and eventId ${eventId}`);
|
|
42776
42808
|
}
|
|
42777
|
-
static ɵfac = function EventStartGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartGuard)(i0.ɵɵinject(WorkAllocationService), i0.ɵɵinject(i1$
|
|
42809
|
+
static ɵfac = function EventStartGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartGuard)(i0.ɵɵinject(WorkAllocationService), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(ReadCookieService), i0.ɵɵinject(CaseNotifier)); };
|
|
42778
42810
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventStartGuard, factory: EventStartGuard.ɵfac });
|
|
42779
42811
|
}
|
|
42780
42812
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartGuard, [{
|
|
42781
42813
|
type: Injectable
|
|
42782
|
-
}], () => [{ type: WorkAllocationService }, { type: i1$
|
|
42814
|
+
}], () => [{ type: WorkAllocationService }, { type: i1$2.Router }, { type: SessionStorageService }, { type: AbstractAppConfig }, { type: ReadCookieService }, { type: CaseNotifier }], null); })();
|
|
42783
42815
|
|
|
42784
42816
|
var EventStartStates;
|
|
42785
42817
|
(function (EventStartStates) {
|
|
@@ -43045,13 +43077,13 @@ class EventStartComponent {
|
|
|
43045
43077
|
// Start state machine
|
|
43046
43078
|
this.service.startStateMachine(this.stateMachine);
|
|
43047
43079
|
}
|
|
43048
|
-
static ɵfac = function EventStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartComponent)(i0.ɵɵdirectiveInject(EventStartStateMachineService), i0.ɵɵdirectiveInject(i1$
|
|
43080
|
+
static ɵfac = function EventStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartComponent)(i0.ɵɵdirectiveInject(EventStartStateMachineService), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(ReadCookieService), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
43049
43081
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventStartComponent, selectors: [["ccd-event-start"]], standalone: false, decls: 0, vars: 0, template: function EventStartComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
43050
43082
|
}
|
|
43051
43083
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartComponent, [{
|
|
43052
43084
|
type: Component,
|
|
43053
43085
|
args: [{ selector: 'ccd-event-start', standalone: false, template: "" }]
|
|
43054
|
-
}], () => [{ type: EventStartStateMachineService }, { type: i1$
|
|
43086
|
+
}], () => [{ type: EventStartStateMachineService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: SessionStorageService }, { type: ReadCookieService }, { type: AbstractAppConfig }], null); })();
|
|
43055
43087
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventStartComponent, { className: "EventStartComponent", filePath: "lib/shared/components/event-start/event-start.component.ts", lineNumber: 16 }); })();
|
|
43056
43088
|
|
|
43057
43089
|
class EventTasksResolverService {
|
|
@@ -43540,7 +43572,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
43540
43572
|
inputEmpty(input) {
|
|
43541
43573
|
return input.value === null || input.value.trim().length === 0;
|
|
43542
43574
|
}
|
|
43543
|
-
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$
|
|
43575
|
+
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i4$1.Title)); };
|
|
43544
43576
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls: 50, vars: 50, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"], ["id", "conditional-reason-0", 1, "govuk-radios__conditional"], ["for", "case-reference", 1, "govuk-label"], ["id", "case-reference-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "case-reference", "name", "case-reference", "type", "text", "formControlName", "caseReference", 1, "govuk-input", "govuk-!-width-one-third", 3, "ngClass"], ["id", "case-reference-error-message", 1, "govuk-error-message"], ["id", "conditional-reason-3", 1, "govuk-radios__conditional"], ["id", "other-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-reason", "name", "other-reason", "rows", "5", "formControlName", "otherReason", 1, "govuk-textarea", 3, "ngClass"], ["id", "other-reason-error-message", 1, "govuk-error-message"]], template: function CaseChallengedAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43545
43577
|
i0.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
43546
43578
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
@@ -43655,7 +43687,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
43655
43687
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessRequestComponent, [{
|
|
43656
43688
|
type: Component,
|
|
43657
43689
|
args: [{ selector: 'ccd-case-challenged-access-request', standalone: false, template: "<exui-error-message *ngIf=\"formGroup.invalid && submitted\" [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'This case requires challenged access.' | rpxTranslate}}<br/>\n {{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': formGroup.get('radioSelected')?.invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{title | rpxTranslate}}\n </h1>\n </legend>\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{hint | rpxTranslate}}\n </div>\n <div id=\"error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <div class=\"govuk-radios govuk-radios--conditional\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-0\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[0].reason\"\n data-aria-controls=\"conditional-reason-0\" formControlName=\"radioSelected\" [checked]=\"accessReasons[0].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{accessReasons[0].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-0\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[0].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': formGroup.get('caseReference')?.invalid && submitted}\">\n <label class=\"govuk-label\" for=\"case-reference\">\n {{caseRefLabel}}\n </label>\n <div id=\"case-reference-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('caseReference').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <input class=\"govuk-input govuk-!-width-one-third\"\n [ngClass]=\"{'govuk-input--error': formGroup.get('caseReference').invalid && submitted}\" id=\"case-reference\"\n name=\"case-reference\" type=\"text\" [attr.aria-describedby]=\"formGroup.get('caseReference')?.invalid && submitted ? 'case-reference-error-message' : null\" formControlName=\"caseReference\">\n </div>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-1\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[1].checked\" [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{accessReasons[1].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-2\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[2].checked\" [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{accessReasons[2].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-3\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[3].reason\"\n data-aria-controls=\"conditional-reason-3\" formControlName=\"radioSelected\" [checked]=\"accessReasons[3].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-3\" id=\"reason-3-label\">\n {{accessReasons[3].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-3\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[3].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': formGroup.get('otherReason')?.invalid && submitted}\">\n <div id=\"other-reason-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('otherReason').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <textarea class=\"govuk-textarea\" [ngClass]=\"{'govuk-textarea--error': formGroup.get('otherReason').invalid && submitted}\"\n id=\"other-reason\" name=\"other-reason\" rows=\"5\" [attr.aria-describedby]=\"'reason-3-label' + (formGroup.get('otherReason')?.invalid && submitted ? ' other-reason-error-message' : '')\" formControlName=\"otherReason\"></textarea>\n </div>\n </div>\n </div>\n </fieldset>\n </div>\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class='govuk-body' (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
43658
|
-
}], () => [{ type: i4.FormBuilder }, { type: i1$
|
|
43690
|
+
}], () => [{ type: i4.FormBuilder }, { type: i1$2.Router }, { type: CasesService }, { type: i1$2.ActivatedRoute }, { type: CaseNotifier }, { type: i4$1.Title }], null); })();
|
|
43659
43691
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessRequestComponent, { className: "CaseChallengedAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.ts", lineNumber: 16 }); })();
|
|
43660
43692
|
|
|
43661
43693
|
const _c0$3 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2];
|
|
@@ -43672,7 +43704,7 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
43672
43704
|
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
43673
43705
|
this.caseType = this.route.snapshot.params.caseType;
|
|
43674
43706
|
}
|
|
43675
|
-
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$
|
|
43707
|
+
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
43676
43708
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], standalone: false, decls: 31, vars: 27, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], [3, "routerLink"]], template: function CaseChallengedAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43677
43709
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
43678
43710
|
i0.ɵɵtext(5);
|
|
@@ -43725,12 +43757,12 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
43725
43757
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(23, _c0$3, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
43726
43758
|
i0.ɵɵadvance();
|
|
43727
43759
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 21, "View case file"));
|
|
43728
|
-
} }, dependencies: [i1$
|
|
43760
|
+
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
43729
43761
|
}
|
|
43730
43762
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessSuccessComponent, [{
|
|
43731
43763
|
type: Component,
|
|
43732
43764
|
args: [{ selector: 'ccd-case-challenged-access-success', standalone: false, template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Access successful' | rpxTranslate}}<br><br>\n <div class=\"govuk-panel__body\">\n {{'Case reference:' | rpxTranslate}}<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'You can access this case file until midnight tonight.' | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"You'll need to request access again once this expires.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"Your request will be logged for auditing purposes.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\"><a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId]\">{{\"View case file\" | rpxTranslate}}</a>.</p>\n </div>\n </div>\n</div>\n" }]
|
|
43733
|
-
}], () => [{ type: i1$
|
|
43765
|
+
}], () => [{ type: i1$2.ActivatedRoute }], null); })();
|
|
43734
43766
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessSuccessComponent, { className: "CaseChallengedAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.ts", lineNumber: 9 }); })();
|
|
43735
43767
|
|
|
43736
43768
|
class CaseReviewSpecificAccessRejectComponent {
|
|
@@ -43748,7 +43780,7 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
43748
43780
|
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
43749
43781
|
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
43750
43782
|
}
|
|
43751
|
-
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$
|
|
43783
|
+
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
43752
43784
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], standalone: false, decls: 24, vars: 19, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-heading-m"], [1, "govuk-body"], [1, "form-group", "form-group-related"], ["button", "", "href", "tasks/list", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "cancel"], [3, "href"]], template: function CaseReviewSpecificAccessRejectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43753
43785
|
i0.ɵɵelement(0, "p");
|
|
43754
43786
|
i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
|
|
@@ -43790,7 +43822,7 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
43790
43822
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRejectComponent, [{
|
|
43791
43823
|
type: Component,
|
|
43792
43824
|
args: [{ selector: 'case-review-specific-access-reject', standalone: false, template: "<p></p>\n<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Request for access denied' | rpxTranslate}}<br>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'The requester has been denied access to this case.' | rpxTranslate}}\n </p>\n </div>\n </div>\n <div class=\"form-group form-group-related\">\n <p>\n <a button class=\"govuk-button govuk-!-margin-right-3\" href=\"tasks/list\" >{{returnToMyTask | rpxTranslate}}</a>\n </p>\n </div>\n <p class=\"cancel\"><a href=\"cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\" >{{retunToTask | rpxTranslate}}</a></p>\n</div>\n" }]
|
|
43793
|
-
}], () => [{ type: i1$
|
|
43825
|
+
}], () => [{ type: i1$2.ActivatedRoute }], null); })();
|
|
43794
43826
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRejectComponent, { className: "CaseReviewSpecificAccessRejectComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.ts", lineNumber: 9 }); })();
|
|
43795
43827
|
|
|
43796
43828
|
var AccessReason;
|
|
@@ -43916,7 +43948,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
43916
43948
|
this.requestAccessDetails = requestAccessDetailsMock.details;
|
|
43917
43949
|
}
|
|
43918
43950
|
}
|
|
43919
|
-
static ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$
|
|
43951
|
+
static ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
43920
43952
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], standalone: false, decls: 77, vars: 58, consts: [[3, "error", 4, "ngIf"], [3, "submit", "formGroup"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"]], template: function CaseReviewSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43921
43953
|
i0.ɵɵtemplate(0, CaseReviewSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
43922
43954
|
i0.ɵɵelementStart(1, "form", 1);
|
|
@@ -44061,7 +44093,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
44061
44093
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRequestComponent, [{
|
|
44062
44094
|
type: Component,
|
|
44063
44095
|
args: [{ selector: 'ccd-case-review-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"formGroup.invalid && submitted\"\n [error]=\"errorMessage\">\n</exui-error-message>\n\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <div class=\"govuk-grid-column-two-thirds\">\n <p></p>\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n <p></p>\n <table class=\"govuk-table\">\n <caption></caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case name' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseName }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case reference' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseReference }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Date submitted' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.dateSubmitted }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Request from' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.requestFrom }}<br /></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Reason for case access' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.reasonForCaseAccess | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n\n <div\n class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ hint | rpxTranslate }}\n </h1>\n </legend>\n <div\n id=\"error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-0\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[0].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[0].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{ accessReasons[0].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-1\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[1].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{ accessReasons[1].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-2\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[2].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{ accessReasons[2].reason | rpxTranslate }}\n </label>\n </div>\n </fieldset>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Continue' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n", styles: [".left-label{width:220px}\n"] }]
|
|
44064
|
-
}], () => [{ type: i4.FormBuilder }, { type: i1$
|
|
44096
|
+
}], () => [{ type: i4.FormBuilder }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: AbstractAppConfig }], null); })();
|
|
44065
44097
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRequestComponent, { className: "CaseReviewSpecificAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.ts", lineNumber: 15 }); })();
|
|
44066
44098
|
|
|
44067
44099
|
var SpecificAccessRequestPageText;
|
|
@@ -44210,7 +44242,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
44210
44242
|
inputEmpty(input) {
|
|
44211
44243
|
return input.value === null || input.value.trim().length === 0;
|
|
44212
44244
|
}
|
|
44213
|
-
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$
|
|
44245
|
+
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i4$1.Title)); };
|
|
44214
44246
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls: 53, vars: 46, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["for", "specific-reason", 1, "govuk-label", "govuk-visually-hidden"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44215
44247
|
i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
44216
44248
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
@@ -44309,7 +44341,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
44309
44341
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessRequestComponent, [{
|
|
44310
44342
|
type: Component,
|
|
44311
44343
|
args: [{ selector: 'ccd-case-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"(formGroup.invalid && submitted) || getSpecificAccessError\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <label class=\"govuk-label govuk-visually-hidden\" for=\"specific-reason\">\n {{ title | rpxTranslate }}\n </label>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n [attr.aria-describedby]=\"formGroup.get('specificReason')?.invalid && submitted ? 'specific-reason-error-message' : null\"\n formControlName=\"specificReason\">\n </textarea>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
44312
|
-
}], () => [{ type: i4.FormBuilder }, { type: i1$
|
|
44344
|
+
}], () => [{ type: i4.FormBuilder }, { type: i1$2.Router }, { type: CasesService }, { type: i1$2.ActivatedRoute }, { type: CaseNotifier }, { type: i4$1.Title }], null); })();
|
|
44313
44345
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseSpecificAccessRequestComponent, { className: "CaseSpecificAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.ts", lineNumber: 24 }); })();
|
|
44314
44346
|
|
|
44315
44347
|
class CaseSpecificAccessSuccessComponent {
|
|
@@ -44321,7 +44353,7 @@ class CaseSpecificAccessSuccessComponent {
|
|
|
44321
44353
|
ngOnInit() {
|
|
44322
44354
|
this.caseId = this.route.snapshot.params.cid;
|
|
44323
44355
|
}
|
|
44324
|
-
static ɵfac = function CaseSpecificAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$
|
|
44356
|
+
static ɵfac = function CaseSpecificAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
44325
44357
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessSuccessComponent, selectors: [["ccd-case-specific-access-success"]], standalone: false, decls: 23, vars: 1, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], ["href", "work/my-work/my-access"]], template: function CaseSpecificAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44326
44358
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
44327
44359
|
i0.ɵɵtext(5, " Request sent");
|
|
@@ -44355,7 +44387,7 @@ class CaseSpecificAccessSuccessComponent {
|
|
|
44355
44387
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessSuccessComponent, [{
|
|
44356
44388
|
type: Component,
|
|
44357
44389
|
args: [{ selector: 'ccd-case-specific-access-success', standalone: false, template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Request sent<br><br>\n <div class=\"govuk-panel__body\">\n Case reference:<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m \">What happens next</h2>\n <p class=\"govuk-body\">\n Your request to access this case file has been sent.\n </p>\n <p class=\"govuk-body\">\n Once your request has been authorised, you\u2019ll be able to access the case through\n <a href=\"work/my-work/my-access\">My access</a>.\n </p>\n <p class=\"govuk-body\">\n Your request will be logged for auditing purposes.\n </p>\n </div>\n </div>\n</div>\n" }]
|
|
44358
|
-
}], () => [{ type: i1$
|
|
44390
|
+
}], () => [{ type: i1$2.ActivatedRoute }], null); })();
|
|
44359
44391
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseSpecificAccessSuccessComponent, { className: "CaseSpecificAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.ts", lineNumber: 9 }); })();
|
|
44360
44392
|
|
|
44361
44393
|
class CaseViewerModule {
|
|
@@ -44491,7 +44523,7 @@ i0.ɵɵsetComponentScope(CaseEventTriggerComponent, function () { return [i5.NgI
|
|
|
44491
44523
|
i0.ɵɵsetComponentScope(CasePrinterComponent, function () { return [i5.NgForOf, i5.NgIf, CaseHeaderComponent]; }, function () { return [i1.RpxTranslatePipe, PrintUrlPipe]; });
|
|
44492
44524
|
i0.ɵɵsetComponentScope(CaseViewerComponent, function () { return [i5.NgIf, CaseFullAccessViewComponent,
|
|
44493
44525
|
CaseBasicAccessViewComponent]; }, []);
|
|
44494
|
-
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$
|
|
44526
|
+
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatLegacyTabGroup, i10.MatLegacyTab, i10.MatLegacyTabContent, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
|
|
44495
44527
|
i0.ɵɵsetComponentScope(CaseViewComponent, function () { return [i5.NgIf, CaseViewerComponent]; }, []);
|
|
44496
44528
|
i0.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
44497
44529
|
i0.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
@@ -45396,11 +45428,11 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i5
|
|
|
45396
45428
|
|
|
45397
45429
|
const _c0 = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
45398
45430
|
const _c1 = () => ["value"];
|
|
45399
|
-
function
|
|
45400
|
-
i0.ɵɵelementStart(0, "div",
|
|
45431
|
+
function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
45432
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "span", 13);
|
|
45401
45433
|
i0.ɵɵtext(2, "!");
|
|
45402
45434
|
i0.ɵɵelementEnd();
|
|
45403
|
-
i0.ɵɵelementStart(3, "strong",
|
|
45435
|
+
i0.ɵɵelementStart(3, "strong", 14)(4, "span", 15);
|
|
45404
45436
|
i0.ɵɵtext(5);
|
|
45405
45437
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
45406
45438
|
i0.ɵɵelementEnd();
|
|
@@ -45416,23 +45448,68 @@ function SearchResultComponent_ng_container_0_div_4_Template(rf, ctx) { if (rf &
|
|
|
45416
45448
|
i0.ɵɵadvance(2);
|
|
45417
45449
|
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r0.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
|
|
45418
45450
|
} }
|
|
45419
|
-
function
|
|
45420
|
-
|
|
45421
|
-
i0.ɵɵ
|
|
45422
|
-
i0.ɵɵ
|
|
45423
|
-
i0.ɵɵ
|
|
45424
|
-
i0.ɵɵ
|
|
45451
|
+
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
45452
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
45453
|
+
i0.ɵɵelement(1, "output");
|
|
45454
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45455
|
+
i0.ɵɵelementStart(3, "span", 17);
|
|
45456
|
+
i0.ɵɵtext(4);
|
|
45457
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
45458
|
+
i0.ɵɵelementStart(6, "span", 18);
|
|
45459
|
+
i0.ɵɵtext(7);
|
|
45460
|
+
i0.ɵɵelementEnd();
|
|
45461
|
+
i0.ɵɵtext(8);
|
|
45462
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
45463
|
+
i0.ɵɵelementStart(10, "span", 18);
|
|
45464
|
+
i0.ɵɵtext(11);
|
|
45465
|
+
i0.ɵɵelementEnd();
|
|
45466
|
+
i0.ɵɵtext(12);
|
|
45467
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
45468
|
+
i0.ɵɵelementStart(14, "span", 18);
|
|
45469
|
+
i0.ɵɵtext(15);
|
|
45470
|
+
i0.ɵɵelementEnd();
|
|
45471
|
+
i0.ɵɵtext(16);
|
|
45472
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
45425
45473
|
i0.ɵɵelementEnd()();
|
|
45426
45474
|
} if (rf & 2) {
|
|
45427
|
-
i0.ɵɵ
|
|
45428
|
-
i0.ɵɵ
|
|
45475
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
45476
|
+
i0.ɵɵadvance();
|
|
45477
|
+
i0.ɵɵattribute("aria-label", ctx_r0.getTotalResults() + " " + i0.ɵɵpipeBind1(2, 8, "results have been found"));
|
|
45478
|
+
i0.ɵɵadvance(3);
|
|
45479
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 10, "Showing"), " ");
|
|
45480
|
+
i0.ɵɵadvance(3);
|
|
45481
|
+
i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
|
|
45482
|
+
i0.ɵɵadvance();
|
|
45483
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, "to"), " ");
|
|
45484
|
+
i0.ɵɵadvance(3);
|
|
45485
|
+
i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
|
|
45486
|
+
i0.ɵɵadvance();
|
|
45487
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 14, "of"), " ");
|
|
45488
|
+
i0.ɵɵadvance(3);
|
|
45489
|
+
i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
|
|
45490
|
+
i0.ɵɵadvance();
|
|
45491
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 16, "results"));
|
|
45492
|
+
} }
|
|
45493
|
+
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
45494
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
45495
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
45496
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
45497
|
+
i0.ɵɵelementStart(2, "span")(3, "a", 20);
|
|
45498
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.clearSelection(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
45499
|
+
i0.ɵɵtext(4);
|
|
45500
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
45501
|
+
i0.ɵɵelementEnd()()();
|
|
45502
|
+
} if (rf & 2) {
|
|
45503
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 2, "Reset selection"));
|
|
45504
|
+
i0.ɵɵadvance(4);
|
|
45505
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
|
|
45429
45506
|
} }
|
|
45430
|
-
function
|
|
45507
|
+
function SearchResultComponent_table_0_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
45431
45508
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
45432
|
-
i0.ɵɵelementStart(0, "td",
|
|
45433
|
-
i0.ɵɵlistener("change", function
|
|
45509
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 23);
|
|
45510
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_0_td_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.selectAll()); });
|
|
45434
45511
|
i0.ɵɵelementEnd();
|
|
45435
|
-
i0.ɵɵelement(3, "label",
|
|
45512
|
+
i0.ɵɵelement(3, "label", 24);
|
|
45436
45513
|
i0.ɵɵelementEnd()();
|
|
45437
45514
|
} if (rf & 2) {
|
|
45438
45515
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -45441,11 +45518,11 @@ function SearchResultComponent_ng_container_0_td_28_Template(rf, ctx) { if (rf &
|
|
|
45441
45518
|
i0.ɵɵadvance();
|
|
45442
45519
|
i0.ɵɵattribute("aria-labelledby", "select-all");
|
|
45443
45520
|
} }
|
|
45444
|
-
function
|
|
45521
|
+
function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
45445
45522
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
45446
|
-
i0.ɵɵelementStart(0, "div",
|
|
45523
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
|
|
45447
45524
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45448
|
-
i0.ɵɵlistener("click", function
|
|
45525
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.sort(col_r5); return i0.ɵɵresetView($event.preventDefault()); })("keyup.enter", function SearchResultComponent_table_0_th_11_div_5_Template_a_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); });
|
|
45449
45526
|
i0.ɵɵelementEnd()();
|
|
45450
45527
|
} if (rf & 2) {
|
|
45451
45528
|
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45454,14 +45531,14 @@ function SearchResultComponent_ng_container_0_th_29_div_5_Template(rf, ctx) { if
|
|
|
45454
45531
|
i0.ɵɵproperty("innerHTML", ctx_r0.sortWidget(col_r5), i0.ɵɵsanitizeHtml);
|
|
45455
45532
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 2, "Sort " + col_r5.label));
|
|
45456
45533
|
} }
|
|
45457
|
-
function
|
|
45534
|
+
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
45458
45535
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
45459
|
-
i0.ɵɵelementStart(0, "th",
|
|
45460
|
-
i0.ɵɵlistener("click", function
|
|
45536
|
+
i0.ɵɵelementStart(0, "th", 25)(1, "div")(2, "div", 26);
|
|
45537
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_2_listener() { const col_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); })("keyup", function SearchResultComponent_table_0_th_11_Template_div_keyup_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.noop()); });
|
|
45461
45538
|
i0.ɵɵtext(3);
|
|
45462
45539
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
45463
45540
|
i0.ɵɵelementEnd();
|
|
45464
|
-
i0.ɵɵtemplate(5,
|
|
45541
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 3, 4, "div", 27);
|
|
45465
45542
|
i0.ɵɵelementEnd()();
|
|
45466
45543
|
} if (rf & 2) {
|
|
45467
45544
|
const col_r5 = ctx.$implicit;
|
|
@@ -45472,17 +45549,17 @@ function SearchResultComponent_ng_container_0_th_29_Template(rf, ctx) { if (rf &
|
|
|
45472
45549
|
i0.ɵɵadvance(2);
|
|
45473
45550
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
45474
45551
|
} }
|
|
45475
|
-
function
|
|
45476
|
-
i0.ɵɵelementStart(0, "th",
|
|
45552
|
+
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
45553
|
+
i0.ɵɵelementStart(0, "th", 30);
|
|
45477
45554
|
i0.ɵɵtext(1, "\u200B");
|
|
45478
45555
|
i0.ɵɵelementEnd();
|
|
45479
45556
|
} }
|
|
45480
|
-
function
|
|
45557
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
45481
45558
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
45482
|
-
i0.ɵɵelementStart(0, "td",
|
|
45483
|
-
i0.ɵɵlistener("change", function
|
|
45559
|
+
i0.ɵɵelementStart(0, "td", 34)(1, "div", 22)(2, "input", 35);
|
|
45560
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r7); const result_r8 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r8)); });
|
|
45484
45561
|
i0.ɵɵelementEnd();
|
|
45485
|
-
i0.ɵɵelement(3, "label",
|
|
45562
|
+
i0.ɵɵelement(3, "label", 36);
|
|
45486
45563
|
i0.ɵɵelementEnd()();
|
|
45487
45564
|
} if (rf & 2) {
|
|
45488
45565
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45493,24 +45570,24 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_1_Template
|
|
|
45493
45570
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r8.case_id));
|
|
45494
45571
|
i0.ɵɵattribute("aria-labelledby", "select-" + result_r8.case_id);
|
|
45495
45572
|
} }
|
|
45496
|
-
function
|
|
45497
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
45573
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
45574
|
+
i0.ɵɵelement(0, "ccd-field-read", 44);
|
|
45498
45575
|
} if (rf & 2) {
|
|
45499
45576
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
45500
45577
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
45501
45578
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45502
45579
|
i0.ɵɵproperty("caseField", ctx_r0.getColumnsWithPrefix(result_r8.columns[col_r9.case_field_id], result_r8))("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c1));
|
|
45503
45580
|
} }
|
|
45504
|
-
function
|
|
45581
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
45505
45582
|
i0.ɵɵtext(0);
|
|
45506
45583
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45507
45584
|
} if (rf & 2) {
|
|
45508
45585
|
const result_r8 = i0.ɵɵnextContext(4).$implicit;
|
|
45509
45586
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
45510
45587
|
} }
|
|
45511
|
-
function
|
|
45512
|
-
i0.ɵɵelementContainerStart(0,
|
|
45513
|
-
i0.ɵɵtemplate(1,
|
|
45588
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
45589
|
+
i0.ɵɵelementContainerStart(0, 42);
|
|
45590
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 43)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
45514
45591
|
i0.ɵɵelementContainerEnd();
|
|
45515
45592
|
} if (rf & 2) {
|
|
45516
45593
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -45520,10 +45597,10 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_c
|
|
|
45520
45597
|
i0.ɵɵadvance();
|
|
45521
45598
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
45522
45599
|
} }
|
|
45523
|
-
function
|
|
45524
|
-
i0.ɵɵelementStart(0, "a",
|
|
45600
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
45601
|
+
i0.ɵɵelementStart(0, "a", 40);
|
|
45525
45602
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45526
|
-
i0.ɵɵtemplate(2,
|
|
45603
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 41);
|
|
45527
45604
|
i0.ɵɵelementEnd();
|
|
45528
45605
|
} if (rf & 2) {
|
|
45529
45606
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -45533,9 +45610,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_Temp
|
|
|
45533
45610
|
i0.ɵɵadvance(2);
|
|
45534
45611
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
45535
45612
|
} }
|
|
45536
|
-
function
|
|
45537
|
-
i0.ɵɵelementStart(0, "div",
|
|
45538
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
45613
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45614
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
45615
|
+
i0.ɵɵelement(1, "ccd-field-read", 44);
|
|
45539
45616
|
i0.ɵɵelementEnd();
|
|
45540
45617
|
} if (rf & 2) {
|
|
45541
45618
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45545,9 +45622,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_div_2_Te
|
|
|
45545
45622
|
i0.ɵɵadvance();
|
|
45546
45623
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
45547
45624
|
} }
|
|
45548
|
-
function
|
|
45549
|
-
i0.ɵɵelementStart(0, "td",
|
|
45550
|
-
i0.ɵɵtemplate(1,
|
|
45625
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
45626
|
+
i0.ɵɵelementStart(0, "td", 37);
|
|
45627
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 38)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 39);
|
|
45551
45628
|
i0.ɵɵelementEnd();
|
|
45552
45629
|
} if (rf & 2) {
|
|
45553
45630
|
const colIndex_r11 = ctx.index;
|
|
@@ -45556,9 +45633,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_Template
|
|
|
45556
45633
|
i0.ɵɵadvance();
|
|
45557
45634
|
i0.ɵɵproperty("ngIf", colIndex_r11 != 0);
|
|
45558
45635
|
} }
|
|
45559
|
-
function
|
|
45636
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
45560
45637
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
45561
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
45638
|
+
i0.ɵɵelement(2, "ccd-activity", 45);
|
|
45562
45639
|
i0.ɵɵelementEnd()();
|
|
45563
45640
|
} if (rf & 2) {
|
|
45564
45641
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45568,9 +45645,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_3_Template
|
|
|
45568
45645
|
i0.ɵɵadvance();
|
|
45569
45646
|
i0.ɵɵproperty("caseId", result_r8.case_id)("displayMode", ctx_r0.ICON);
|
|
45570
45647
|
} }
|
|
45571
|
-
function
|
|
45648
|
+
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
45572
45649
|
i0.ɵɵelementStart(0, "tr");
|
|
45573
|
-
i0.ɵɵtemplate(1,
|
|
45650
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 9, "td", 32)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 33)(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
45574
45651
|
i0.ɵɵelementEnd();
|
|
45575
45652
|
} if (rf & 2) {
|
|
45576
45653
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -45581,9 +45658,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_Template(rf,
|
|
|
45581
45658
|
i0.ɵɵadvance();
|
|
45582
45659
|
i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
|
|
45583
45660
|
} }
|
|
45584
|
-
function
|
|
45661
|
+
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
45585
45662
|
i0.ɵɵelementContainerStart(0);
|
|
45586
|
-
i0.ɵɵtemplate(1,
|
|
45663
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 31);
|
|
45587
45664
|
i0.ɵɵpipe(2, "paginate");
|
|
45588
45665
|
i0.ɵɵelementContainerEnd();
|
|
45589
45666
|
} if (rf & 2) {
|
|
@@ -45591,12 +45668,12 @@ function SearchResultComponent_ng_container_0_ng_container_32_Template(rf, ctx)
|
|
|
45591
45668
|
i0.ɵɵadvance();
|
|
45592
45669
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, i0.ɵɵpureFunction3(4, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
|
|
45593
45670
|
} }
|
|
45594
|
-
function
|
|
45671
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
45595
45672
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
45596
|
-
i0.ɵɵelementStart(0, "td",
|
|
45597
|
-
i0.ɵɵlistener("change", function
|
|
45673
|
+
i0.ɵɵelementStart(0, "td", 34)(1, "div", 22)(2, "input", 46);
|
|
45674
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r13)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onKeyUp($event, result_r13)); });
|
|
45598
45675
|
i0.ɵɵelementEnd();
|
|
45599
|
-
i0.ɵɵelement(3, "label",
|
|
45676
|
+
i0.ɵɵelement(3, "label", 36);
|
|
45600
45677
|
i0.ɵɵelementEnd()();
|
|
45601
45678
|
} if (rf & 2) {
|
|
45602
45679
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45607,24 +45684,24 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_1_Template
|
|
|
45607
45684
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r13.case_id));
|
|
45608
45685
|
i0.ɵɵattribute("aria-labelledby", "select-" + result_r13.case_id);
|
|
45609
45686
|
} }
|
|
45610
|
-
function
|
|
45611
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
45687
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
45688
|
+
i0.ɵɵelement(0, "ccd-field-read", 44);
|
|
45612
45689
|
} if (rf & 2) {
|
|
45613
45690
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
45614
45691
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
45615
45692
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45616
45693
|
i0.ɵɵproperty("caseField", ctx_r0.getColumnsWithPrefix(result_r13.columns[col_r14.case_field_id], result_r13))("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c1));
|
|
45617
45694
|
} }
|
|
45618
|
-
function
|
|
45695
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
45619
45696
|
i0.ɵɵtext(0);
|
|
45620
45697
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45621
45698
|
} if (rf & 2) {
|
|
45622
45699
|
const result_r13 = i0.ɵɵnextContext(4).$implicit;
|
|
45623
45700
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
45624
45701
|
} }
|
|
45625
|
-
function
|
|
45626
|
-
i0.ɵɵelementContainerStart(0,
|
|
45627
|
-
i0.ɵɵtemplate(1,
|
|
45702
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
45703
|
+
i0.ɵɵelementContainerStart(0, 42);
|
|
45704
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 43)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
45628
45705
|
i0.ɵɵelementContainerEnd();
|
|
45629
45706
|
} if (rf & 2) {
|
|
45630
45707
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -45634,10 +45711,10 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_c
|
|
|
45634
45711
|
i0.ɵɵadvance();
|
|
45635
45712
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
45636
45713
|
} }
|
|
45637
|
-
function
|
|
45638
|
-
i0.ɵɵelementStart(0, "a",
|
|
45714
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
45715
|
+
i0.ɵɵelementStart(0, "a", 40);
|
|
45639
45716
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45640
|
-
i0.ɵɵtemplate(2,
|
|
45717
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 41);
|
|
45641
45718
|
i0.ɵɵelementEnd();
|
|
45642
45719
|
} if (rf & 2) {
|
|
45643
45720
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -45647,9 +45724,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_Temp
|
|
|
45647
45724
|
i0.ɵɵadvance(2);
|
|
45648
45725
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
45649
45726
|
} }
|
|
45650
|
-
function
|
|
45651
|
-
i0.ɵɵelementStart(0, "div",
|
|
45652
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
45727
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45728
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
45729
|
+
i0.ɵɵelement(1, "ccd-field-read", 44);
|
|
45653
45730
|
i0.ɵɵelementEnd();
|
|
45654
45731
|
} if (rf & 2) {
|
|
45655
45732
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45659,9 +45736,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_div_2_Te
|
|
|
45659
45736
|
i0.ɵɵadvance();
|
|
45660
45737
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
45661
45738
|
} }
|
|
45662
|
-
function
|
|
45663
|
-
i0.ɵɵelementStart(0, "td",
|
|
45664
|
-
i0.ɵɵtemplate(1,
|
|
45739
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
45740
|
+
i0.ɵɵelementStart(0, "td", 37);
|
|
45741
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 38)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 39);
|
|
45665
45742
|
i0.ɵɵelementEnd();
|
|
45666
45743
|
} if (rf & 2) {
|
|
45667
45744
|
const colIndex_r16 = ctx.index;
|
|
@@ -45670,9 +45747,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_Template
|
|
|
45670
45747
|
i0.ɵɵadvance();
|
|
45671
45748
|
i0.ɵɵproperty("ngIf", colIndex_r16 != 0);
|
|
45672
45749
|
} }
|
|
45673
|
-
function
|
|
45750
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
45674
45751
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
45675
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
45752
|
+
i0.ɵɵelement(2, "ccd-activity", 45);
|
|
45676
45753
|
i0.ɵɵelementEnd()();
|
|
45677
45754
|
} if (rf & 2) {
|
|
45678
45755
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45682,9 +45759,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_3_Template
|
|
|
45682
45759
|
i0.ɵɵadvance();
|
|
45683
45760
|
i0.ɵɵproperty("caseId", result_r13.case_id)("displayMode", ctx_r0.ICON);
|
|
45684
45761
|
} }
|
|
45685
|
-
function
|
|
45762
|
+
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
45686
45763
|
i0.ɵɵelementStart(0, "tr");
|
|
45687
|
-
i0.ɵɵtemplate(1,
|
|
45764
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 9, "td", 32)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 33)(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
45688
45765
|
i0.ɵɵelementEnd();
|
|
45689
45766
|
} if (rf & 2) {
|
|
45690
45767
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -45695,9 +45772,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_Template(rf,
|
|
|
45695
45772
|
i0.ɵɵadvance();
|
|
45696
45773
|
i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
|
|
45697
45774
|
} }
|
|
45698
|
-
function
|
|
45775
|
+
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
45699
45776
|
i0.ɵɵelementContainerStart(0);
|
|
45700
|
-
i0.ɵɵtemplate(1,
|
|
45777
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 31);
|
|
45701
45778
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
45702
45779
|
i0.ɵɵpipe(3, "paginate");
|
|
45703
45780
|
i0.ɵɵelementContainerEnd();
|
|
@@ -45706,69 +45783,30 @@ function SearchResultComponent_ng_container_0_ng_container_33_Template(rf, ctx)
|
|
|
45706
45783
|
i0.ɵɵadvance();
|
|
45707
45784
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, ctx_r0.sortParameters), i0.ɵɵpureFunction3(7, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
|
|
45708
45785
|
} }
|
|
45709
|
-
function
|
|
45710
|
-
i0.ɵɵ
|
|
45711
|
-
i0.ɵɵ
|
|
45712
|
-
i0.ɵɵ
|
|
45713
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
45714
|
-
i0.ɵɵelementEnd();
|
|
45715
|
-
i0.ɵɵtemplate(4, SearchResultComponent_ng_container_0_div_4_Template, 11, 12, "div", 5);
|
|
45716
|
-
i0.ɵɵelementStart(5, "div", 6)(6, "div", 7);
|
|
45717
|
-
i0.ɵɵelement(7, "output");
|
|
45718
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
45719
|
-
i0.ɵɵelementStart(9, "span", 8);
|
|
45720
|
-
i0.ɵɵtext(10);
|
|
45721
|
-
i0.ɵɵpipe(11, "rpxTranslate");
|
|
45722
|
-
i0.ɵɵelementStart(12, "span", 9);
|
|
45723
|
-
i0.ɵɵtext(13);
|
|
45724
|
-
i0.ɵɵelementEnd();
|
|
45725
|
-
i0.ɵɵtext(14);
|
|
45726
|
-
i0.ɵɵpipe(15, "rpxTranslate");
|
|
45727
|
-
i0.ɵɵelementStart(16, "span", 9);
|
|
45728
|
-
i0.ɵɵtext(17);
|
|
45729
|
-
i0.ɵɵelementEnd();
|
|
45730
|
-
i0.ɵɵtext(18);
|
|
45731
|
-
i0.ɵɵpipe(19, "rpxTranslate");
|
|
45732
|
-
i0.ɵɵelementStart(20, "span", 9);
|
|
45733
|
-
i0.ɵɵtext(21);
|
|
45786
|
+
function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
45787
|
+
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 4);
|
|
45788
|
+
i0.ɵɵtext(3);
|
|
45789
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
45734
45790
|
i0.ɵɵelementEnd();
|
|
45735
|
-
i0.ɵɵ
|
|
45736
|
-
i0.ɵɵpipe(23, "rpxTranslate");
|
|
45737
|
-
i0.ɵɵelementEnd()();
|
|
45738
|
-
i0.ɵɵtemplate(24, SearchResultComponent_ng_container_0_div_24_Template, 4, 3, "div", 10);
|
|
45791
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5)(6, SearchResultComponent_table_0_div_6_Template, 18, 18, "div", 6)(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 7);
|
|
45739
45792
|
i0.ɵɵelementEnd();
|
|
45740
|
-
i0.ɵɵelementStart(
|
|
45741
|
-
i0.ɵɵtemplate(
|
|
45793
|
+
i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
|
|
45794
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_td_10_Template, 4, 3, "td", 9)(11, SearchResultComponent_table_0_th_11_Template, 6, 5, "th", 10)(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 11);
|
|
45742
45795
|
i0.ɵɵelementEnd()();
|
|
45743
|
-
i0.ɵɵelementStart(
|
|
45744
|
-
i0.ɵɵtemplate(
|
|
45796
|
+
i0.ɵɵelementStart(13, "tbody");
|
|
45797
|
+
i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 1)(15, SearchResultComponent_table_0_ng_container_15_Template, 4, 11, "ng-container", 1);
|
|
45745
45798
|
i0.ɵɵelementEnd()();
|
|
45746
|
-
i0.ɵɵelementContainerEnd();
|
|
45747
45799
|
} if (rf & 2) {
|
|
45748
45800
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45749
|
-
i0.ɵɵadvance(
|
|
45750
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
45801
|
+
i0.ɵɵadvance(3);
|
|
45802
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.caseState ? "Your cases" : "Search result"));
|
|
45751
45803
|
i0.ɵɵadvance(2);
|
|
45752
45804
|
i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
|
|
45753
|
-
i0.ɵɵadvance(3);
|
|
45754
|
-
i0.ɵɵattribute("aria-label", ctx_r0.getTotalResults() + " " + i0.ɵɵpipeBind1(8, 18, "results have been found"));
|
|
45755
|
-
i0.ɵɵadvance(3);
|
|
45756
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(11, 20, "Showing"), " ");
|
|
45757
|
-
i0.ɵɵadvance(3);
|
|
45758
|
-
i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
|
|
45759
45805
|
i0.ɵɵadvance();
|
|
45760
|
-
i0.ɵɵ
|
|
45761
|
-
i0.ɵɵadvance(3);
|
|
45762
|
-
i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
|
|
45806
|
+
i0.ɵɵproperty("ngIf", ctx_r0.hasResults() || ctx_r0.hasDrafts());
|
|
45763
45807
|
i0.ɵɵadvance();
|
|
45764
|
-
i0.ɵɵ
|
|
45808
|
+
i0.ɵɵproperty("ngIf", (ctx_r0.hasResults() || ctx_r0.hasDrafts()) && ctx_r0.selectionEnabled);
|
|
45765
45809
|
i0.ɵɵadvance(3);
|
|
45766
|
-
i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
|
|
45767
|
-
i0.ɵɵadvance();
|
|
45768
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 26, "results"));
|
|
45769
|
-
i0.ɵɵadvance(2);
|
|
45770
|
-
i0.ɵɵproperty("ngIf", ctx_r0.selectionEnabled);
|
|
45771
|
-
i0.ɵɵadvance(4);
|
|
45772
45810
|
i0.ɵɵproperty("ngIf", ctx_r0.selectionEnabled);
|
|
45773
45811
|
i0.ɵɵadvance();
|
|
45774
45812
|
i0.ɵɵproperty("ngForOf", ctx_r0.resultView.columns);
|
|
@@ -45781,7 +45819,7 @@ function SearchResultComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45781
45819
|
} }
|
|
45782
45820
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
45783
45821
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
45784
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
45822
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 47);
|
|
45785
45823
|
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.goToPage($event)); });
|
|
45786
45824
|
i0.ɵɵelementEnd();
|
|
45787
45825
|
} if (rf & 2) {
|
|
@@ -45789,7 +45827,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
45789
45827
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
45790
45828
|
} }
|
|
45791
45829
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45792
|
-
i0.ɵɵelementStart(0, "div",
|
|
45830
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
45793
45831
|
i0.ɵɵtext(1);
|
|
45794
45832
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45795
45833
|
i0.ɵɵelementEnd();
|
|
@@ -46141,19 +46179,19 @@ class SearchResultComponent {
|
|
|
46141
46179
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
46142
46180
|
noop() { }
|
|
46143
46181
|
static ɵfac = function SearchResultComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
46144
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "role", "status", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], [
|
|
46145
|
-
i0.ɵɵtemplate(0,
|
|
46182
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "role", "status", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "#", 1, "search-result-reset-link", 3, "click"], [1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["scope", "col", 1, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "#", 1, "sort-widget", 3, "click", "keyup.enter", "innerHTML"], ["scope", "col", 2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__checkbox"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], ["role", "status", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46183
|
+
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 3, 3, "div", 3);
|
|
46146
46184
|
} if (rf & 2) {
|
|
46147
46185
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
46148
46186
|
i0.ɵɵadvance();
|
|
46149
46187
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
46150
46188
|
i0.ɵɵadvance();
|
|
46151
46189
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
46152
|
-
} }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-
|
|
46190
|
+
} }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
|
|
46153
46191
|
}
|
|
46154
46192
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
46155
46193
|
type: Component,
|
|
46156
|
-
args: [{ selector: 'ccd-search-result', standalone: false, template: "<ng-container *ngIf=\"hasResults() || hasDrafts()\">\n<h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n<div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n</div>\n\n<div class=\"search-result-summary\">\n <div class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"selectionEnabled\" class=\"reset-selection\">\n <a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a>\n </div>\n</div>\n\n<table aria-labelledby=\"search-result-heading__text\">\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n</ng-container>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-summary{display:flow-root}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
46194
|
+
args: [{ selector: 'ccd-search-result', standalone: false, template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
46157
46195
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
46158
46196
|
type: Input
|
|
46159
46197
|
}], jurisdiction: [{
|
|
@@ -46246,7 +46284,7 @@ class SearchResultModule {
|
|
|
46246
46284
|
PipesModule,
|
|
46247
46285
|
ActivityModule,
|
|
46248
46286
|
PaginationModule, i1.RpxTranslationModule, PaletteModule], exports: [SearchResultComponent] }); })();
|
|
46249
|
-
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$
|
|
46287
|
+
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$2.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$1.PaginatePipe, CaseReferencePipe, SortSearchResultPipe, i1.RpxTranslatePipe]; });
|
|
46250
46288
|
|
|
46251
46289
|
// tslint:disable:variable-name
|
|
46252
46290
|
class ComplexFieldOverride {
|
|
@@ -46490,5 +46528,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46490
46528
|
* Generated bundle index. Do not edit.
|
|
46491
46529
|
*/
|
|
46492
46530
|
|
|
46493
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, 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, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
46531
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, 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, ProfileResolver, 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, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
46494
46532
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|