@hmcts/ccd-case-ui-toolkit 5.0.44-angular11-updgrade-welsh-release-v4 → 5.0.44-angular11-welsh-release-part1-2

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 (34) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +139 -99
  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/app.config.js +1 -1
  6. package/esm2015/lib/components/tabs/tabs.component.js +2 -1
  7. package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -1
  8. package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +31 -25
  9. package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +6 -1
  10. package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +18 -12
  11. package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +9 -7
  12. package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +11 -7
  13. package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +9 -7
  14. package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +9 -7
  15. package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +4 -3
  16. package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +9 -7
  17. package/esm2015/lib/shared/components/palette/palette.module.js +6 -6
  18. package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +7 -5
  19. package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +7 -5
  20. package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +7 -5
  21. package/esm2015/lib/shared/components/search-filters/search-filters.component.js +1 -1
  22. package/esm2015/lib/shared/components/search-result/search-result.component.js +17 -15
  23. package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +7 -5
  24. package/esm2015/lib/shared/services/request/request.options.builder.js +7 -1
  25. package/esm2015/lib/shared/services/window/window.service.js +1 -1
  26. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +136 -96
  27. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  28. package/lib/app.config.d.ts.map +1 -1
  29. package/lib/components/tabs/tabs.component.d.ts.map +1 -1
  30. package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -1
  31. package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts.map +1 -1
  32. package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
  33. package/lib/shared/services/window/window.service.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -39,12 +39,12 @@ import * as i3$1 from '@angular/material/input';
39
39
  import { MatInputModule } from '@angular/material/input';
40
40
  import * as i3 from '@hmcts/ccpay-web-component';
41
41
  import { PaymentLibModule } from '@hmcts/ccpay-web-component';
42
+ import * as i13 from '@hmcts/media-viewer';
43
+ import { MediaViewerModule } from '@hmcts/media-viewer';
42
44
  import * as i2$2 from '@nicky-lenaers/ngx-scroll-to';
43
45
  import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
44
46
  import * as i1$5 from 'ngx-md';
45
47
  import { NgxMdModule } from 'ngx-md';
46
- import * as i13 from '@hmcts/media-viewer';
47
- import { MediaViewerModule } from '@hmcts/media-viewer';
48
48
  import { NgxMatMomentAdapter, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular-material-components/moment-adapter';
49
49
  import * as i6$2 from '@angular/cdk/portal';
50
50
  import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
@@ -1149,6 +1149,7 @@ class TabsComponent {
1149
1149
  show(id) {
1150
1150
  const panels = this.panels.toArray();
1151
1151
  id = id || panels[0].id;
1152
+ /* istanbul ignore else */
1152
1153
  if (0 > this.panelIds.indexOf(id)) {
1153
1154
  id = panels[0].id;
1154
1155
  }
@@ -6358,7 +6359,9 @@ class RequestOptionsBuilder {
6358
6359
  * @param value The value to be assessed.
6359
6360
  */
6360
6361
  static includeParam(value) {
6362
+ /* istanbul ignore else */
6361
6363
  if (value) {
6364
+ /* istanbul ignore else */
6362
6365
  if (typeof (value) === 'string') {
6363
6366
  return value.trim().length > 0;
6364
6367
  }
@@ -6370,9 +6373,11 @@ class RequestOptionsBuilder {
6370
6373
  // TODO: This should probably be the now built-in URLSearchParams but it
6371
6374
  // requires a bigger refactor and there are bigger fish to fry right now.
6372
6375
  let params = new HttpParams();
6376
+ /* istanbul ignore else */
6373
6377
  if (view) {
6374
6378
  params = params.set('view', view);
6375
6379
  }
6380
+ /* istanbul ignore else */
6376
6381
  if (metaCriteria) {
6377
6382
  for (const criterion of Object.keys(metaCriteria)) {
6378
6383
  // EUI-3490. Make sure the parameter should be included for adding it.
@@ -6382,8 +6387,10 @@ class RequestOptionsBuilder {
6382
6387
  }
6383
6388
  }
6384
6389
  }
6390
+ /* istanbul ignore else */
6385
6391
  if (caseCriteria) {
6386
6392
  for (const criterion of Object.keys(caseCriteria)) {
6393
+ /* istanbul ignore else */
6387
6394
  if (RequestOptionsBuilder.includeParam(caseCriteria[criterion])) {
6388
6395
  const key = RequestOptionsBuilder.FIELD_PREFIX + criterion;
6389
6396
  const value = caseCriteria[criterion].trim ? caseCriteria[criterion].trim() : caseCriteria[criterion];
@@ -11004,41 +11011,47 @@ function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) { if (rf &
11004
11011
  i0.ɵɵadvance(1);
11005
11012
  i0.ɵɵproperty("flagForSummaryDisplay", ctx_r0.flagForSummaryDisplay)("summaryListDisplayMode", ctx_r0.summaryListDisplayMode);
11006
11013
  } }
11007
- function ReadCaseFlagFieldComponent_ng_container_2_div_3_ccd_case_flag_table_1_Template(rf, ctx) { if (rf & 1) {
11014
+ function ReadCaseFlagFieldComponent_ng_container_2_div_4_ccd_case_flag_table_1_Template(rf, ctx) { if (rf & 1) {
11008
11015
  i0.ɵɵelement(0, "ccd-case-flag-table", 8);
11016
+ i0.ɵɵpipe(1, "rpxTranslate");
11009
11017
  } if (rf & 2) {
11010
11018
  const flagData_r4 = i0.ɵɵnextContext().$implicit;
11011
- i0.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", "Party level flags");
11019
+ i0.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", i0.ɵɵpipeBind1(1, 3, "Party level flags"));
11012
11020
  } }
11013
- function ReadCaseFlagFieldComponent_ng_container_2_div_3_Template(rf, ctx) { if (rf & 1) {
11021
+ function ReadCaseFlagFieldComponent_ng_container_2_div_4_Template(rf, ctx) { if (rf & 1) {
11014
11022
  i0.ɵɵelementStart(0, "div");
11015
- i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_2_div_3_ccd_case_flag_table_1_Template, 1, 3, "ccd-case-flag-table", 7);
11023
+ i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_2_div_4_ccd_case_flag_table_1_Template, 2, 5, "ccd-case-flag-table", 7);
11016
11024
  i0.ɵɵelementEnd();
11017
11025
  } if (rf & 2) {
11018
11026
  const flagData_r4 = ctx.$implicit;
11019
11027
  i0.ɵɵadvance(1);
11020
11028
  i0.ɵɵproperty("ngIf", flagData_r4.flags.partyName);
11021
11029
  } }
11022
- function ReadCaseFlagFieldComponent_ng_container_2_div_4_Template(rf, ctx) { if (rf & 1) {
11030
+ function ReadCaseFlagFieldComponent_ng_container_2_div_5_Template(rf, ctx) { if (rf & 1) {
11023
11031
  i0.ɵɵelementStart(0, "div");
11024
11032
  i0.ɵɵelement(1, "ccd-case-flag-table", 8);
11033
+ i0.ɵɵpipe(2, "rpxTranslate");
11034
+ i0.ɵɵpipe(3, "rpxTranslate");
11025
11035
  i0.ɵɵelementEnd();
11026
11036
  } if (rf & 2) {
11027
11037
  const ctx_r3 = i0.ɵɵnextContext(2);
11028
11038
  i0.ɵɵadvance(1);
11029
- i0.ɵɵproperty("tableCaption", "Case level flags")("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", "Case flags");
11039
+ i0.ɵɵproperty("tableCaption", i0.ɵɵpipeBind1(2, 3, "Case level flags"))("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", i0.ɵɵpipeBind1(3, 5, "Case flags"));
11030
11040
  } }
11031
11041
  function ReadCaseFlagFieldComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
11032
11042
  i0.ɵɵelementContainerStart(0);
11033
11043
  i0.ɵɵelementStart(1, "h2", 4);
11034
- i0.ɵɵtext(2, "Case flags");
11044
+ i0.ɵɵtext(2);
11045
+ i0.ɵɵpipe(3, "rpxTranslate");
11035
11046
  i0.ɵɵelementEnd();
11036
- i0.ɵɵtemplate(3, ReadCaseFlagFieldComponent_ng_container_2_div_3_Template, 2, 1, "div", 5);
11037
- i0.ɵɵtemplate(4, ReadCaseFlagFieldComponent_ng_container_2_div_4_Template, 2, 3, "div", 6);
11047
+ i0.ɵɵtemplate(4, ReadCaseFlagFieldComponent_ng_container_2_div_4_Template, 2, 1, "div", 5);
11048
+ i0.ɵɵtemplate(5, ReadCaseFlagFieldComponent_ng_container_2_div_5_Template, 4, 7, "div", 6);
11038
11049
  i0.ɵɵelementContainerEnd();
11039
11050
  } if (rf & 2) {
11040
11051
  const ctx_r1 = i0.ɵɵnextContext();
11041
- i0.ɵɵadvance(3);
11052
+ i0.ɵɵadvance(2);
11053
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "Case flags"));
11054
+ i0.ɵɵadvance(2);
11042
11055
  i0.ɵɵproperty("ngForOf", ctx_r1.partyLevelCaseFlagData);
11043
11056
  i0.ɵɵadvance(1);
11044
11057
  i0.ɵɵproperty("ngIf", ctx_r1.caseLevelCaseFlagData);
@@ -11122,7 +11135,7 @@ ReadCaseFlagFieldComponent.ɵfac = function ReadCaseFlagFieldComponent_Factory(t
11122
11135
  ReadCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCaseFlagFieldComponent, selectors: [["ccd-read-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "flagForSummaryDisplay", "summaryListDisplayMode"], [1, "govuk-heading-l"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader"]], template: function ReadCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
11123
11136
  i0.ɵɵelementContainerStart(0, 0);
11124
11137
  i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_1_Template, 2, 2, "ng-container", 1);
11125
- i0.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template, 5, 2, "ng-container", 2);
11138
+ i0.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template, 6, 5, "ng-container", 2);
11126
11139
  i0.ɵɵelementContainerEnd();
11127
11140
  } if (rf & 2) {
11128
11141
  i0.ɵɵproperty("ngSwitch", ctx.context);
@@ -13040,21 +13053,22 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
13040
13053
  }
13041
13054
  }
13042
13055
  ReadDynamicListFieldComponent.ɵfac = function ReadDynamicListFieldComponent_Factory(t) { return ɵReadDynamicListFieldComponent_BaseFactory(t || ReadDynamicListFieldComponent); };
13043
- ReadDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13056
+ ReadDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13044
13057
  i0.ɵɵelementStart(0, "span", 0);
13045
13058
  i0.ɵɵtext(1);
13046
- i0.ɵɵpipe(2, "ccdDynamicList");
13059
+ i0.ɵɵpipe(2, "rpxTranslate");
13060
+ i0.ɵɵpipe(3, "ccdDynamicList");
13047
13061
  i0.ɵɵelementEnd();
13048
13062
  } if (rf & 2) {
13049
13063
  i0.ɵɵadvance(1);
13050
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
13051
- } }, pipes: [DynamicListPipe], encapsulation: 2 });
13064
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
13065
+ } }, pipes: [i1.RpxTranslatePipe, DynamicListPipe], encapsulation: 2 });
13052
13066
  const ɵReadDynamicListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicListFieldComponent);
13053
13067
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicListFieldComponent, [{
13054
13068
  type: Component,
13055
13069
  args: [{
13056
13070
  selector: 'ccd-read-dynamic-list-field',
13057
- template: '<span class="text-16">{{caseField.value | ccdDynamicList:caseField.list_items}}</span>',
13071
+ template: '<span class="text-16">{{caseField.value | ccdDynamicList:caseField.list_items | rpxTranslate}}</span>',
13058
13072
  }]
13059
13073
  }], null, null); })();
13060
13074
 
@@ -13099,15 +13113,16 @@ function WriteDynamicListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
13099
13113
  i0.ɵɵadvance(1);
13100
13114
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r3.dynamicListFormControl.errors, ctx_r3.caseField.label)));
13101
13115
  } }
13102
- function WriteDynamicListFieldComponent_option_9_Template(rf, ctx) { if (rf & 1) {
13116
+ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) { if (rf & 1) {
13103
13117
  i0.ɵɵelementStart(0, "option", 11);
13104
13118
  i0.ɵɵtext(1);
13119
+ i0.ɵɵpipe(2, "rpxTranslate");
13105
13120
  i0.ɵɵelementEnd();
13106
13121
  } if (rf & 2) {
13107
13122
  const type_r5 = ctx.$implicit;
13108
13123
  i0.ɵɵproperty("ngValue", type_r5.code);
13109
13124
  i0.ɵɵadvance(1);
13110
- i0.ɵɵtextInterpolate(type_r5.label);
13125
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
13111
13126
  } }
13112
13127
  const _c0$L = function (a0) { return { "form-group-error": a0 }; };
13113
13128
  class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
@@ -13135,7 +13150,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
13135
13150
  }
13136
13151
  }
13137
13152
  WriteDynamicListFieldComponent.ɵfac = function WriteDynamicListFieldComponent_Factory(t) { return ɵWriteDynamicListFieldComponent_BaseFactory(t || WriteDynamicListFieldComponent); };
13138
- WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "ccd-dropdown", "bottom-30", 3, "id", "formControl"], [3, "ngValue"], ["role", "option", 3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], ["role", "option", 3, "ngValue"]], template: function WriteDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13153
+ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 15, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "ccd-dropdown", "bottom-30", 3, "id", "formControl"], [3, "ngValue"], ["role", "option", 3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], ["role", "option", 3, "ngValue"]], template: function WriteDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13139
13154
  i0.ɵɵelementStart(0, "div", 0);
13140
13155
  i0.ɵɵelementStart(1, "label", 1);
13141
13156
  i0.ɵɵtemplate(2, WriteDynamicListFieldComponent_span_2_Template, 4, 5, "span", 2);
@@ -13145,13 +13160,14 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
13145
13160
  i0.ɵɵtemplate(5, WriteDynamicListFieldComponent_span_5_Template, 4, 6, "span", 4);
13146
13161
  i0.ɵɵelementStart(6, "select", 5);
13147
13162
  i0.ɵɵelementStart(7, "option", 6);
13148
- i0.ɵɵtext(8, "--Select a value--");
13163
+ i0.ɵɵtext(8);
13164
+ i0.ɵɵpipe(9, "rpxTranslate");
13149
13165
  i0.ɵɵelementEnd();
13150
- i0.ɵɵtemplate(9, WriteDynamicListFieldComponent_option_9_Template, 2, 2, "option", 7);
13166
+ i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
13151
13167
  i0.ɵɵelementEnd();
13152
13168
  i0.ɵɵelementEnd();
13153
13169
  } if (rf & 2) {
13154
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
13170
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
13155
13171
  i0.ɵɵadvance(1);
13156
13172
  i0.ɵɵproperty("for", ctx.id());
13157
13173
  i0.ɵɵadvance(1);
@@ -13166,6 +13182,8 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
13166
13182
  i0.ɵɵproperty("id", ctx.id())("formControl", ctx.dynamicListFormControl);
13167
13183
  i0.ɵɵadvance(1);
13168
13184
  i0.ɵɵproperty("ngValue", null);
13185
+ i0.ɵɵadvance(1);
13186
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 11, "--Select a value--"));
13169
13187
  i0.ɵɵadvance(2);
13170
13188
  i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
13171
13189
  } }, directives: [i2.NgClass, i2.NgIf, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.FormControlDirective, i2$1.NgSelectOption, i2$1.ɵangular_packages_forms_forms_z, i2.NgForOf], pipes: [i1.RpxTranslatePipe, FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
@@ -13220,21 +13238,22 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
13220
13238
  }
13221
13239
  }
13222
13240
  ReadDynamicRadioListFieldComponent.ɵfac = function ReadDynamicRadioListFieldComponent_Factory(t) { return ɵReadDynamicRadioListFieldComponent_BaseFactory(t || ReadDynamicRadioListFieldComponent); };
13223
- ReadDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13241
+ ReadDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13224
13242
  i0.ɵɵelementStart(0, "span", 0);
13225
13243
  i0.ɵɵtext(1);
13226
- i0.ɵɵpipe(2, "ccdDynamicRadioList");
13244
+ i0.ɵɵpipe(2, "rpxTranslate");
13245
+ i0.ɵɵpipe(3, "ccdDynamicRadioList");
13227
13246
  i0.ɵɵelementEnd();
13228
13247
  } if (rf & 2) {
13229
13248
  i0.ɵɵadvance(1);
13230
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
13231
- } }, pipes: [DynamicRadioListPipe], encapsulation: 2 });
13249
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
13250
+ } }, pipes: [i1.RpxTranslatePipe, DynamicRadioListPipe], encapsulation: 2 });
13232
13251
  const ɵReadDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicRadioListFieldComponent);
13233
13252
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicRadioListFieldComponent, [{
13234
13253
  type: Component,
13235
13254
  args: [{
13236
13255
  selector: 'ccd-read-dynamic-radio-list-field',
13237
- template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items}}</span>',
13256
+ template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items | rpxTranslate}}</span>',
13238
13257
  }]
13239
13258
  }], null, null); })();
13240
13259
 
@@ -13491,21 +13510,22 @@ FixedListPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFixedList", type: FixedList
13491
13510
  class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
13492
13511
  }
13493
13512
  ReadFixedListFieldComponent.ɵfac = function ReadFixedListFieldComponent_Factory(t) { return ɵReadFixedListFieldComponent_BaseFactory(t || ReadFixedListFieldComponent); };
13494
- ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13513
+ ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13495
13514
  i0.ɵɵelementStart(0, "span", 0);
13496
13515
  i0.ɵɵtext(1);
13497
- i0.ɵɵpipe(2, "ccdFixedList");
13516
+ i0.ɵɵpipe(2, "rpxTranslate");
13517
+ i0.ɵɵpipe(3, "ccdFixedList");
13498
13518
  i0.ɵɵelementEnd();
13499
13519
  } if (rf & 2) {
13500
13520
  i0.ɵɵadvance(1);
13501
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
13502
- } }, pipes: [FixedListPipe], encapsulation: 2 });
13521
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
13522
+ } }, pipes: [i1.RpxTranslatePipe, FixedListPipe], encapsulation: 2 });
13503
13523
  const ɵReadFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedListFieldComponent);
13504
13524
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedListFieldComponent, [{
13505
13525
  type: Component,
13506
13526
  args: [{
13507
13527
  selector: 'ccd-read-fixed-list-field',
13508
- template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items}}</span>',
13528
+ template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items | rpxTranslate}}</span>',
13509
13529
  }]
13510
13530
  }], null, null); })();
13511
13531
 
@@ -13544,12 +13564,13 @@ function WriteFixedListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13544
13564
  function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
13545
13565
  i0.ɵɵelementStart(0, "option", 6);
13546
13566
  i0.ɵɵtext(1);
13567
+ i0.ɵɵpipe(2, "rpxTranslate");
13547
13568
  i0.ɵɵelementEnd();
13548
13569
  } if (rf & 2) {
13549
13570
  const type_r4 = ctx.$implicit;
13550
13571
  i0.ɵɵproperty("ngValue", type_r4.code);
13551
13572
  i0.ɵɵadvance(1);
13552
- i0.ɵɵtextInterpolate(type_r4.label);
13573
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
13553
13574
  } }
13554
13575
  const _c0$I = function (a0) { return { "form-group-error": a0 }; };
13555
13576
  class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
@@ -13585,7 +13606,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
13585
13606
  i0.ɵɵelementStart(6, "option", 6);
13586
13607
  i0.ɵɵtext(7, "--Select a value--");
13587
13608
  i0.ɵɵelementEnd();
13588
- i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 2, 2, "option", 7);
13609
+ i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
13589
13610
  i0.ɵɵelementEnd();
13590
13611
  i0.ɵɵelementEnd();
13591
13612
  } if (rf & 2) {
@@ -13633,21 +13654,22 @@ FixedRadioListPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFixedRadioList", type:
13633
13654
  class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
13634
13655
  }
13635
13656
  ReadFixedRadioListFieldComponent.ɵfac = function ReadFixedRadioListFieldComponent_Factory(t) { return ɵReadFixedRadioListFieldComponent_BaseFactory(t || ReadFixedRadioListFieldComponent); };
13636
- ReadFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13657
+ ReadFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
13637
13658
  i0.ɵɵelementStart(0, "span", 0);
13638
13659
  i0.ɵɵtext(1);
13639
- i0.ɵɵpipe(2, "ccdFixedRadioList");
13660
+ i0.ɵɵpipe(2, "rpxTranslate");
13661
+ i0.ɵɵpipe(3, "ccdFixedRadioList");
13640
13662
  i0.ɵɵelementEnd();
13641
13663
  } if (rf & 2) {
13642
13664
  i0.ɵɵadvance(1);
13643
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.field_type.fixed_list_items));
13644
- } }, pipes: [FixedRadioListPipe], encapsulation: 2 });
13665
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.field_type.fixed_list_items)));
13666
+ } }, pipes: [i1.RpxTranslatePipe, FixedRadioListPipe], encapsulation: 2 });
13645
13667
  const ɵReadFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedRadioListFieldComponent);
13646
13668
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedRadioListFieldComponent, [{
13647
13669
  type: Component,
13648
13670
  args: [{
13649
13671
  selector: 'ccd-read-fixed-radio-list-field',
13650
- template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items}}</span>',
13672
+ template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items | rpxTranslate}}</span>',
13651
13673
  }]
13652
13674
  }], null, null); })();
13653
13675
 
@@ -15203,20 +15225,21 @@ const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
15203
15225
  class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
15204
15226
  }
15205
15227
  ReadTextAreaFieldComponent.ɵfac = function ReadTextAreaFieldComponent_Factory(t) { return ɵReadTextAreaFieldComponent_BaseFactory(t || ReadTextAreaFieldComponent); };
15206
- ReadTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
15228
+ ReadTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
15207
15229
  i0.ɵɵelementStart(0, "span", 0);
15208
15230
  i0.ɵɵtext(1);
15231
+ i0.ɵɵpipe(2, "rpxTranslate");
15209
15232
  i0.ɵɵelementEnd();
15210
15233
  } if (rf & 2) {
15211
15234
  i0.ɵɵadvance(1);
15212
- i0.ɵɵtextInterpolate(ctx.caseField.value);
15213
- } }, encapsulation: 2 });
15235
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
15236
+ } }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
15214
15237
  const ɵReadTextAreaFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadTextAreaFieldComponent);
15215
15238
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextAreaFieldComponent, [{
15216
15239
  type: Component,
15217
15240
  args: [{
15218
15241
  selector: 'ccd-read-text-area-field',
15219
- template: `<span style="white-space: pre-wrap">{{caseField.value}}</span>`
15242
+ template: `<span style="white-space: pre-wrap">{{caseField.value | rpxTranslate}}</span>`
15220
15243
  }]
15221
15244
  }], null, null); })();
15222
15245
 
@@ -15307,20 +15330,21 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
15307
15330
  class ReadTextFieldComponent extends AbstractFieldReadComponent {
15308
15331
  }
15309
15332
  ReadTextFieldComponent.ɵfac = function ReadTextFieldComponent_Factory(t) { return ɵReadTextFieldComponent_BaseFactory(t || ReadTextFieldComponent); };
15310
- ReadTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
15333
+ ReadTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
15311
15334
  i0.ɵɵelementStart(0, "span", 0);
15312
15335
  i0.ɵɵtext(1);
15336
+ i0.ɵɵpipe(2, "rpxTranslate");
15313
15337
  i0.ɵɵelementEnd();
15314
15338
  } if (rf & 2) {
15315
15339
  i0.ɵɵadvance(1);
15316
- i0.ɵɵtextInterpolate(ctx.caseField.value);
15317
- } }, encapsulation: 2 });
15340
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
15341
+ } }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
15318
15342
  const ɵReadTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadTextFieldComponent);
15319
15343
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextFieldComponent, [{
15320
15344
  type: Component,
15321
15345
  args: [{
15322
15346
  selector: 'ccd-read-text-field',
15323
- template: `<span class="text-16">{{caseField.value}}</span>`
15347
+ template: `<span class="text-16">{{caseField.value | rpxTranslate}}</span>`
15324
15348
  }]
15325
15349
  }], null, null); })();
15326
15350
 
@@ -15500,19 +15524,20 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
15500
15524
  }
15501
15525
  }
15502
15526
  ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(YesNoService)); };
15503
- ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
15527
+ ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
15504
15528
  i0.ɵɵelementStart(0, "span", 0);
15505
15529
  i0.ɵɵtext(1);
15530
+ i0.ɵɵpipe(2, "rpxTranslate");
15506
15531
  i0.ɵɵelementEnd();
15507
15532
  } if (rf & 2) {
15508
15533
  i0.ɵɵadvance(1);
15509
- i0.ɵɵtextInterpolate(ctx.formattedValue);
15510
- } }, encapsulation: 2 });
15534
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.formattedValue));
15535
+ } }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
15511
15536
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
15512
15537
  type: Component,
15513
15538
  args: [{
15514
15539
  selector: 'ccd-read-yes-no-field',
15515
- template: `<span class="text-16">{{formattedValue}}</span>`
15540
+ template: `<span class="text-16">{{formattedValue | rpxTranslate}}</span>`
15516
15541
  }]
15517
15542
  }], function () { return [{ type: YesNoService }]; }, null); })();
15518
15543
 
@@ -15823,6 +15848,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
15823
15848
  }
15824
15849
  component.instance['isExpanded'] = this.isExpanded;
15825
15850
  component.instance['isInSearchBlock'] = this.isInSearchBlock;
15851
+ console.log(component.instance);
15826
15852
  this.fieldContainer.insert(component.hostView);
15827
15853
  // EUI-3267.
15828
15854
  // Set up the flag for whether this can have a grey bar.
@@ -17762,8 +17788,10 @@ class ManageCaseFlagsComponent {
17762
17788
  ngOnInit() {
17763
17789
  this.manageCaseFlagTitle = CaseFlagWizardStepTitle.MANAGE_CASE_FLAGS;
17764
17790
  // Map flags instances to objects for display
17791
+ /* istanbul ignore else */
17765
17792
  if (this.flagsData) {
17766
17793
  this.flagsDisplayData = this.flagsData.reduce((displayData, flagsInstance) => {
17794
+ /* istanbul ignore else */
17767
17795
  if (flagsInstance.flags.details && flagsInstance.flags.details.length > 0) {
17768
17796
  displayData = [
17769
17797
  ...displayData,
@@ -17828,10 +17856,13 @@ class ManageCaseFlagsComponent {
17828
17856
  return flagDetail.name;
17829
17857
  }
17830
17858
  getFlagDescription(flagDetail) {
17859
+ /* istanbul ignore else */
17831
17860
  if (flagDetail && flagDetail.name) {
17861
+ /* istanbul ignore else */
17832
17862
  if (flagDetail.name === 'Other' && flagDetail.otherDescription) {
17833
17863
  return flagDetail.otherDescription;
17834
17864
  }
17865
+ /* istanbul ignore else */
17835
17866
  if (flagDetail.subTypeKey && flagDetail.subTypeValue) {
17836
17867
  return flagDetail.subTypeValue;
17837
17868
  }
@@ -18123,59 +18154,64 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
18123
18154
  type: Output
18124
18155
  }] }); })();
18125
18156
 
18126
- function CaseFlagSummaryListComponent_dl_0_div_16_Template(rf, ctx) { if (rf & 1) {
18157
+ function CaseFlagSummaryListComponent_dl_0_div_20_Template(rf, ctx) { if (rf & 1) {
18127
18158
  i0.ɵɵelementStart(0, "div", 2);
18128
18159
  i0.ɵɵelementStart(1, "dt", 3);
18129
18160
  i0.ɵɵtext(2, " Status ");
18130
18161
  i0.ɵɵelementEnd();
18131
18162
  i0.ɵɵelementStart(3, "dd", 4);
18132
18163
  i0.ɵɵtext(4);
18164
+ i0.ɵɵpipe(5, "rpxTranslate");
18133
18165
  i0.ɵɵelementEnd();
18134
18166
  i0.ɵɵelementEnd();
18135
18167
  } if (rf & 2) {
18136
18168
  const ctx_r1 = i0.ɵɵnextContext(2);
18137
18169
  i0.ɵɵadvance(4);
18138
- i0.ɵɵtextInterpolate1(" ", ctx_r1.flagStatus, " ");
18170
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 1, ctx_r1.flagStatus), " ");
18139
18171
  } }
18140
18172
  function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
18141
18173
  i0.ɵɵelementStart(0, "dl", 1);
18142
18174
  i0.ɵɵelementStart(1, "div", 2);
18143
18175
  i0.ɵɵelementStart(2, "dt", 3);
18144
18176
  i0.ɵɵtext(3);
18177
+ i0.ɵɵpipe(4, "rpxTranslate");
18145
18178
  i0.ɵɵelementEnd();
18146
- i0.ɵɵelementStart(4, "dd", 4);
18147
- i0.ɵɵtext(5);
18179
+ i0.ɵɵelementStart(5, "dd", 4);
18180
+ i0.ɵɵtext(6);
18181
+ i0.ɵɵpipe(7, "rpxTranslate");
18148
18182
  i0.ɵɵelementEnd();
18149
18183
  i0.ɵɵelementEnd();
18150
- i0.ɵɵelementStart(6, "div", 2);
18151
- i0.ɵɵelementStart(7, "dt", 3);
18152
- i0.ɵɵtext(8, " Flag type ");
18184
+ i0.ɵɵelementStart(8, "div", 2);
18185
+ i0.ɵɵelementStart(9, "dt", 3);
18186
+ i0.ɵɵtext(10, " Flag type ");
18153
18187
  i0.ɵɵelementEnd();
18154
- i0.ɵɵelementStart(9, "dd", 4);
18155
- i0.ɵɵtext(10);
18188
+ i0.ɵɵelementStart(11, "dd", 4);
18189
+ i0.ɵɵtext(12);
18190
+ i0.ɵɵpipe(13, "rpxTranslate");
18156
18191
  i0.ɵɵelementEnd();
18157
18192
  i0.ɵɵelementEnd();
18158
- i0.ɵɵelementStart(11, "div", 2);
18159
- i0.ɵɵelementStart(12, "dt", 3);
18160
- i0.ɵɵtext(13, " Comments ");
18193
+ i0.ɵɵelementStart(14, "div", 2);
18194
+ i0.ɵɵelementStart(15, "dt", 3);
18195
+ i0.ɵɵtext(16, " Comments ");
18161
18196
  i0.ɵɵelementEnd();
18162
- i0.ɵɵelementStart(14, "dd", 4);
18163
- i0.ɵɵtext(15);
18197
+ i0.ɵɵelementStart(17, "dd", 4);
18198
+ i0.ɵɵtext(18);
18199
+ i0.ɵɵpipe(19, "rpxTranslate");
18164
18200
  i0.ɵɵelementEnd();
18165
18201
  i0.ɵɵelementEnd();
18166
- i0.ɵɵtemplate(16, CaseFlagSummaryListComponent_dl_0_div_16_Template, 5, 1, "div", 5);
18202
+ i0.ɵɵtemplate(20, CaseFlagSummaryListComponent_dl_0_div_20_Template, 6, 3, "div", 5);
18167
18203
  i0.ɵɵelementEnd();
18168
18204
  } if (rf & 2) {
18169
18205
  const ctx_r0 = i0.ɵɵnextContext();
18170
18206
  i0.ɵɵadvance(3);
18171
- i0.ɵɵtextInterpolate1(" ", ctx_r0.addUpdateFlagHeaderText, " ");
18207
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, ctx_r0.addUpdateFlagHeaderText), " ");
18208
+ i0.ɵɵadvance(3);
18209
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 7, ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation), " ");
18210
+ i0.ɵɵadvance(6);
18211
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 9, ctx_r0.flagDescription), " ");
18212
+ i0.ɵɵadvance(6);
18213
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 11, ctx_r0.flagComments), " ");
18172
18214
  i0.ɵɵadvance(2);
18173
- i0.ɵɵtextInterpolate1(" ", ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation, " ");
18174
- i0.ɵɵadvance(5);
18175
- i0.ɵɵtextInterpolate1(" ", ctx_r0.flagDescription, " ");
18176
- i0.ɵɵadvance(5);
18177
- i0.ɵɵtextInterpolate1(" ", ctx_r0.flagComments, " ");
18178
- i0.ɵɵadvance(1);
18179
18215
  i0.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.MANAGE);
18180
18216
  } }
18181
18217
  class CaseFlagSummaryListComponent {
@@ -18200,10 +18236,10 @@ class CaseFlagSummaryListComponent {
18200
18236
  }
18201
18237
  CaseFlagSummaryListComponent.ɵfac = function CaseFlagSummaryListComponent_Factory(t) { return new (t || CaseFlagSummaryListComponent)(); };
18202
18238
  CaseFlagSummaryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", summaryListDisplayMode: "summaryListDisplayMode" }, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], ["class", "govuk-summary-list__row", 4, "ngIf"]], template: function CaseFlagSummaryListComponent_Template(rf, ctx) { if (rf & 1) {
18203
- i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 17, 5, "dl", 0);
18239
+ i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 21, 13, "dl", 0);
18204
18240
  } if (rf & 2) {
18205
18241
  i0.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
18206
- } }, directives: [i2.NgIf], encapsulation: 2 });
18242
+ } }, directives: [i2.NgIf], pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
18207
18243
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagSummaryListComponent, [{
18208
18244
  type: Component,
18209
18245
  args: [{
@@ -22521,7 +22557,7 @@ i0.ɵɵsetComponentScope(ReadComplexFieldRawComponent, [i2.NgForOf, FieldReadCom
22521
22557
  i0.ɵɵsetComponentScope(ReadComplexFieldTableComponent, [i2.NgForOf, i2.NgIf, FieldReadComponent], [i1.RpxTranslatePipe, ReadFieldsFilterPipe, IsCompoundPipe]);
22522
22558
  i0.ɵɵsetComponentScope(ReadComplexFieldCollectionTableComponent, [i2.NgForOf, i2.NgIf, FieldReadComponent,
22523
22559
  ReadCaseLinkFieldComponent], [i1.RpxTranslatePipe, ReadFieldsFilterPipe, CcdCollectionTableCaseFieldsFilterPipe, i2.KeyValuePipe, IsCompoundPipe]);
22524
- i0.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i2.NgSwitch, i2.NgSwitchCase, CaseFlagSummaryListComponent, i2.NgSwitchDefault, i2.NgForOf, i2.NgIf, CaseFlagTableComponent], []);
22560
+ i0.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i2.NgSwitch, i2.NgSwitchCase, CaseFlagSummaryListComponent, i2.NgSwitchDefault, i2.NgForOf, i2.NgIf, CaseFlagTableComponent], [i1.RpxTranslatePipe]);
22525
22561
  i0.ɵɵsetComponentScope(ReadLinkedCasesComponent, [LinkedCasesToTableComponent, i2.NgIf, LinkedCasesFromTableComponent], []);
22526
22562
  i0.ɵɵsetComponentScope(WriteAddressFieldComponent, [i2.NgIf, i2.NgClass, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.FormControlDirective, i2$1.SelectControlValueAccessor, i2.NgForOf, i2$1.NgSelectOption, i2$1.ɵangular_packages_forms_forms_z, WriteComplexFieldComponent, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective], [i1.RpxTranslatePipe, FieldLabelPipe]);
22527
22563
  i0.ɵɵsetComponentScope(WriteComplexFieldComponent, [i2.NgIf, i2.NgForOf, i2.NgSwitch, i2.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, FieldWriteComponent], [i1.RpxTranslatePipe, FieldLabelPipe, IsReadOnlyPipe]);
@@ -24854,22 +24890,24 @@ function WorkbasketFiltersComponent_option_16_Template(rf, ctx) { if (rf & 1) {
24854
24890
  function WorkbasketFiltersComponent_option_17_Template(rf, ctx) { if (rf & 1) {
24855
24891
  i0.ɵɵelementStart(0, "option", 11);
24856
24892
  i0.ɵɵtext(1);
24893
+ i0.ɵɵpipe(2, "rpxTranslate");
24857
24894
  i0.ɵɵelementEnd();
24858
24895
  } if (rf & 2) {
24859
24896
  const ct_r7 = ctx.$implicit;
24860
24897
  i0.ɵɵproperty("ngValue", ct_r7);
24861
24898
  i0.ɵɵadvance(1);
24862
- i0.ɵɵtextInterpolate(ct_r7.name);
24899
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r7.name));
24863
24900
  } }
24864
24901
  function WorkbasketFiltersComponent_option_25_Template(rf, ctx) { if (rf & 1) {
24865
24902
  i0.ɵɵelementStart(0, "option", 11);
24866
24903
  i0.ɵɵtext(1);
24904
+ i0.ɵɵpipe(2, "rpxTranslate");
24867
24905
  i0.ɵɵelementEnd();
24868
24906
  } if (rf & 2) {
24869
24907
  const cs_r8 = ctx.$implicit;
24870
24908
  i0.ɵɵproperty("ngValue", cs_r8);
24871
24909
  i0.ɵɵadvance(1);
24872
- i0.ɵɵtextInterpolate(cs_r8.name);
24910
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r8.name));
24873
24911
  } }
24874
24912
  function WorkbasketFiltersComponent_ng_container_26_div_2_Template(rf, ctx) { if (rf & 1) {
24875
24913
  const _r12 = i0.ɵɵgetCurrentView();
@@ -25190,7 +25228,7 @@ WorkbasketFiltersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WorkbasketFilt
25190
25228
  i0.ɵɵelementStart(15, "select", 8);
25191
25229
  i0.ɵɵlistener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_15_listener($event) { return ctx.selected.caseType = $event; })("change", function WorkbasketFiltersComponent_Template_select_change_15_listener() { return ctx.onCaseTypeIdChange(); });
25192
25230
  i0.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template, 2, 1, "option", 5);
25193
- i0.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 2, 2, "option", 6);
25231
+ i0.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 3, 4, "option", 6);
25194
25232
  i0.ɵɵelementEnd();
25195
25233
  i0.ɵɵelementEnd();
25196
25234
  i0.ɵɵelementStart(18, "div", 2);
@@ -25203,7 +25241,7 @@ WorkbasketFiltersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WorkbasketFilt
25203
25241
  i0.ɵɵelementStart(23, "option", 11);
25204
25242
  i0.ɵɵtext(24, "Any");
25205
25243
  i0.ɵɵelementEnd();
25206
- i0.ɵɵtemplate(25, WorkbasketFiltersComponent_option_25_Template, 2, 2, "option", 6);
25244
+ i0.ɵɵtemplate(25, WorkbasketFiltersComponent_option_25_Template, 3, 4, "option", 6);
25207
25245
  i0.ɵɵelementEnd();
25208
25246
  i0.ɵɵelementEnd();
25209
25247
  i0.ɵɵtemplate(26, WorkbasketFiltersComponent_ng_container_26_Template, 3, 3, "ng-container", 12);
@@ -30785,11 +30823,11 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
30785
30823
  i0.ɵɵadvance(2);
30786
30824
  i0.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
30787
30825
  } }
30788
- function SearchResultComponent_table_0_th_11_div_6_Template(rf, ctx) { if (rf & 1) {
30826
+ function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf & 1) {
30789
30827
  const _r19 = i0.ɵɵgetCurrentView();
30790
30828
  i0.ɵɵelementStart(0, "div", 27);
30791
30829
  i0.ɵɵelementStart(1, "a", 28);
30792
- i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_6_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
30830
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
30793
30831
  i0.ɵɵelementEnd();
30794
30832
  i0.ɵɵelementEnd();
30795
30833
  } if (rf & 2) {
@@ -30802,13 +30840,15 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
30802
30840
  const _r22 = i0.ɵɵgetCurrentView();
30803
30841
  i0.ɵɵelementStart(0, "th");
30804
30842
  i0.ɵɵelementStart(1, "table", 24);
30805
- i0.ɵɵelementStart(2, "tr");
30806
- i0.ɵɵelementStart(3, "th");
30807
- i0.ɵɵelementStart(4, "div", 25);
30808
- i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_4_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
30809
- i0.ɵɵtext(5);
30843
+ i0.ɵɵpipe(2, "rpxTranslate");
30844
+ i0.ɵɵelementStart(3, "tr");
30845
+ i0.ɵɵelementStart(4, "th");
30846
+ i0.ɵɵelementStart(5, "div", 25);
30847
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
30848
+ i0.ɵɵtext(6);
30849
+ i0.ɵɵpipe(7, "rpxTranslate");
30810
30850
  i0.ɵɵelementEnd();
30811
- i0.ɵɵtemplate(6, SearchResultComponent_table_0_th_11_div_6_Template, 2, 1, "div", 26);
30851
+ i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 26);
30812
30852
  i0.ɵɵelementEnd();
30813
30853
  i0.ɵɵelementEnd();
30814
30854
  i0.ɵɵelementEnd();
@@ -30817,10 +30857,10 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
30817
30857
  const col_r15 = ctx.$implicit;
30818
30858
  const ctx_r7 = i0.ɵɵnextContext(2);
30819
30859
  i0.ɵɵadvance(1);
30820
- i0.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
30821
- i0.ɵɵadvance(4);
30822
- i0.ɵɵtextInterpolate(col_r15.label);
30823
- i0.ɵɵadvance(1);
30860
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending"));
30861
+ i0.ɵɵadvance(5);
30862
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r15.label), " ");
30863
+ i0.ɵɵadvance(2);
30824
30864
  i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
30825
30865
  } }
30826
30866
  function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
@@ -31091,7 +31131,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
31091
31131
  i0.ɵɵelementStart(8, "thead");
31092
31132
  i0.ɵɵelementStart(9, "tr", 7);
31093
31133
  i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 8);
31094
- i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 7, 3, "th", 9);
31134
+ i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 9);
31095
31135
  i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 10);
31096
31136
  i0.ɵɵelementEnd();
31097
31137
  i0.ɵɵelementEnd();
@@ -31103,7 +31143,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
31103
31143
  } if (rf & 2) {
31104
31144
  const ctx_r0 = i0.ɵɵnextContext();
31105
31145
  i0.ɵɵadvance(3);
31106
- i0.ɵɵtextInterpolate(ctx_r0.caseState ? "Your cases" : i0.ɵɵpipeBind1(4, 9, "Search result"));
31146
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.caseState ? "Your cases" : "Search result"));
31107
31147
  i0.ɵɵadvance(2);
31108
31148
  i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
31109
31149
  i0.ɵɵadvance(1);