@hmcts/ccd-case-ui-toolkit 6.18.0-welsh-release-v4 → 6.18.0-welsh-release-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.
@@ -20753,24 +20753,23 @@
20753
20753
  return ReadYesNoFieldComponent;
20754
20754
  }(AbstractFieldReadComponent));
20755
20755
  ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0__namespace.ɵɵdirectiveInject(YesNoService)); };
20756
- ReadYesNoFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 5, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) {
20756
+ ReadYesNoFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) {
20757
20757
  if (rf & 1) {
20758
20758
  i0__namespace.ɵɵelementStart(0, "span", 0);
20759
20759
  i0__namespace.ɵɵtext(1);
20760
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20761
20760
  i0__namespace.ɵɵelementEnd();
20762
20761
  }
20763
20762
  if (rf & 2) {
20764
20763
  i0__namespace.ɵɵadvance(1);
20765
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind3(2, 1, ctx.caseField.label, null, ctx.formattedValue));
20764
+ i0__namespace.ɵɵtextInterpolate(ctx.formattedValue);
20766
20765
  }
20767
- }, pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
20766
+ }, encapsulation: 2 });
20768
20767
  (function () {
20769
20768
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
20770
20769
  type: i0.Component,
20771
20770
  args: [{
20772
20771
  selector: 'ccd-read-yes-no-field',
20773
- template: "<span class=\"text-16\">{{caseField.label | rpxTranslate : null : formattedValue}}</span>"
20772
+ template: "<span class=\"text-16\">{{formattedValue}}</span>"
20774
20773
  }]
20775
20774
  }], function () { return [{ type: YesNoService }]; }, null);
20776
20775
  })();
@@ -20823,21 +20822,20 @@
20823
20822
  i0__namespace.ɵɵelement(1, "input", 11);
20824
20823
  i0__namespace.ɵɵelementStart(2, "label", 12);
20825
20824
  i0__namespace.ɵɵtext(3);
20826
- i0__namespace.ɵɵpipe(4, "rpxTranslate");
20827
20825
  i0__namespace.ɵɵelementEnd();
20828
20826
  i0__namespace.ɵɵelementEnd();
20829
20827
  }
20830
20828
  if (rf & 2) {
20831
20829
  var value_r4 = ctx.$implicit;
20832
20830
  var ctx_r3 = i0__namespace.ɵɵnextContext();
20833
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(12, _c0$w, ctx_r3.yesNoControl.value === value_r4));
20831
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
20834
20832
  i0__namespace.ɵɵadvance(1);
20835
20833
  i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
20836
20834
  i0__namespace.ɵɵattribute("name", ctx_r3.id());
20837
20835
  i0__namespace.ɵɵadvance(1);
20838
20836
  i0__namespace.ɵɵproperty("for", ctx_r3.createElementId(value_r4));
20839
20837
  i0__namespace.ɵɵadvance(1);
20840
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind3(4, 8, ctx_r3.caseField.label, null, value_r4));
20838
+ i0__namespace.ɵɵtextInterpolate(value_r4);
20841
20839
  }
20842
20840
  }
20843
20841
  var _c1$a = function (a0) { return { "form-group-error": a0 }; };
@@ -20865,7 +20863,7 @@
20865
20863
  i0__namespace.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 3, 3, "span", 3);
20866
20864
  i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 4, 6, "span", 4);
20867
20865
  i0__namespace.ɵɵelementStart(6, "div", 5);
20868
- i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
20866
+ i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 4, 10, "div", 6);
20869
20867
  i0__namespace.ɵɵelementEnd();
20870
20868
  i0__namespace.ɵɵelementEnd();
20871
20869
  i0__namespace.ɵɵelementEnd();
@@ -22663,7 +22661,7 @@
22663
22661
  i0__namespace.ɵɵproperty("name", ctx_r1.selectedControlName)("value", flagDisplay_r3)("formControlName", ctx_r1.selectedControlName);
22664
22662
  i0__namespace.ɵɵadvance(1);
22665
22663
  i0__namespace.ɵɵpropertyInterpolate1("for", "flag-selection-", i_r4, "");
22666
- i0__namespace.ɵɵproperty("innerHtml", flagDisplay_r3, i0__namespace.ɵɵsanitizeHtml);
22664
+ i0__namespace.ɵɵproperty("innerHtml", flagDisplay_r3.label, i0__namespace.ɵɵsanitizeHtml);
22667
22665
  }
22668
22666
  }
22669
22667
  function ManageCaseFlagsComponent_div_10_Template(rf, ctx) {
@@ -22820,9 +22818,9 @@
22820
22818
  }());
22821
22819
  ManageCaseFlagsComponent.CASE_LEVEL_CASE_FLAGS_FIELD_ID = 'caseFlags';
22822
22820
  ManageCaseFlagsComponent.ɵfac = function ManageCaseFlagsComponent_Factory(t) { return new (t || ManageCaseFlagsComponent)(); };
22823
- ManageCaseFlagsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ManageCaseFlagsComponent, selectors: [["ccd-manage-case-flags"]], inputs: { formGroup: "formGroup", flagsData: "flagsData", caseTitle: "caseTitle" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 11, vars: 10, consts: [[3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "manage-case-flag-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "manage-case-flag-heading", 1, "govuk-fieldset__heading"], ["id", "manage-case-flag-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "manage-case-flag-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for", "innerHtml"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function ManageCaseFlagsComponent_Template(rf, ctx) {
22821
+ ManageCaseFlagsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ManageCaseFlagsComponent, selectors: [["ccd-manage-case-flags"]], inputs: { formGroup: "formGroup", flagsData: "flagsData", caseTitle: "caseTitle" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 11, vars: 10, consts: [[1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "manage-case-flag-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "manage-case-flag-heading", 1, "govuk-fieldset__heading"], ["id", "manage-case-flag-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "manage-case-flag-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for", "innerHtml"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function ManageCaseFlagsComponent_Template(rf, ctx) {
22824
22822
  if (rf & 1) {
22825
- i0__namespace.ɵɵelementContainerStart(0, 0);
22823
+ i0__namespace.ɵɵelementStart(0, "div", 0);
22826
22824
  i0__namespace.ɵɵelementStart(1, "div", 1);
22827
22825
  i0__namespace.ɵɵelementStart(2, "fieldset", 2);
22828
22826
  i0__namespace.ɵɵelementStart(3, "legend", 3);
@@ -22837,8 +22835,8 @@
22837
22835
  i0__namespace.ɵɵelementEnd();
22838
22836
  i0__namespace.ɵɵelementEnd();
22839
22837
  i0__namespace.ɵɵelementEnd();
22840
- i0__namespace.ɵɵelementContainerEnd();
22841
22838
  i0__namespace.ɵɵtemplate(10, ManageCaseFlagsComponent_div_10_Template, 4, 3, "div", 8);
22839
+ i0__namespace.ɵɵelementEnd();
22842
22840
  }
22843
22841
  if (rf & 2) {
22844
22842
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
@@ -31912,7 +31910,6 @@
31912
31910
  }
31913
31911
  }));
31914
31912
  };
31915
- ;
31916
31913
  CaseFullAccessViewComponent.prototype.postViewActivity = function () {
31917
31914
  return this.activityPollingService.postViewActivity(this.caseDetails.case_id);
31918
31915
  };