@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-write-view-v5 → 6.16.0-query-management-write-view-v6

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.
@@ -4977,7 +4977,6 @@
4977
4977
  var AbstractFormFieldComponent = /** @class */ (function () {
4978
4978
  function AbstractFormFieldComponent() {
4979
4979
  this.idPrefix = '';
4980
- this.caseReference = '';
4981
4980
  }
4982
4981
  AbstractFormFieldComponent.prototype.id = function () {
4983
4982
  return this.idPrefix + this.caseField.id;
@@ -5038,7 +5037,7 @@
5038
5037
  return AbstractFormFieldComponent;
5039
5038
  }());
5040
5039
  AbstractFormFieldComponent.ɵfac = function AbstractFormFieldComponent_Factory(t) { return new (t || AbstractFormFieldComponent)(); };
5041
- AbstractFormFieldComponent.ɵdir = i0__namespace.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix", caseReference: "caseReference" } });
5040
+ AbstractFormFieldComponent.ɵdir = i0__namespace.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix" } });
5042
5041
  (function () {
5043
5042
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AbstractFormFieldComponent, [{
5044
5043
  type: i0.Directive
@@ -5050,8 +5049,6 @@
5050
5049
  type: i0.Input
5051
5050
  }], idPrefix: [{
5052
5051
  type: i0.Input
5053
- }], caseReference: [{
5054
- type: i0.Input
5055
5052
  }] });
5056
5053
  })();
5057
5054
 
@@ -19801,12 +19798,14 @@
19801
19798
  response: new i3.FormControl('', i3.Validators.required),
19802
19799
  documents: new i3.FormControl([], i3.Validators.required)
19803
19800
  });
19804
- _this.queryItem = new QueryListItem();
19805
- Object.assign(_this.queryItem, partyMessagesMockData[0].partyMessages[0]);
19806
19801
  return _this;
19807
19802
  }
19803
+ WriteQueryManagementFieldComponent.prototype.ngOnInit = function () {
19804
+ this.queryItem = new QueryListItem();
19805
+ Object.assign(this.queryItem, partyMessagesMockData[0].partyMessages[0]);
19806
+ };
19808
19807
  return WriteQueryManagementFieldComponent;
19809
- }(AbstractFieldWriteComponent));
19808
+ }(AbstractFieldReadComponent));
19810
19809
  WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
19811
19810
  WriteQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 58, vars: 48, consts: [[1, "govuk-!-margin-top-6", "govuk-!-margin-bottom-6"], [1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l", "govuk-!-margin-bottom-6"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-body-l", "govuk-!-margin-bottom-0"], [3, "queryItem"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "response-textarea"], [1, "govuk-label-wrapper"], ["for", "query-response", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-response-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-response", "name", "query-response", "rows", "5", "aria-describedby", "query-response-hint query-response-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-form-group"], ["for", "add-documents", 1, "govuk-label"], [1, "govuk-!-font-weight-bold"], ["id", "add-documents-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-documents", "name", "add-documents", "type", "file", 1, "govuk-file-upload"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-button-group"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "disabled"], ["id", "query-response-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-documents-error", 1, "govuk-error-message"]], template: function WriteQueryManagementFieldComponent_Template(rf, ctx) {
19812
19811
  if (rf & 1) {