@hmcts/ccd-case-ui-toolkit 6.18.3-hotfix-EUI-8738 → 6.18.3-hotfix-EUI-8737

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.
Files changed (26) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +60 -70
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +4 -5
  6. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +4 -5
  7. package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +4 -5
  8. package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +4 -5
  9. package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +4 -5
  10. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +4 -5
  11. package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +4 -5
  12. package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +4 -5
  13. package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +4 -5
  14. package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +4 -5
  15. package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +4 -5
  16. package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +4 -5
  17. package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +4 -5
  18. package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +4 -5
  19. package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +4 -5
  20. package/esm2015/lib/shared/components/palette/utils/first-error.pipe.js +16 -9
  21. package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +4 -5
  22. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +62 -73
  23. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  24. package/lib/shared/components/palette/utils/first-error.pipe.d.ts +8 -5
  25. package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
  26. package/package.json +1 -1
@@ -3199,10 +3199,13 @@
3199
3199
  })();
3200
3200
 
3201
3201
  var FirstErrorPipe = /** @class */ (function () {
3202
- function FirstErrorPipe(rpxTranslationPipe) {
3203
- this.rpxTranslationPipe = rpxTranslationPipe;
3202
+ function FirstErrorPipe(rpxTranslationService, injector) {
3203
+ this.rpxTranslationService = rpxTranslationService;
3204
+ this.injector = injector;
3205
+ this.asyncPipe = new i2.AsyncPipe(this.injector.get(i0.ChangeDetectorRef));
3204
3206
  }
3205
3207
  FirstErrorPipe.prototype.transform = function (value, args) {
3208
+ var _this = this;
3206
3209
  if (!value) {
3207
3210
  return '';
3208
3211
  }
@@ -3213,7 +3216,6 @@
3213
3216
  if (!keys.length) {
3214
3217
  return '';
3215
3218
  }
3216
- var fieldLabel = this.rpxTranslationPipe.transform(args);
3217
3219
  var errorMessage;
3218
3220
  if (keys[0] === 'required') {
3219
3221
  errorMessage = '%FIELDLABEL% is required';
@@ -3233,11 +3235,15 @@
3233
3235
  else {
3234
3236
  errorMessage = value[keys[0]];
3235
3237
  }
3236
- return this.rpxTranslationPipe.transform(errorMessage, { FIELDLABEL: fieldLabel });
3238
+ var o = this.rpxTranslationService.getTranslation$(args).pipe(operators.switchMap(function (fieldLabel) { return _this.rpxTranslationService.getTranslationWithReplacements$(errorMessage, { FIELDLABEL: fieldLabel }); }));
3239
+ return this.asyncPipe.transform(o);
3240
+ };
3241
+ FirstErrorPipe.prototype.ngOnDestroy = function () {
3242
+ this.asyncPipe.ngOnDestroy();
3237
3243
  };
3238
3244
  return FirstErrorPipe;
3239
3245
  }());
3240
- FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.RpxTranslatePipe)); };
3246
+ FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.RpxTranslationService), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
3241
3247
  FirstErrorPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: false });
3242
3248
  (function () {
3243
3249
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FirstErrorPipe, [{
@@ -3246,7 +3252,7 @@
3246
3252
  name: 'ccdFirstError',
3247
3253
  pure: false
3248
3254
  }]
3249
- }], function () { return [{ type: i1__namespace.RpxTranslatePipe }]; }, null);
3255
+ }], function () { return [{ type: i1__namespace.RpxTranslationService }, { type: i0__namespace.Injector }]; }, null);
3250
3256
  })();
3251
3257
 
3252
3258
  var IsCompoundPipe = /** @class */ (function () {
@@ -13035,14 +13041,13 @@
13035
13041
  if (rf & 1) {
13036
13042
  i0__namespace.ɵɵelementStart(0, "span", 8);
13037
13043
  i0__namespace.ɵɵtext(1);
13038
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
13039
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
13044
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
13040
13045
  i0__namespace.ɵɵelementEnd();
13041
13046
  }
13042
13047
  if (rf & 2) {
13043
13048
  var ctx_r2 = i0__namespace.ɵɵnextContext();
13044
13049
  i0__namespace.ɵɵadvance(1);
13045
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label)), " ");
13050
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label), " ");
13046
13051
  }
13047
13052
  }
13048
13053
  var _c1$m = function (a0) { return { "form-group-error": a0 }; };
@@ -13124,7 +13129,7 @@
13124
13129
  i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_span_2_Template, 4, 5, "span", 2);
13125
13130
  i0__namespace.ɵɵelementEnd();
13126
13131
  i0__namespace.ɵɵtemplate(3, WriteCaseLinkFieldComponent_span_3_Template, 3, 3, "span", 3);
13127
- i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template, 4, 6, "span", 4);
13132
+ i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template, 3, 4, "span", 4);
13128
13133
  i0__namespace.ɵɵelement(5, "input", 5);
13129
13134
  i0__namespace.ɵɵelementEnd();
13130
13135
  }
@@ -13354,21 +13359,20 @@
13354
13359
  if (rf & 1) {
13355
13360
  i0__namespace.ɵɵelementStart(0, "span", 10);
13356
13361
  i0__namespace.ɵɵtext(1);
13357
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
13358
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
13362
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
13359
13363
  i0__namespace.ɵɵelementEnd();
13360
13364
  }
13361
13365
  if (rf & 2) {
13362
13366
  var ctx_r4 = i0__namespace.ɵɵnextContext(2);
13363
13367
  i0__namespace.ɵɵadvance(1);
13364
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r4.formArray.errors, ctx_r4.caseField.label)), " ");
13368
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r4.formArray.errors, ctx_r4.caseField.label), " ");
13365
13369
  }
13366
13370
  }
13367
13371
  function WriteCollectionFieldComponent_h2_9_Template(rf, ctx) {
13368
13372
  if (rf & 1) {
13369
13373
  i0__namespace.ɵɵelementStart(0, "h2", 2);
13370
13374
  i0__namespace.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_9_span_1_Template, 3, 3, "span", 7);
13371
- i0__namespace.ɵɵtemplate(2, WriteCollectionFieldComponent_h2_9_span_2_Template, 4, 6, "span", 8);
13375
+ i0__namespace.ɵɵtemplate(2, WriteCollectionFieldComponent_h2_9_span_2_Template, 3, 4, "span", 8);
13372
13376
  i0__namespace.ɵɵelementEnd();
13373
13377
  }
13374
13378
  if (rf & 2) {
@@ -14968,14 +14972,13 @@
14968
14972
  if (rf & 1) {
14969
14973
  i0__namespace.ɵɵelementStart(0, "span", 10);
14970
14974
  i0__namespace.ɵɵtext(1);
14971
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
14972
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
14975
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
14973
14976
  i0__namespace.ɵɵelementEnd();
14974
14977
  }
14975
14978
  if (rf & 2) {
14976
14979
  var ctx_r3 = i0__namespace.ɵɵnextContext();
14977
14980
  i0__namespace.ɵɵadvance(1);
14978
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r3.dynamicListFormControl.errors, ctx_r3.caseField.label)));
14981
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r3.dynamicListFormControl.errors, ctx_r3.caseField.label));
14979
14982
  }
14980
14983
  }
14981
14984
  function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) {
@@ -15031,7 +15034,7 @@
15031
15034
  i0__namespace.ɵɵelementEnd();
15032
15035
  i0__namespace.ɵɵtemplate(3, WriteDynamicListFieldComponent_span_3_Template, 3, 3, "span", 3);
15033
15036
  i0__namespace.ɵɵtemplate(4, WriteDynamicListFieldComponent_span_4_Template, 3, 3, "span", 2);
15034
- i0__namespace.ɵɵtemplate(5, WriteDynamicListFieldComponent_span_5_Template, 4, 6, "span", 4);
15037
+ i0__namespace.ɵɵtemplate(5, WriteDynamicListFieldComponent_span_5_Template, 3, 4, "span", 4);
15035
15038
  i0__namespace.ɵɵelementStart(6, "select", 5);
15036
15039
  i0__namespace.ɵɵelementStart(7, "option", 6);
15037
15040
  i0__namespace.ɵɵtext(8);
@@ -15494,14 +15497,13 @@
15494
15497
  if (rf & 1) {
15495
15498
  i0__namespace.ɵɵelementStart(0, "span", 9);
15496
15499
  i0__namespace.ɵɵtext(1);
15497
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15498
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15500
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15499
15501
  i0__namespace.ɵɵelementEnd();
15500
15502
  }
15501
15503
  if (rf & 2) {
15502
15504
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15503
15505
  i0__namespace.ɵɵadvance(1);
15504
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
15506
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
15505
15507
  }
15506
15508
  }
15507
15509
  var _c0$K = function (a0) { return { selected: a0 }; };
@@ -15565,7 +15567,7 @@
15565
15567
  i0__namespace.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template, 4, 5, "span", 3);
15566
15568
  i0__namespace.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template, 3, 3, "span", 4);
15567
15569
  i0__namespace.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template, 3, 3, "span", 3);
15568
- i0__namespace.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template, 4, 5, "span", 5);
15570
+ i0__namespace.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template, 3, 3, "span", 5);
15569
15571
  i0__namespace.ɵɵelementEnd();
15570
15572
  i0__namespace.ɵɵelementContainerStart(8);
15571
15573
  i0__namespace.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template, 5, 11, "div", 6);
@@ -15674,14 +15676,13 @@
15674
15676
  if (rf & 1) {
15675
15677
  i0__namespace.ɵɵelementStart(0, "span", 8);
15676
15678
  i0__namespace.ɵɵtext(1);
15677
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15678
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15679
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15679
15680
  i0__namespace.ɵɵelementEnd();
15680
15681
  }
15681
15682
  if (rf & 2) {
15682
15683
  var ctx_r2 = i0__namespace.ɵɵnextContext();
15683
15684
  i0__namespace.ɵɵadvance(1);
15684
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
15685
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
15685
15686
  }
15686
15687
  }
15687
15688
  var _c0$J = function (a0) { return { "form-group-error": a0 }; };
@@ -15704,7 +15705,7 @@
15704
15705
  i0__namespace.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 4, 5, "span", 2);
15705
15706
  i0__namespace.ɵɵelementEnd();
15706
15707
  i0__namespace.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template, 3, 3, "span", 3);
15707
- i0__namespace.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template, 4, 6, "span", 4);
15708
+ i0__namespace.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template, 3, 4, "span", 4);
15708
15709
  i0__namespace.ɵɵelement(5, "input", 5);
15709
15710
  i0__namespace.ɵɵelementEnd();
15710
15711
  }
@@ -15796,14 +15797,13 @@
15796
15797
  if (rf & 1) {
15797
15798
  i0__namespace.ɵɵelementStart(0, "span", 10);
15798
15799
  i0__namespace.ɵɵtext(1);
15799
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15800
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15800
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15801
15801
  i0__namespace.ɵɵelementEnd();
15802
15802
  }
15803
15803
  if (rf & 2) {
15804
15804
  var ctx_r2 = i0__namespace.ɵɵnextContext();
15805
15805
  i0__namespace.ɵɵadvance(1);
15806
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedListFormControl.errors, ctx_r2.caseField.label)), " ");
15806
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedListFormControl.errors, ctx_r2.caseField.label), " ");
15807
15807
  }
15808
15808
  }
15809
15809
  function WriteFixedListFieldComponent_option_8_Template(rf, ctx) {
@@ -15859,7 +15859,7 @@
15859
15859
  i0__namespace.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template, 4, 5, "span", 2);
15860
15860
  i0__namespace.ɵɵelementEnd();
15861
15861
  i0__namespace.ɵɵtemplate(3, WriteFixedListFieldComponent_span_3_Template, 3, 3, "span", 3);
15862
- i0__namespace.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template, 4, 6, "span", 4);
15862
+ i0__namespace.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template, 3, 4, "span", 4);
15863
15863
  i0__namespace.ɵɵelementStart(5, "select", 5);
15864
15864
  i0__namespace.ɵɵelementStart(6, "option", 6);
15865
15865
  i0__namespace.ɵɵtext(7, "--Select a value--");
@@ -15981,14 +15981,13 @@
15981
15981
  if (rf & 1) {
15982
15982
  i0__namespace.ɵɵelementStart(0, "span", 8);
15983
15983
  i0__namespace.ɵɵtext(1);
15984
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15985
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15984
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15986
15985
  i0__namespace.ɵɵelementEnd();
15987
15986
  }
15988
15987
  if (rf & 2) {
15989
15988
  var ctx_r2 = i0__namespace.ɵɵnextContext();
15990
15989
  i0__namespace.ɵɵadvance(1);
15991
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
15990
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
15992
15991
  }
15993
15992
  }
15994
15993
  var _c0$H = function (a0) { return { selected: a0 }; };
@@ -16036,7 +16035,7 @@
16036
16035
  i0__namespace.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template, 4, 5, "span", 2);
16037
16036
  i0__namespace.ɵɵelementEnd();
16038
16037
  i0__namespace.ɵɵtemplate(5, WriteFixedRadioListFieldComponent_span_5_Template, 3, 3, "span", 3);
16039
- i0__namespace.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template, 4, 6, "span", 4);
16038
+ i0__namespace.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template, 3, 4, "span", 4);
16040
16039
  i0__namespace.ɵɵelementEnd();
16041
16040
  i0__namespace.ɵɵelementContainerStart(7);
16042
16041
  i0__namespace.ɵɵtemplate(8, WriteFixedRadioListFieldComponent_div_8_Template, 5, 11, "div", 5);
@@ -19222,14 +19221,13 @@
19222
19221
  if (rf & 1) {
19223
19222
  i0__namespace.ɵɵelementStart(0, "span", 10);
19224
19223
  i0__namespace.ɵɵtext(1);
19225
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
19226
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
19224
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19227
19225
  i0__namespace.ɵɵelementEnd();
19228
19226
  }
19229
19227
  if (rf & 2) {
19230
19228
  var ctx_r2 = i0__namespace.ɵɵnextContext();
19231
19229
  i0__namespace.ɵɵadvance(1);
19232
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
19230
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
19233
19231
  }
19234
19232
  }
19235
19233
  var _c0$D = function (a0) { return { "form-group-error": a0 }; };
@@ -19251,7 +19249,7 @@
19251
19249
  i0__namespace.ɵɵtemplate(2, WriteMoneyGbpFieldComponent_span_2_Template, 4, 5, "span", 2);
19252
19250
  i0__namespace.ɵɵelementEnd();
19253
19251
  i0__namespace.ɵɵtemplate(3, WriteMoneyGbpFieldComponent_span_3_Template, 3, 3, "span", 3);
19254
- i0__namespace.ɵɵtemplate(4, WriteMoneyGbpFieldComponent_span_4_Template, 4, 6, "span", 4);
19252
+ i0__namespace.ɵɵtemplate(4, WriteMoneyGbpFieldComponent_span_4_Template, 3, 4, "span", 4);
19255
19253
  i0__namespace.ɵɵelementStart(5, "div", 5);
19256
19254
  i0__namespace.ɵɵelementStart(6, "span", 6);
19257
19255
  i0__namespace.ɵɵtext(7, "\u00A3");
@@ -19381,14 +19379,13 @@
19381
19379
  if (rf & 1) {
19382
19380
  i0__namespace.ɵɵelementStart(0, "span", 7);
19383
19381
  i0__namespace.ɵɵtext(1);
19384
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
19385
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
19382
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19386
19383
  i0__namespace.ɵɵelementEnd();
19387
19384
  }
19388
19385
  if (rf & 2) {
19389
19386
  var ctx_r2 = i0__namespace.ɵɵnextContext();
19390
19387
  i0__namespace.ɵɵadvance(1);
19391
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.checkboxes.errors, ctx_r2.caseField.label)));
19388
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.checkboxes.errors, ctx_r2.caseField.label));
19392
19389
  }
19393
19390
  }
19394
19391
  function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
@@ -19475,7 +19472,7 @@
19475
19472
  i0__namespace.ɵɵtemplate(3, WriteMultiSelectListFieldComponent_span_3_Template, 4, 5, "span", 1);
19476
19473
  i0__namespace.ɵɵelementEnd();
19477
19474
  i0__namespace.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2);
19478
- i0__namespace.ɵɵtemplate(5, WriteMultiSelectListFieldComponent_span_5_Template, 4, 6, "span", 3);
19475
+ i0__namespace.ɵɵtemplate(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3);
19479
19476
  i0__namespace.ɵɵtemplate(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
19480
19477
  i0__namespace.ɵɵelementEnd();
19481
19478
  i0__namespace.ɵɵelementEnd();
@@ -19565,14 +19562,13 @@
19565
19562
  if (rf & 1) {
19566
19563
  i0__namespace.ɵɵelementStart(0, "span", 8);
19567
19564
  i0__namespace.ɵɵtext(1);
19568
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
19569
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
19565
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19570
19566
  i0__namespace.ɵɵelementEnd();
19571
19567
  }
19572
19568
  if (rf & 2) {
19573
19569
  var ctx_r2 = i0__namespace.ɵɵnextContext();
19574
19570
  i0__namespace.ɵɵadvance(1);
19575
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
19571
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label), " ");
19576
19572
  }
19577
19573
  }
19578
19574
  var _c0$B = function (a0) { return { "form-group-error": a0 }; };
@@ -19595,7 +19591,7 @@
19595
19591
  i0__namespace.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 4, 5, "span", 2);
19596
19592
  i0__namespace.ɵɵelementEnd();
19597
19593
  i0__namespace.ɵɵtemplate(3, WriteNumberFieldComponent_span_3_Template, 3, 3, "span", 3);
19598
- i0__namespace.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template, 4, 6, "span", 4);
19594
+ i0__namespace.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template, 3, 4, "span", 4);
19599
19595
  i0__namespace.ɵɵelement(5, "input", 5);
19600
19596
  i0__namespace.ɵɵelementEnd();
19601
19597
  }
@@ -20443,14 +20439,13 @@
20443
20439
  if (rf & 1) {
20444
20440
  i0__namespace.ɵɵelementStart(0, "span", 8);
20445
20441
  i0__namespace.ɵɵtext(1);
20446
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20447
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20442
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20448
20443
  i0__namespace.ɵɵelementEnd();
20449
20444
  }
20450
20445
  if (rf & 2) {
20451
20446
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20452
20447
  i0__namespace.ɵɵadvance(1);
20453
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
20448
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label), " ");
20454
20449
  }
20455
20450
  }
20456
20451
  var _c0$z = function (a0) { return { "form-group-error": a0 }; };
@@ -20473,7 +20468,7 @@
20473
20468
  i0__namespace.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template, 4, 5, "span", 2);
20474
20469
  i0__namespace.ɵɵelementEnd();
20475
20470
  i0__namespace.ɵɵtemplate(3, WritePhoneUKFieldComponent_span_3_Template, 3, 3, "span", 3);
20476
- i0__namespace.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template, 4, 6, "span", 4);
20471
+ i0__namespace.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template, 3, 4, "span", 4);
20477
20472
  i0__namespace.ɵɵelement(5, "input", 5);
20478
20473
  i0__namespace.ɵɵelementEnd();
20479
20474
  }
@@ -20564,14 +20559,13 @@
20564
20559
  if (rf & 1) {
20565
20560
  i0__namespace.ɵɵelementStart(0, "span", 8);
20566
20561
  i0__namespace.ɵɵtext(1);
20567
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20568
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20562
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20569
20563
  i0__namespace.ɵɵelementEnd();
20570
20564
  }
20571
20565
  if (rf & 2) {
20572
20566
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20573
20567
  i0__namespace.ɵɵadvance(1);
20574
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
20568
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label), " ");
20575
20569
  }
20576
20570
  }
20577
20571
  var _c0$y = function (a0) { return { "form-group-error": a0 }; };
@@ -20603,7 +20597,7 @@
20603
20597
  i0__namespace.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template, 4, 5, "span", 2);
20604
20598
  i0__namespace.ɵɵelementEnd();
20605
20599
  i0__namespace.ɵɵtemplate(3, WriteTextAreaFieldComponent_span_3_Template, 3, 3, "span", 3);
20606
- i0__namespace.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template, 4, 6, "span", 4);
20600
+ i0__namespace.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template, 3, 4, "span", 4);
20607
20601
  i0__namespace.ɵɵelementStart(5, "textarea", 5);
20608
20602
  i0__namespace.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
20609
20603
  i0__namespace.ɵɵelementEnd();
@@ -20696,14 +20690,13 @@
20696
20690
  if (rf & 1) {
20697
20691
  i0__namespace.ɵɵelementStart(0, "span", 8);
20698
20692
  i0__namespace.ɵɵtext(1);
20699
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20700
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20693
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20701
20694
  i0__namespace.ɵɵelementEnd();
20702
20695
  }
20703
20696
  if (rf & 2) {
20704
20697
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20705
20698
  i0__namespace.ɵɵadvance(1);
20706
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
20699
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label), " ");
20707
20700
  }
20708
20701
  }
20709
20702
  var _c0$x = function (a0) { return { "form-group-error": a0 }; };
@@ -20729,7 +20722,7 @@
20729
20722
  i0__namespace.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 4, 5, "span", 2);
20730
20723
  i0__namespace.ɵɵelementEnd();
20731
20724
  i0__namespace.ɵɵtemplate(3, WriteTextFieldComponent_span_3_Template, 3, 3, "span", 3);
20732
- i0__namespace.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template, 4, 6, "span", 4);
20725
+ i0__namespace.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template, 3, 4, "span", 4);
20733
20726
  i0__namespace.ɵɵelementStart(5, "input", 5);
20734
20727
  i0__namespace.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
20735
20728
  i0__namespace.ɵɵelementEnd();
@@ -20939,14 +20932,13 @@
20939
20932
  if (rf & 1) {
20940
20933
  i0__namespace.ɵɵelementStart(0, "span", 9);
20941
20934
  i0__namespace.ɵɵtext(1);
20942
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20943
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20935
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20944
20936
  i0__namespace.ɵɵelementEnd();
20945
20937
  }
20946
20938
  if (rf & 2) {
20947
20939
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20948
20940
  i0__namespace.ɵɵadvance(1);
20949
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
20941
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label), " ");
20950
20942
  }
20951
20943
  }
20952
20944
  var _c0$w = function (a0) { return { selected: a0 }; };
@@ -20995,7 +20987,7 @@
20995
20987
  i0__namespace.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 4, 5, "span", 2);
20996
20988
  i0__namespace.ɵɵelementEnd();
20997
20989
  i0__namespace.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 3, 3, "span", 3);
20998
- i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 4, 6, "span", 4);
20990
+ i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 3, 4, "span", 4);
20999
20991
  i0__namespace.ɵɵelementStart(6, "div", 5);
21000
20992
  i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 4, 10, "div", 6);
21001
20993
  i0__namespace.ɵɵelementEnd();
@@ -24733,14 +24725,13 @@
24733
24725
  if (rf & 1) {
24734
24726
  i0__namespace.ɵɵelementStart(0, "span", 7);
24735
24727
  i0__namespace.ɵɵtext(1);
24736
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
24737
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
24728
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
24738
24729
  i0__namespace.ɵɵelementEnd();
24739
24730
  }
24740
24731
  if (rf & 2) {
24741
24732
  var ctx_r2 = i0__namespace.ɵɵnextContext();
24742
24733
  i0__namespace.ɵɵadvance(1);
24743
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.dateControl.errors, ctx_r2.caseField.label)), " ");
24734
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label), " ");
24744
24735
  }
24745
24736
  }
24746
24737
  var _c0$j = function (a0) { return { "form-group-error": a0 }; };
@@ -24766,7 +24757,7 @@
24766
24757
  i0__namespace.ɵɵtemplate(3, WriteDateFieldComponent_span_3_Template, 4, 5, "span", 1);
24767
24758
  i0__namespace.ɵɵelementEnd();
24768
24759
  i0__namespace.ɵɵtemplate(4, WriteDateFieldComponent_span_4_Template, 3, 3, "span", 2);
24769
- i0__namespace.ɵɵtemplate(5, WriteDateFieldComponent_span_5_Template, 4, 6, "span", 3);
24760
+ i0__namespace.ɵɵtemplate(5, WriteDateFieldComponent_span_5_Template, 3, 4, "span", 3);
24770
24761
  i0__namespace.ɵɵelement(6, "cut-date-input", 4);
24771
24762
  i0__namespace.ɵɵpipe(7, "ccdIsMandatory");
24772
24763
  i0__namespace.ɵɵelementEnd();
@@ -24840,14 +24831,13 @@
24840
24831
  if (rf & 1) {
24841
24832
  i0__namespace.ɵɵelementStart(0, "span", 12);
24842
24833
  i0__namespace.ɵɵtext(1);
24843
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
24844
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
24834
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
24845
24835
  i0__namespace.ɵɵelementEnd();
24846
24836
  }
24847
24837
  if (rf & 2) {
24848
24838
  var ctx_r2 = i0__namespace.ɵɵnextContext();
24849
24839
  i0__namespace.ɵɵadvance(1);
24850
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.dateControl.errors, ctx_r2.caseField.label)));
24840
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label));
24851
24841
  }
24852
24842
  }
24853
24843
  function DatetimePickerComponent_span_6_Template(rf, ctx) {
@@ -25065,7 +25055,7 @@
25065
25055
  i0__namespace.ɵɵelementStart(2, "legend");
25066
25056
  i0__namespace.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 4, 5, "span", 1);
25067
25057
  i0__namespace.ɵɵtemplate(4, DatetimePickerComponent_span_4_Template, 3, 3, "span", 2);
25068
- i0__namespace.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template, 4, 6, "span", 3);
25058
+ i0__namespace.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template, 3, 4, "span", 3);
25069
25059
  i0__namespace.ɵɵtemplate(6, DatetimePickerComponent_span_6_Template, 3, 3, "span", 3);
25070
25060
  i0__namespace.ɵɵtemplate(7, DatetimePickerComponent_span_7_Template, 3, 3, "span", 3);
25071
25061
  i0__namespace.ɵɵelementEnd();