@hmcts/ccd-case-ui-toolkit 6.18.3-ConsoleLogs.1 → 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 (29) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +71 -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/case-editor/case-edit-page/case-edit-page.component.js +12 -1
  6. package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +4 -5
  7. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +4 -5
  8. package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +4 -5
  9. package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +4 -5
  10. package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +4 -5
  11. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +4 -5
  12. package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +4 -5
  13. package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +4 -5
  14. package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +4 -5
  15. package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +4 -5
  16. package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +4 -5
  17. package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +4 -5
  18. package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +4 -5
  19. package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +4 -5
  20. package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +4 -5
  21. package/esm2015/lib/shared/components/palette/utils/first-error.pipe.js +16 -9
  22. package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +4 -5
  23. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +73 -73
  24. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  25. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +1 -0
  26. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
  27. package/lib/shared/components/palette/utils/first-error.pipe.d.ts +8 -5
  28. package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
  29. 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 () {
@@ -11082,6 +11088,10 @@
11082
11088
  _this.handleError(error);
11083
11089
  });
11084
11090
  CaseEditPageComponent.scrollToTop();
11091
+ // Remove all JudicialUser FormControls with the ID suffix "_judicialUserControl" because these are not
11092
+ // intended to be present in the Case Event data (they are added only for value selection and validation
11093
+ // purposes)
11094
+ this.removeAllJudicialUserFormControls(this.currentPage, this.editForm);
11085
11095
  }
11086
11096
  CaseEditPageComponent.setFocusToTop();
11087
11097
  };
@@ -11353,6 +11363,13 @@
11353
11363
  submit: this.caseEdit.submit,
11354
11364
  });
11355
11365
  };
11366
+ CaseEditPageComponent.prototype.removeAllJudicialUserFormControls = function (page, editForm) {
11367
+ page.case_fields.forEach(function (caseField) {
11368
+ if (FieldsUtils.isCaseFieldOfType(caseField, ['JudicialUser'])) {
11369
+ editForm.controls['data'].removeControl(caseField.id + "_judicialUserControl");
11370
+ }
11371
+ });
11372
+ };
11356
11373
  return CaseEditPageComponent;
11357
11374
  }());
11358
11375
  CaseEditPageComponent.RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
@@ -13024,14 +13041,13 @@
13024
13041
  if (rf & 1) {
13025
13042
  i0__namespace.ɵɵelementStart(0, "span", 8);
13026
13043
  i0__namespace.ɵɵtext(1);
13027
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
13028
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
13044
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
13029
13045
  i0__namespace.ɵɵelementEnd();
13030
13046
  }
13031
13047
  if (rf & 2) {
13032
13048
  var ctx_r2 = i0__namespace.ɵɵnextContext();
13033
13049
  i0__namespace.ɵɵadvance(1);
13034
- 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), " ");
13035
13051
  }
13036
13052
  }
13037
13053
  var _c1$m = function (a0) { return { "form-group-error": a0 }; };
@@ -13113,7 +13129,7 @@
13113
13129
  i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_span_2_Template, 4, 5, "span", 2);
13114
13130
  i0__namespace.ɵɵelementEnd();
13115
13131
  i0__namespace.ɵɵtemplate(3, WriteCaseLinkFieldComponent_span_3_Template, 3, 3, "span", 3);
13116
- 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);
13117
13133
  i0__namespace.ɵɵelement(5, "input", 5);
13118
13134
  i0__namespace.ɵɵelementEnd();
13119
13135
  }
@@ -13343,21 +13359,20 @@
13343
13359
  if (rf & 1) {
13344
13360
  i0__namespace.ɵɵelementStart(0, "span", 10);
13345
13361
  i0__namespace.ɵɵtext(1);
13346
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
13347
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
13362
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
13348
13363
  i0__namespace.ɵɵelementEnd();
13349
13364
  }
13350
13365
  if (rf & 2) {
13351
13366
  var ctx_r4 = i0__namespace.ɵɵnextContext(2);
13352
13367
  i0__namespace.ɵɵadvance(1);
13353
- 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), " ");
13354
13369
  }
13355
13370
  }
13356
13371
  function WriteCollectionFieldComponent_h2_9_Template(rf, ctx) {
13357
13372
  if (rf & 1) {
13358
13373
  i0__namespace.ɵɵelementStart(0, "h2", 2);
13359
13374
  i0__namespace.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_9_span_1_Template, 3, 3, "span", 7);
13360
- 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);
13361
13376
  i0__namespace.ɵɵelementEnd();
13362
13377
  }
13363
13378
  if (rf & 2) {
@@ -14957,14 +14972,13 @@
14957
14972
  if (rf & 1) {
14958
14973
  i0__namespace.ɵɵelementStart(0, "span", 10);
14959
14974
  i0__namespace.ɵɵtext(1);
14960
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
14961
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
14975
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
14962
14976
  i0__namespace.ɵɵelementEnd();
14963
14977
  }
14964
14978
  if (rf & 2) {
14965
14979
  var ctx_r3 = i0__namespace.ɵɵnextContext();
14966
14980
  i0__namespace.ɵɵadvance(1);
14967
- 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));
14968
14982
  }
14969
14983
  }
14970
14984
  function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) {
@@ -15020,7 +15034,7 @@
15020
15034
  i0__namespace.ɵɵelementEnd();
15021
15035
  i0__namespace.ɵɵtemplate(3, WriteDynamicListFieldComponent_span_3_Template, 3, 3, "span", 3);
15022
15036
  i0__namespace.ɵɵtemplate(4, WriteDynamicListFieldComponent_span_4_Template, 3, 3, "span", 2);
15023
- 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);
15024
15038
  i0__namespace.ɵɵelementStart(6, "select", 5);
15025
15039
  i0__namespace.ɵɵelementStart(7, "option", 6);
15026
15040
  i0__namespace.ɵɵtext(8);
@@ -15483,14 +15497,13 @@
15483
15497
  if (rf & 1) {
15484
15498
  i0__namespace.ɵɵelementStart(0, "span", 9);
15485
15499
  i0__namespace.ɵɵtext(1);
15486
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15487
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15500
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15488
15501
  i0__namespace.ɵɵelementEnd();
15489
15502
  }
15490
15503
  if (rf & 2) {
15491
15504
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15492
15505
  i0__namespace.ɵɵadvance(1);
15493
- 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));
15494
15507
  }
15495
15508
  }
15496
15509
  var _c0$K = function (a0) { return { selected: a0 }; };
@@ -15554,7 +15567,7 @@
15554
15567
  i0__namespace.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template, 4, 5, "span", 3);
15555
15568
  i0__namespace.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template, 3, 3, "span", 4);
15556
15569
  i0__namespace.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template, 3, 3, "span", 3);
15557
- 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);
15558
15571
  i0__namespace.ɵɵelementEnd();
15559
15572
  i0__namespace.ɵɵelementContainerStart(8);
15560
15573
  i0__namespace.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template, 5, 11, "div", 6);
@@ -15663,14 +15676,13 @@
15663
15676
  if (rf & 1) {
15664
15677
  i0__namespace.ɵɵelementStart(0, "span", 8);
15665
15678
  i0__namespace.ɵɵtext(1);
15666
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15667
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15679
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15668
15680
  i0__namespace.ɵɵelementEnd();
15669
15681
  }
15670
15682
  if (rf & 2) {
15671
15683
  var ctx_r2 = i0__namespace.ɵɵnextContext();
15672
15684
  i0__namespace.ɵɵadvance(1);
15673
- 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));
15674
15686
  }
15675
15687
  }
15676
15688
  var _c0$J = function (a0) { return { "form-group-error": a0 }; };
@@ -15693,7 +15705,7 @@
15693
15705
  i0__namespace.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 4, 5, "span", 2);
15694
15706
  i0__namespace.ɵɵelementEnd();
15695
15707
  i0__namespace.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template, 3, 3, "span", 3);
15696
- 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);
15697
15709
  i0__namespace.ɵɵelement(5, "input", 5);
15698
15710
  i0__namespace.ɵɵelementEnd();
15699
15711
  }
@@ -15785,14 +15797,13 @@
15785
15797
  if (rf & 1) {
15786
15798
  i0__namespace.ɵɵelementStart(0, "span", 10);
15787
15799
  i0__namespace.ɵɵtext(1);
15788
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15789
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15800
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15790
15801
  i0__namespace.ɵɵelementEnd();
15791
15802
  }
15792
15803
  if (rf & 2) {
15793
15804
  var ctx_r2 = i0__namespace.ɵɵnextContext();
15794
15805
  i0__namespace.ɵɵadvance(1);
15795
- 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), " ");
15796
15807
  }
15797
15808
  }
15798
15809
  function WriteFixedListFieldComponent_option_8_Template(rf, ctx) {
@@ -15848,7 +15859,7 @@
15848
15859
  i0__namespace.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template, 4, 5, "span", 2);
15849
15860
  i0__namespace.ɵɵelementEnd();
15850
15861
  i0__namespace.ɵɵtemplate(3, WriteFixedListFieldComponent_span_3_Template, 3, 3, "span", 3);
15851
- 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);
15852
15863
  i0__namespace.ɵɵelementStart(5, "select", 5);
15853
15864
  i0__namespace.ɵɵelementStart(6, "option", 6);
15854
15865
  i0__namespace.ɵɵtext(7, "--Select a value--");
@@ -15970,14 +15981,13 @@
15970
15981
  if (rf & 1) {
15971
15982
  i0__namespace.ɵɵelementStart(0, "span", 8);
15972
15983
  i0__namespace.ɵɵtext(1);
15973
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
15974
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
15984
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
15975
15985
  i0__namespace.ɵɵelementEnd();
15976
15986
  }
15977
15987
  if (rf & 2) {
15978
15988
  var ctx_r2 = i0__namespace.ɵɵnextContext();
15979
15989
  i0__namespace.ɵɵadvance(1);
15980
- 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));
15981
15991
  }
15982
15992
  }
15983
15993
  var _c0$H = function (a0) { return { selected: a0 }; };
@@ -16025,7 +16035,7 @@
16025
16035
  i0__namespace.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template, 4, 5, "span", 2);
16026
16036
  i0__namespace.ɵɵelementEnd();
16027
16037
  i0__namespace.ɵɵtemplate(5, WriteFixedRadioListFieldComponent_span_5_Template, 3, 3, "span", 3);
16028
- 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);
16029
16039
  i0__namespace.ɵɵelementEnd();
16030
16040
  i0__namespace.ɵɵelementContainerStart(7);
16031
16041
  i0__namespace.ɵɵtemplate(8, WriteFixedRadioListFieldComponent_div_8_Template, 5, 11, "div", 5);
@@ -19211,14 +19221,13 @@
19211
19221
  if (rf & 1) {
19212
19222
  i0__namespace.ɵɵelementStart(0, "span", 10);
19213
19223
  i0__namespace.ɵɵtext(1);
19214
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
19215
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
19224
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19216
19225
  i0__namespace.ɵɵelementEnd();
19217
19226
  }
19218
19227
  if (rf & 2) {
19219
19228
  var ctx_r2 = i0__namespace.ɵɵnextContext();
19220
19229
  i0__namespace.ɵɵadvance(1);
19221
- 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));
19222
19231
  }
19223
19232
  }
19224
19233
  var _c0$D = function (a0) { return { "form-group-error": a0 }; };
@@ -19240,7 +19249,7 @@
19240
19249
  i0__namespace.ɵɵtemplate(2, WriteMoneyGbpFieldComponent_span_2_Template, 4, 5, "span", 2);
19241
19250
  i0__namespace.ɵɵelementEnd();
19242
19251
  i0__namespace.ɵɵtemplate(3, WriteMoneyGbpFieldComponent_span_3_Template, 3, 3, "span", 3);
19243
- 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);
19244
19253
  i0__namespace.ɵɵelementStart(5, "div", 5);
19245
19254
  i0__namespace.ɵɵelementStart(6, "span", 6);
19246
19255
  i0__namespace.ɵɵtext(7, "\u00A3");
@@ -19370,14 +19379,13 @@
19370
19379
  if (rf & 1) {
19371
19380
  i0__namespace.ɵɵelementStart(0, "span", 7);
19372
19381
  i0__namespace.ɵɵtext(1);
19373
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
19374
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
19382
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19375
19383
  i0__namespace.ɵɵelementEnd();
19376
19384
  }
19377
19385
  if (rf & 2) {
19378
19386
  var ctx_r2 = i0__namespace.ɵɵnextContext();
19379
19387
  i0__namespace.ɵɵadvance(1);
19380
- 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));
19381
19389
  }
19382
19390
  }
19383
19391
  function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
@@ -19464,7 +19472,7 @@
19464
19472
  i0__namespace.ɵɵtemplate(3, WriteMultiSelectListFieldComponent_span_3_Template, 4, 5, "span", 1);
19465
19473
  i0__namespace.ɵɵelementEnd();
19466
19474
  i0__namespace.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2);
19467
- 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);
19468
19476
  i0__namespace.ɵɵtemplate(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
19469
19477
  i0__namespace.ɵɵelementEnd();
19470
19478
  i0__namespace.ɵɵelementEnd();
@@ -19554,14 +19562,13 @@
19554
19562
  if (rf & 1) {
19555
19563
  i0__namespace.ɵɵelementStart(0, "span", 8);
19556
19564
  i0__namespace.ɵɵtext(1);
19557
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
19558
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
19565
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19559
19566
  i0__namespace.ɵɵelementEnd();
19560
19567
  }
19561
19568
  if (rf & 2) {
19562
19569
  var ctx_r2 = i0__namespace.ɵɵnextContext();
19563
19570
  i0__namespace.ɵɵadvance(1);
19564
- 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), " ");
19565
19572
  }
19566
19573
  }
19567
19574
  var _c0$B = function (a0) { return { "form-group-error": a0 }; };
@@ -19584,7 +19591,7 @@
19584
19591
  i0__namespace.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 4, 5, "span", 2);
19585
19592
  i0__namespace.ɵɵelementEnd();
19586
19593
  i0__namespace.ɵɵtemplate(3, WriteNumberFieldComponent_span_3_Template, 3, 3, "span", 3);
19587
- 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);
19588
19595
  i0__namespace.ɵɵelement(5, "input", 5);
19589
19596
  i0__namespace.ɵɵelementEnd();
19590
19597
  }
@@ -20432,14 +20439,13 @@
20432
20439
  if (rf & 1) {
20433
20440
  i0__namespace.ɵɵelementStart(0, "span", 8);
20434
20441
  i0__namespace.ɵɵtext(1);
20435
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20436
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20442
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20437
20443
  i0__namespace.ɵɵelementEnd();
20438
20444
  }
20439
20445
  if (rf & 2) {
20440
20446
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20441
20447
  i0__namespace.ɵɵadvance(1);
20442
- 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), " ");
20443
20449
  }
20444
20450
  }
20445
20451
  var _c0$z = function (a0) { return { "form-group-error": a0 }; };
@@ -20462,7 +20468,7 @@
20462
20468
  i0__namespace.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template, 4, 5, "span", 2);
20463
20469
  i0__namespace.ɵɵelementEnd();
20464
20470
  i0__namespace.ɵɵtemplate(3, WritePhoneUKFieldComponent_span_3_Template, 3, 3, "span", 3);
20465
- 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);
20466
20472
  i0__namespace.ɵɵelement(5, "input", 5);
20467
20473
  i0__namespace.ɵɵelementEnd();
20468
20474
  }
@@ -20553,14 +20559,13 @@
20553
20559
  if (rf & 1) {
20554
20560
  i0__namespace.ɵɵelementStart(0, "span", 8);
20555
20561
  i0__namespace.ɵɵtext(1);
20556
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20557
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20562
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20558
20563
  i0__namespace.ɵɵelementEnd();
20559
20564
  }
20560
20565
  if (rf & 2) {
20561
20566
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20562
20567
  i0__namespace.ɵɵadvance(1);
20563
- 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), " ");
20564
20569
  }
20565
20570
  }
20566
20571
  var _c0$y = function (a0) { return { "form-group-error": a0 }; };
@@ -20592,7 +20597,7 @@
20592
20597
  i0__namespace.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template, 4, 5, "span", 2);
20593
20598
  i0__namespace.ɵɵelementEnd();
20594
20599
  i0__namespace.ɵɵtemplate(3, WriteTextAreaFieldComponent_span_3_Template, 3, 3, "span", 3);
20595
- 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);
20596
20601
  i0__namespace.ɵɵelementStart(5, "textarea", 5);
20597
20602
  i0__namespace.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
20598
20603
  i0__namespace.ɵɵelementEnd();
@@ -20685,14 +20690,13 @@
20685
20690
  if (rf & 1) {
20686
20691
  i0__namespace.ɵɵelementStart(0, "span", 8);
20687
20692
  i0__namespace.ɵɵtext(1);
20688
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20689
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20693
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20690
20694
  i0__namespace.ɵɵelementEnd();
20691
20695
  }
20692
20696
  if (rf & 2) {
20693
20697
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20694
20698
  i0__namespace.ɵɵadvance(1);
20695
- 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), " ");
20696
20700
  }
20697
20701
  }
20698
20702
  var _c0$x = function (a0) { return { "form-group-error": a0 }; };
@@ -20718,7 +20722,7 @@
20718
20722
  i0__namespace.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 4, 5, "span", 2);
20719
20723
  i0__namespace.ɵɵelementEnd();
20720
20724
  i0__namespace.ɵɵtemplate(3, WriteTextFieldComponent_span_3_Template, 3, 3, "span", 3);
20721
- 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);
20722
20726
  i0__namespace.ɵɵelementStart(5, "input", 5);
20723
20727
  i0__namespace.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
20724
20728
  i0__namespace.ɵɵelementEnd();
@@ -20928,14 +20932,13 @@
20928
20932
  if (rf & 1) {
20929
20933
  i0__namespace.ɵɵelementStart(0, "span", 9);
20930
20934
  i0__namespace.ɵɵtext(1);
20931
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20932
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
20935
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
20933
20936
  i0__namespace.ɵɵelementEnd();
20934
20937
  }
20935
20938
  if (rf & 2) {
20936
20939
  var ctx_r2 = i0__namespace.ɵɵnextContext();
20937
20940
  i0__namespace.ɵɵadvance(1);
20938
- 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), " ");
20939
20942
  }
20940
20943
  }
20941
20944
  var _c0$w = function (a0) { return { selected: a0 }; };
@@ -20984,7 +20987,7 @@
20984
20987
  i0__namespace.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 4, 5, "span", 2);
20985
20988
  i0__namespace.ɵɵelementEnd();
20986
20989
  i0__namespace.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 3, 3, "span", 3);
20987
- 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);
20988
20991
  i0__namespace.ɵɵelementStart(6, "div", 5);
20989
20992
  i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 4, 10, "div", 6);
20990
20993
  i0__namespace.ɵɵelementEnd();
@@ -24722,14 +24725,13 @@
24722
24725
  if (rf & 1) {
24723
24726
  i0__namespace.ɵɵelementStart(0, "span", 7);
24724
24727
  i0__namespace.ɵɵtext(1);
24725
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
24726
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
24728
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
24727
24729
  i0__namespace.ɵɵelementEnd();
24728
24730
  }
24729
24731
  if (rf & 2) {
24730
24732
  var ctx_r2 = i0__namespace.ɵɵnextContext();
24731
24733
  i0__namespace.ɵɵadvance(1);
24732
- 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), " ");
24733
24735
  }
24734
24736
  }
24735
24737
  var _c0$j = function (a0) { return { "form-group-error": a0 }; };
@@ -24755,7 +24757,7 @@
24755
24757
  i0__namespace.ɵɵtemplate(3, WriteDateFieldComponent_span_3_Template, 4, 5, "span", 1);
24756
24758
  i0__namespace.ɵɵelementEnd();
24757
24759
  i0__namespace.ɵɵtemplate(4, WriteDateFieldComponent_span_4_Template, 3, 3, "span", 2);
24758
- 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);
24759
24761
  i0__namespace.ɵɵelement(6, "cut-date-input", 4);
24760
24762
  i0__namespace.ɵɵpipe(7, "ccdIsMandatory");
24761
24763
  i0__namespace.ɵɵelementEnd();
@@ -24829,14 +24831,13 @@
24829
24831
  if (rf & 1) {
24830
24832
  i0__namespace.ɵɵelementStart(0, "span", 12);
24831
24833
  i0__namespace.ɵɵtext(1);
24832
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
24833
- i0__namespace.ɵɵpipe(3, "ccdFirstError");
24834
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
24834
24835
  i0__namespace.ɵɵelementEnd();
24835
24836
  }
24836
24837
  if (rf & 2) {
24837
24838
  var ctx_r2 = i0__namespace.ɵɵnextContext();
24838
24839
  i0__namespace.ɵɵadvance(1);
24839
- 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));
24840
24841
  }
24841
24842
  }
24842
24843
  function DatetimePickerComponent_span_6_Template(rf, ctx) {
@@ -25054,7 +25055,7 @@
25054
25055
  i0__namespace.ɵɵelementStart(2, "legend");
25055
25056
  i0__namespace.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 4, 5, "span", 1);
25056
25057
  i0__namespace.ɵɵtemplate(4, DatetimePickerComponent_span_4_Template, 3, 3, "span", 2);
25057
- 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);
25058
25059
  i0__namespace.ɵɵtemplate(6, DatetimePickerComponent_span_6_Template, 3, 3, "span", 3);
25059
25060
  i0__namespace.ɵɵtemplate(7, DatetimePickerComponent_span_7_Template, 3, 3, "span", 3);
25060
25061
  i0__namespace.ɵɵelementEnd();