@hmcts/ccd-case-ui-toolkit 6.19.10 → 6.19.11-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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +14 -7
- 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/components/case-editor/case-edit/case-edit.component.js +5 -3
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +1 -2
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +11 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +14 -7
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10116,8 +10116,10 @@
|
|
|
10116
10116
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
10117
10117
|
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
10118
10118
|
var pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
|
|
10119
|
-
//
|
|
10120
|
-
this.
|
|
10119
|
+
// Remove unnecessary case fields which are hidden, only if the submission is *not* for Case Flags
|
|
10120
|
+
if (!this.isCaseFlagSubmission) {
|
|
10121
|
+
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
10122
|
+
}
|
|
10121
10123
|
caseEventData.event_token = eventTrigger.event_token;
|
|
10122
10124
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
10123
10125
|
if (this.confirmation) {
|
|
@@ -26521,10 +26523,16 @@
|
|
|
26521
26523
|
if (formGroup) {
|
|
26522
26524
|
checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
|
|
26523
26525
|
formGroupAvailable = true;
|
|
26524
|
-
if (idPrefix) {
|
|
26525
|
-
|
|
26526
|
-
|
|
26527
|
-
checkConditionalShowAgainst
|
|
26526
|
+
if (idPrefix !== undefined) {
|
|
26527
|
+
if (idPrefix !== '') {
|
|
26528
|
+
var fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
|
|
26529
|
+
if (checkConditionalShowAgainst[fieldId]) {
|
|
26530
|
+
checkConditionalShowAgainst = values;
|
|
26531
|
+
formGroupAvailable = false;
|
|
26532
|
+
}
|
|
26533
|
+
}
|
|
26534
|
+
else {
|
|
26535
|
+
checkConditionalShowAgainst = Object.assign(checkConditionalShowAgainst, values);
|
|
26528
26536
|
formGroupAvailable = false;
|
|
26529
26537
|
}
|
|
26530
26538
|
}
|
|
@@ -32418,7 +32426,6 @@
|
|
|
32418
32426
|
var targetTabIndex = this.tabGroup._tabs.toArray().findIndex(function (tab) { return tab.textLabel === triggerOutputEventText; });
|
|
32419
32427
|
if (targetTabIndex > -1) {
|
|
32420
32428
|
this.selectedTabIndex = targetTabIndex;
|
|
32421
|
-
this.tabGroup.selectedIndex = targetTabIndex;
|
|
32422
32429
|
}
|
|
32423
32430
|
};
|
|
32424
32431
|
CaseFullAccessViewComponent.prototype.hasActiveCaseFlags = function () {
|