@hmcts/ccd-case-ui-toolkit 7.3.68-govuk5 → 7.3.68-govuk7
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 +178 -253
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +4 -20
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8401,26 +8401,6 @@ 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
|
-
|
|
8424
8404
|
class WorkbasketInputFilterService {
|
|
8425
8405
|
httpService;
|
|
8426
8406
|
appConfig;
|
|
@@ -10183,7 +10163,7 @@ class CaseEditComponent {
|
|
|
10183
10163
|
return of(true);
|
|
10184
10164
|
}
|
|
10185
10165
|
finishEventCompletionLogic(eventResponse) {
|
|
10186
|
-
this.caseNotifier.
|
|
10166
|
+
this.caseNotifier.cachedCaseView = null;
|
|
10187
10167
|
this.sessionStorageService.removeItem('eventUrl');
|
|
10188
10168
|
const confirmation = this.buildConfirmation(eventResponse);
|
|
10189
10169
|
if (confirmation && (confirmation.getHeader() || confirmation.getBody())) {
|
|
@@ -11514,7 +11494,6 @@ class CaseEditPageComponent {
|
|
|
11514
11494
|
addressService;
|
|
11515
11495
|
linkedCasesService;
|
|
11516
11496
|
caseFlagStateService;
|
|
11517
|
-
focusService;
|
|
11518
11497
|
static RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
|
|
11519
11498
|
static NEW_FORM_DISCARD = 'NEW_FORM_DISCARD';
|
|
11520
11499
|
static NEW_FORM_SAVE = 'NEW_FORM_CHANGED_SAVE';
|
|
@@ -11550,7 +11529,13 @@ class CaseEditPageComponent {
|
|
|
11550
11529
|
static scrollToTop() {
|
|
11551
11530
|
window.scrollTo(0, 0);
|
|
11552
11531
|
}
|
|
11553
|
-
|
|
11532
|
+
static setFocusToTop() {
|
|
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) {
|
|
11554
11539
|
this.caseEdit = caseEdit;
|
|
11555
11540
|
this.route = route;
|
|
11556
11541
|
this.formValueService = formValueService;
|
|
@@ -11566,7 +11551,6 @@ class CaseEditPageComponent {
|
|
|
11566
11551
|
this.addressService = addressService;
|
|
11567
11552
|
this.linkedCasesService = linkedCasesService;
|
|
11568
11553
|
this.caseFlagStateService = caseFlagStateService;
|
|
11569
|
-
this.focusService = focusService;
|
|
11570
11554
|
this.multipageComponentStateService.setInstigator(this);
|
|
11571
11555
|
}
|
|
11572
11556
|
onFinalNext() {
|
|
@@ -11631,7 +11615,7 @@ class CaseEditPageComponent {
|
|
|
11631
11615
|
}
|
|
11632
11616
|
this.triggerText = this.getTriggerText();
|
|
11633
11617
|
});
|
|
11634
|
-
|
|
11618
|
+
CaseEditPageComponent.setFocusToTop();
|
|
11635
11619
|
this.caseEditFormSub = this.caseEditDataService.caseEditForm$.subscribe({
|
|
11636
11620
|
next: editForm => this.editForm = editForm
|
|
11637
11621
|
});
|
|
@@ -11692,7 +11676,7 @@ class CaseEditPageComponent {
|
|
|
11692
11676
|
if (this.getPageNumber() !== undefined) {
|
|
11693
11677
|
this.previousStep();
|
|
11694
11678
|
}
|
|
11695
|
-
|
|
11679
|
+
CaseEditPageComponent.setFocusToTop();
|
|
11696
11680
|
}
|
|
11697
11681
|
// Adding validation message to show it as Error Summary
|
|
11698
11682
|
generateErrorMessage(fields, container, path, sourceFromComplexField) {
|
|
@@ -11901,7 +11885,7 @@ class CaseEditPageComponent {
|
|
|
11901
11885
|
// purposes)
|
|
11902
11886
|
this.removeAllJudicialUserFormControls(this.currentPage, this.editForm);
|
|
11903
11887
|
}
|
|
11904
|
-
|
|
11888
|
+
CaseEditPageComponent.setFocusToTop();
|
|
11905
11889
|
}
|
|
11906
11890
|
updateFormData(jsonData) {
|
|
11907
11891
|
for (const caseFieldId of Object.keys(jsonData.data)) {
|
|
@@ -12020,8 +12004,6 @@ class CaseEditPageComponent {
|
|
|
12020
12004
|
else {
|
|
12021
12005
|
this.caseEdit.cancelled.emit();
|
|
12022
12006
|
}
|
|
12023
|
-
// clear CaseView cache to allow any incidental changes to get picked up once the edit has cancelled
|
|
12024
|
-
this.caseEdit.caseNotifier.removeCachedCase();
|
|
12025
12007
|
this.clearValidationErrors();
|
|
12026
12008
|
this.multipageComponentStateService.reset();
|
|
12027
12009
|
}
|
|
@@ -12195,7 +12177,7 @@ class CaseEditPageComponent {
|
|
|
12195
12177
|
}
|
|
12196
12178
|
});
|
|
12197
12179
|
}
|
|
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)
|
|
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)); };
|
|
12199
12181
|
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) {
|
|
12200
12182
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
12201
12183
|
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);
|
|
@@ -12228,8 +12210,8 @@ class CaseEditPageComponent {
|
|
|
12228
12210
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditPageComponent, [{
|
|
12229
12211
|
type: Component,
|
|
12230
12212
|
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"] }]
|
|
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 }
|
|
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:
|
|
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: 35 }); })();
|
|
12233
12215
|
|
|
12234
12216
|
class CallbackErrorsContext {
|
|
12235
12217
|
triggerText;
|
|
@@ -33564,8 +33546,7 @@ class CaseEditorModule {
|
|
|
33564
33546
|
EventCompletionStateMachineService,
|
|
33565
33547
|
CaseFlagStateService,
|
|
33566
33548
|
ValidPageListCaseFieldsService,
|
|
33567
|
-
MultipageComponentStateService
|
|
33568
|
-
FocusService
|
|
33549
|
+
MultipageComponentStateService
|
|
33569
33550
|
], imports: [CommonModule,
|
|
33570
33551
|
RouterModule,
|
|
33571
33552
|
FormsModule,
|
|
@@ -33648,8 +33629,7 @@ class CaseEditorModule {
|
|
|
33648
33629
|
EventCompletionStateMachineService,
|
|
33649
33630
|
CaseFlagStateService,
|
|
33650
33631
|
ValidPageListCaseFieldsService,
|
|
33651
|
-
MultipageComponentStateService
|
|
33652
|
-
FocusService
|
|
33632
|
+
MultipageComponentStateService
|
|
33653
33633
|
]
|
|
33654
33634
|
}]
|
|
33655
33635
|
}], null, null); })();
|
|
@@ -37427,21 +37407,21 @@ class CasePrinterComponent {
|
|
|
37427
37407
|
}], () => [{ type: CaseNotifier }, { type: CasesService }, { type: AlertService }], null); })();
|
|
37428
37408
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePrinterComponent, { className: "CasePrinterComponent", filePath: "lib/shared/components/case-viewer/printer/case-printer.component.ts", lineNumber: 15 }); })();
|
|
37429
37409
|
|
|
37430
|
-
function
|
|
37431
|
-
i0.ɵɵelement(0, "ccd-case-basic-access-view",
|
|
37410
|
+
function CaseViewerComponent_div_0_ccd_case_basic_access_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
37411
|
+
i0.ɵɵelement(0, "ccd-case-basic-access-view", 3);
|
|
37432
37412
|
} if (rf & 2) {
|
|
37433
37413
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37434
37414
|
i0.ɵɵproperty("accessType", ctx_r0.userAccessType)("caseDetails", ctx_r0.caseDetails);
|
|
37435
37415
|
} }
|
|
37436
|
-
function
|
|
37437
|
-
i0.ɵɵelement(0, "ccd-case-full-access-view",
|
|
37416
|
+
function CaseViewerComponent_div_0_ccd_case_full_access_view_2_Template(rf, ctx) { if (rf & 1) {
|
|
37417
|
+
i0.ɵɵelement(0, "ccd-case-full-access-view", 4);
|
|
37438
37418
|
} if (rf & 2) {
|
|
37439
37419
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37440
37420
|
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails)("hasPrint", ctx_r0.hasPrint)("hasEventSelector", ctx_r0.hasEventSelector)("prependedTabs", ctx_r0.prependedTabs)("appendedTabs", ctx_r0.appendedTabs);
|
|
37441
37421
|
} }
|
|
37442
|
-
function
|
|
37443
|
-
i0.ɵɵelementStart(0, "
|
|
37444
|
-
i0.ɵɵtemplate(1,
|
|
37422
|
+
function CaseViewerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
37423
|
+
i0.ɵɵelementStart(0, "div");
|
|
37424
|
+
i0.ɵɵtemplate(1, CaseViewerComponent_div_0_ccd_case_basic_access_view_1_Template, 1, 2, "ccd-case-basic-access-view", 1)(2, CaseViewerComponent_div_0_ccd_case_full_access_view_2_Template, 1, 5, "ccd-case-full-access-view", 2);
|
|
37445
37425
|
i0.ɵɵelementEnd();
|
|
37446
37426
|
} if (rf & 2) {
|
|
37447
37427
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -37528,15 +37508,15 @@ class CaseViewerComponent {
|
|
|
37528
37508
|
return tabs;
|
|
37529
37509
|
}
|
|
37530
37510
|
static ɵfac = function CaseViewerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(OrderService)); };
|
|
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: [[
|
|
37532
|
-
i0.ɵɵtemplate(0,
|
|
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"], ["id", "content", 3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs", 4, "ngIf"], ["id", "content", 3, "accessType", "caseDetails"], ["id", "content", 3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs"]], template: function CaseViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37512
|
+
i0.ɵɵtemplate(0, CaseViewerComponent_div_0_Template, 3, 2, "div", 0);
|
|
37533
37513
|
} if (rf & 2) {
|
|
37534
37514
|
i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
|
|
37535
37515
|
} }, encapsulation: 2 });
|
|
37536
37516
|
}
|
|
37537
37517
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseViewerComponent, [{
|
|
37538
37518
|
type: Component,
|
|
37539
|
-
args: [{ selector: 'ccd-case-viewer', standalone: false, template: "<
|
|
37519
|
+
args: [{ selector: 'ccd-case-viewer', standalone: false, template: "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-basic-access-view *ngIf=\"!hasStandardAccess()\"\n [accessType]=\"userAccessType\"\n [caseDetails]=\"caseDetails\"\n id=\"content\">\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 id=\"content\">\n </ccd-case-full-access-view>\n</div>\n" }]
|
|
37540
37520
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CaseNotifier }, { type: AbstractAppConfig }, { type: OrderService }], { hasPrint: [{
|
|
37541
37521
|
type: Input
|
|
37542
37522
|
}], hasEventSelector: [{
|
|
@@ -37551,58 +37531,38 @@ class CaseViewerComponent {
|
|
|
37551
37531
|
/**
|
|
37552
37532
|
* Cloned from rpx-xui-webapp src/app/components/error-message/error-message.component.ts
|
|
37553
37533
|
*/
|
|
37554
|
-
function ErrorMessageComponent_ng_container_0_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
37555
|
-
i0.ɵɵelementStart(0, "a", 6);
|
|
37556
|
-
i0.ɵɵtext(1);
|
|
37557
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
37558
|
-
i0.ɵɵelementEnd();
|
|
37559
|
-
} if (rf & 2) {
|
|
37560
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37561
|
-
i0.ɵɵproperty("href", "#" + ctx_r0.error.fieldId, i0.ɵɵsanitizeUrl);
|
|
37562
|
-
i0.ɵɵadvance();
|
|
37563
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.error.description));
|
|
37564
|
-
} }
|
|
37565
|
-
function ErrorMessageComponent_ng_container_0_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
37566
|
-
i0.ɵɵelementStart(0, "span");
|
|
37567
|
-
i0.ɵɵtext(1);
|
|
37568
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
37569
|
-
i0.ɵɵelementEnd();
|
|
37570
|
-
} if (rf & 2) {
|
|
37571
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37572
|
-
i0.ɵɵadvance();
|
|
37573
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.error.description));
|
|
37574
|
-
} }
|
|
37575
37534
|
function ErrorMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
37576
37535
|
i0.ɵɵelementContainerStart(0);
|
|
37577
37536
|
i0.ɵɵelementStart(1, "div", 1)(2, "h2", 2);
|
|
37578
37537
|
i0.ɵɵtext(3);
|
|
37579
37538
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
37580
37539
|
i0.ɵɵelementEnd();
|
|
37581
|
-
i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li");
|
|
37582
|
-
i0.ɵɵ
|
|
37583
|
-
i0.ɵɵ
|
|
37540
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li")(8, "a", 5);
|
|
37541
|
+
i0.ɵɵtext(9);
|
|
37542
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
37543
|
+
i0.ɵɵelementEnd()()()()();
|
|
37584
37544
|
i0.ɵɵelementContainerEnd();
|
|
37585
37545
|
} if (rf & 2) {
|
|
37586
37546
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
37587
37547
|
i0.ɵɵadvance(3);
|
|
37588
37548
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 3, ctx_r0.error.title));
|
|
37589
37549
|
i0.ɵɵadvance(5);
|
|
37590
|
-
i0.ɵɵproperty("
|
|
37550
|
+
i0.ɵɵproperty("fragment", ctx_r0.error.fieldId);
|
|
37591
37551
|
i0.ɵɵadvance();
|
|
37592
|
-
i0.ɵɵ
|
|
37552
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 5, ctx_r0.error.description));
|
|
37593
37553
|
} }
|
|
37594
37554
|
class ErrorMessageComponent {
|
|
37595
37555
|
error;
|
|
37596
37556
|
static ɵfac = function ErrorMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorMessageComponent)(); };
|
|
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"], [
|
|
37598
|
-
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template,
|
|
37557
|
+
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"], ["routerLink", ".", "tabindex", "0", 3, "fragment"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37558
|
+
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template, 11, 7, "ng-container", 0);
|
|
37599
37559
|
} if (rf & 2) {
|
|
37600
37560
|
i0.ɵɵproperty("ngIf", ctx.error);
|
|
37601
|
-
} }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37561
|
+
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37602
37562
|
}
|
|
37603
37563
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMessageComponent, [{
|
|
37604
37564
|
type: Component,
|
|
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
|
|
37565
|
+
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 routerLink=\".\" tabindex=\"0\" [fragment]=\"error.fieldId\">{{error.description | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n" }]
|
|
37606
37566
|
}], null, { error: [{
|
|
37607
37567
|
type: Input
|
|
37608
37568
|
}] }); })();
|
|
@@ -38774,14 +38734,14 @@ var ChallengedAccessRequestErrors;
|
|
|
38774
38734
|
const _c0$4 = a0 => ({ "form-group-error": a0 });
|
|
38775
38735
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
38776
38736
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
38777
|
-
function
|
|
38778
|
-
i0.ɵɵelement(0, "exui-error-message",
|
|
38737
|
+
function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
38738
|
+
i0.ɵɵelement(0, "exui-error-message", 25);
|
|
38779
38739
|
} if (rf & 2) {
|
|
38780
38740
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
38781
38741
|
i0.ɵɵproperty("error", ctx_r0.errorMessage);
|
|
38782
38742
|
} }
|
|
38783
|
-
function
|
|
38784
|
-
i0.ɵɵelementStart(0, "div",
|
|
38743
|
+
function CaseChallengedAccessRequestComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
38744
|
+
i0.ɵɵelementStart(0, "div", 26);
|
|
38785
38745
|
i0.ɵɵtext(1);
|
|
38786
38746
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38787
38747
|
i0.ɵɵelementEnd();
|
|
@@ -38790,8 +38750,8 @@ function CaseChallengedAccessRequestComponent_div_18_Template(rf, ctx) { if (rf
|
|
|
38790
38750
|
i0.ɵɵadvance();
|
|
38791
38751
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
38792
38752
|
} }
|
|
38793
|
-
function
|
|
38794
|
-
i0.ɵɵelementStart(0, "div",
|
|
38753
|
+
function CaseChallengedAccessRequestComponent_div_24_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
38754
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
38795
38755
|
i0.ɵɵtext(1);
|
|
38796
38756
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38797
38757
|
i0.ɵɵelementEnd();
|
|
@@ -38800,12 +38760,12 @@ function CaseChallengedAccessRequestComponent_div_25_div_4_Template(rf, ctx) { i
|
|
|
38800
38760
|
i0.ɵɵadvance();
|
|
38801
38761
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
38802
38762
|
} }
|
|
38803
|
-
function
|
|
38804
|
-
i0.ɵɵelementStart(0, "div",
|
|
38763
|
+
function CaseChallengedAccessRequestComponent_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
38764
|
+
i0.ɵɵelementStart(0, "div", 27)(1, "div", 28)(2, "label", 29);
|
|
38805
38765
|
i0.ɵɵtext(3);
|
|
38806
38766
|
i0.ɵɵelementEnd();
|
|
38807
|
-
i0.ɵɵtemplate(4,
|
|
38808
|
-
i0.ɵɵelement(5, "input",
|
|
38767
|
+
i0.ɵɵtemplate(4, CaseChallengedAccessRequestComponent_div_24_div_4_Template, 3, 3, "div", 30);
|
|
38768
|
+
i0.ɵɵelement(5, "input", 31);
|
|
38809
38769
|
i0.ɵɵelementEnd()();
|
|
38810
38770
|
} if (rf & 2) {
|
|
38811
38771
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -38816,8 +38776,8 @@ function CaseChallengedAccessRequestComponent_div_25_Template(rf, ctx) { if (rf
|
|
|
38816
38776
|
i0.ɵɵadvance();
|
|
38817
38777
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c1$2, ctx_r0.formGroup.get("caseReference").invalid && ctx_r0.submitted));
|
|
38818
38778
|
} }
|
|
38819
|
-
function
|
|
38820
|
-
i0.ɵɵelementStart(0, "div",
|
|
38779
|
+
function CaseChallengedAccessRequestComponent_div_40_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
38780
|
+
i0.ɵɵelementStart(0, "div", 36);
|
|
38821
38781
|
i0.ɵɵtext(1);
|
|
38822
38782
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38823
38783
|
i0.ɵɵelementEnd();
|
|
@@ -38826,10 +38786,10 @@ function CaseChallengedAccessRequestComponent_div_41_div_2_Template(rf, ctx) { i
|
|
|
38826
38786
|
i0.ɵɵadvance();
|
|
38827
38787
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
38828
38788
|
} }
|
|
38829
|
-
function
|
|
38830
|
-
i0.ɵɵelementStart(0, "div",
|
|
38831
|
-
i0.ɵɵtemplate(2,
|
|
38832
|
-
i0.ɵɵelement(3, "textarea",
|
|
38789
|
+
function CaseChallengedAccessRequestComponent_div_40_Template(rf, ctx) { if (rf & 1) {
|
|
38790
|
+
i0.ɵɵelementStart(0, "div", 33)(1, "div", 28);
|
|
38791
|
+
i0.ɵɵtemplate(2, CaseChallengedAccessRequestComponent_div_40_div_2_Template, 3, 3, "div", 34);
|
|
38792
|
+
i0.ɵɵelement(3, "textarea", 35);
|
|
38833
38793
|
i0.ɵɵelementEnd()();
|
|
38834
38794
|
} if (rf & 2) {
|
|
38835
38795
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -38854,7 +38814,6 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38854
38814
|
errorMessage;
|
|
38855
38815
|
$roleAssignmentResponseSubscription;
|
|
38856
38816
|
genericError = 'There is a problem';
|
|
38857
|
-
errorPrefix = 'Error: ';
|
|
38858
38817
|
radioSelectedControlName = 'radioSelected';
|
|
38859
38818
|
caseReferenceControlName = 'caseReference';
|
|
38860
38819
|
otherReasonControlName = 'otherReason';
|
|
@@ -38896,7 +38855,6 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38896
38855
|
}],
|
|
38897
38856
|
updateOn: 'submit'
|
|
38898
38857
|
}));
|
|
38899
|
-
this.updateDocumentTitle();
|
|
38900
38858
|
}
|
|
38901
38859
|
onChange() {
|
|
38902
38860
|
this.submitted = false;
|
|
@@ -38905,7 +38863,6 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38905
38863
|
// to the DOM by *ngIf, it will appear empty but the associated FormControl still has the previous value.)
|
|
38906
38864
|
this.formGroup.get(this.caseReferenceControlName).setValue('');
|
|
38907
38865
|
this.formGroup.get(this.otherReasonControlName).setValue('');
|
|
38908
|
-
this.updateDocumentTitle();
|
|
38909
38866
|
}
|
|
38910
38867
|
onSubmit() {
|
|
38911
38868
|
this.submitted = true;
|
|
@@ -38913,7 +38870,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38913
38870
|
this.errorMessage = {
|
|
38914
38871
|
title: this.genericError,
|
|
38915
38872
|
description: ChallengedAccessRequestErrors.NO_SELECTION,
|
|
38916
|
-
fieldId: '
|
|
38873
|
+
fieldId: 'error-message'
|
|
38917
38874
|
};
|
|
38918
38875
|
}
|
|
38919
38876
|
else {
|
|
@@ -38932,7 +38889,6 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38932
38889
|
};
|
|
38933
38890
|
}
|
|
38934
38891
|
}
|
|
38935
|
-
this.updateDocumentTitle();
|
|
38936
38892
|
// Initiate Challenged Access Request
|
|
38937
38893
|
if (this.formGroup.valid) {
|
|
38938
38894
|
// Get the Case Reference (for which access is being requested) from the ActivatedRouteSnapshot data
|
|
@@ -38968,122 +38924,112 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38968
38924
|
inputEmpty(input) {
|
|
38969
38925
|
return input.value === null || input.value.trim().length === 0;
|
|
38970
38926
|
}
|
|
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
|
-
}
|
|
38979
38927
|
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)); };
|
|
38980
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls:
|
|
38981
|
-
i0.ɵɵ
|
|
38982
|
-
i0.ɵɵ
|
|
38983
|
-
i0.ɵɵ
|
|
38984
|
-
i0.ɵɵ
|
|
38985
|
-
i0.ɵɵ
|
|
38986
|
-
i0.ɵɵ
|
|
38987
|
-
i0.ɵɵ
|
|
38988
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
38928
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls: 50, vars: 46, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["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) {
|
|
38929
|
+
i0.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
38930
|
+
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
38931
|
+
i0.ɵɵtext(2);
|
|
38932
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
38933
|
+
i0.ɵɵelement(4, "br");
|
|
38934
|
+
i0.ɵɵtext(5);
|
|
38935
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
38989
38936
|
i0.ɵɵelementEnd();
|
|
38990
|
-
i0.ɵɵelementStart(
|
|
38991
|
-
i0.ɵɵlistener("submit", function
|
|
38992
|
-
i0.ɵɵelementStart(
|
|
38993
|
-
i0.ɵɵtext(
|
|
38994
|
-
i0.ɵɵpipe(
|
|
38937
|
+
i0.ɵɵelementStart(7, "form", 2);
|
|
38938
|
+
i0.ɵɵlistener("submit", function CaseChallengedAccessRequestComponent_Template_form_submit_7_listener() { return ctx.onSubmit(); });
|
|
38939
|
+
i0.ɵɵelementStart(8, "div", 3)(9, "fieldset", 4)(10, "legend", 5)(11, "h1", 6);
|
|
38940
|
+
i0.ɵɵtext(12);
|
|
38941
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
38995
38942
|
i0.ɵɵelementEnd()();
|
|
38996
|
-
i0.ɵɵelementStart(
|
|
38997
|
-
i0.ɵɵtext(
|
|
38998
|
-
i0.ɵɵpipe(
|
|
38943
|
+
i0.ɵɵelementStart(14, "div", 7);
|
|
38944
|
+
i0.ɵɵtext(15);
|
|
38945
|
+
i0.ɵɵpipe(16, "rpxTranslate");
|
|
38999
38946
|
i0.ɵɵelementEnd();
|
|
39000
|
-
i0.ɵɵtemplate(
|
|
39001
|
-
i0.ɵɵelementStart(
|
|
39002
|
-
i0.ɵɵlistener("change", function
|
|
38947
|
+
i0.ɵɵtemplate(17, CaseChallengedAccessRequestComponent_div_17_Template, 3, 3, "div", 8);
|
|
38948
|
+
i0.ɵɵelementStart(18, "div", 9)(19, "div", 10)(20, "input", 11);
|
|
38949
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_20_listener() { return ctx.onChange(); });
|
|
39003
38950
|
i0.ɵɵelementEnd();
|
|
39004
|
-
i0.ɵɵelementStart(
|
|
39005
|
-
i0.ɵɵtext(
|
|
39006
|
-
i0.ɵɵpipe(
|
|
38951
|
+
i0.ɵɵelementStart(21, "label", 12);
|
|
38952
|
+
i0.ɵɵtext(22);
|
|
38953
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
39007
38954
|
i0.ɵɵelementEnd()();
|
|
39008
|
-
i0.ɵɵtemplate(
|
|
39009
|
-
i0.ɵɵelementStart(
|
|
39010
|
-
i0.ɵɵlistener("change", function
|
|
38955
|
+
i0.ɵɵtemplate(24, CaseChallengedAccessRequestComponent_div_24_Template, 6, 5, "div", 13);
|
|
38956
|
+
i0.ɵɵelementStart(25, "div", 10)(26, "input", 14);
|
|
38957
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_26_listener() { return ctx.onChange(); });
|
|
39011
38958
|
i0.ɵɵelementEnd();
|
|
39012
|
-
i0.ɵɵelementStart(
|
|
39013
|
-
i0.ɵɵtext(
|
|
39014
|
-
i0.ɵɵpipe(
|
|
38959
|
+
i0.ɵɵelementStart(27, "label", 15);
|
|
38960
|
+
i0.ɵɵtext(28);
|
|
38961
|
+
i0.ɵɵpipe(29, "rpxTranslate");
|
|
39015
38962
|
i0.ɵɵelementEnd()();
|
|
39016
|
-
i0.ɵɵelementStart(
|
|
39017
|
-
i0.ɵɵlistener("change", function
|
|
38963
|
+
i0.ɵɵelementStart(30, "div", 10)(31, "input", 16);
|
|
38964
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_31_listener() { return ctx.onChange(); });
|
|
39018
38965
|
i0.ɵɵelementEnd();
|
|
39019
|
-
i0.ɵɵelementStart(
|
|
39020
|
-
i0.ɵɵtext(
|
|
39021
|
-
i0.ɵɵpipe(
|
|
38966
|
+
i0.ɵɵelementStart(32, "label", 17);
|
|
38967
|
+
i0.ɵɵtext(33);
|
|
38968
|
+
i0.ɵɵpipe(34, "rpxTranslate");
|
|
39022
38969
|
i0.ɵɵelementEnd()();
|
|
39023
|
-
i0.ɵɵelementStart(
|
|
39024
|
-
i0.ɵɵlistener("change", function
|
|
38970
|
+
i0.ɵɵelementStart(35, "div", 10)(36, "input", 18);
|
|
38971
|
+
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_36_listener() { return ctx.onChange(); });
|
|
39025
38972
|
i0.ɵɵelementEnd();
|
|
39026
|
-
i0.ɵɵelementStart(
|
|
39027
|
-
i0.ɵɵtext(
|
|
39028
|
-
i0.ɵɵpipe(
|
|
38973
|
+
i0.ɵɵelementStart(37, "label", 19);
|
|
38974
|
+
i0.ɵɵtext(38);
|
|
38975
|
+
i0.ɵɵpipe(39, "rpxTranslate");
|
|
39029
38976
|
i0.ɵɵelementEnd()();
|
|
39030
|
-
i0.ɵɵtemplate(
|
|
38977
|
+
i0.ɵɵtemplate(40, CaseChallengedAccessRequestComponent_div_40_Template, 4, 4, "div", 20);
|
|
39031
38978
|
i0.ɵɵelementEnd()()();
|
|
39032
|
-
i0.ɵɵelementStart(
|
|
39033
|
-
i0.ɵɵtext(
|
|
39034
|
-
i0.ɵɵpipe(
|
|
38979
|
+
i0.ɵɵelementStart(41, "div", 21)(42, "button", 22);
|
|
38980
|
+
i0.ɵɵtext(43);
|
|
38981
|
+
i0.ɵɵpipe(44, "rpxTranslate");
|
|
39035
38982
|
i0.ɵɵelementEnd();
|
|
39036
|
-
i0.ɵɵelementStart(
|
|
39037
|
-
i0.ɵɵlistener("click", function
|
|
39038
|
-
i0.ɵɵtext(
|
|
39039
|
-
i0.ɵɵpipe(
|
|
39040
|
-
i0.ɵɵelementEnd()()()()()
|
|
38983
|
+
i0.ɵɵelementStart(45, "div", 23)(46, "p")(47, "a", 24);
|
|
38984
|
+
i0.ɵɵlistener("click", function CaseChallengedAccessRequestComponent_Template_a_click_47_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
38985
|
+
i0.ɵɵtext(48);
|
|
38986
|
+
i0.ɵɵpipe(49, "rpxTranslate");
|
|
38987
|
+
i0.ɵɵelementEnd()()()()();
|
|
39041
38988
|
} if (rf & 2) {
|
|
39042
|
-
i0.ɵɵadvance();
|
|
39043
38989
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted);
|
|
39044
38990
|
i0.ɵɵadvance(2);
|
|
39045
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
38991
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 24, "This case requires challenged access."));
|
|
39046
38992
|
i0.ɵɵadvance(3);
|
|
39047
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
38993
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 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");
|
|
39048
38994
|
i0.ɵɵadvance(2);
|
|
39049
38995
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
39050
38996
|
i0.ɵɵadvance();
|
|
39051
38997
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
|
|
39052
38998
|
i0.ɵɵadvance(4);
|
|
39053
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
38999
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 28, ctx.title), " ");
|
|
39054
39000
|
i0.ɵɵadvance(3);
|
|
39055
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39001
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 30, ctx.hint), " ");
|
|
39056
39002
|
i0.ɵɵadvance(2);
|
|
39057
39003
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").invalid && ctx.submitted);
|
|
39058
39004
|
i0.ɵɵadvance(3);
|
|
39059
39005
|
i0.ɵɵproperty("value", ctx.accessReasons[0].reason)("checked", ctx.accessReasons[0].checked);
|
|
39060
39006
|
i0.ɵɵadvance(2);
|
|
39061
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39007
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 32, ctx.accessReasons[0].reason), " ");
|
|
39062
39008
|
i0.ɵɵadvance(2);
|
|
39063
39009
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").value === ctx.accessReasons[0].reason);
|
|
39064
39010
|
i0.ɵɵadvance(2);
|
|
39065
39011
|
i0.ɵɵproperty("value", ctx.accessReasons[1].reason)("checked", ctx.accessReasons[1].checked);
|
|
39066
39012
|
i0.ɵɵadvance(2);
|
|
39067
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39013
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 34, ctx.accessReasons[1].reason), " ");
|
|
39068
39014
|
i0.ɵɵadvance(3);
|
|
39069
39015
|
i0.ɵɵproperty("value", ctx.accessReasons[2].reason)("checked", ctx.accessReasons[2].checked);
|
|
39070
39016
|
i0.ɵɵadvance(2);
|
|
39071
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39017
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(34, 36, ctx.accessReasons[2].reason), " ");
|
|
39072
39018
|
i0.ɵɵadvance(3);
|
|
39073
39019
|
i0.ɵɵproperty("value", ctx.accessReasons[3].reason)("checked", ctx.accessReasons[3].checked);
|
|
39074
39020
|
i0.ɵɵadvance(2);
|
|
39075
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39021
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(39, 38, ctx.accessReasons[3].reason), " ");
|
|
39076
39022
|
i0.ɵɵadvance(2);
|
|
39077
39023
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").value === ctx.accessReasons[3].reason);
|
|
39078
39024
|
i0.ɵɵadvance(3);
|
|
39079
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39025
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44, 40, "Submit"), " ");
|
|
39080
39026
|
i0.ɵɵadvance(5);
|
|
39081
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39027
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 42, "Cancel"), " ");
|
|
39082
39028
|
} }, encapsulation: 2 });
|
|
39083
39029
|
}
|
|
39084
39030
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessRequestComponent, [{
|
|
39085
39031
|
type: Component,
|
|
39086
|
-
args: [{ selector: 'ccd-case-challenged-access-request', standalone: false, template: "<
|
|
39032
|
+
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" }]
|
|
39087
39033
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
39088
39034
|
(() => { (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 }); })();
|
|
39089
39035
|
|
|
@@ -39500,14 +39446,14 @@ var SpecificAccessRequestErrors;
|
|
|
39500
39446
|
|
|
39501
39447
|
const _c0$1 = a0 => ({ "form-group-error": a0 });
|
|
39502
39448
|
const _c1$1 = a0 => ({ "govuk-textarea--error": a0 });
|
|
39503
|
-
function
|
|
39504
|
-
i0.ɵɵelement(0, "exui-error-message",
|
|
39449
|
+
function CaseSpecificAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
39450
|
+
i0.ɵɵelement(0, "exui-error-message", 22);
|
|
39505
39451
|
} if (rf & 2) {
|
|
39506
39452
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
39507
39453
|
i0.ɵɵproperty("error", ctx_r0.errorMessage);
|
|
39508
39454
|
} }
|
|
39509
|
-
function
|
|
39510
|
-
i0.ɵɵelementStart(0, "div",
|
|
39455
|
+
function CaseSpecificAccessRequestComponent_div_38_Template(rf, ctx) { if (rf & 1) {
|
|
39456
|
+
i0.ɵɵelementStart(0, "div", 23);
|
|
39511
39457
|
i0.ɵɵtext(1);
|
|
39512
39458
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39513
39459
|
i0.ɵɵelementEnd();
|
|
@@ -39532,7 +39478,6 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39532
39478
|
errorMessage;
|
|
39533
39479
|
$roleAssignmentResponseSubscription;
|
|
39534
39480
|
genericError = 'There is a problem';
|
|
39535
|
-
errorPrefix = 'Error: ';
|
|
39536
39481
|
specificReasonControlName = 'specificReason';
|
|
39537
39482
|
getSpecificAccessError = false;
|
|
39538
39483
|
constructor(fb, router, casesService, route, caseNotifier) {
|
|
@@ -39560,7 +39505,6 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39560
39505
|
],
|
|
39561
39506
|
updateOn: 'submit',
|
|
39562
39507
|
}));
|
|
39563
|
-
this.updateDocumentTitle();
|
|
39564
39508
|
}
|
|
39565
39509
|
onChange() {
|
|
39566
39510
|
this.submitted = false;
|
|
@@ -39568,7 +39512,6 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39568
39512
|
// the field's FormControl when the field itself is removed from the DOM by *ngIf. (If it is subsequently added back
|
|
39569
39513
|
// to the DOM by *ngIf, it will appear empty but the associated FormControl still has the previous value.)
|
|
39570
39514
|
this.formGroup.get(this.specificReasonControlName).setValue('');
|
|
39571
|
-
this.updateDocumentTitle();
|
|
39572
39515
|
}
|
|
39573
39516
|
onSubmit() {
|
|
39574
39517
|
this.submitted = true;
|
|
@@ -39578,7 +39521,6 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39578
39521
|
description: SpecificAccessRequestErrors.NO_REASON,
|
|
39579
39522
|
fieldId: 'specific-reason',
|
|
39580
39523
|
};
|
|
39581
|
-
this.updateDocumentTitle();
|
|
39582
39524
|
}
|
|
39583
39525
|
// Initiate Specific Access Request
|
|
39584
39526
|
if (this.formGroup.valid) {
|
|
@@ -39593,7 +39535,6 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39593
39535
|
// Would have been nice to pass the caseId within state.data, but this isn't part of NavigationExtras until
|
|
39594
39536
|
// Angular 7.2
|
|
39595
39537
|
this.getSpecificAccessError = false;
|
|
39596
|
-
this.updateDocumentTitle();
|
|
39597
39538
|
this.router.navigate(['success'], { relativeTo: this.route });
|
|
39598
39539
|
}, () => {
|
|
39599
39540
|
// Show the generic error message
|
|
@@ -39602,7 +39543,6 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39602
39543
|
title: this.genericError,
|
|
39603
39544
|
description: 'Sorry, there is a problem with the service; Try again later.'
|
|
39604
39545
|
};
|
|
39605
|
-
this.updateDocumentTitle();
|
|
39606
39546
|
});
|
|
39607
39547
|
}
|
|
39608
39548
|
}
|
|
@@ -39618,115 +39558,97 @@ class CaseSpecificAccessRequestComponent {
|
|
|
39618
39558
|
inputEmpty(input) {
|
|
39619
39559
|
return input.value === null || input.value.trim().length === 0;
|
|
39620
39560
|
}
|
|
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
|
-
}
|
|
39628
39561
|
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)); };
|
|
39629
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls:
|
|
39630
|
-
i0.ɵɵ
|
|
39631
|
-
i0.ɵɵ
|
|
39632
|
-
i0.ɵɵ
|
|
39633
|
-
i0.ɵɵ
|
|
39634
|
-
i0.ɵɵ
|
|
39635
|
-
i0.ɵɵ
|
|
39636
|
-
i0.ɵɵ
|
|
39637
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
39562
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls: 50, vars: 42, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["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) {
|
|
39563
|
+
i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
39564
|
+
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
39565
|
+
i0.ɵɵtext(2);
|
|
39566
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
39567
|
+
i0.ɵɵelement(4, "br");
|
|
39568
|
+
i0.ɵɵtext(5);
|
|
39569
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
39638
39570
|
i0.ɵɵelementEnd();
|
|
39639
|
-
i0.ɵɵelementStart(
|
|
39640
|
-
i0.ɵɵlistener("submit", function
|
|
39641
|
-
i0.ɵɵelementStart(
|
|
39642
|
-
i0.ɵɵtext(
|
|
39643
|
-
i0.ɵɵpipe(
|
|
39571
|
+
i0.ɵɵelementStart(7, "form", 2);
|
|
39572
|
+
i0.ɵɵlistener("submit", function CaseSpecificAccessRequestComponent_Template_form_submit_7_listener() { return ctx.onSubmit(); });
|
|
39573
|
+
i0.ɵɵelementStart(8, "div", 3)(9, "fieldset", 4)(10, "legend", 5)(11, "h1", 6);
|
|
39574
|
+
i0.ɵɵtext(12);
|
|
39575
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
39644
39576
|
i0.ɵɵelementEnd()();
|
|
39645
|
-
i0.ɵɵelementStart(
|
|
39646
|
-
i0.ɵɵtext(
|
|
39647
|
-
i0.ɵɵpipe(
|
|
39577
|
+
i0.ɵɵelementStart(14, "details", 7)(15, "summary", 8)(16, "span", 9);
|
|
39578
|
+
i0.ɵɵtext(17);
|
|
39579
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
39648
39580
|
i0.ɵɵelementEnd()();
|
|
39649
|
-
i0.ɵɵelementStart(
|
|
39650
|
-
i0.ɵɵtext(
|
|
39651
|
-
i0.ɵɵpipe(
|
|
39581
|
+
i0.ɵɵelementStart(19, "div", 10)(20, "p", 11);
|
|
39582
|
+
i0.ɵɵtext(21);
|
|
39583
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
39652
39584
|
i0.ɵɵelementEnd();
|
|
39653
|
-
i0.ɵɵelementStart(
|
|
39654
|
-
i0.ɵɵtext(
|
|
39655
|
-
i0.ɵɵpipe(
|
|
39585
|
+
i0.ɵɵelementStart(23, "ul", 12)(24, "li");
|
|
39586
|
+
i0.ɵɵtext(25);
|
|
39587
|
+
i0.ɵɵpipe(26, "rpxTranslate");
|
|
39656
39588
|
i0.ɵɵelementEnd();
|
|
39657
|
-
i0.ɵɵelementStart(
|
|
39658
|
-
i0.ɵɵtext(
|
|
39659
|
-
i0.ɵɵpipe(
|
|
39589
|
+
i0.ɵɵelementStart(27, "li");
|
|
39590
|
+
i0.ɵɵtext(28);
|
|
39591
|
+
i0.ɵɵpipe(29, "rpxTranslate");
|
|
39660
39592
|
i0.ɵɵelementEnd();
|
|
39661
|
-
i0.ɵɵelementStart(
|
|
39662
|
-
i0.ɵɵtext(
|
|
39663
|
-
i0.ɵɵpipe(
|
|
39593
|
+
i0.ɵɵelementStart(30, "li");
|
|
39594
|
+
i0.ɵɵtext(31);
|
|
39595
|
+
i0.ɵɵpipe(32, "rpxTranslate");
|
|
39664
39596
|
i0.ɵɵelementEnd()()()();
|
|
39665
|
-
i0.ɵɵelementStart(
|
|
39666
|
-
i0.ɵɵtext(
|
|
39667
|
-
i0.ɵɵpipe(
|
|
39668
|
-
i0.ɵɵelementEnd();
|
|
39669
|
-
i0.ɵɵelementStart(37, "div", 15)(38, "div", 16)(39, "label", 17);
|
|
39670
|
-
i0.ɵɵtext(40);
|
|
39671
|
-
i0.ɵɵpipe(41, "rpxTranslate");
|
|
39597
|
+
i0.ɵɵelementStart(33, "div", 13);
|
|
39598
|
+
i0.ɵɵtext(34);
|
|
39599
|
+
i0.ɵɵpipe(35, "rpxTranslate");
|
|
39672
39600
|
i0.ɵɵelementEnd();
|
|
39673
|
-
i0.ɵɵ
|
|
39674
|
-
i0.ɵɵ
|
|
39675
|
-
i0.ɵɵ
|
|
39601
|
+
i0.ɵɵelementStart(36, "div", 14)(37, "div", 15);
|
|
39602
|
+
i0.ɵɵtemplate(38, CaseSpecificAccessRequestComponent_div_38_Template, 3, 3, "div", 16);
|
|
39603
|
+
i0.ɵɵelementStart(39, "textarea", 17);
|
|
39604
|
+
i0.ɵɵtext(40, " ");
|
|
39676
39605
|
i0.ɵɵelementEnd()()()()();
|
|
39677
|
-
i0.ɵɵelementStart(
|
|
39678
|
-
i0.ɵɵtext(
|
|
39679
|
-
i0.ɵɵpipe(
|
|
39606
|
+
i0.ɵɵelementStart(41, "div", 18)(42, "button", 19);
|
|
39607
|
+
i0.ɵɵtext(43);
|
|
39608
|
+
i0.ɵɵpipe(44, "rpxTranslate");
|
|
39680
39609
|
i0.ɵɵelementEnd();
|
|
39681
|
-
i0.ɵɵelementStart(
|
|
39682
|
-
i0.ɵɵlistener("click", function
|
|
39683
|
-
i0.ɵɵtext(
|
|
39684
|
-
i0.ɵɵpipe(
|
|
39685
|
-
i0.ɵɵelementEnd()()()()()
|
|
39610
|
+
i0.ɵɵelementStart(45, "div", 20)(46, "p")(47, "a", 21);
|
|
39611
|
+
i0.ɵɵlistener("click", function CaseSpecificAccessRequestComponent_Template_a_click_47_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
39612
|
+
i0.ɵɵtext(48);
|
|
39613
|
+
i0.ɵɵpipe(49, "rpxTranslate");
|
|
39614
|
+
i0.ɵɵelementEnd()()()()();
|
|
39686
39615
|
} if (rf & 2) {
|
|
39687
|
-
let tmp_13_0;
|
|
39688
|
-
let tmp_14_0;
|
|
39689
|
-
let tmp_15_0;
|
|
39690
|
-
i0.ɵɵadvance();
|
|
39691
39616
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted || ctx.getSpecificAccessError);
|
|
39692
39617
|
i0.ɵɵadvance(2);
|
|
39693
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39618
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 16, "Authorisation is needed to access this case."));
|
|
39694
39619
|
i0.ɵɵadvance(3);
|
|
39695
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39620
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 18, "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");
|
|
39696
39621
|
i0.ɵɵadvance(2);
|
|
39697
39622
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
39698
39623
|
i0.ɵɵadvance();
|
|
39699
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
39624
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(38, _c0$1, ctx.formGroup.invalid && ctx.submitted));
|
|
39700
39625
|
i0.ɵɵadvance(4);
|
|
39701
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39626
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 20, ctx.title), " ");
|
|
39702
39627
|
i0.ɵɵadvance(5);
|
|
39703
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39628
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 22, "Help with requesting case access"), " ");
|
|
39704
39629
|
i0.ɵɵadvance(4);
|
|
39705
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39630
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 24, "You could include:"));
|
|
39706
39631
|
i0.ɵɵadvance(4);
|
|
39707
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39632
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 26, "the case reference of the linked case"));
|
|
39708
39633
|
i0.ɵɵadvance(3);
|
|
39709
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39634
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 28, "how long you require access to this case"));
|
|
39710
39635
|
i0.ɵɵadvance(3);
|
|
39711
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
39636
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 30, "any other reasons why you require access"));
|
|
39712
39637
|
i0.ɵɵadvance(3);
|
|
39713
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39714
|
-
i0.ɵɵadvance(
|
|
39715
|
-
i0.ɵɵ
|
|
39716
|
-
i0.ɵɵadvance(2);
|
|
39717
|
-
i0.ɵɵproperty("ngIf", ((tmp_13_0 = ctx.formGroup.get("specificReason")) == null ? null : tmp_13_0.invalid) && ctx.submitted);
|
|
39638
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 32, ctx.hint), " ");
|
|
39639
|
+
i0.ɵɵadvance(4);
|
|
39640
|
+
i0.ɵɵproperty("ngIf", ctx.formGroup.get("specificReason").invalid && ctx.submitted);
|
|
39718
39641
|
i0.ɵɵadvance();
|
|
39719
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
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");
|
|
39642
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(40, _c1$1, ctx.formGroup.get("specificReason").invalid && ctx.submitted));
|
|
39721
39643
|
i0.ɵɵadvance(4);
|
|
39722
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39644
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44, 34, "Submit"), " ");
|
|
39723
39645
|
i0.ɵɵadvance(5);
|
|
39724
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
39646
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 36, "Cancel"), " ");
|
|
39725
39647
|
} }, encapsulation: 2 });
|
|
39726
39648
|
}
|
|
39727
39649
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessRequestComponent, [{
|
|
39728
39650
|
type: Component,
|
|
39729
|
-
args: [{ selector: 'ccd-case-specific-access-request', standalone: false, template: "<
|
|
39651
|
+
args: [{ selector: 'ccd-case-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"(formGroup.invalid && submitted) || getSpecificAccessError\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n 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" }]
|
|
39730
39652
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
39731
39653
|
(() => { (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 }); })();
|
|
39732
39654
|
|
|
@@ -40091,6 +40013,9 @@ class CreateCaseFiltersComponent {
|
|
|
40091
40013
|
this.jurisdictions = jurisdictions;
|
|
40092
40014
|
this.selectJurisdiction(this.jurisdictions, this.filterJurisdictionControl);
|
|
40093
40015
|
});
|
|
40016
|
+
if (document.getElementById('cc-jurisdiction')) {
|
|
40017
|
+
document.getElementById('cc-jurisdiction').focus();
|
|
40018
|
+
}
|
|
40094
40019
|
}
|
|
40095
40020
|
onJurisdictionIdChange() {
|
|
40096
40021
|
this.resetCaseType();
|
|
@@ -41916,5 +41841,5 @@ class TestRouteSnapshotBuilder {
|
|
|
41916
41841
|
* Generated bundle index. Do not edit.
|
|
41917
41842
|
*/
|
|
41918
41843
|
|
|
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 };
|
|
41844
|
+
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 };
|
|
41920
41845
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|