@hmcts/ccd-case-ui-toolkit 7.3.68-govuk3 → 7.3.68-govuk5
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 +227 -172
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +20 -4
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8401,6 +8401,26 @@ class WindowService {
|
|
|
8401
8401
|
type: Injectable
|
|
8402
8402
|
}], null, null); })();
|
|
8403
8403
|
|
|
8404
|
+
class FocusService {
|
|
8405
|
+
/** unique ID of DOM element this service will focus on */
|
|
8406
|
+
elementIdToFocus = 'focusService-elementIdToFocus';
|
|
8407
|
+
/**
|
|
8408
|
+
* Focus on a specific element with the elementIdToFocus.
|
|
8409
|
+
* If there is no element in the DOM, no action is taken.
|
|
8410
|
+
*/
|
|
8411
|
+
focus() {
|
|
8412
|
+
const elementToFocus = document.getElementById(this.elementIdToFocus);
|
|
8413
|
+
if (elementToFocus) {
|
|
8414
|
+
elementToFocus.focus();
|
|
8415
|
+
}
|
|
8416
|
+
}
|
|
8417
|
+
static ɵfac = function FocusService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FocusService)(); };
|
|
8418
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FocusService, factory: FocusService.ɵfac });
|
|
8419
|
+
}
|
|
8420
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FocusService, [{
|
|
8421
|
+
type: Injectable
|
|
8422
|
+
}], null, null); })();
|
|
8423
|
+
|
|
8404
8424
|
class WorkbasketInputFilterService {
|
|
8405
8425
|
httpService;
|
|
8406
8426
|
appConfig;
|
|
@@ -10163,7 +10183,7 @@ class CaseEditComponent {
|
|
|
10163
10183
|
return of(true);
|
|
10164
10184
|
}
|
|
10165
10185
|
finishEventCompletionLogic(eventResponse) {
|
|
10166
|
-
this.caseNotifier.
|
|
10186
|
+
this.caseNotifier.removeCachedCase();
|
|
10167
10187
|
this.sessionStorageService.removeItem('eventUrl');
|
|
10168
10188
|
const confirmation = this.buildConfirmation(eventResponse);
|
|
10169
10189
|
if (confirmation && (confirmation.getHeader() || confirmation.getBody())) {
|
|
@@ -11494,6 +11514,7 @@ class CaseEditPageComponent {
|
|
|
11494
11514
|
addressService;
|
|
11495
11515
|
linkedCasesService;
|
|
11496
11516
|
caseFlagStateService;
|
|
11517
|
+
focusService;
|
|
11497
11518
|
static RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
|
|
11498
11519
|
static NEW_FORM_DISCARD = 'NEW_FORM_DISCARD';
|
|
11499
11520
|
static NEW_FORM_SAVE = 'NEW_FORM_CHANGED_SAVE';
|
|
@@ -11529,13 +11550,7 @@ class CaseEditPageComponent {
|
|
|
11529
11550
|
static scrollToTop() {
|
|
11530
11551
|
window.scrollTo(0, 0);
|
|
11531
11552
|
}
|
|
11532
|
-
|
|
11533
|
-
const topContainer = document.getElementById('top');
|
|
11534
|
-
if (topContainer) {
|
|
11535
|
-
topContainer.focus();
|
|
11536
|
-
}
|
|
11537
|
-
}
|
|
11538
|
-
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService, validPageListCaseFieldsService, multipageComponentStateService, addressService, linkedCasesService, caseFlagStateService) {
|
|
11553
|
+
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService, validPageListCaseFieldsService, multipageComponentStateService, addressService, linkedCasesService, caseFlagStateService, focusService) {
|
|
11539
11554
|
this.caseEdit = caseEdit;
|
|
11540
11555
|
this.route = route;
|
|
11541
11556
|
this.formValueService = formValueService;
|
|
@@ -11551,6 +11566,7 @@ class CaseEditPageComponent {
|
|
|
11551
11566
|
this.addressService = addressService;
|
|
11552
11567
|
this.linkedCasesService = linkedCasesService;
|
|
11553
11568
|
this.caseFlagStateService = caseFlagStateService;
|
|
11569
|
+
this.focusService = focusService;
|
|
11554
11570
|
this.multipageComponentStateService.setInstigator(this);
|
|
11555
11571
|
}
|
|
11556
11572
|
onFinalNext() {
|
|
@@ -11615,7 +11631,7 @@ class CaseEditPageComponent {
|
|
|
11615
11631
|
}
|
|
11616
11632
|
this.triggerText = this.getTriggerText();
|
|
11617
11633
|
});
|
|
11618
|
-
|
|
11634
|
+
this.focusService.focus();
|
|
11619
11635
|
this.caseEditFormSub = this.caseEditDataService.caseEditForm$.subscribe({
|
|
11620
11636
|
next: editForm => this.editForm = editForm
|
|
11621
11637
|
});
|
|
@@ -11676,7 +11692,7 @@ class CaseEditPageComponent {
|
|
|
11676
11692
|
if (this.getPageNumber() !== undefined) {
|
|
11677
11693
|
this.previousStep();
|
|
11678
11694
|
}
|
|
11679
|
-
|
|
11695
|
+
this.focusService.focus();
|
|
11680
11696
|
}
|
|
11681
11697
|
// Adding validation message to show it as Error Summary
|
|
11682
11698
|
generateErrorMessage(fields, container, path, sourceFromComplexField) {
|
|
@@ -11885,7 +11901,7 @@ class CaseEditPageComponent {
|
|
|
11885
11901
|
// purposes)
|
|
11886
11902
|
this.removeAllJudicialUserFormControls(this.currentPage, this.editForm);
|
|
11887
11903
|
}
|
|
11888
|
-
|
|
11904
|
+
this.focusService.focus();
|
|
11889
11905
|
}
|
|
11890
11906
|
updateFormData(jsonData) {
|
|
11891
11907
|
for (const caseFieldId of Object.keys(jsonData.data)) {
|
|
@@ -12004,6 +12020,8 @@ class CaseEditPageComponent {
|
|
|
12004
12020
|
else {
|
|
12005
12021
|
this.caseEdit.cancelled.emit();
|
|
12006
12022
|
}
|
|
12023
|
+
// clear CaseView cache to allow any incidental changes to get picked up once the edit has cancelled
|
|
12024
|
+
this.caseEdit.caseNotifier.removeCachedCase();
|
|
12007
12025
|
this.clearValidationErrors();
|
|
12008
12026
|
this.multipageComponentStateService.reset();
|
|
12009
12027
|
}
|
|
@@ -12177,7 +12195,7 @@ class CaseEditPageComponent {
|
|
|
12177
12195
|
}
|
|
12178
12196
|
});
|
|
12179
12197
|
}
|
|
12180
|
-
static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.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)); };
|
|
12198
|
+
static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.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)); };
|
|
12181
12199
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], standalone: false, decls: 12, vars: 11, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["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"], ["tabindex", "0", 1, "validation-error", 3, "click", "keyup.enter"], [1, "form", 3, "submit", "formGroup"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["id", "caseEditForm", 3, "valuesChanged", "fields", "formGroup", "caseFields", "pageChangeSubject"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12182
12200
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
12183
12201
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 2)(1, CaseEditPageComponent_div_1_Template, 1, 0, "div", 3)(2, CaseEditPageComponent_ng_template_2_Template, 3, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(4, CaseEditPageComponent_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, CaseEditPageComponent_div_6_Template, 5, 4, "div", 4);
|
|
@@ -12210,8 +12228,8 @@ class CaseEditPageComponent {
|
|
|
12210
12228
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditPageComponent, [{
|
|
12211
12229
|
type: Component,
|
|
12212
12230
|
args: [{ selector: 'ccd-case-edit-page', standalone: false, template: "<ng-container *ngIf=\"currentPage\">\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]=\"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 <fieldset id=\"fieldset-case-data\">\n <legend style=\"display: none;\"></legend>\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 </fieldset>\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"] }]
|
|
12213
|
-
}], () => [{ type: CaseEditComponent }, { type: i1$1.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 }], null); })();
|
|
12214
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditPageComponent, { className: "CaseEditPageComponent", filePath: "lib/shared/components/case-editor/case-edit-page/case-edit-page.component.ts", lineNumber:
|
|
12231
|
+
}], () => [{ type: CaseEditComponent }, { type: i1$1.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 }], null); })();
|
|
12232
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditPageComponent, { className: "CaseEditPageComponent", filePath: "lib/shared/components/case-editor/case-edit-page/case-edit-page.component.ts", lineNumber: 36 }); })();
|
|
12215
12233
|
|
|
12216
12234
|
class CallbackErrorsContext {
|
|
12217
12235
|
triggerText;
|
|
@@ -33546,7 +33564,8 @@ class CaseEditorModule {
|
|
|
33546
33564
|
EventCompletionStateMachineService,
|
|
33547
33565
|
CaseFlagStateService,
|
|
33548
33566
|
ValidPageListCaseFieldsService,
|
|
33549
|
-
MultipageComponentStateService
|
|
33567
|
+
MultipageComponentStateService,
|
|
33568
|
+
FocusService
|
|
33550
33569
|
], imports: [CommonModule,
|
|
33551
33570
|
RouterModule,
|
|
33552
33571
|
FormsModule,
|
|
@@ -33629,7 +33648,8 @@ class CaseEditorModule {
|
|
|
33629
33648
|
EventCompletionStateMachineService,
|
|
33630
33649
|
CaseFlagStateService,
|
|
33631
33650
|
ValidPageListCaseFieldsService,
|
|
33632
|
-
MultipageComponentStateService
|
|
33651
|
+
MultipageComponentStateService,
|
|
33652
|
+
FocusService
|
|
33633
33653
|
]
|
|
33634
33654
|
}]
|
|
33635
33655
|
}], null, null); })();
|
|
@@ -37407,21 +37427,21 @@ class CasePrinterComponent {
|
|
|
37407
37427
|
}], () => [{ type: CaseNotifier }, { type: CasesService }, { type: AlertService }], null); })();
|
|
37408
37428
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePrinterComponent, { className: "CasePrinterComponent", filePath: "lib/shared/components/case-viewer/printer/case-printer.component.ts", lineNumber: 15 }); })();
|
|
37409
37429
|
|
|
37410
|
-
function
|
|
37411
|
-
i0.ɵɵelement(0, "ccd-case-basic-access-view",
|
|
37430
|
+
function CaseViewerComponent_main_0_ccd_case_basic_access_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
37431
|
+
i0.ɵɵelement(0, "ccd-case-basic-access-view", 4);
|
|
37412
37432
|
} if (rf & 2) {
|
|
37413
37433
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37414
37434
|
i0.ɵɵproperty("accessType", ctx_r0.userAccessType)("caseDetails", ctx_r0.caseDetails);
|
|
37415
37435
|
} }
|
|
37416
|
-
function
|
|
37417
|
-
i0.ɵɵelement(0, "ccd-case-full-access-view",
|
|
37436
|
+
function CaseViewerComponent_main_0_ccd_case_full_access_view_2_Template(rf, ctx) { if (rf & 1) {
|
|
37437
|
+
i0.ɵɵelement(0, "ccd-case-full-access-view", 5);
|
|
37418
37438
|
} if (rf & 2) {
|
|
37419
37439
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37420
37440
|
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails)("hasPrint", ctx_r0.hasPrint)("hasEventSelector", ctx_r0.hasEventSelector)("prependedTabs", ctx_r0.prependedTabs)("appendedTabs", ctx_r0.appendedTabs);
|
|
37421
37441
|
} }
|
|
37422
|
-
function
|
|
37423
|
-
i0.ɵɵelementStart(0, "
|
|
37424
|
-
i0.ɵɵtemplate(1,
|
|
37442
|
+
function CaseViewerComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
37443
|
+
i0.ɵɵelementStart(0, "main", 1);
|
|
37444
|
+
i0.ɵɵtemplate(1, CaseViewerComponent_main_0_ccd_case_basic_access_view_1_Template, 1, 2, "ccd-case-basic-access-view", 2)(2, CaseViewerComponent_main_0_ccd_case_full_access_view_2_Template, 1, 5, "ccd-case-full-access-view", 3);
|
|
37425
37445
|
i0.ɵɵelementEnd();
|
|
37426
37446
|
} if (rf & 2) {
|
|
37427
37447
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -37508,15 +37528,15 @@ class CaseViewerComponent {
|
|
|
37508
37528
|
return tabs;
|
|
37509
37529
|
}
|
|
37510
37530
|
static ɵfac = function CaseViewerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(OrderService)); };
|
|
37511
|
-
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"], ["id", "content", 3, "accessType", "caseDetails", 4, "ngIf"], [
|
|
37512
|
-
i0.ɵɵtemplate(0,
|
|
37531
|
+
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: [["id", "content", "role", "main", 4, "ngIf"], ["id", "content", "role", "main"], [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) {
|
|
37532
|
+
i0.ɵɵtemplate(0, CaseViewerComponent_main_0_Template, 3, 2, "main", 0);
|
|
37513
37533
|
} if (rf & 2) {
|
|
37514
37534
|
i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
|
|
37515
37535
|
} }, encapsulation: 2 });
|
|
37516
37536
|
}
|
|
37517
37537
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseViewerComponent, [{
|
|
37518
37538
|
type: Component,
|
|
37519
|
-
args: [{ selector: 'ccd-case-viewer', standalone: false, template: "<
|
|
37539
|
+
args: [{ selector: 'ccd-case-viewer', standalone: false, template: "<main *ngIf=\"isDataLoaded()\" id=\"content\" role=\"main\">\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</main>\n" }]
|
|
37520
37540
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CaseNotifier }, { type: AbstractAppConfig }, { type: OrderService }], { hasPrint: [{
|
|
37521
37541
|
type: Input
|
|
37522
37542
|
}], hasEventSelector: [{
|
|
@@ -37538,7 +37558,7 @@ function ErrorMessageComponent_ng_container_0_a_8_Template(rf, ctx) { if (rf & 1
|
|
|
37538
37558
|
i0.ɵɵelementEnd();
|
|
37539
37559
|
} if (rf & 2) {
|
|
37540
37560
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37541
|
-
i0.ɵɵproperty("
|
|
37561
|
+
i0.ɵɵproperty("href", "#" + ctx_r0.error.fieldId, i0.ɵɵsanitizeUrl);
|
|
37542
37562
|
i0.ɵɵadvance();
|
|
37543
37563
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.error.description));
|
|
37544
37564
|
} }
|
|
@@ -37574,15 +37594,15 @@ function ErrorMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
37574
37594
|
class ErrorMessageComponent {
|
|
37575
37595
|
error;
|
|
37576
37596
|
static ɵfac = function ErrorMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorMessageComponent)(); };
|
|
37577
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["exui-error-message"]], inputs: { error: "error" }, standalone: false, decls: 1, vars: 1, consts: [[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"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [
|
|
37597
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["exui-error-message"]], inputs: { error: "error" }, standalone: false, decls: 1, vars: 1, consts: [[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"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [3, "href", 4, "ngIf"], [3, "href"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37578
37598
|
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template, 10, 5, "ng-container", 0);
|
|
37579
37599
|
} if (rf & 2) {
|
|
37580
37600
|
i0.ɵɵproperty("ngIf", ctx.error);
|
|
37581
|
-
} }, dependencies: [i5.NgIf, i1
|
|
37601
|
+
} }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37582
37602
|
}
|
|
37583
37603
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMessageComponent, [{
|
|
37584
37604
|
type: Component,
|
|
37585
|
-
args: [{ selector: 'exui-error-message', standalone: false, template: "<!-- Cloned from rpx-xui-webapp src/app/components/error-message/error-message.component.html -->\n<ng-container *ngIf=\"error\">\n <div 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\">{{error.title | rpxTranslate}}</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a *ngIf=\"error.fieldId\"
|
|
37605
|
+
args: [{ selector: 'exui-error-message', standalone: false, template: "<!-- Cloned from rpx-xui-webapp src/app/components/error-message/error-message.component.html -->\n<ng-container *ngIf=\"error\">\n <div 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\">{{error.title | rpxTranslate}}</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a *ngIf=\"error.fieldId\" [href]=\"'#' + error.fieldId\">{{error.description | rpxTranslate}}</a>\n <span *ngIf=\"!error.fieldId\">{{error.description | rpxTranslate}}</span>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n" }]
|
|
37586
37606
|
}], null, { error: [{
|
|
37587
37607
|
type: Input
|
|
37588
37608
|
}] }); })();
|
|
@@ -38754,14 +38774,14 @@ var ChallengedAccessRequestErrors;
|
|
|
38754
38774
|
const _c0$4 = a0 => ({ "form-group-error": a0 });
|
|
38755
38775
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
38756
38776
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
38757
|
-
function
|
|
38758
|
-
i0.ɵɵelement(0, "exui-error-message",
|
|
38777
|
+
function CaseChallengedAccessRequestComponent_exui_error_message_1_Template(rf, ctx) { if (rf & 1) {
|
|
38778
|
+
i0.ɵɵelement(0, "exui-error-message", 26);
|
|
38759
38779
|
} if (rf & 2) {
|
|
38760
38780
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
38761
38781
|
i0.ɵɵproperty("error", ctx_r0.errorMessage);
|
|
38762
38782
|
} }
|
|
38763
|
-
function
|
|
38764
|
-
i0.ɵɵelementStart(0, "div",
|
|
38783
|
+
function CaseChallengedAccessRequestComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
38784
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
38765
38785
|
i0.ɵɵtext(1);
|
|
38766
38786
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38767
38787
|
i0.ɵɵelementEnd();
|
|
@@ -38770,8 +38790,8 @@ function CaseChallengedAccessRequestComponent_div_17_Template(rf, ctx) { if (rf
|
|
|
38770
38790
|
i0.ɵɵadvance();
|
|
38771
38791
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
38772
38792
|
} }
|
|
38773
|
-
function
|
|
38774
|
-
i0.ɵɵelementStart(0, "div",
|
|
38793
|
+
function CaseChallengedAccessRequestComponent_div_25_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
38794
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
38775
38795
|
i0.ɵɵtext(1);
|
|
38776
38796
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38777
38797
|
i0.ɵɵelementEnd();
|
|
@@ -38780,12 +38800,12 @@ function CaseChallengedAccessRequestComponent_div_24_div_4_Template(rf, ctx) { i
|
|
|
38780
38800
|
i0.ɵɵadvance();
|
|
38781
38801
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
38782
38802
|
} }
|
|
38783
|
-
function
|
|
38784
|
-
i0.ɵɵelementStart(0, "div",
|
|
38803
|
+
function CaseChallengedAccessRequestComponent_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
38804
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "div", 29)(2, "label", 30);
|
|
38785
38805
|
i0.ɵɵtext(3);
|
|
38786
38806
|
i0.ɵɵelementEnd();
|
|
38787
|
-
i0.ɵɵtemplate(4,
|
|
38788
|
-
i0.ɵɵelement(5, "input",
|
|
38807
|
+
i0.ɵɵtemplate(4, CaseChallengedAccessRequestComponent_div_25_div_4_Template, 3, 3, "div", 31);
|
|
38808
|
+
i0.ɵɵelement(5, "input", 32);
|
|
38789
38809
|
i0.ɵɵelementEnd()();
|
|
38790
38810
|
} if (rf & 2) {
|
|
38791
38811
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -38796,8 +38816,8 @@ function CaseChallengedAccessRequestComponent_div_24_Template(rf, ctx) { if (rf
|
|
|
38796
38816
|
i0.ɵɵadvance();
|
|
38797
38817
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c1$2, ctx_r0.formGroup.get("caseReference").invalid && ctx_r0.submitted));
|
|
38798
38818
|
} }
|
|
38799
|
-
function
|
|
38800
|
-
i0.ɵɵelementStart(0, "div",
|
|
38819
|
+
function CaseChallengedAccessRequestComponent_div_41_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
38820
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
38801
38821
|
i0.ɵɵtext(1);
|
|
38802
38822
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38803
38823
|
i0.ɵɵelementEnd();
|
|
@@ -38806,10 +38826,10 @@ function CaseChallengedAccessRequestComponent_div_40_div_2_Template(rf, ctx) { i
|
|
|
38806
38826
|
i0.ɵɵadvance();
|
|
38807
38827
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
38808
38828
|
} }
|
|
38809
|
-
function
|
|
38810
|
-
i0.ɵɵelementStart(0, "div",
|
|
38811
|
-
i0.ɵɵtemplate(2,
|
|
38812
|
-
i0.ɵɵelement(3, "textarea",
|
|
38829
|
+
function CaseChallengedAccessRequestComponent_div_41_Template(rf, ctx) { if (rf & 1) {
|
|
38830
|
+
i0.ɵɵelementStart(0, "div", 34)(1, "div", 29);
|
|
38831
|
+
i0.ɵɵtemplate(2, CaseChallengedAccessRequestComponent_div_41_div_2_Template, 3, 3, "div", 35);
|
|
38832
|
+
i0.ɵɵelement(3, "textarea", 36);
|
|
38813
38833
|
i0.ɵɵelementEnd()();
|
|
38814
38834
|
} if (rf & 2) {
|
|
38815
38835
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -38834,6 +38854,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38834
38854
|
errorMessage;
|
|
38835
38855
|
$roleAssignmentResponseSubscription;
|
|
38836
38856
|
genericError = 'There is a problem';
|
|
38857
|
+
errorPrefix = 'Error: ';
|
|
38837
38858
|
radioSelectedControlName = 'radioSelected';
|
|
38838
38859
|
caseReferenceControlName = 'caseReference';
|
|
38839
38860
|
otherReasonControlName = 'otherReason';
|
|
@@ -38875,6 +38896,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38875
38896
|
}],
|
|
38876
38897
|
updateOn: 'submit'
|
|
38877
38898
|
}));
|
|
38899
|
+
this.updateDocumentTitle();
|
|
38878
38900
|
}
|
|
38879
38901
|
onChange() {
|
|
38880
38902
|
this.submitted = false;
|
|
@@ -38883,6 +38905,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38883
38905
|
// to the DOM by *ngIf, it will appear empty but the associated FormControl still has the previous value.)
|
|
38884
38906
|
this.formGroup.get(this.caseReferenceControlName).setValue('');
|
|
38885
38907
|
this.formGroup.get(this.otherReasonControlName).setValue('');
|
|
38908
|
+
this.updateDocumentTitle();
|
|
38886
38909
|
}
|
|
38887
38910
|
onSubmit() {
|
|
38888
38911
|
this.submitted = true;
|
|
@@ -38890,7 +38913,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38890
38913
|
this.errorMessage = {
|
|
38891
38914
|
title: this.genericError,
|
|
38892
38915
|
description: ChallengedAccessRequestErrors.NO_SELECTION,
|
|
38893
|
-
fieldId: '
|
|
38916
|
+
fieldId: 'reason-0'
|
|
38894
38917
|
};
|
|
38895
38918
|
}
|
|
38896
38919
|
else {
|
|
@@ -38909,6 +38932,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38909
38932
|
};
|
|
38910
38933
|
}
|
|
38911
38934
|
}
|
|
38935
|
+
this.updateDocumentTitle();
|
|
38912
38936
|
// Initiate Challenged Access Request
|
|
38913
38937
|
if (this.formGroup.valid) {
|
|
38914
38938
|
// Get the Case Reference (for which access is being requested) from the ActivatedRouteSnapshot data
|
|
@@ -38944,112 +38968,122 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38944
38968
|
inputEmpty(input) {
|
|
38945
38969
|
return input.value === null || input.value.trim().length === 0;
|
|
38946
38970
|
}
|
|
38971
|
+
updateDocumentTitle() {
|
|
38972
|
+
if (!this.title) {
|
|
38973
|
+
return;
|
|
38974
|
+
}
|
|
38975
|
+
document.title = this.formGroup?.invalid && this.submitted
|
|
38976
|
+
? `${this.errorPrefix}${this.title}`
|
|
38977
|
+
: this.title;
|
|
38978
|
+
}
|
|
38947
38979
|
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
38948
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls:
|
|
38949
|
-
i0.ɵɵ
|
|
38950
|
-
i0.ɵɵ
|
|
38951
|
-
i0.ɵɵ
|
|
38952
|
-
i0.ɵɵ
|
|
38953
|
-
i0.ɵɵ
|
|
38954
|
-
i0.ɵɵ
|
|
38955
|
-
i0.ɵɵ
|
|
38980
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls: 51, vars: 46, consts: [["id", "content", "role", "main", 1, "govuk-main-wrapper"], [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"], [1, "govuk-form-group"], ["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", "aria-describedby", "reason-3-label", "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) {
|
|
38981
|
+
i0.ɵɵelementStart(0, "main", 0);
|
|
38982
|
+
i0.ɵɵtemplate(1, CaseChallengedAccessRequestComponent_exui_error_message_1_Template, 1, 1, "exui-error-message", 1);
|
|
38983
|
+
i0.ɵɵelementStart(2, "cut-alert", 2);
|
|
38984
|
+
i0.ɵɵtext(3);
|
|
38985
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
38986
|
+
i0.ɵɵelement(5, "br");
|
|
38987
|
+
i0.ɵɵtext(6);
|
|
38988
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
38956
38989
|
i0.ɵɵelementEnd();
|
|
38957
|
-
i0.ɵɵelementStart(
|
|
38958
|
-
i0.ɵɵlistener("submit", function
|
|
38959
|
-
i0.ɵɵelementStart(
|
|
38960
|
-
i0.ɵɵtext(
|
|
38961
|
-
i0.ɵɵpipe(
|
|
38990
|
+
i0.ɵɵelementStart(8, "form", 3);
|
|
38991
|
+
i0.ɵɵlistener("submit", function CaseChallengedAccessRequestComponent_Template_form_submit_8_listener() { return ctx.onSubmit(); });
|
|
38992
|
+
i0.ɵɵelementStart(9, "div", 4)(10, "fieldset", 5)(11, "legend", 6)(12, "h1", 7);
|
|
38993
|
+
i0.ɵɵtext(13);
|
|
38994
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
38962
38995
|
i0.ɵɵelementEnd()();
|
|
38963
|
-
i0.ɵɵelementStart(
|
|
38964
|
-
i0.ɵɵtext(
|
|
38965
|
-
i0.ɵɵpipe(
|
|
38996
|
+
i0.ɵɵelementStart(15, "div", 8);
|
|
38997
|
+
i0.ɵɵtext(16);
|
|
38998
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
38966
38999
|
i0.ɵɵelementEnd();
|
|
38967
|
-
i0.ɵɵtemplate(
|
|
38968
|
-
i0.ɵɵelementStart(
|
|
38969
|
-
i0.ɵɵlistener("change", function
|
|
39000
|
+
i0.ɵɵtemplate(18, CaseChallengedAccessRequestComponent_div_18_Template, 3, 3, "div", 9);
|
|
39001
|
+
i0.ɵɵelementStart(19, "div", 10)(20, "div", 11)(21, "input", 12);
|
|
39002
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_21_listener() { return ctx.onChange(); });
|
|
38970
39003
|
i0.ɵɵelementEnd();
|
|
38971
|
-
i0.ɵɵelementStart(
|
|
38972
|
-
i0.ɵɵtext(
|
|
38973
|
-
i0.ɵɵpipe(
|
|
39004
|
+
i0.ɵɵelementStart(22, "label", 13);
|
|
39005
|
+
i0.ɵɵtext(23);
|
|
39006
|
+
i0.ɵɵpipe(24, "rpxTranslate");
|
|
38974
39007
|
i0.ɵɵelementEnd()();
|
|
38975
|
-
i0.ɵɵtemplate(
|
|
38976
|
-
i0.ɵɵelementStart(
|
|
38977
|
-
i0.ɵɵlistener("change", function
|
|
39008
|
+
i0.ɵɵtemplate(25, CaseChallengedAccessRequestComponent_div_25_Template, 6, 5, "div", 14);
|
|
39009
|
+
i0.ɵɵelementStart(26, "div", 11)(27, "input", 15);
|
|
39010
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_27_listener() { return ctx.onChange(); });
|
|
38978
39011
|
i0.ɵɵelementEnd();
|
|
38979
|
-
i0.ɵɵelementStart(
|
|
38980
|
-
i0.ɵɵtext(
|
|
38981
|
-
i0.ɵɵpipe(
|
|
39012
|
+
i0.ɵɵelementStart(28, "label", 16);
|
|
39013
|
+
i0.ɵɵtext(29);
|
|
39014
|
+
i0.ɵɵpipe(30, "rpxTranslate");
|
|
38982
39015
|
i0.ɵɵelementEnd()();
|
|
38983
|
-
i0.ɵɵelementStart(
|
|
38984
|
-
i0.ɵɵlistener("change", function
|
|
39016
|
+
i0.ɵɵelementStart(31, "div", 11)(32, "input", 17);
|
|
39017
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_32_listener() { return ctx.onChange(); });
|
|
38985
39018
|
i0.ɵɵelementEnd();
|
|
38986
|
-
i0.ɵɵelementStart(
|
|
38987
|
-
i0.ɵɵtext(
|
|
38988
|
-
i0.ɵɵpipe(
|
|
39019
|
+
i0.ɵɵelementStart(33, "label", 18);
|
|
39020
|
+
i0.ɵɵtext(34);
|
|
39021
|
+
i0.ɵɵpipe(35, "rpxTranslate");
|
|
38989
39022
|
i0.ɵɵelementEnd()();
|
|
38990
|
-
i0.ɵɵelementStart(
|
|
38991
|
-
i0.ɵɵlistener("change", function
|
|
39023
|
+
i0.ɵɵelementStart(36, "div", 11)(37, "input", 19);
|
|
39024
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_37_listener() { return ctx.onChange(); });
|
|
38992
39025
|
i0.ɵɵelementEnd();
|
|
38993
|
-
i0.ɵɵelementStart(
|
|
38994
|
-
i0.ɵɵtext(
|
|
38995
|
-
i0.ɵɵpipe(
|
|
39026
|
+
i0.ɵɵelementStart(38, "label", 20);
|
|
39027
|
+
i0.ɵɵtext(39);
|
|
39028
|
+
i0.ɵɵpipe(40, "rpxTranslate");
|
|
38996
39029
|
i0.ɵɵelementEnd()();
|
|
38997
|
-
i0.ɵɵtemplate(
|
|
39030
|
+
i0.ɵɵtemplate(41, CaseChallengedAccessRequestComponent_div_41_Template, 4, 4, "div", 21);
|
|
38998
39031
|
i0.ɵɵelementEnd()()();
|
|
38999
|
-
i0.ɵɵelementStart(
|
|
39000
|
-
i0.ɵɵtext(
|
|
39001
|
-
i0.ɵɵpipe(
|
|
39032
|
+
i0.ɵɵelementStart(42, "div", 22)(43, "button", 23);
|
|
39033
|
+
i0.ɵɵtext(44);
|
|
39034
|
+
i0.ɵɵpipe(45, "rpxTranslate");
|
|
39002
39035
|
i0.ɵɵelementEnd();
|
|
39003
|
-
i0.ɵɵelementStart(
|
|
39004
|
-
i0.ɵɵlistener("click", function
|
|
39005
|
-
i0.ɵɵtext(
|
|
39006
|
-
i0.ɵɵpipe(
|
|
39007
|
-
i0.ɵɵelementEnd()()()()();
|
|
39036
|
+
i0.ɵɵelementStart(46, "div", 24)(47, "p")(48, "a", 25);
|
|
39037
|
+
i0.ɵɵlistener("click", function CaseChallengedAccessRequestComponent_Template_a_click_48_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
39038
|
+
i0.ɵɵtext(49);
|
|
39039
|
+
i0.ɵɵpipe(50, "rpxTranslate");
|
|
39040
|
+
i0.ɵɵelementEnd()()()()()();
|
|
39008
39041
|
} if (rf & 2) {
|
|
39042
|
+
i0.ɵɵadvance();
|
|
39009
39043
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted);
|
|
39010
39044
|
i0.ɵɵadvance(2);
|
|
39011
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39045
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 24, "This case requires challenged access."));
|
|
39012
39046
|
i0.ɵɵadvance(3);
|
|
39013
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39047
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 26, "This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes."), "\n");
|
|
39014
39048
|
i0.ɵɵadvance(2);
|
|
39015
39049
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
39016
39050
|
i0.ɵɵadvance();
|
|
39017
39051
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
|
|
39018
39052
|
i0.ɵɵadvance(4);
|
|
39019
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39053
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 28, ctx.title), " ");
|
|
39020
39054
|
i0.ɵɵadvance(3);
|
|
39021
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39055
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 30, ctx.hint), " ");
|
|
39022
39056
|
i0.ɵɵadvance(2);
|
|
39023
39057
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").invalid && ctx.submitted);
|
|
39024
39058
|
i0.ɵɵadvance(3);
|
|
39025
39059
|
i0.ɵɵproperty("value", ctx.accessReasons[0].reason)("checked", ctx.accessReasons[0].checked);
|
|
39026
39060
|
i0.ɵɵadvance(2);
|
|
39027
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39061
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(24, 32, ctx.accessReasons[0].reason), " ");
|
|
39028
39062
|
i0.ɵɵadvance(2);
|
|
39029
39063
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").value === ctx.accessReasons[0].reason);
|
|
39030
39064
|
i0.ɵɵadvance(2);
|
|
39031
39065
|
i0.ɵɵproperty("value", ctx.accessReasons[1].reason)("checked", ctx.accessReasons[1].checked);
|
|
39032
39066
|
i0.ɵɵadvance(2);
|
|
39033
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39067
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 34, ctx.accessReasons[1].reason), " ");
|
|
39034
39068
|
i0.ɵɵadvance(3);
|
|
39035
39069
|
i0.ɵɵproperty("value", ctx.accessReasons[2].reason)("checked", ctx.accessReasons[2].checked);
|
|
39036
39070
|
i0.ɵɵadvance(2);
|
|
39037
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39071
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 36, ctx.accessReasons[2].reason), " ");
|
|
39038
39072
|
i0.ɵɵadvance(3);
|
|
39039
39073
|
i0.ɵɵproperty("value", ctx.accessReasons[3].reason)("checked", ctx.accessReasons[3].checked);
|
|
39040
39074
|
i0.ɵɵadvance(2);
|
|
39041
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39075
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(40, 38, ctx.accessReasons[3].reason), " ");
|
|
39042
39076
|
i0.ɵɵadvance(2);
|
|
39043
39077
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").value === ctx.accessReasons[3].reason);
|
|
39044
39078
|
i0.ɵɵadvance(3);
|
|
39045
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39079
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(45, 40, "Submit"), " ");
|
|
39046
39080
|
i0.ɵɵadvance(5);
|
|
39047
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39081
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(50, 42, "Cancel"), " ");
|
|
39048
39082
|
} }, encapsulation: 2 });
|
|
39049
39083
|
}
|
|
39050
39084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessRequestComponent, [{
|
|
39051
39085
|
type: Component,
|
|
39052
|
-
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]=\"{'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 <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 (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\">\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\" 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\" (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\" (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 (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\">\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\" aria-describedby=\"reason-3-label\" 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" }]
|
|
39086
|
+
args: [{ selector: 'ccd-case-challenged-access-request', standalone: false, template: "<main id=\"content\" role=\"main\" class=\"govuk-main-wrapper\">\n<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]=\"{'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 <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 (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\">\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\" 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\" (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\" (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 (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\">\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\" aria-describedby=\"reason-3-label\" 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</main>\n" }]
|
|
39053
39087
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
39054
39088
|
(() => { (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: 15 }); })();
|
|
39055
39089
|
|
|
@@ -39466,14 +39500,14 @@ var SpecificAccessRequestErrors;
|
|
|
39466
39500
|
|
|
39467
39501
|
const _c0$1 = a0 => ({ "form-group-error": a0 });
|
|
39468
39502
|
const _c1$1 = a0 => ({ "govuk-textarea--error": a0 });
|
|
39469
|
-
function
|
|
39470
|
-
i0.ɵɵelement(0, "exui-error-message",
|
|
39503
|
+
function CaseSpecificAccessRequestComponent_exui_error_message_1_Template(rf, ctx) { if (rf & 1) {
|
|
39504
|
+
i0.ɵɵelement(0, "exui-error-message", 24);
|
|
39471
39505
|
} if (rf & 2) {
|
|
39472
39506
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
39473
39507
|
i0.ɵɵproperty("error", ctx_r0.errorMessage);
|
|
39474
39508
|
} }
|
|
39475
|
-
function
|
|
39476
|
-
i0.ɵɵelementStart(0, "div",
|
|
39509
|
+
function CaseSpecificAccessRequestComponent_div_42_Template(rf, ctx) { if (rf & 1) {
|
|
39510
|
+
i0.ɵɵelementStart(0, "div", 25);
|
|
39477
39511
|
i0.ɵɵtext(1);
|
|
39478
39512
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39479
39513
|
i0.ɵɵelementEnd();
|
|
@@ -39498,6 +39532,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39498
39532
|
errorMessage;
|
|
39499
39533
|
$roleAssignmentResponseSubscription;
|
|
39500
39534
|
genericError = 'There is a problem';
|
|
39535
|
+
errorPrefix = 'Error: ';
|
|
39501
39536
|
specificReasonControlName = 'specificReason';
|
|
39502
39537
|
getSpecificAccessError = false;
|
|
39503
39538
|
constructor(fb, router, casesService, route, caseNotifier) {
|
|
@@ -39525,6 +39560,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39525
39560
|
],
|
|
39526
39561
|
updateOn: 'submit',
|
|
39527
39562
|
}));
|
|
39563
|
+
this.updateDocumentTitle();
|
|
39528
39564
|
}
|
|
39529
39565
|
onChange() {
|
|
39530
39566
|
this.submitted = false;
|
|
@@ -39532,6 +39568,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39532
39568
|
// the field's FormControl when the field itself is removed from the DOM by *ngIf. (If it is subsequently added back
|
|
39533
39569
|
// to the DOM by *ngIf, it will appear empty but the associated FormControl still has the previous value.)
|
|
39534
39570
|
this.formGroup.get(this.specificReasonControlName).setValue('');
|
|
39571
|
+
this.updateDocumentTitle();
|
|
39535
39572
|
}
|
|
39536
39573
|
onSubmit() {
|
|
39537
39574
|
this.submitted = true;
|
|
@@ -39541,6 +39578,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39541
39578
|
description: SpecificAccessRequestErrors.NO_REASON,
|
|
39542
39579
|
fieldId: 'specific-reason',
|
|
39543
39580
|
};
|
|
39581
|
+
this.updateDocumentTitle();
|
|
39544
39582
|
}
|
|
39545
39583
|
// Initiate Specific Access Request
|
|
39546
39584
|
if (this.formGroup.valid) {
|
|
@@ -39555,6 +39593,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39555
39593
|
// Would have been nice to pass the caseId within state.data, but this isn't part of NavigationExtras until
|
|
39556
39594
|
// Angular 7.2
|
|
39557
39595
|
this.getSpecificAccessError = false;
|
|
39596
|
+
this.updateDocumentTitle();
|
|
39558
39597
|
this.router.navigate(['success'], { relativeTo: this.route });
|
|
39559
39598
|
}, () => {
|
|
39560
39599
|
// Show the generic error message
|
|
@@ -39563,6 +39602,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39563
39602
|
title: this.genericError,
|
|
39564
39603
|
description: 'Sorry, there is a problem with the service; Try again later.'
|
|
39565
39604
|
};
|
|
39605
|
+
this.updateDocumentTitle();
|
|
39566
39606
|
});
|
|
39567
39607
|
}
|
|
39568
39608
|
}
|
|
@@ -39578,97 +39618,115 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39578
39618
|
inputEmpty(input) {
|
|
39579
39619
|
return input.value === null || input.value.trim().length === 0;
|
|
39580
39620
|
}
|
|
39621
|
+
updateDocumentTitle() {
|
|
39622
|
+
if (!this.title) {
|
|
39623
|
+
return;
|
|
39624
|
+
}
|
|
39625
|
+
const hasErrorState = (this.formGroup?.invalid && this.submitted) || this.getSpecificAccessError;
|
|
39626
|
+
document.title = hasErrorState ? `${this.errorPrefix}${this.title}` : this.title;
|
|
39627
|
+
}
|
|
39581
39628
|
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
39582
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls:
|
|
39583
|
-
i0.ɵɵ
|
|
39584
|
-
i0.ɵɵ
|
|
39585
|
-
i0.ɵɵ
|
|
39586
|
-
i0.ɵɵ
|
|
39587
|
-
i0.ɵɵ
|
|
39588
|
-
i0.ɵɵ
|
|
39589
|
-
i0.ɵɵ
|
|
39629
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls: 54, vars: 46, consts: [["id", "content", "role", "main", 1, "govuk-main-wrapper"], [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"], ["for", "specific-reason", 1, "govuk-label"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["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) {
|
|
39630
|
+
i0.ɵɵelementStart(0, "main", 0);
|
|
39631
|
+
i0.ɵɵtemplate(1, CaseSpecificAccessRequestComponent_exui_error_message_1_Template, 1, 1, "exui-error-message", 1);
|
|
39632
|
+
i0.ɵɵelementStart(2, "cut-alert", 2);
|
|
39633
|
+
i0.ɵɵtext(3);
|
|
39634
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
39635
|
+
i0.ɵɵelement(5, "br");
|
|
39636
|
+
i0.ɵɵtext(6);
|
|
39637
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
39590
39638
|
i0.ɵɵelementEnd();
|
|
39591
|
-
i0.ɵɵelementStart(
|
|
39592
|
-
i0.ɵɵlistener("submit", function
|
|
39593
|
-
i0.ɵɵelementStart(
|
|
39594
|
-
i0.ɵɵtext(
|
|
39595
|
-
i0.ɵɵpipe(
|
|
39639
|
+
i0.ɵɵelementStart(8, "form", 3);
|
|
39640
|
+
i0.ɵɵlistener("submit", function CaseSpecificAccessRequestComponent_Template_form_submit_8_listener() { return ctx.onSubmit(); });
|
|
39641
|
+
i0.ɵɵelementStart(9, "div", 4)(10, "fieldset", 5)(11, "legend", 6)(12, "h1", 7);
|
|
39642
|
+
i0.ɵɵtext(13);
|
|
39643
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
39596
39644
|
i0.ɵɵelementEnd()();
|
|
39597
|
-
i0.ɵɵelementStart(
|
|
39598
|
-
i0.ɵɵtext(
|
|
39599
|
-
i0.ɵɵpipe(
|
|
39645
|
+
i0.ɵɵelementStart(15, "details", 8)(16, "summary", 9)(17, "span", 10);
|
|
39646
|
+
i0.ɵɵtext(18);
|
|
39647
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
39600
39648
|
i0.ɵɵelementEnd()();
|
|
39601
|
-
i0.ɵɵelementStart(
|
|
39602
|
-
i0.ɵɵtext(
|
|
39603
|
-
i0.ɵɵpipe(
|
|
39649
|
+
i0.ɵɵelementStart(20, "div", 11)(21, "p", 12);
|
|
39650
|
+
i0.ɵɵtext(22);
|
|
39651
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
39604
39652
|
i0.ɵɵelementEnd();
|
|
39605
|
-
i0.ɵɵelementStart(
|
|
39606
|
-
i0.ɵɵtext(
|
|
39607
|
-
i0.ɵɵpipe(
|
|
39653
|
+
i0.ɵɵelementStart(24, "ul", 13)(25, "li");
|
|
39654
|
+
i0.ɵɵtext(26);
|
|
39655
|
+
i0.ɵɵpipe(27, "rpxTranslate");
|
|
39608
39656
|
i0.ɵɵelementEnd();
|
|
39609
|
-
i0.ɵɵelementStart(
|
|
39610
|
-
i0.ɵɵtext(
|
|
39611
|
-
i0.ɵɵpipe(
|
|
39657
|
+
i0.ɵɵelementStart(28, "li");
|
|
39658
|
+
i0.ɵɵtext(29);
|
|
39659
|
+
i0.ɵɵpipe(30, "rpxTranslate");
|
|
39612
39660
|
i0.ɵɵelementEnd();
|
|
39613
|
-
i0.ɵɵelementStart(
|
|
39614
|
-
i0.ɵɵtext(
|
|
39615
|
-
i0.ɵɵpipe(
|
|
39661
|
+
i0.ɵɵelementStart(31, "li");
|
|
39662
|
+
i0.ɵɵtext(32);
|
|
39663
|
+
i0.ɵɵpipe(33, "rpxTranslate");
|
|
39616
39664
|
i0.ɵɵelementEnd()()()();
|
|
39617
|
-
i0.ɵɵelementStart(
|
|
39618
|
-
i0.ɵɵtext(
|
|
39619
|
-
i0.ɵɵpipe(
|
|
39665
|
+
i0.ɵɵelementStart(34, "div", 14);
|
|
39666
|
+
i0.ɵɵtext(35);
|
|
39667
|
+
i0.ɵɵpipe(36, "rpxTranslate");
|
|
39620
39668
|
i0.ɵɵelementEnd();
|
|
39621
|
-
i0.ɵɵelementStart(
|
|
39622
|
-
i0.ɵɵ
|
|
39623
|
-
i0.ɵɵ
|
|
39624
|
-
i0.ɵɵtext(40, " ");
|
|
39625
|
-
i0.ɵɵelementEnd()()()()();
|
|
39626
|
-
i0.ɵɵelementStart(41, "div", 18)(42, "button", 19);
|
|
39627
|
-
i0.ɵɵtext(43);
|
|
39628
|
-
i0.ɵɵpipe(44, "rpxTranslate");
|
|
39669
|
+
i0.ɵɵelementStart(37, "div", 15)(38, "div", 16)(39, "label", 17);
|
|
39670
|
+
i0.ɵɵtext(40);
|
|
39671
|
+
i0.ɵɵpipe(41, "rpxTranslate");
|
|
39629
39672
|
i0.ɵɵelementEnd();
|
|
39630
|
-
i0.ɵɵ
|
|
39631
|
-
i0.ɵɵ
|
|
39632
|
-
i0.ɵɵtext(
|
|
39633
|
-
i0.ɵɵpipe(49, "rpxTranslate");
|
|
39673
|
+
i0.ɵɵtemplate(42, CaseSpecificAccessRequestComponent_div_42_Template, 3, 3, "div", 18);
|
|
39674
|
+
i0.ɵɵelementStart(43, "textarea", 19);
|
|
39675
|
+
i0.ɵɵtext(44, " ");
|
|
39634
39676
|
i0.ɵɵelementEnd()()()()();
|
|
39677
|
+
i0.ɵɵelementStart(45, "div", 20)(46, "button", 21);
|
|
39678
|
+
i0.ɵɵtext(47);
|
|
39679
|
+
i0.ɵɵpipe(48, "rpxTranslate");
|
|
39680
|
+
i0.ɵɵelementEnd();
|
|
39681
|
+
i0.ɵɵelementStart(49, "div", 22)(50, "p")(51, "a", 23);
|
|
39682
|
+
i0.ɵɵlistener("click", function CaseSpecificAccessRequestComponent_Template_a_click_51_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
39683
|
+
i0.ɵɵtext(52);
|
|
39684
|
+
i0.ɵɵpipe(53, "rpxTranslate");
|
|
39685
|
+
i0.ɵɵelementEnd()()()()()();
|
|
39635
39686
|
} if (rf & 2) {
|
|
39687
|
+
let tmp_13_0;
|
|
39688
|
+
let tmp_14_0;
|
|
39689
|
+
let tmp_15_0;
|
|
39690
|
+
i0.ɵɵadvance();
|
|
39636
39691
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted || ctx.getSpecificAccessError);
|
|
39637
39692
|
i0.ɵɵadvance(2);
|
|
39638
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39693
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 18, "Authorisation is needed to access this case."));
|
|
39639
39694
|
i0.ɵɵadvance(3);
|
|
39640
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39695
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 20, "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."), "\n");
|
|
39641
39696
|
i0.ɵɵadvance(2);
|
|
39642
39697
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
39643
39698
|
i0.ɵɵadvance();
|
|
39644
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
39699
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(42, _c0$1, ctx.formGroup.invalid && ctx.submitted));
|
|
39645
39700
|
i0.ɵɵadvance(4);
|
|
39646
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39701
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 22, ctx.title), " ");
|
|
39647
39702
|
i0.ɵɵadvance(5);
|
|
39648
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39703
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 24, "Help with requesting case access"), " ");
|
|
39649
39704
|
i0.ɵɵadvance(4);
|
|
39650
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39705
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 26, "You could include:"));
|
|
39651
39706
|
i0.ɵɵadvance(4);
|
|
39652
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39707
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 28, "the case reference of the linked case"));
|
|
39653
39708
|
i0.ɵɵadvance(3);
|
|
39654
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39709
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 30, "how long you require access to this case"));
|
|
39655
39710
|
i0.ɵɵadvance(3);
|
|
39656
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39711
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 32, "any other reasons why you require access"));
|
|
39657
39712
|
i0.ɵɵadvance(3);
|
|
39658
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39659
|
-
i0.ɵɵadvance(
|
|
39660
|
-
i0.ɵɵ
|
|
39713
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(36, 34, ctx.hint), " ");
|
|
39714
|
+
i0.ɵɵadvance(5);
|
|
39715
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 36, "Reason for requesting access"), " ");
|
|
39716
|
+
i0.ɵɵadvance(2);
|
|
39717
|
+
i0.ɵɵproperty("ngIf", ((tmp_13_0 = ctx.formGroup.get("specificReason")) == null ? null : tmp_13_0.invalid) && ctx.submitted);
|
|
39661
39718
|
i0.ɵɵadvance();
|
|
39662
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
39719
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c1$1, ((tmp_14_0 = ctx.formGroup.get("specificReason")) == null ? null : tmp_14_0.invalid) && ctx.submitted));
|
|
39720
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_15_0 = ctx.formGroup.get("specificReason")) == null ? null : tmp_15_0.invalid) && ctx.submitted ? "reason-hint specific-reason-error-message" : "reason-hint");
|
|
39663
39721
|
i0.ɵɵadvance(4);
|
|
39664
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39722
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(48, 38, "Submit"), " ");
|
|
39665
39723
|
i0.ɵɵadvance(5);
|
|
39666
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39724
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(53, 40, "Cancel"), " ");
|
|
39667
39725
|
} }, encapsulation: 2 });
|
|
39668
39726
|
}
|
|
39669
39727
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessRequestComponent, [{
|
|
39670
39728
|
type: Component,
|
|
39671
|
-
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')
|
|
39729
|
+
args: [{ selector: 'ccd-case-specific-access-request', standalone: false, template: "<main id=\"content\" role=\"main\" class=\"govuk-main-wrapper\">\n<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 <label class=\"govuk-label\" for=\"specific-reason\">\n {{ 'Reason for requesting access' | rpxTranslate }}\n </label>\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 <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 [attr.aria-describedby]=\"\n formGroup.get('specificReason')?.invalid && submitted\n ? 'reason-hint specific-reason-error-message'\n : 'reason-hint'\n \"\n rows=\"8\"\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</main>\n" }]
|
|
39672
39730
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
39673
39731
|
(() => { (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: 23 }); })();
|
|
39674
39732
|
|
|
@@ -40033,9 +40091,6 @@ class CreateCaseFiltersComponent {
|
|
|
40033
40091
|
this.jurisdictions = jurisdictions;
|
|
40034
40092
|
this.selectJurisdiction(this.jurisdictions, this.filterJurisdictionControl);
|
|
40035
40093
|
});
|
|
40036
|
-
if (document.getElementById('cc-jurisdiction')) {
|
|
40037
|
-
document.getElementById('cc-jurisdiction').focus();
|
|
40038
|
-
}
|
|
40039
40094
|
}
|
|
40040
40095
|
onJurisdictionIdChange() {
|
|
40041
40096
|
this.resetCaseType();
|
|
@@ -41861,5 +41916,5 @@ class TestRouteSnapshotBuilder {
|
|
|
41861
41916
|
* Generated bundle index. Do not edit.
|
|
41862
41917
|
*/
|
|
41863
41918
|
|
|
41864
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, safeJsonParse, textFieldType, viewerRouting };
|
|
41919
|
+
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, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, safeJsonParse, textFieldType, viewerRouting };
|
|
41865
41920
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|