@hmcts/ccd-case-ui-toolkit 5.0.36-prl-integration-merge-into-angular-11 → 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 +119 -30
- 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/components/palette/utils/is-compound.pipe.js +15 -3
- package/esm2015/lib/shared/index.js +2 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +111 -31
- 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/components/palette/utils/is-compound.pipe.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
|
@@ -2602,10 +2602,22 @@ class IsCompoundPipe {
|
|
|
2602
2602
|
}
|
|
2603
2603
|
}
|
|
2604
2604
|
IsCompoundPipe.COMPOUND_TYPES = [
|
|
2605
|
-
'Complex',
|
|
2605
|
+
'Complex',
|
|
2606
|
+
'Label',
|
|
2607
|
+
'AddressGlobal',
|
|
2608
|
+
'AddressUK',
|
|
2609
|
+
'AddressGlobalUK',
|
|
2610
|
+
'CasePaymentHistoryViewer',
|
|
2611
|
+
'CaseHistoryViewer',
|
|
2612
|
+
'Organisation',
|
|
2613
|
+
'WaysToPay',
|
|
2614
|
+
'ComponentLauncher',
|
|
2615
|
+
'FlagLauncher',
|
|
2616
|
+
'CaseFlag'
|
|
2606
2617
|
];
|
|
2607
2618
|
IsCompoundPipe.EXCLUDE = [
|
|
2608
|
-
'CaseLink',
|
|
2619
|
+
'CaseLink',
|
|
2620
|
+
'JudicialUser'
|
|
2609
2621
|
];
|
|
2610
2622
|
IsCompoundPipe.ɵfac = function IsCompoundPipe_Factory(t) { return new (t || IsCompoundPipe)(); };
|
|
2611
2623
|
IsCompoundPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsCompound", type: IsCompoundPipe, pure: true });
|
|
@@ -8374,6 +8386,55 @@ CaseEditFormComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditFormCompone
|
|
|
8374
8386
|
type: Output
|
|
8375
8387
|
}] }); })();
|
|
8376
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
|
+
|
|
8377
8438
|
class SaveOrDiscardDialogComponent {
|
|
8378
8439
|
constructor(matDialogRef) {
|
|
8379
8440
|
this.matDialogRef = matDialogRef;
|
|
@@ -8662,7 +8723,7 @@ function CaseEditPageComponent_form_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
8662
8723
|
i0.ɵɵtextInterpolate(ctx_r10.getCancelText());
|
|
8663
8724
|
} }
|
|
8664
8725
|
class CaseEditPageComponent {
|
|
8665
|
-
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService) {
|
|
8726
|
+
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService) {
|
|
8666
8727
|
this.caseEdit = caseEdit;
|
|
8667
8728
|
this.route = route;
|
|
8668
8729
|
this.formValueService = formValueService;
|
|
@@ -8671,6 +8732,7 @@ class CaseEditPageComponent {
|
|
|
8671
8732
|
this.pageValidationService = pageValidationService;
|
|
8672
8733
|
this.dialog = dialog;
|
|
8673
8734
|
this.caseFieldService = caseFieldService;
|
|
8735
|
+
this.caseEditDataService = caseEditDataService;
|
|
8674
8736
|
this.callbackErrorsSubject = new Subject();
|
|
8675
8737
|
this.ignoreWarning = false;
|
|
8676
8738
|
this.triggerTextStart = CaseEditPageComponent.TRIGGER_TEXT_START;
|
|
@@ -8697,6 +8759,7 @@ class CaseEditPageComponent {
|
|
|
8697
8759
|
this.wizard = this.caseEdit.wizard;
|
|
8698
8760
|
this.caseFields = this.getCaseFields();
|
|
8699
8761
|
this.triggerText = this.getTriggerText();
|
|
8762
|
+
this.syncCaseEditDataService();
|
|
8700
8763
|
this.route.params
|
|
8701
8764
|
.subscribe(params => {
|
|
8702
8765
|
const pageId = params['page'];
|
|
@@ -8736,7 +8799,7 @@ class CaseEditPageComponent {
|
|
|
8736
8799
|
* EUI-3732 - Breathing space data not persisted on Previous button click with ExpUI Demo
|
|
8737
8800
|
*/
|
|
8738
8801
|
toPreviousPage() {
|
|
8739
|
-
this.
|
|
8802
|
+
this.caseEditDataService.clearFormValidationErrors();
|
|
8740
8803
|
const caseEventData = this.buildCaseEventData(true);
|
|
8741
8804
|
caseEventData.data = caseEventData.event_data;
|
|
8742
8805
|
this.updateFormData(caseEventData);
|
|
@@ -8762,19 +8825,19 @@ class CaseEditPageComponent {
|
|
|
8762
8825
|
}
|
|
8763
8826
|
}
|
|
8764
8827
|
if (fieldElement.hasError('required')) {
|
|
8765
|
-
this.
|
|
8828
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} is required` });
|
|
8766
8829
|
fieldElement.markAsDirty();
|
|
8767
8830
|
}
|
|
8768
8831
|
else if (fieldElement.hasError('pattern')) {
|
|
8769
|
-
this.
|
|
8832
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} is not valid` });
|
|
8770
8833
|
fieldElement.markAsDirty();
|
|
8771
8834
|
}
|
|
8772
8835
|
else if (fieldElement.hasError('minlength')) {
|
|
8773
|
-
this.
|
|
8836
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} is below the minimum length` });
|
|
8774
8837
|
fieldElement.markAsDirty();
|
|
8775
8838
|
}
|
|
8776
8839
|
else if (fieldElement.hasError('maxlength')) {
|
|
8777
|
-
this.
|
|
8840
|
+
this.caseEditDataService.addFormValidationError({ id, message: `${label} exceeds the maximum length` });
|
|
8778
8841
|
fieldElement.markAsDirty();
|
|
8779
8842
|
}
|
|
8780
8843
|
else if (this.caseLinkError && FieldsUtils.isLinkedCasesCaseField(casefield)) {
|
|
@@ -8786,7 +8849,8 @@ class CaseEditPageComponent {
|
|
|
8786
8849
|
}
|
|
8787
8850
|
else if (casefield.isCollection() && casefield.field_type.collection_field_type.type === 'Complex') {
|
|
8788
8851
|
if (this.caseLinkError && FieldsUtils.isLinkedCasesCaseField(casefield)) {
|
|
8789
|
-
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 });
|
|
8790
8854
|
}
|
|
8791
8855
|
else {
|
|
8792
8856
|
const fieldArray = fieldElement;
|
|
@@ -8832,7 +8896,7 @@ class CaseEditPageComponent {
|
|
|
8832
8896
|
}
|
|
8833
8897
|
}
|
|
8834
8898
|
submit() {
|
|
8835
|
-
this.
|
|
8899
|
+
this.caseEditDataService.clearFormValidationErrors();
|
|
8836
8900
|
if (this.currentPageIsNotValid()) {
|
|
8837
8901
|
this.generateErrorMessage(this.currentPage.case_fields);
|
|
8838
8902
|
}
|
|
@@ -9042,6 +9106,13 @@ class CaseEditPageComponent {
|
|
|
9042
9106
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
|
|
9043
9107
|
return caseEventData;
|
|
9044
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
|
+
}
|
|
9045
9116
|
}
|
|
9046
9117
|
CaseEditPageComponent.RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
|
|
9047
9118
|
CaseEditPageComponent.NEW_FORM_DISCARD = 'NEW_FORM_DISCARD';
|
|
@@ -9050,7 +9121,7 @@ CaseEditPageComponent.RESUMED_FORM_SAVE = 'RESUMED_FORM_SAVE';
|
|
|
9050
9121
|
CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
|
|
9051
9122
|
CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
|
|
9052
9123
|
CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
|
|
9053
|
-
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)); };
|
|
9054
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) {
|
|
9055
9126
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
9056
9127
|
i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
|
|
@@ -9092,7 +9163,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
|
|
|
9092
9163
|
templateUrl: 'case-edit-page.html',
|
|
9093
9164
|
styleUrls: ['./case-edit-page.scss']
|
|
9094
9165
|
}]
|
|
9095
|
-
}], 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); })();
|
|
9096
9167
|
|
|
9097
9168
|
class CallbackErrorsContext {
|
|
9098
9169
|
}
|
|
@@ -11427,7 +11498,7 @@ function WriteCaseLinkFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
11427
11498
|
} if (rf & 2) {
|
|
11428
11499
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
11429
11500
|
i0.ɵɵadvance(1);
|
|
11430
|
-
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);
|
|
11431
11502
|
} }
|
|
11432
11503
|
class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
11433
11504
|
constructor(linkedCasesService) {
|
|
@@ -11481,10 +11552,10 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11481
11552
|
} if (rf & 2) {
|
|
11482
11553
|
let _t;
|
|
11483
11554
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
11484
|
-
} }, 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) {
|
|
11485
11556
|
i0.ɵɵelementContainerStart(0);
|
|
11486
11557
|
i0.ɵɵtemplate(1, WriteCaseLinkFieldComponent_div_1_Template, 5, 5, "div", 0);
|
|
11487
|
-
i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2,
|
|
11558
|
+
i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2, 4, "div", 0);
|
|
11488
11559
|
i0.ɵɵelementContainerEnd();
|
|
11489
11560
|
} if (rf & 2) {
|
|
11490
11561
|
i0.ɵɵadvance(1);
|
|
@@ -11502,8 +11573,6 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11502
11573
|
type: Input
|
|
11503
11574
|
}], formGroup: [{
|
|
11504
11575
|
type: Input
|
|
11505
|
-
}], caseEditPageComponent: [{
|
|
11506
|
-
type: Input
|
|
11507
11576
|
}], writeComplexFieldComponent: [{
|
|
11508
11577
|
type: ViewChild,
|
|
11509
11578
|
args: ['writeComplexFieldComponent', /* TODO: add static flag */ {}]
|
|
@@ -19471,13 +19540,14 @@ function WriteLinkedCasesComponent_ng_container_7_Template(rf, ctx) { if (rf & 1
|
|
|
19471
19540
|
i0.ɵɵelementContainerEnd();
|
|
19472
19541
|
} }
|
|
19473
19542
|
class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
19474
|
-
constructor(caseEdit, appConfig, commonDataService, casesService, linkedCasesService) {
|
|
19543
|
+
constructor(caseEdit, appConfig, commonDataService, casesService, linkedCasesService, caseEditDataService) {
|
|
19475
19544
|
super();
|
|
19476
19545
|
this.caseEdit = caseEdit;
|
|
19477
19546
|
this.appConfig = appConfig;
|
|
19478
19547
|
this.commonDataService = commonDataService;
|
|
19479
19548
|
this.casesService = casesService;
|
|
19480
19549
|
this.linkedCasesService = linkedCasesService;
|
|
19550
|
+
this.caseEditDataService = caseEditDataService;
|
|
19481
19551
|
this.onLinkedCasesSelected = new EventEmitter();
|
|
19482
19552
|
this.isLinkedCasesJourney = false;
|
|
19483
19553
|
this.linkedCasesPages = LinkedCasesPages;
|
|
@@ -19497,8 +19567,12 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19497
19567
|
}
|
|
19498
19568
|
});
|
|
19499
19569
|
this.getLinkedCases();
|
|
19500
|
-
this.
|
|
19501
|
-
|
|
19570
|
+
this.caseEditDataService.caseEventTriggerName$.subscribe({
|
|
19571
|
+
next: name => {
|
|
19572
|
+
this.linkedCasesService.isLinkedCasesEventTrigger
|
|
19573
|
+
= (name === LinkedCasesEventTriggers.LINK_CASES);
|
|
19574
|
+
}
|
|
19575
|
+
});
|
|
19502
19576
|
}
|
|
19503
19577
|
ngAfterViewInit() {
|
|
19504
19578
|
let labelField = document.getElementsByClassName('govuk-heading-l');
|
|
@@ -19512,7 +19586,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19512
19586
|
}
|
|
19513
19587
|
onLinkedCasesStateEmitted(linkedCasesState) {
|
|
19514
19588
|
this.errorMessages = [];
|
|
19515
|
-
this.
|
|
19589
|
+
this.caseEditDataService.clearFormValidationErrors();
|
|
19516
19590
|
if (linkedCasesState.navigateToNextPage) {
|
|
19517
19591
|
this.linkedCasesPage = this.getNextPage(linkedCasesState);
|
|
19518
19592
|
this.setContinueButtonValidationErrorMessage();
|
|
@@ -19521,7 +19595,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19521
19595
|
else {
|
|
19522
19596
|
if (linkedCasesState.errorMessages && linkedCasesState.errorMessages.length) {
|
|
19523
19597
|
linkedCasesState.errorMessages.forEach((errorMessage, index) => {
|
|
19524
|
-
this.
|
|
19598
|
+
this.caseEditDataService.addFormValidationError({ id: errorMessage.fieldId, message: errorMessage.description });
|
|
19525
19599
|
});
|
|
19526
19600
|
}
|
|
19527
19601
|
}
|
|
@@ -19536,15 +19610,15 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19536
19610
|
const buttonId = this.linkedCasesService.linkedCases.length === 0
|
|
19537
19611
|
? 'back-button'
|
|
19538
19612
|
: 'next-button';
|
|
19539
|
-
this.
|
|
19613
|
+
this.caseEditDataService.setCaseLinkError({
|
|
19540
19614
|
componentId: buttonId,
|
|
19541
19615
|
errorMessage
|
|
19542
|
-
};
|
|
19616
|
+
});
|
|
19543
19617
|
}
|
|
19544
19618
|
proceedToNextPage() {
|
|
19545
19619
|
if (this.isAtFinalPage()) {
|
|
19546
19620
|
// Continue button event must be allowed in final page
|
|
19547
|
-
this.
|
|
19621
|
+
this.caseEditDataService.clearCaseLinkError();
|
|
19548
19622
|
// Trigger validation to clear the "notAtFinalPage" error if now at the final state
|
|
19549
19623
|
this.formGroup.updateValueAndValidity();
|
|
19550
19624
|
// update form value
|
|
@@ -19595,8 +19669,8 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
|
|
|
19595
19669
|
}
|
|
19596
19670
|
}
|
|
19597
19671
|
}
|
|
19598
|
-
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)); };
|
|
19599
|
-
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) {
|
|
19600
19674
|
i0.ɵɵtemplate(0, WriteLinkedCasesComponent_div_0_Template, 4, 1, "div", 0);
|
|
19601
19675
|
i0.ɵɵelementStart(1, "div", 1);
|
|
19602
19676
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -19630,12 +19704,10 @@ WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCase
|
|
|
19630
19704
|
selector: 'ccd-write-linked-cases',
|
|
19631
19705
|
templateUrl: './write-linked-cases.component.html'
|
|
19632
19706
|
}]
|
|
19633
|
-
}], 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: [{
|
|
19634
19708
|
type: Input
|
|
19635
19709
|
}], caseField: [{
|
|
19636
19710
|
type: Input
|
|
19637
|
-
}], caseEditPageComponent: [{
|
|
19638
|
-
type: Input
|
|
19639
19711
|
}], onLinkedCasesSelected: [{
|
|
19640
19712
|
type: Output
|
|
19641
19713
|
}], isLinkedCasesJourney: [{
|
|
@@ -21667,6 +21739,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21667
21739
|
RouterModule,
|
|
21668
21740
|
FormsModule,
|
|
21669
21741
|
ReactiveFormsModule,
|
|
21742
|
+
CaseEditDataModule,
|
|
21670
21743
|
PaletteUtilsModule,
|
|
21671
21744
|
PipesModule,
|
|
21672
21745
|
BannersModule,
|
|
@@ -21800,6 +21873,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21800
21873
|
RouterModule,
|
|
21801
21874
|
FormsModule,
|
|
21802
21875
|
ReactiveFormsModule,
|
|
21876
|
+
CaseEditDataModule,
|
|
21803
21877
|
PaletteUtilsModule,
|
|
21804
21878
|
PipesModule,
|
|
21805
21879
|
BannersModule,
|
|
@@ -21922,6 +21996,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21922
21996
|
RouterModule,
|
|
21923
21997
|
FormsModule,
|
|
21924
21998
|
ReactiveFormsModule,
|
|
21999
|
+
CaseEditDataModule,
|
|
21925
22000
|
PaletteUtilsModule,
|
|
21926
22001
|
PipesModule,
|
|
21927
22002
|
BannersModule,
|
|
@@ -23252,6 +23327,7 @@ class CaseEditorModule {
|
|
|
23252
23327
|
CaseEditorModule.ɵfac = function CaseEditorModule_Factory(t) { return new (t || CaseEditorModule)(); };
|
|
23253
23328
|
CaseEditorModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseEditorModule });
|
|
23254
23329
|
CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
23330
|
+
CaseEditDataService,
|
|
23255
23331
|
CaseNotifier,
|
|
23256
23332
|
FieldsUtils,
|
|
23257
23333
|
FieldsPurger,
|
|
@@ -23283,6 +23359,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23283
23359
|
RouterModule,
|
|
23284
23360
|
FormsModule,
|
|
23285
23361
|
ReactiveFormsModule,
|
|
23362
|
+
CaseEditDataModule,
|
|
23286
23363
|
PaletteModule,
|
|
23287
23364
|
LabelSubstitutorModule,
|
|
23288
23365
|
ConditionalShowModule,
|
|
@@ -23304,6 +23381,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23304
23381
|
RouterModule,
|
|
23305
23382
|
FormsModule,
|
|
23306
23383
|
ReactiveFormsModule,
|
|
23384
|
+
CaseEditDataModule,
|
|
23307
23385
|
PaletteModule,
|
|
23308
23386
|
LabelSubstitutorModule,
|
|
23309
23387
|
ConditionalShowModule,
|
|
@@ -23326,6 +23404,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23326
23404
|
RouterModule,
|
|
23327
23405
|
FormsModule,
|
|
23328
23406
|
ReactiveFormsModule,
|
|
23407
|
+
CaseEditDataModule,
|
|
23329
23408
|
PaletteModule,
|
|
23330
23409
|
LabelSubstitutorModule,
|
|
23331
23410
|
ConditionalShowModule,
|
|
@@ -23357,6 +23436,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
23357
23436
|
CallbackErrorsComponent
|
|
23358
23437
|
],
|
|
23359
23438
|
providers: [
|
|
23439
|
+
CaseEditDataService,
|
|
23360
23440
|
CaseNotifier,
|
|
23361
23441
|
FieldsUtils,
|
|
23362
23442
|
FieldsPurger,
|
|
@@ -30703,5 +30783,5 @@ class TestRouteSnapshotBuilder {
|
|
|
30703
30783
|
* Generated bundle index. Do not edit.
|
|
30704
30784
|
*/
|
|
30705
30785
|
|
|
30706
|
-
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 };
|
|
30707
30787
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|