@hmcts/ccd-case-ui-toolkit 4.9.0-EUI-4568-resubmit-claim → 4.9.0-rc.3

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 CHANGED
@@ -1,10 +1,11 @@
1
1
  ## RELEASE NOTES
2
2
 
3
- ### Version 4.3.6-hotfix-EUI-4404
4
- **EUI-4404** Fix rendering of read-only Collection field within editable Complex field
3
+ ### Version 4.7.6-tab-not-defined-error"
4
+ **EUI-4562** Case details Active tasks tab on success not returning to active tasks page
5
5
 
6
6
  ### Version 4.7.6-hearings-tab
7
7
  **EUI-4441** Add hearings tab in case details
8
+ **EUI-4627** Can't access /hearings tab from URL
8
9
 
9
10
  ### Version 4.7.0-EUI-4412-order-fields-CYA-page
10
11
  **EUI-4414** Field order on the CYA page changes
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.0-EUI-4568-resubmit-claim
3
+ * @version v4.9.0-rc.3
4
4
  * @link undefined
5
5
  * @license MIT
6
6
  */
@@ -13743,6 +13743,7 @@ var CaseEditPageComponent = /** @class */ (function () {
13743
13743
  if (this.currentPageIsNotValid()) {
13744
13744
  this.generateErrorMessage(this.currentPage.case_fields);
13745
13745
  }
13746
+ this.showSpinner = true;
13746
13747
  if (!this.isSubmitting && !this.currentPageIsNotValid()) {
13747
13748
  this.isSubmitting = true;
13748
13749
  this.error = null;
@@ -13786,7 +13787,7 @@ var CaseEditPageComponent = /** @class */ (function () {
13786
13787
  };
13787
13788
  CaseEditPageComponent.prototype.updateFormControlsValue = function (formGroup, caseFieldId, value) {
13788
13789
  var theControl = formGroup.controls['data'].get(caseFieldId);
13789
- if (theControl && theControl['status'] !== 'DISABLED') {
13790
+ if (theControl) {
13790
13791
  if (Array.isArray(theControl.value) && Array.isArray(value)
13791
13792
  && theControl.value.length > value.length && theControl['caseField']
13792
13793
  && theControl['caseField']['display_context'] && theControl['caseField']['display_context'] === 'OPTIONAL'
@@ -14083,9 +14084,6 @@ var CaseEditSubmitComponent = /** @class */ (function () {
14083
14084
  this.formValueService.removeEmptyCollectionsWithMinValidation(caseEventData.data, this.eventTrigger.case_fields);
14084
14085
  caseEventData.event_token = this.eventTrigger.event_token;
14085
14086
  caseEventData.ignore_warning = this.ignoreWarning;
14086
- if (this.caseEdit.confirmation) {
14087
- caseEventData.data = {};
14088
- }
14089
14087
  this.caseEdit.submit(caseEventData)
14090
14088
  .subscribe(function (response) {
14091
14089
  var confirmation = _this.buildConfirmation(response);
@@ -21854,10 +21852,6 @@ var ReadFieldsFilterPipe = /** @class */ (function () {
21854
21852
  return !!hasChildrenWithValue;
21855
21853
  };
21856
21854
  ReadFieldsFilterPipe.isValidCollection = function (field, values) {
21857
- // if field is collection and it has complex/collection child field; parent field doesnt have value defined
21858
- if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
21859
- return true;
21860
- }
21861
21855
  var isNotEmpty = Array.isArray(field.value) && field.value.length > 0;
21862
21856
  if (isNotEmpty && field.field_type.collection_field_type.type === 'Complex') {
21863
21857
  return !!field.value.find(function (item) {
@@ -65069,7 +65063,7 @@ module.exports = "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-viewer [hasPrint
65069
65063
  /***/ 67025:
65070
65064
  /***/ ((module) => {
65071
65065
 
65072
- module.exports = "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-basic-access-view *ngIf=\"!hasStandardAccess()\" [accessType]=\"userAccessType\" [caseDetails]=\"caseDetails\"></ccd-case-basic-access-view>\n <ccd-case-full-access-view *ngIf=\"hasStandardAccess()\" [caseDetails]=\"caseDetails\" [hasPrint]=\"hasPrint\" [hasEventSelector]=\"hasEventSelector\" [prependedTabs]=\"prependedTabs\" [appendedTabs]=\"appendedTabs\"></ccd-case-full-access-view>\n</div>\n"
65066
+ module.exports = "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-basic-access-view *ngIf=\"!hasStandardAccess()\"\n [accessType]=\"userAccessType\"\n [caseDetails]=\"caseDetails\">\n </ccd-case-basic-access-view>\n <ccd-case-full-access-view *ngIf=\"hasStandardAccess()\"\n [caseDetails]=\"caseDetails\"\n [hasPrint]=\"hasPrint\"\n [hasEventSelector]=\"hasEventSelector\"\n [prependedTabs]=\"prependedTabs\"\n [appendedTabs]=\"appendedTabs\">\n </ccd-case-full-access-view>\n <ccd-case-full-access-view *ngIf=\"hasStandardAccess()\" [caseDetails]=\"caseDetails\" [hasPrint]=\"hasPrint\" [hasEventSelector]=\"hasEventSelector\" [prependedTabs]=\"prependedTabs\" [appendedTabs]=\"appendedTabs\"></ccd-case-full-access-view>\n</div>\n"
65073
65067
 
65074
65068
  /***/ }),
65075
65069