@hmcts/ccd-case-ui-toolkit 4.9.0-rc.6 → 4.9.3-hearing-rc1
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/RELEASE-NOTES.md +6 -0
- package/dist/index.umd.js +12 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.LICENSE.txt +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.js +1 -1
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.js.map +1 -1
- package/dist/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +3 -0
- package/dist/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js.map +1 -1
- package/dist/shared/components/palette/case-link/write-case-link-field.component.js +7 -2
- package/dist/shared/components/palette/case-link/write-case-link-field.component.js.map +1 -1
- package/package.json +1 -1
package/RELEASE-NOTES.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
### Version 4.7.6-tab-not-defined-error"
|
|
4
4
|
**EUI-4562** Case details Active tasks tab on success not returning to active tasks page
|
|
5
5
|
|
|
6
|
+
### Version 4.3.6-hotfix-EUI-4404
|
|
7
|
+
**EUI-4404** Fix rendering of read-only Collection field within editable Complex field
|
|
8
|
+
|
|
9
|
+
### Version 4.7.6-hearings-tab
|
|
10
|
+
**EUI-4441** Add hearings tab in case details
|
|
11
|
+
|
|
6
12
|
### Version 4.7.6-hearings-tab
|
|
7
13
|
**EUI-4441** Add hearings tab in case details
|
|
8
14
|
**EUI-4627** Can't access /hearings tab from URL
|
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @hmcts/ccd-case-ui-toolkit - Case UI Toolkit
|
|
3
|
-
* @version v4.9.
|
|
3
|
+
* @version v4.9.3-hearing-rc1
|
|
4
4
|
* @link undefined
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -13786,7 +13786,7 @@ var CaseEditPageComponent = /** @class */ (function () {
|
|
|
13786
13786
|
};
|
|
13787
13787
|
CaseEditPageComponent.prototype.updateFormControlsValue = function (formGroup, caseFieldId, value) {
|
|
13788
13788
|
var theControl = formGroup.controls['data'].get(caseFieldId);
|
|
13789
|
-
if (theControl) {
|
|
13789
|
+
if (theControl && theControl['status'] !== 'DISABLED') {
|
|
13790
13790
|
if (Array.isArray(theControl.value) && Array.isArray(value)
|
|
13791
13791
|
&& theControl.value.length > value.length && theControl['caseField']
|
|
13792
13792
|
&& theControl['caseField']['display_context'] && theControl['caseField']['display_context'] === 'OPTIONAL'
|
|
@@ -14083,6 +14083,9 @@ var CaseEditSubmitComponent = /** @class */ (function () {
|
|
|
14083
14083
|
this.formValueService.removeEmptyCollectionsWithMinValidation(caseEventData.data, this.eventTrigger.case_fields);
|
|
14084
14084
|
caseEventData.event_token = this.eventTrigger.event_token;
|
|
14085
14085
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
14086
|
+
if (this.caseEdit.confirmation) {
|
|
14087
|
+
caseEventData.data = {};
|
|
14088
|
+
}
|
|
14086
14089
|
this.caseEdit.submit(caseEventData)
|
|
14087
14090
|
.subscribe(function (response) {
|
|
14088
14091
|
var confirmation = _this.buildConfirmation(response);
|
|
@@ -21243,12 +21246,12 @@ var WriteCaseLinkFieldComponent = /** @class */ (function (_super) {
|
|
|
21243
21246
|
WriteCaseLinkFieldComponent.prototype.ngOnInit = function () {
|
|
21244
21247
|
if (this.caseField.value) {
|
|
21245
21248
|
this.caseLinkGroup = this.registerControl(new forms_1.FormGroup({
|
|
21246
|
-
'CaseReference': new forms_1.FormControl(this.caseField.value.CaseReference),
|
|
21249
|
+
'CaseReference': new forms_1.FormControl(this.caseField.value.CaseReference, forms_1.Validators.required),
|
|
21247
21250
|
}), true);
|
|
21248
21251
|
}
|
|
21249
21252
|
else {
|
|
21250
21253
|
this.caseLinkGroup = this.registerControl(new forms_1.FormGroup({
|
|
21251
|
-
'CaseReference': new forms_1.FormControl(),
|
|
21254
|
+
'CaseReference': new forms_1.FormControl(null, forms_1.Validators.required),
|
|
21252
21255
|
}), true);
|
|
21253
21256
|
}
|
|
21254
21257
|
this.caseReferenceControl = this.caseLinkGroup.controls['CaseReference'];
|
|
@@ -21271,6 +21274,11 @@ var WriteCaseLinkFieldComponent = /** @class */ (function (_super) {
|
|
|
21271
21274
|
}
|
|
21272
21275
|
return { 'error': 'Please use a valid 16 Digit Case Reference' };
|
|
21273
21276
|
}
|
|
21277
|
+
else {
|
|
21278
|
+
if (control.touched) {
|
|
21279
|
+
return { 'error': 'Please use a valid 16 Digit Case Reference' };
|
|
21280
|
+
}
|
|
21281
|
+
}
|
|
21274
21282
|
return null;
|
|
21275
21283
|
};
|
|
21276
21284
|
};
|