@hmcts/ccd-case-ui-toolkit 5.0.38-case-flags-table-alignment → 5.0.40-case-edit-module-for-integration
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +105 -28
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.module.js +19 -0
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.service.js +34 -0
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-validation.model.js +2 -0
- package/esm2015/lib/shared/commons/case-edit-data/index.js +4 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +23 -11
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +7 -1
- package/esm2015/lib/shared/components/palette/case-link/components/write-linked-cases.component.js +19 -15
- package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +4 -7
- package/esm2015/lib/shared/components/palette/palette.module.js +5 -1
- package/esm2015/lib/shared/index.js +2 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +97 -29
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-data.module.d.ts +9 -0
- package/lib/shared/commons/case-edit-data/case-edit-data.module.d.ts.map +1 -0
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts +20 -0
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts.map +1 -0
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts +5 -0
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts.map +1 -0
- package/lib/shared/commons/case-edit-data/index.d.ts +4 -0
- package/lib/shared/commons/case-edit-data/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +4 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts +10 -9
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/palette/case-link/components/write-linked-cases.component.d.ts +4 -4
- package/lib/shared/components/palette/case-link/components/write-linked-cases.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts +1 -3
- package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +24 -23
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8386,6 +8386,55 @@ CaseEditFormComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditFormCompone
|
|
|
8386
8386
|
type: Output
|
|
8387
8387
|
}] }); })();
|
|
8388
8388
|
|
|
8389
|
+
class CaseEditDataService {
|
|
8390
|
+
constructor() {
|
|
8391
|
+
this.title$ = new BehaviorSubject(null);
|
|
8392
|
+
this.formValidationErrors$ = new BehaviorSubject([]);
|
|
8393
|
+
this.linkError$ = new BehaviorSubject(null);
|
|
8394
|
+
this.eventTriggerName$ = new BehaviorSubject(null);
|
|
8395
|
+
this.caseFormValidationErrors$ = this.formValidationErrors$.asObservable();
|
|
8396
|
+
this.caseLinkError$ = this.linkError$.asObservable();
|
|
8397
|
+
this.caseEventTriggerName$ = this.eventTriggerName$.asObservable();
|
|
8398
|
+
}
|
|
8399
|
+
setCaseTitle(caseTitle) {
|
|
8400
|
+
this.title$.next(caseTitle);
|
|
8401
|
+
}
|
|
8402
|
+
setCaseEventTriggerName(triggerName) {
|
|
8403
|
+
this.eventTriggerName$.next(triggerName);
|
|
8404
|
+
}
|
|
8405
|
+
setCaseLinkError(error) {
|
|
8406
|
+
this.linkError$.next(error);
|
|
8407
|
+
}
|
|
8408
|
+
setFormValidationErrors(validationErrors) {
|
|
8409
|
+
this.formValidationErrors$.next(validationErrors);
|
|
8410
|
+
}
|
|
8411
|
+
clearFormValidationErrors() {
|
|
8412
|
+
this.formValidationErrors$.next([]);
|
|
8413
|
+
}
|
|
8414
|
+
clearCaseLinkError() {
|
|
8415
|
+
this.linkError$.next(null);
|
|
8416
|
+
}
|
|
8417
|
+
addFormValidationError(validationError) {
|
|
8418
|
+
this.formValidationErrors$.next(this.formValidationErrors$.getValue().concat([validationError]));
|
|
8419
|
+
}
|
|
8420
|
+
}
|
|
8421
|
+
|
|
8422
|
+
class CaseEditDataModule {
|
|
8423
|
+
static forRoot() {
|
|
8424
|
+
return {
|
|
8425
|
+
ngModule: CaseEditDataModule,
|
|
8426
|
+
providers: [CaseEditDataService],
|
|
8427
|
+
};
|
|
8428
|
+
}
|
|
8429
|
+
}
|
|
8430
|
+
CaseEditDataModule.ɵfac = function CaseEditDataModule_Factory(t) { return new (t || CaseEditDataModule)(); };
|
|
8431
|
+
CaseEditDataModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseEditDataModule });
|
|
8432
|
+
CaseEditDataModule.ɵinj = i0.ɵɵdefineInjector({});
|
|
8433
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditDataModule, [{
|
|
8434
|
+
type: NgModule,
|
|
8435
|
+
args: [{}]
|
|
8436
|
+
}], null, null); })();
|
|
8437
|
+
|
|
8389
8438
|
class SaveOrDiscardDialogComponent {
|
|
8390
8439
|
constructor(matDialogRef) {
|
|
8391
8440
|
this.matDialogRef = matDialogRef;
|
|
@@ -8674,7 +8723,7 @@ function CaseEditPageComponent_form_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
8674
8723
|
i0.ɵɵtextInterpolate(ctx_r10.getCancelText());
|
|
8675
8724
|
} }
|
|
8676
8725
|
class CaseEditPageComponent {
|
|
8677
|
-
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService) {
|
|
8726
|
+
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService) {
|
|
8678
8727
|
this.caseEdit = caseEdit;
|
|
8679
8728
|
this.route = route;
|
|
8680
8729
|
this.formValueService = formValueService;
|
|
@@ -8683,6 +8732,7 @@ class CaseEditPageComponent {
|
|
|
8683
8732
|
this.pageValidationService = pageValidationService;
|
|
8684
8733
|
this.dialog = dialog;
|
|
8685
8734
|
this.caseFieldService = caseFieldService;
|
|
8735
|
+
this.caseEditDataService = caseEditDataService;
|
|
8686
8736
|
this.callbackErrorsSubject = new Subject();
|
|
8687
8737
|
this.ignoreWarning = false;
|
|
8688
8738
|
this.triggerTextStart = CaseEditPageComponent.TRIGGER_TEXT_START;
|
|
@@ -8709,6 +8759,7 @@ class CaseEditPageComponent {
|
|
|
8709
8759
|
this.wizard = this.caseEdit.wizard;
|
|
8710
8760
|
this.caseFields = this.getCaseFields();
|
|
8711
8761
|
this.triggerText = this.getTriggerText();
|
|
8762
|
+
this.syncCaseEditDataService();
|
|
8712
8763
|
this.route.params
|
|
8713
8764
|
.subscribe(params => {
|
|
8714
8765
|
const pageId = params['page'];
|
|
@@ -8748,7 +8799,7 @@ class CaseEditPageComponent {
|
|
|
8748
8799
|
* EUI-3732 - Breathing space data not persisted on Previous button click with ExpUI Demo
|
|
8749
8800
|
*/
|
|
8750
8801
|
toPreviousPage() {
|
|
8751
|
-
this.
|
|
8802
|
+
this.caseEditDataService.clearFormValidationErrors();
|
|
8752
8803
|
const caseEventData = this.buildCaseEventData(true);
|
|
8753
8804
|
caseEventData.data = caseEventData.event_data;
|
|
8754
8805
|
this.updateFormData(caseEventData);
|
|
@@ -8774,19 +8825,19 @@ class CaseEditPageComponent {
|
|
|
8774
8825
|
}
|
|
8775
8826
|
}
|
|
8776
8827
|
if (fieldElement.hasError('required')) {
|
|
8777
|
-
this.
|
|
8828
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} is required` });
|
|
8778
8829
|
fieldElement.markAsDirty();
|
|
8779
8830
|
}
|
|
8780
8831
|
else if (fieldElement.hasError('pattern')) {
|
|
8781
|
-
this.
|
|
8832
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} is not valid` });
|
|
8782
8833
|
fieldElement.markAsDirty();
|
|
8783
8834
|
}
|
|
8784
8835
|
else if (fieldElement.hasError('minlength')) {
|
|
8785
|
-
this.
|
|
8836
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} is below the minimum length` });
|
|
8786
8837
|
fieldElement.markAsDirty();
|
|
8787
8838
|
}
|
|
8788
8839
|
else if (fieldElement.hasError('maxlength')) {
|
|
8789
|
-
this.
|
|
8840
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} exceeds the maximum length` });
|
|
8790
8841
|
fieldElement.markAsDirty();
|
|
8791
8842
|
}
|
|
8792
8843
|
else if (this.caseLinkError && FieldsUtils.isLinkedCasesCaseField(casefield)) {
|
|
@@ -8798,7 +8849,8 @@ class CaseEditPageComponent {
|
|
|
8798
8849
|
}
|
|
8799
8850
|
else if (casefield.isCollection() && casefield.field_type.collection_field_type.type === 'Complex') {
|
|
8800
8851
|
if (this.caseLinkError && FieldsUtils.isLinkedCasesCaseField(casefield)) {
|
|
8801
|
-
this.
|
|
8852
|
+
this.caseEditDataService.addFormValidationError({ id: this.caseLinkError.componentId, message: this.caseLinkError.errorMessage });
|
|
8853
|
+
// this.validationErrors.push({ id: this.caseLinkError.componentId, message: this.caseLinkError.errorMessage });
|
|
8802
8854
|
}
|
|
8803
8855
|
else {
|
|
8804
8856
|
const fieldArray = fieldElement;
|
|
@@ -8844,7 +8896,7 @@ class CaseEditPageComponent {
|
|
|
8844
8896
|
}
|
|
8845
8897
|
}
|
|
8846
8898
|
submit() {
|
|
8847
|
-
this.
|
|
8899
|
+
this.caseEditDataService.clearFormValidationErrors();
|
|
8848
8900
|
if (this.currentPageIsNotValid()) {
|
|
8849
8901
|
this.generateErrorMessage(this.currentPage.case_fields);
|
|
8850
8902
|
}
|
|
@@ -9054,6 +9106,13 @@ class CaseEditPageComponent {
|
|
|
9054
9106
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
|
|
9055
9107
|
return caseEventData;
|
|
9056
9108
|
}
|
|
9109
|
+
syncCaseEditDataService() {
|
|
9110
|
+
this.caseEditDataService.setCaseEventTriggerName(this.eventTrigger.name);
|
|
9111
|
+
this.caseEditDataService.setCaseLinkError(this.caseLinkError);
|
|
9112
|
+
this.caseEditDataService.caseFormValidationErrors$.subscribe({
|
|
9113
|
+
next: (validationErrors) => this.validationErrors = validationErrors
|
|
9114
|
+
});
|
|
9115
|
+
}
|
|
9057
9116
|
}
|
|
9058
9117
|
CaseEditPageComponent.RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
|
|
9059
9118
|
CaseEditPageComponent.NEW_FORM_DISCARD = 'NEW_FORM_DISCARD';
|
|
@@ -9062,7 +9121,7 @@ CaseEditPageComponent.RESUMED_FORM_SAVE = 'RESUMED_FORM_SAVE';
|
|
|
9062
9121
|
CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
|
|
9063
9122
|
CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
|
|
9064
9123
|
CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
|
|
9065
|
-
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || 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.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
|
|
9124
|
+
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || 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.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
9066
9125
|
CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 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"], [1, "validation-error", 3, "click"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "form", 3, "formGroup", "submit"], ["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"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9067
9126
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
9068
9127
|
i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
|
|
@@ -9104,7 +9163,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
|
|
|
9104
9163
|
templateUrl: 'case-edit-page.html',
|
|
9105
9164
|
styleUrls: ['./case-edit-page.scss']
|
|
9106
9165
|
}]
|
|
9107
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }]; }, null); })();
|
|
9166
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }]; }, null); })();
|
|
9108
9167
|
|
|
9109
9168
|
class CallbackErrorsContext {
|
|
9110
9169
|
}
|
|
@@ -11439,7 +11498,7 @@ function WriteCaseLinkFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
11439
11498
|
} if (rf & 2) {
|
|
11440
11499
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
11441
11500
|
i0.ɵɵadvance(1);
|
|
11442
|
-
i0.ɵɵproperty("caseFields", ctx_r1.caseFields)("caseField", ctx_r1.caseField)("formGroup", ctx_r1.formGroup)("
|
|
11501
|
+
i0.ɵɵproperty("caseFields", ctx_r1.caseFields)("caseField", ctx_r1.caseField)("formGroup", ctx_r1.formGroup)("isLinkedCasesJourney", ctx_r1.linkedCasesService.isLinkedCasesEventTrigger);
|
|
11443
11502
|
} }
|
|
11444
11503
|
class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
11445
11504
|
constructor(linkedCasesService) {
|
|
@@ -11493,10 +11552,10 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11493
11552
|
} if (rf & 2) {
|
|
11494
11553
|
let _t;
|
|
11495
11554
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
11496
|
-
} }, inputs: { caseFields: "caseFields", formGroup: "formGroup"
|
|
11555
|
+
} }, inputs: { caseFields: "caseFields", formGroup: "formGroup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "id", "formControl"], [1, "form-label"], [1, "form-hint"], [3, "caseFields", "caseField", "formGroup", "isLinkedCasesJourney", "onLinkedCasesSelected"]], template: function WriteCaseLinkFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11497
11556
|
i0.ɵɵelementContainerStart(0);
|
|
11498
11557
|
i0.ɵɵtemplate(1, WriteCaseLinkFieldComponent_div_1_Template, 5, 5, "div", 0);
|
|
11499
|
-
i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2,
|
|
11558
|
+
i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2, 4, "div", 0);
|
|
11500
11559
|
i0.ɵɵelementContainerEnd();
|
|
11501
11560
|
} if (rf & 2) {
|
|
11502
11561
|
i0.ɵɵadvance(1);
|
|
@@ -11514,8 +11573,6 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11514
11573
|
type: Input
|
|
11515
11574
|
}], formGroup: [{
|
|
11516
11575
|
type: Input
|
|
11517
|
-
}], caseEditPageComponent: [{
|
|
11518
|
-
type: Input
|
|
11519
11576
|
}], writeComplexFieldComponent: [{
|
|
11520
11577
|
type: ViewChild,
|
|
11521
11578
|
args: ['writeComplexFieldComponent', /* TODO: add static flag */ {}]
|
|
@@ -19483,13 +19540,14 @@ function WriteLinkedCasesComponent_ng_container_7_Template(rf, ctx) { if (rf & 1
|
|
|
19483
19540
|
i0.ɵɵelementContainerEnd();
|
|
19484
19541
|
} }
|
|
19485
19542
|
class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
19486
|
-
constructor(caseEdit, appConfig, commonDataService, casesService, linkedCasesService) {
|
|
19543
|
+
constructor(caseEdit, appConfig, commonDataService, casesService, linkedCasesService, caseEditDataService) {
|
|
19487
19544
|
super();
|
|
19488
19545
|
this.caseEdit = caseEdit;
|
|
19489
19546
|
this.appConfig = appConfig;
|
|
19490
19547
|
this.commonDataService = commonDataService;
|
|
19491
19548
|
this.casesService = casesService;
|
|
19492
19549
|
this.linkedCasesService = linkedCasesService;
|
|
19550
|
+
this.caseEditDataService = caseEditDataService;
|
|
19493
19551
|
this.onLinkedCasesSelected = new EventEmitter();
|
|
19494
19552
|
this.isLinkedCasesJourney = false;
|
|
19495
19553
|
this.linkedCasesPages = LinkedCasesPages;
|
|
@@ -19509,8 +19567,12 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19509
19567
|
}
|
|
19510
19568
|
});
|
|
19511
19569
|
this.getLinkedCases();
|
|
19512
|
-
this.
|
|
19513
|
-
|
|
19570
|
+
this.caseEditDataService.caseEventTriggerName$.subscribe({
|
|
19571
|
+
next: name => {
|
|
19572
|
+
this.linkedCasesService.isLinkedCasesEventTrigger
|
|
19573
|
+
= (name === LinkedCasesEventTriggers.LINK_CASES);
|
|
19574
|
+
}
|
|
19575
|
+
});
|
|
19514
19576
|
}
|
|
19515
19577
|
ngAfterViewInit() {
|
|
19516
19578
|
let labelField = document.getElementsByClassName('govuk-heading-l');
|
|
@@ -19524,7 +19586,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19524
19586
|
}
|
|
19525
19587
|
onLinkedCasesStateEmitted(linkedCasesState) {
|
|
19526
19588
|
this.errorMessages = [];
|
|
19527
|
-
this.
|
|
19589
|
+
this.caseEditDataService.clearFormValidationErrors();
|
|
19528
19590
|
if (linkedCasesState.navigateToNextPage) {
|
|
19529
19591
|
this.linkedCasesPage = this.getNextPage(linkedCasesState);
|
|
19530
19592
|
this.setContinueButtonValidationErrorMessage();
|
|
@@ -19533,7 +19595,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19533
19595
|
else {
|
|
19534
19596
|
if (linkedCasesState.errorMessages && linkedCasesState.errorMessages.length) {
|
|
19535
19597
|
linkedCasesState.errorMessages.forEach((errorMessage, index) => {
|
|
19536
|
-
this.
|
|
19598
|
+
this.caseEditDataService.addFormValidationError({ id: errorMessage.fieldId, message: errorMessage.description });
|
|
19537
19599
|
});
|
|
19538
19600
|
}
|
|
19539
19601
|
}
|
|
@@ -19548,15 +19610,15 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19548
19610
|
const buttonId = this.linkedCasesService.linkedCases.length === 0
|
|
19549
19611
|
? 'back-button'
|
|
19550
19612
|
: 'next-button';
|
|
19551
|
-
this.
|
|
19613
|
+
this.caseEditDataService.setCaseLinkError({
|
|
19552
19614
|
componentId: buttonId,
|
|
19553
19615
|
errorMessage
|
|
19554
|
-
};
|
|
19616
|
+
});
|
|
19555
19617
|
}
|
|
19556
19618
|
proceedToNextPage() {
|
|
19557
19619
|
if (this.isAtFinalPage()) {
|
|
19558
19620
|
// Continue button event must be allowed in final page
|
|
19559
|
-
this.
|
|
19621
|
+
this.caseEditDataService.clearCaseLinkError();
|
|
19560
19622
|
// Trigger validation to clear the "notAtFinalPage" error if now at the final state
|
|
19561
19623
|
this.formGroup.updateValueAndValidity();
|
|
19562
19624
|
// update form value
|
|
@@ -19607,8 +19669,8 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19607
19669
|
}
|
|
19608
19670
|
}
|
|
19609
19671
|
}
|
|
19610
|
-
WriteLinkedCasesComponent.ɵfac = function WriteLinkedCasesComponent_Factory(t) { return new (t || WriteLinkedCasesComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
19611
|
-
WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCasesComponent, selectors: [["ccd-write-linked-cases"]], inputs: { caseFields: "caseFields", caseField: "caseField",
|
|
19672
|
+
WriteLinkedCasesComponent.ɵfac = function WriteLinkedCasesComponent_Factory(t) { return new (t || WriteLinkedCasesComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
19673
|
+
WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCasesComponent, selectors: [["ccd-write-linked-cases"]], inputs: { caseFields: "caseFields", caseField: "caseField", isLinkedCasesJourney: "isLinkedCasesJourney", formGroup: "formGroup" }, outputs: { onLinkedCasesSelected: "onLinkedCasesSelected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 8, consts: [["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [1, "form-group", "govuk-!-margin-bottom-2", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [3, "linkedCasesStateEmitter"]], template: function WriteLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19612
19674
|
i0.ɵɵtemplate(0, WriteLinkedCasesComponent_div_0_Template, 4, 1, "div", 0);
|
|
19613
19675
|
i0.ɵɵelementStart(1, "div", 1);
|
|
19614
19676
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -19642,12 +19704,10 @@ WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCase
|
|
|
19642
19704
|
selector: 'ccd-write-linked-cases',
|
|
19643
19705
|
templateUrl: './write-linked-cases.component.html'
|
|
19644
19706
|
}]
|
|
19645
|
-
}], function () { return [{ type: CaseEditComponent }, { type: AbstractAppConfig }, { type: CommonDataService }, { type: CasesService }, { type: LinkedCasesService }]; }, { caseFields: [{
|
|
19707
|
+
}], function () { return [{ type: CaseEditComponent }, { type: AbstractAppConfig }, { type: CommonDataService }, { type: CasesService }, { type: LinkedCasesService }, { type: CaseEditDataService }]; }, { caseFields: [{
|
|
19646
19708
|
type: Input
|
|
19647
19709
|
}], caseField: [{
|
|
19648
19710
|
type: Input
|
|
19649
|
-
}], caseEditPageComponent: [{
|
|
19650
|
-
type: Input
|
|
19651
19711
|
}], onLinkedCasesSelected: [{
|
|
19652
19712
|
type: Output
|
|
19653
19713
|
}], isLinkedCasesJourney: [{
|
|
@@ -21679,6 +21739,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21679
21739
|
RouterModule,
|
|
21680
21740
|
FormsModule,
|
|
21681
21741
|
ReactiveFormsModule,
|
|
21742
|
+
CaseEditDataModule,
|
|
21682
21743
|
PaletteUtilsModule,
|
|
21683
21744
|
PipesModule,
|
|
21684
21745
|
BannersModule,
|
|
@@ -21812,6 +21873,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21812
21873
|
RouterModule,
|
|
21813
21874
|
FormsModule,
|
|
21814
21875
|
ReactiveFormsModule,
|
|
21876
|
+
CaseEditDataModule,
|
|
21815
21877
|
PaletteUtilsModule,
|
|
21816
21878
|
PipesModule,
|
|
21817
21879
|
BannersModule,
|
|
@@ -21934,6 +21996,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21934
21996
|
RouterModule,
|
|
21935
21997
|
FormsModule,
|
|
21936
21998
|
ReactiveFormsModule,
|
|
21999
|
+
CaseEditDataModule,
|
|
21937
22000
|
PaletteUtilsModule,
|
|
21938
22001
|
PipesModule,
|
|
21939
22002
|
BannersModule,
|
|
@@ -23264,6 +23327,7 @@ class CaseEditorModule {
|
|
|
23264
23327
|
CaseEditorModule.ɵfac = function CaseEditorModule_Factory(t) { return new (t || CaseEditorModule)(); };
|
|
23265
23328
|
CaseEditorModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseEditorModule });
|
|
23266
23329
|
CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
23330
|
+
CaseEditDataService,
|
|
23267
23331
|
CaseNotifier,
|
|
23268
23332
|
FieldsUtils,
|
|
23269
23333
|
FieldsPurger,
|
|
@@ -23295,6 +23359,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23295
23359
|
RouterModule,
|
|
23296
23360
|
FormsModule,
|
|
23297
23361
|
ReactiveFormsModule,
|
|
23362
|
+
CaseEditDataModule,
|
|
23298
23363
|
PaletteModule,
|
|
23299
23364
|
LabelSubstitutorModule,
|
|
23300
23365
|
ConditionalShowModule,
|
|
@@ -23316,6 +23381,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23316
23381
|
RouterModule,
|
|
23317
23382
|
FormsModule,
|
|
23318
23383
|
ReactiveFormsModule,
|
|
23384
|
+
CaseEditDataModule,
|
|
23319
23385
|
PaletteModule,
|
|
23320
23386
|
LabelSubstitutorModule,
|
|
23321
23387
|
ConditionalShowModule,
|
|
@@ -23338,6 +23404,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23338
23404
|
RouterModule,
|
|
23339
23405
|
FormsModule,
|
|
23340
23406
|
ReactiveFormsModule,
|
|
23407
|
+
CaseEditDataModule,
|
|
23341
23408
|
PaletteModule,
|
|
23342
23409
|
LabelSubstitutorModule,
|
|
23343
23410
|
ConditionalShowModule,
|
|
@@ -23369,6 +23436,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23369
23436
|
CallbackErrorsComponent
|
|
23370
23437
|
],
|
|
23371
23438
|
providers: [
|
|
23439
|
+
CaseEditDataService,
|
|
23372
23440
|
CaseNotifier,
|
|
23373
23441
|
FieldsUtils,
|
|
23374
23442
|
FieldsPurger,
|
|
@@ -30715,5 +30783,5 @@ class TestRouteSnapshotBuilder {
|
|
|
30715
30783
|
* Generated bundle index. Do not edit.
|
|
30716
30784
|
*/
|
|
30717
30785
|
|
|
30718
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, 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, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, 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, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, 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, 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, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
30786
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, 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, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, 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, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, 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, 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, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
30719
30787
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|