@hmcts/ccd-case-ui-toolkit 6.18.0-welsh-release-v5 → 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();