@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
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rpx-xui-translation'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('@angular/material/dialog'), require('@angular-material-components/datetime-picker'), require('@angular/cdk/overlay'), require('@angular/cdk/tree'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/input'), require('@hmcts/ccpay-web-component'), require('@nicky-lenaers/ngx-scroll-to'), require('ngx-md'), require('@hmcts/media-viewer'), require('@angular-material-components/moment-adapter'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
3
- typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', 'rpx-xui-translation', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'underscore', 'moment', 'util', '@edium/fsm', '@angular/material/dialog', '@angular-material-components/datetime-picker', '@angular/cdk/overlay', '@angular/cdk/tree', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/input', '@hmcts/ccpay-web-component', '@nicky-lenaers/ngx-scroll-to', 'ngx-md', '@hmcts/media-viewer', '@angular-material-components/moment-adapter', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.i1, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.underscore, global.moment, global.util, global["@edium/fsm"], global.ng.material.dialog, global["@angular-material-components/datetime-picker"], global.ng.cdk.overlay, global.ng.cdk.tree, global.ng.material.autocomplete, global.ng.material.core, global.ng.material.datepicker, global.ng.material.formField, global.ng.material.input, global["@hmcts/ccpay-web-component"], global["@nicky-lenaers/ngx-scroll-to"], global["ngx-md"], global.i13, global["@angular-material-components/moment-adapter"], global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
5
- })(this, (function (exports, i0, i2, i1, i1$1, i2$1, polling, rxjs, i1$2, operators, classTransformer, _, moment, util, fsm, i1$3, i4, i1$4, i7, i5, i6, i5$1, i6$1, i3$1, i3, i2$2, i1$5, i13, momentAdapter, i6$2, i1$6, i10) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rpx-xui-translation'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('@angular/material/dialog'), require('@angular-material-components/datetime-picker'), require('@angular/cdk/overlay'), require('@angular/cdk/tree'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/input'), require('@hmcts/ccpay-web-component'), require('@hmcts/media-viewer'), require('@nicky-lenaers/ngx-scroll-to'), require('ngx-md'), require('@angular-material-components/moment-adapter'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
3
+ typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', 'rpx-xui-translation', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'underscore', 'moment', 'util', '@edium/fsm', '@angular/material/dialog', '@angular-material-components/datetime-picker', '@angular/cdk/overlay', '@angular/cdk/tree', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/input', '@hmcts/ccpay-web-component', '@hmcts/media-viewer', '@nicky-lenaers/ngx-scroll-to', 'ngx-md', '@angular-material-components/moment-adapter', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.i1, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.underscore, global.moment, global.util, global["@edium/fsm"], global.ng.material.dialog, global["@angular-material-components/datetime-picker"], global.ng.cdk.overlay, global.ng.cdk.tree, global.ng.material.autocomplete, global.ng.material.core, global.ng.material.datepicker, global.ng.material.formField, global.ng.material.input, global["@hmcts/ccpay-web-component"], global.i13, global["@nicky-lenaers/ngx-scroll-to"], global["ngx-md"], global["@angular-material-components/moment-adapter"], global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
5
+ })(this, (function (exports, i0, i2, i1, i1$1, i2$1, polling, rxjs, i1$2, operators, classTransformer, _, moment, util, fsm, i1$3, i4, i1$4, i7, i5, i6, i5$1, i6$1, i3$1, i3, i13, i2$2, i1$5, momentAdapter, i6$2, i1$6, i10) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -43,9 +43,9 @@
43
43
  var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
44
44
  var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
45
45
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
46
+ var i13__namespace = /*#__PURE__*/_interopNamespace(i13);
46
47
  var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
47
48
  var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
48
- var i13__namespace = /*#__PURE__*/_interopNamespace(i13);
49
49
  var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
50
50
  var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
51
51
  var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
@@ -1622,6 +1622,7 @@
1622
1622
  TabsComponent.prototype.show = function (id) {
1623
1623
  var panels = this.panels.toArray();
1624
1624
  id = id || panels[0].id;
1625
+ /* istanbul ignore else */
1625
1626
  if (0 > this.panelIds.indexOf(id)) {
1626
1627
  id = panels[0].id;
1627
1628
  }
@@ -7504,7 +7505,9 @@
7504
7505
  * @param value The value to be assessed.
7505
7506
  */
7506
7507
  RequestOptionsBuilder.includeParam = function (value) {
7508
+ /* istanbul ignore else */
7507
7509
  if (value) {
7510
+ /* istanbul ignore else */
7508
7511
  if (typeof (value) === 'string') {
7509
7512
  return value.trim().length > 0;
7510
7513
  }
@@ -7517,9 +7520,11 @@
7517
7520
  // TODO: This should probably be the now built-in URLSearchParams but it
7518
7521
  // requires a bigger refactor and there are bigger fish to fry right now.
7519
7522
  var params = new i1$2.HttpParams();
7523
+ /* istanbul ignore else */
7520
7524
  if (view) {
7521
7525
  params = params.set('view', view);
7522
7526
  }
7527
+ /* istanbul ignore else */
7523
7528
  if (metaCriteria) {
7524
7529
  try {
7525
7530
  for (var _c = __values(Object.keys(metaCriteria)), _d = _c.next(); !_d.done; _d = _c.next()) {
@@ -7539,10 +7544,12 @@
7539
7544
  finally { if (e_1) throw e_1.error; }
7540
7545
  }
7541
7546
  }
7547
+ /* istanbul ignore else */
7542
7548
  if (caseCriteria) {
7543
7549
  try {
7544
7550
  for (var _e = __values(Object.keys(caseCriteria)), _f = _e.next(); !_f.done; _f = _e.next()) {
7545
7551
  var criterion = _f.value;
7552
+ /* istanbul ignore else */
7546
7553
  if (RequestOptionsBuilder.includeParam(caseCriteria[criterion])) {
7547
7554
  var key = RequestOptionsBuilder.FIELD_PREFIX + criterion;
7548
7555
  var value = caseCriteria[criterion].trim ? caseCriteria[criterion].trim() : caseCriteria[criterion];
@@ -12485,19 +12492,20 @@
12485
12492
  i0__namespace.ɵɵproperty("flagForSummaryDisplay", ctx_r0.flagForSummaryDisplay)("summaryListDisplayMode", ctx_r0.summaryListDisplayMode);
12486
12493
  }
12487
12494
  }
12488
- function ReadCaseFlagFieldComponent_ng_container_2_div_3_ccd_case_flag_table_1_Template(rf, ctx) {
12495
+ function ReadCaseFlagFieldComponent_ng_container_2_div_4_ccd_case_flag_table_1_Template(rf, ctx) {
12489
12496
  if (rf & 1) {
12490
12497
  i0__namespace.ɵɵelement(0, "ccd-case-flag-table", 8);
12498
+ i0__namespace.ɵɵpipe(1, "rpxTranslate");
12491
12499
  }
12492
12500
  if (rf & 2) {
12493
12501
  var flagData_r4 = i0__namespace.ɵɵnextContext().$implicit;
12494
- i0__namespace.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", "Party level flags");
12502
+ i0__namespace.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", i0__namespace.ɵɵpipeBind1(1, 3, "Party level flags"));
12495
12503
  }
12496
12504
  }
12497
- function ReadCaseFlagFieldComponent_ng_container_2_div_3_Template(rf, ctx) {
12505
+ function ReadCaseFlagFieldComponent_ng_container_2_div_4_Template(rf, ctx) {
12498
12506
  if (rf & 1) {
12499
12507
  i0__namespace.ɵɵelementStart(0, "div");
12500
- i0__namespace.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_2_div_3_ccd_case_flag_table_1_Template, 1, 3, "ccd-case-flag-table", 7);
12508
+ i0__namespace.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_2_div_4_ccd_case_flag_table_1_Template, 2, 5, "ccd-case-flag-table", 7);
12501
12509
  i0__namespace.ɵɵelementEnd();
12502
12510
  }
12503
12511
  if (rf & 2) {
@@ -12506,31 +12514,36 @@
12506
12514
  i0__namespace.ɵɵproperty("ngIf", flagData_r4.flags.partyName);
12507
12515
  }
12508
12516
  }
12509
- function ReadCaseFlagFieldComponent_ng_container_2_div_4_Template(rf, ctx) {
12517
+ function ReadCaseFlagFieldComponent_ng_container_2_div_5_Template(rf, ctx) {
12510
12518
  if (rf & 1) {
12511
12519
  i0__namespace.ɵɵelementStart(0, "div");
12512
12520
  i0__namespace.ɵɵelement(1, "ccd-case-flag-table", 8);
12521
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
12522
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
12513
12523
  i0__namespace.ɵɵelementEnd();
12514
12524
  }
12515
12525
  if (rf & 2) {
12516
12526
  var ctx_r3 = i0__namespace.ɵɵnextContext(2);
12517
12527
  i0__namespace.ɵɵadvance(1);
12518
- i0__namespace.ɵɵproperty("tableCaption", "Case level flags")("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", "Case flags");
12528
+ i0__namespace.ɵɵproperty("tableCaption", i0__namespace.ɵɵpipeBind1(2, 3, "Case level flags"))("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", i0__namespace.ɵɵpipeBind1(3, 5, "Case flags"));
12519
12529
  }
12520
12530
  }
12521
12531
  function ReadCaseFlagFieldComponent_ng_container_2_Template(rf, ctx) {
12522
12532
  if (rf & 1) {
12523
12533
  i0__namespace.ɵɵelementContainerStart(0);
12524
12534
  i0__namespace.ɵɵelementStart(1, "h2", 4);
12525
- i0__namespace.ɵɵtext(2, "Case flags");
12535
+ i0__namespace.ɵɵtext(2);
12536
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
12526
12537
  i0__namespace.ɵɵelementEnd();
12527
- i0__namespace.ɵɵtemplate(3, ReadCaseFlagFieldComponent_ng_container_2_div_3_Template, 2, 1, "div", 5);
12528
- i0__namespace.ɵɵtemplate(4, ReadCaseFlagFieldComponent_ng_container_2_div_4_Template, 2, 3, "div", 6);
12538
+ i0__namespace.ɵɵtemplate(4, ReadCaseFlagFieldComponent_ng_container_2_div_4_Template, 2, 1, "div", 5);
12539
+ i0__namespace.ɵɵtemplate(5, ReadCaseFlagFieldComponent_ng_container_2_div_5_Template, 4, 7, "div", 6);
12529
12540
  i0__namespace.ɵɵelementContainerEnd();
12530
12541
  }
12531
12542
  if (rf & 2) {
12532
12543
  var ctx_r1 = i0__namespace.ɵɵnextContext();
12533
- i0__namespace.ɵɵadvance(3);
12544
+ i0__namespace.ɵɵadvance(2);
12545
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 3, "Case flags"));
12546
+ i0__namespace.ɵɵadvance(2);
12534
12547
  i0__namespace.ɵɵproperty("ngForOf", ctx_r1.partyLevelCaseFlagData);
12535
12548
  i0__namespace.ɵɵadvance(1);
12536
12549
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.caseLevelCaseFlagData);
@@ -12620,7 +12633,7 @@
12620
12633
  if (rf & 1) {
12621
12634
  i0__namespace.ɵɵelementContainerStart(0, 0);
12622
12635
  i0__namespace.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_1_Template, 2, 2, "ng-container", 1);
12623
- i0__namespace.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template, 5, 2, "ng-container", 2);
12636
+ i0__namespace.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template, 6, 5, "ng-container", 2);
12624
12637
  i0__namespace.ɵɵelementContainerEnd();
12625
12638
  }
12626
12639
  if (rf & 2) {
@@ -15001,25 +15014,26 @@
15001
15014
  return ReadDynamicListFieldComponent;
15002
15015
  }(AbstractFieldReadComponent));
15003
15016
  ReadDynamicListFieldComponent.ɵfac = function ReadDynamicListFieldComponent_Factory(t) { return ɵReadDynamicListFieldComponent_BaseFactory(t || ReadDynamicListFieldComponent); };
15004
- ReadDynamicListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadDynamicListFieldComponent_Template(rf, ctx) {
15017
+ ReadDynamicListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicListFieldComponent_Template(rf, ctx) {
15005
15018
  if (rf & 1) {
15006
15019
  i0__namespace.ɵɵelementStart(0, "span", 0);
15007
15020
  i0__namespace.ɵɵtext(1);
15008
- i0__namespace.ɵɵpipe(2, "ccdDynamicList");
15021
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
15022
+ i0__namespace.ɵɵpipe(3, "ccdDynamicList");
15009
15023
  i0__namespace.ɵɵelementEnd();
15010
15024
  }
15011
15025
  if (rf & 2) {
15012
15026
  i0__namespace.ɵɵadvance(1);
15013
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
15027
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
15014
15028
  }
15015
- }, pipes: [DynamicListPipe], encapsulation: 2 });
15029
+ }, pipes: [i1__namespace.RpxTranslatePipe, DynamicListPipe], encapsulation: 2 });
15016
15030
  var ɵReadDynamicListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadDynamicListFieldComponent);
15017
15031
  (function () {
15018
15032
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadDynamicListFieldComponent, [{
15019
15033
  type: i0.Component,
15020
15034
  args: [{
15021
15035
  selector: 'ccd-read-dynamic-list-field',
15022
- template: '<span class="text-16">{{caseField.value | ccdDynamicList:caseField.list_items}}</span>',
15036
+ template: '<span class="text-16">{{caseField.value | ccdDynamicList:caseField.list_items | rpxTranslate}}</span>',
15023
15037
  }]
15024
15038
  }], null, null);
15025
15039
  })();
@@ -15077,17 +15091,18 @@
15077
15091
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r3.dynamicListFormControl.errors, ctx_r3.caseField.label)));
15078
15092
  }
15079
15093
  }
15080
- function WriteDynamicListFieldComponent_option_9_Template(rf, ctx) {
15094
+ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) {
15081
15095
  if (rf & 1) {
15082
15096
  i0__namespace.ɵɵelementStart(0, "option", 11);
15083
15097
  i0__namespace.ɵɵtext(1);
15098
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
15084
15099
  i0__namespace.ɵɵelementEnd();
15085
15100
  }
15086
15101
  if (rf & 2) {
15087
15102
  var type_r5 = ctx.$implicit;
15088
15103
  i0__namespace.ɵɵproperty("ngValue", type_r5.code);
15089
15104
  i0__namespace.ɵɵadvance(1);
15090
- i0__namespace.ɵɵtextInterpolate(type_r5.label);
15105
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
15091
15106
  }
15092
15107
  }
15093
15108
  var _c0$L = function (a0) { return { "form-group-error": a0 }; };
@@ -15121,7 +15136,7 @@
15121
15136
  return WriteDynamicListFieldComponent;
15122
15137
  }(AbstractFieldWriteComponent));
15123
15138
  WriteDynamicListFieldComponent.ɵfac = function WriteDynamicListFieldComponent_Factory(t) { return ɵWriteDynamicListFieldComponent_BaseFactory(t || WriteDynamicListFieldComponent); };
15124
- WriteDynamicListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0__namespace.ɵɵ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) {
15139
+ WriteDynamicListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0__namespace.ɵɵ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) {
15125
15140
  if (rf & 1) {
15126
15141
  i0__namespace.ɵɵelementStart(0, "div", 0);
15127
15142
  i0__namespace.ɵɵelementStart(1, "label", 1);
@@ -15132,14 +15147,15 @@
15132
15147
  i0__namespace.ɵɵtemplate(5, WriteDynamicListFieldComponent_span_5_Template, 4, 6, "span", 4);
15133
15148
  i0__namespace.ɵɵelementStart(6, "select", 5);
15134
15149
  i0__namespace.ɵɵelementStart(7, "option", 6);
15135
- i0__namespace.ɵɵtext(8, "--Select a value--");
15150
+ i0__namespace.ɵɵtext(8);
15151
+ i0__namespace.ɵɵpipe(9, "rpxTranslate");
15136
15152
  i0__namespace.ɵɵelementEnd();
15137
- i0__namespace.ɵɵtemplate(9, WriteDynamicListFieldComponent_option_9_Template, 2, 2, "option", 7);
15153
+ i0__namespace.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
15138
15154
  i0__namespace.ɵɵelementEnd();
15139
15155
  i0__namespace.ɵɵelementEnd();
15140
15156
  }
15141
15157
  if (rf & 2) {
15142
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
15158
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
15143
15159
  i0__namespace.ɵɵadvance(1);
15144
15160
  i0__namespace.ɵɵproperty("for", ctx.id());
15145
15161
  i0__namespace.ɵɵadvance(1);
@@ -15154,6 +15170,8 @@
15154
15170
  i0__namespace.ɵɵproperty("id", ctx.id())("formControl", ctx.dynamicListFormControl);
15155
15171
  i0__namespace.ɵɵadvance(1);
15156
15172
  i0__namespace.ɵɵproperty("ngValue", null);
15173
+ i0__namespace.ɵɵadvance(1);
15174
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(9, 11, "--Select a value--"));
15157
15175
  i0__namespace.ɵɵadvance(2);
15158
15176
  i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
15159
15177
  }
@@ -15221,25 +15239,26 @@
15221
15239
  return ReadDynamicRadioListFieldComponent;
15222
15240
  }(AbstractFieldReadComponent));
15223
15241
  ReadDynamicRadioListFieldComponent.ɵfac = function ReadDynamicRadioListFieldComponent_Factory(t) { return ɵReadDynamicRadioListFieldComponent_BaseFactory(t || ReadDynamicRadioListFieldComponent); };
15224
- ReadDynamicRadioListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) {
15242
+ ReadDynamicRadioListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) {
15225
15243
  if (rf & 1) {
15226
15244
  i0__namespace.ɵɵelementStart(0, "span", 0);
15227
15245
  i0__namespace.ɵɵtext(1);
15228
- i0__namespace.ɵɵpipe(2, "ccdDynamicRadioList");
15246
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
15247
+ i0__namespace.ɵɵpipe(3, "ccdDynamicRadioList");
15229
15248
  i0__namespace.ɵɵelementEnd();
15230
15249
  }
15231
15250
  if (rf & 2) {
15232
15251
  i0__namespace.ɵɵadvance(1);
15233
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
15252
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
15234
15253
  }
15235
- }, pipes: [DynamicRadioListPipe], encapsulation: 2 });
15254
+ }, pipes: [i1__namespace.RpxTranslatePipe, DynamicRadioListPipe], encapsulation: 2 });
15236
15255
  var ɵReadDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadDynamicRadioListFieldComponent);
15237
15256
  (function () {
15238
15257
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadDynamicRadioListFieldComponent, [{
15239
15258
  type: i0.Component,
15240
15259
  args: [{
15241
15260
  selector: 'ccd-read-dynamic-radio-list-field',
15242
- template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items}}</span>',
15261
+ template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items | rpxTranslate}}</span>',
15243
15262
  }]
15244
15263
  }], null, null);
15245
15264
  })();
@@ -15562,25 +15581,26 @@
15562
15581
  return ReadFixedListFieldComponent;
15563
15582
  }(AbstractFieldReadComponent));
15564
15583
  ReadFixedListFieldComponent.ɵfac = function ReadFixedListFieldComponent_Factory(t) { return ɵReadFixedListFieldComponent_BaseFactory(t || ReadFixedListFieldComponent); };
15565
- ReadFixedListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) {
15584
+ ReadFixedListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) {
15566
15585
  if (rf & 1) {
15567
15586
  i0__namespace.ɵɵelementStart(0, "span", 0);
15568
15587
  i0__namespace.ɵɵtext(1);
15569
- i0__namespace.ɵɵpipe(2, "ccdFixedList");
15588
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
15589
+ i0__namespace.ɵɵpipe(3, "ccdFixedList");
15570
15590
  i0__namespace.ɵɵelementEnd();
15571
15591
  }
15572
15592
  if (rf & 2) {
15573
15593
  i0__namespace.ɵɵadvance(1);
15574
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
15594
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
15575
15595
  }
15576
- }, pipes: [FixedListPipe], encapsulation: 2 });
15596
+ }, pipes: [i1__namespace.RpxTranslatePipe, FixedListPipe], encapsulation: 2 });
15577
15597
  var ɵReadFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadFixedListFieldComponent);
15578
15598
  (function () {
15579
15599
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadFixedListFieldComponent, [{
15580
15600
  type: i0.Component,
15581
15601
  args: [{
15582
15602
  selector: 'ccd-read-fixed-list-field',
15583
- template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items}}</span>',
15603
+ template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items | rpxTranslate}}</span>',
15584
15604
  }]
15585
15605
  }], null, null);
15586
15606
  })();
@@ -15630,13 +15650,14 @@
15630
15650
  if (rf & 1) {
15631
15651
  i0__namespace.ɵɵelementStart(0, "option", 6);
15632
15652
  i0__namespace.ɵɵtext(1);
15653
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
15633
15654
  i0__namespace.ɵɵelementEnd();
15634
15655
  }
15635
15656
  if (rf & 2) {
15636
15657
  var type_r4 = ctx.$implicit;
15637
15658
  i0__namespace.ɵɵproperty("ngValue", type_r4.code);
15638
15659
  i0__namespace.ɵɵadvance(1);
15639
- i0__namespace.ɵɵtextInterpolate(type_r4.label);
15660
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
15640
15661
  }
15641
15662
  }
15642
15663
  var _c0$I = function (a0) { return { "form-group-error": a0 }; };
@@ -15683,7 +15704,7 @@
15683
15704
  i0__namespace.ɵɵelementStart(6, "option", 6);
15684
15705
  i0__namespace.ɵɵtext(7, "--Select a value--");
15685
15706
  i0__namespace.ɵɵelementEnd();
15686
- i0__namespace.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 2, 2, "option", 7);
15707
+ i0__namespace.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
15687
15708
  i0__namespace.ɵɵelementEnd();
15688
15709
  i0__namespace.ɵɵelementEnd();
15689
15710
  }
@@ -15745,25 +15766,26 @@
15745
15766
  return ReadFixedRadioListFieldComponent;
15746
15767
  }(AbstractFieldReadComponent));
15747
15768
  ReadFixedRadioListFieldComponent.ɵfac = function ReadFixedRadioListFieldComponent_Factory(t) { return ɵReadFixedRadioListFieldComponent_BaseFactory(t || ReadFixedRadioListFieldComponent); };
15748
- ReadFixedRadioListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) {
15769
+ ReadFixedRadioListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) {
15749
15770
  if (rf & 1) {
15750
15771
  i0__namespace.ɵɵelementStart(0, "span", 0);
15751
15772
  i0__namespace.ɵɵtext(1);
15752
- i0__namespace.ɵɵpipe(2, "ccdFixedRadioList");
15773
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
15774
+ i0__namespace.ɵɵpipe(3, "ccdFixedRadioList");
15753
15775
  i0__namespace.ɵɵelementEnd();
15754
15776
  }
15755
15777
  if (rf & 2) {
15756
15778
  i0__namespace.ɵɵadvance(1);
15757
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.field_type.fixed_list_items));
15779
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.field_type.fixed_list_items)));
15758
15780
  }
15759
- }, pipes: [FixedRadioListPipe], encapsulation: 2 });
15781
+ }, pipes: [i1__namespace.RpxTranslatePipe, FixedRadioListPipe], encapsulation: 2 });
15760
15782
  var ɵReadFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadFixedRadioListFieldComponent);
15761
15783
  (function () {
15762
15784
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadFixedRadioListFieldComponent, [{
15763
15785
  type: i0.Component,
15764
15786
  args: [{
15765
15787
  selector: 'ccd-read-fixed-radio-list-field',
15766
- template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items}}</span>',
15788
+ template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items | rpxTranslate}}</span>',
15767
15789
  }]
15768
15790
  }], null, null);
15769
15791
  })();
@@ -17630,24 +17652,25 @@
17630
17652
  return ReadTextAreaFieldComponent;
17631
17653
  }(AbstractFieldReadComponent));
17632
17654
  ReadTextAreaFieldComponent.ɵfac = function ReadTextAreaFieldComponent_Factory(t) { return ɵReadTextAreaFieldComponent_BaseFactory(t || ReadTextAreaFieldComponent); };
17633
- ReadTextAreaFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) {
17655
+ ReadTextAreaFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) {
17634
17656
  if (rf & 1) {
17635
17657
  i0__namespace.ɵɵelementStart(0, "span", 0);
17636
17658
  i0__namespace.ɵɵtext(1);
17659
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
17637
17660
  i0__namespace.ɵɵelementEnd();
17638
17661
  }
17639
17662
  if (rf & 2) {
17640
17663
  i0__namespace.ɵɵadvance(1);
17641
- i0__namespace.ɵɵtextInterpolate(ctx.caseField.value);
17664
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx.caseField.value));
17642
17665
  }
17643
- }, encapsulation: 2 });
17666
+ }, pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
17644
17667
  var ɵReadTextAreaFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadTextAreaFieldComponent);
17645
17668
  (function () {
17646
17669
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadTextAreaFieldComponent, [{
17647
17670
  type: i0.Component,
17648
17671
  args: [{
17649
17672
  selector: 'ccd-read-text-area-field',
17650
- template: "<span style=\"white-space: pre-wrap\">{{caseField.value}}</span>"
17673
+ template: "<span style=\"white-space: pre-wrap\">{{caseField.value | rpxTranslate}}</span>"
17651
17674
  }]
17652
17675
  }], null, null);
17653
17676
  })();
@@ -17761,24 +17784,25 @@
17761
17784
  return ReadTextFieldComponent;
17762
17785
  }(AbstractFieldReadComponent));
17763
17786
  ReadTextFieldComponent.ɵfac = function ReadTextFieldComponent_Factory(t) { return ɵReadTextFieldComponent_BaseFactory(t || ReadTextFieldComponent); };
17764
- ReadTextFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) {
17787
+ ReadTextFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) {
17765
17788
  if (rf & 1) {
17766
17789
  i0__namespace.ɵɵelementStart(0, "span", 0);
17767
17790
  i0__namespace.ɵɵtext(1);
17791
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
17768
17792
  i0__namespace.ɵɵelementEnd();
17769
17793
  }
17770
17794
  if (rf & 2) {
17771
17795
  i0__namespace.ɵɵadvance(1);
17772
- i0__namespace.ɵɵtextInterpolate(ctx.caseField.value);
17796
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx.caseField.value));
17773
17797
  }
17774
- }, encapsulation: 2 });
17798
+ }, pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
17775
17799
  var ɵReadTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadTextFieldComponent);
17776
17800
  (function () {
17777
17801
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadTextFieldComponent, [{
17778
17802
  type: i0.Component,
17779
17803
  args: [{
17780
17804
  selector: 'ccd-read-text-field',
17781
- template: "<span class=\"text-16\">{{caseField.value}}</span>"
17805
+ template: "<span class=\"text-16\">{{caseField.value | rpxTranslate}}</span>"
17782
17806
  }]
17783
17807
  }], null, null);
17784
17808
  })();
@@ -18003,23 +18027,24 @@
18003
18027
  return ReadYesNoFieldComponent;
18004
18028
  }(AbstractFieldReadComponent));
18005
18029
  ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0__namespace.ɵɵdirectiveInject(YesNoService)); };
18006
- ReadYesNoFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) {
18030
+ ReadYesNoFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) {
18007
18031
  if (rf & 1) {
18008
18032
  i0__namespace.ɵɵelementStart(0, "span", 0);
18009
18033
  i0__namespace.ɵɵtext(1);
18034
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
18010
18035
  i0__namespace.ɵɵelementEnd();
18011
18036
  }
18012
18037
  if (rf & 2) {
18013
18038
  i0__namespace.ɵɵadvance(1);
18014
- i0__namespace.ɵɵtextInterpolate(ctx.formattedValue);
18039
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx.formattedValue));
18015
18040
  }
18016
- }, encapsulation: 2 });
18041
+ }, pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
18017
18042
  (function () {
18018
18043
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
18019
18044
  type: i0.Component,
18020
18045
  args: [{
18021
18046
  selector: 'ccd-read-yes-no-field',
18022
- template: "<span class=\"text-16\">{{formattedValue}}</span>"
18047
+ template: "<span class=\"text-16\">{{formattedValue | rpxTranslate}}</span>"
18023
18048
  }]
18024
18049
  }], function () { return [{ type: YesNoService }]; }, null);
18025
18050
  })();
@@ -18368,6 +18393,7 @@
18368
18393
  }
18369
18394
  component.instance['isExpanded'] = this.isExpanded;
18370
18395
  component.instance['isInSearchBlock'] = this.isInSearchBlock;
18396
+ console.log(component.instance);
18371
18397
  this.fieldContainer.insert(component.hostView);
18372
18398
  // EUI-3267.
18373
18399
  // Set up the flag for whether this can have a grey bar.
@@ -20582,8 +20608,10 @@
20582
20608
  var _this = this;
20583
20609
  this.manageCaseFlagTitle = exports.CaseFlagWizardStepTitle.MANAGE_CASE_FLAGS;
20584
20610
  // Map flags instances to objects for display
20611
+ /* istanbul ignore else */
20585
20612
  if (this.flagsData) {
20586
20613
  this.flagsDisplayData = this.flagsData.reduce(function (displayData, flagsInstance) {
20614
+ /* istanbul ignore else */
20587
20615
  if (flagsInstance.flags.details && flagsInstance.flags.details.length > 0) {
20588
20616
  displayData = __spread(displayData, flagsInstance.flags.details.map(function (detail) { return _this.mapFlagDetailForDisplay(detail, flagsInstance); }));
20589
20617
  }
@@ -20645,10 +20673,13 @@
20645
20673
  return flagDetail.name;
20646
20674
  };
20647
20675
  ManageCaseFlagsComponent.prototype.getFlagDescription = function (flagDetail) {
20676
+ /* istanbul ignore else */
20648
20677
  if (flagDetail && flagDetail.name) {
20678
+ /* istanbul ignore else */
20649
20679
  if (flagDetail.name === 'Other' && flagDetail.otherDescription) {
20650
20680
  return flagDetail.otherDescription;
20651
20681
  }
20682
+ /* istanbul ignore else */
20652
20683
  if (flagDetail.subTypeKey && flagDetail.subTypeValue) {
20653
20684
  return flagDetail.subTypeValue;
20654
20685
  }
@@ -20960,7 +20991,7 @@
20960
20991
  }] });
20961
20992
  })();
20962
20993
 
20963
- function CaseFlagSummaryListComponent_dl_0_div_16_Template(rf, ctx) {
20994
+ function CaseFlagSummaryListComponent_dl_0_div_20_Template(rf, ctx) {
20964
20995
  if (rf & 1) {
20965
20996
  i0__namespace.ɵɵelementStart(0, "div", 2);
20966
20997
  i0__namespace.ɵɵelementStart(1, "dt", 3);
@@ -20968,13 +20999,14 @@
20968
20999
  i0__namespace.ɵɵelementEnd();
20969
21000
  i0__namespace.ɵɵelementStart(3, "dd", 4);
20970
21001
  i0__namespace.ɵɵtext(4);
21002
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
20971
21003
  i0__namespace.ɵɵelementEnd();
20972
21004
  i0__namespace.ɵɵelementEnd();
20973
21005
  }
20974
21006
  if (rf & 2) {
20975
21007
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
20976
21008
  i0__namespace.ɵɵadvance(4);
20977
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.flagStatus, " ");
21009
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 1, ctx_r1.flagStatus), " ");
20978
21010
  }
20979
21011
  }
20980
21012
  function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) {
@@ -20983,41 +21015,45 @@
20983
21015
  i0__namespace.ɵɵelementStart(1, "div", 2);
20984
21016
  i0__namespace.ɵɵelementStart(2, "dt", 3);
20985
21017
  i0__namespace.ɵɵtext(3);
21018
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
20986
21019
  i0__namespace.ɵɵelementEnd();
20987
- i0__namespace.ɵɵelementStart(4, "dd", 4);
20988
- i0__namespace.ɵɵtext(5);
21020
+ i0__namespace.ɵɵelementStart(5, "dd", 4);
21021
+ i0__namespace.ɵɵtext(6);
21022
+ i0__namespace.ɵɵpipe(7, "rpxTranslate");
20989
21023
  i0__namespace.ɵɵelementEnd();
20990
21024
  i0__namespace.ɵɵelementEnd();
20991
- i0__namespace.ɵɵelementStart(6, "div", 2);
20992
- i0__namespace.ɵɵelementStart(7, "dt", 3);
20993
- i0__namespace.ɵɵtext(8, " Flag type ");
21025
+ i0__namespace.ɵɵelementStart(8, "div", 2);
21026
+ i0__namespace.ɵɵelementStart(9, "dt", 3);
21027
+ i0__namespace.ɵɵtext(10, " Flag type ");
20994
21028
  i0__namespace.ɵɵelementEnd();
20995
- i0__namespace.ɵɵelementStart(9, "dd", 4);
20996
- i0__namespace.ɵɵtext(10);
21029
+ i0__namespace.ɵɵelementStart(11, "dd", 4);
21030
+ i0__namespace.ɵɵtext(12);
21031
+ i0__namespace.ɵɵpipe(13, "rpxTranslate");
20997
21032
  i0__namespace.ɵɵelementEnd();
20998
21033
  i0__namespace.ɵɵelementEnd();
20999
- i0__namespace.ɵɵelementStart(11, "div", 2);
21000
- i0__namespace.ɵɵelementStart(12, "dt", 3);
21001
- i0__namespace.ɵɵtext(13, " Comments ");
21034
+ i0__namespace.ɵɵelementStart(14, "div", 2);
21035
+ i0__namespace.ɵɵelementStart(15, "dt", 3);
21036
+ i0__namespace.ɵɵtext(16, " Comments ");
21002
21037
  i0__namespace.ɵɵelementEnd();
21003
- i0__namespace.ɵɵelementStart(14, "dd", 4);
21004
- i0__namespace.ɵɵtext(15);
21038
+ i0__namespace.ɵɵelementStart(17, "dd", 4);
21039
+ i0__namespace.ɵɵtext(18);
21040
+ i0__namespace.ɵɵpipe(19, "rpxTranslate");
21005
21041
  i0__namespace.ɵɵelementEnd();
21006
21042
  i0__namespace.ɵɵelementEnd();
21007
- i0__namespace.ɵɵtemplate(16, CaseFlagSummaryListComponent_dl_0_div_16_Template, 5, 1, "div", 5);
21043
+ i0__namespace.ɵɵtemplate(20, CaseFlagSummaryListComponent_dl_0_div_20_Template, 6, 3, "div", 5);
21008
21044
  i0__namespace.ɵɵelementEnd();
21009
21045
  }
21010
21046
  if (rf & 2) {
21011
21047
  var ctx_r0 = i0__namespace.ɵɵnextContext();
21012
21048
  i0__namespace.ɵɵadvance(3);
21013
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.addUpdateFlagHeaderText, " ");
21049
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 5, ctx_r0.addUpdateFlagHeaderText), " ");
21050
+ i0__namespace.ɵɵadvance(3);
21051
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(7, 7, ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation), " ");
21052
+ i0__namespace.ɵɵadvance(6);
21053
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(13, 9, ctx_r0.flagDescription), " ");
21054
+ i0__namespace.ɵɵadvance(6);
21055
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(19, 11, ctx_r0.flagComments), " ");
21014
21056
  i0__namespace.ɵɵadvance(2);
21015
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation, " ");
21016
- i0__namespace.ɵɵadvance(5);
21017
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.flagDescription, " ");
21018
- i0__namespace.ɵɵadvance(5);
21019
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.flagComments, " ");
21020
- i0__namespace.ɵɵadvance(1);
21021
21057
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.MANAGE);
21022
21058
  }
21023
21059
  }
@@ -21045,12 +21081,12 @@
21045
21081
  CaseFlagSummaryListComponent.ɵfac = function CaseFlagSummaryListComponent_Factory(t) { return new (t || CaseFlagSummaryListComponent)(); };
21046
21082
  CaseFlagSummaryListComponent.ɵcmp = i0__namespace.ɵɵ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) {
21047
21083
  if (rf & 1) {
21048
- i0__namespace.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 17, 5, "dl", 0);
21084
+ i0__namespace.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 21, 13, "dl", 0);
21049
21085
  }
21050
21086
  if (rf & 2) {
21051
21087
  i0__namespace.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
21052
21088
  }
21053
- }, directives: [i2__namespace.NgIf], encapsulation: 2 });
21089
+ }, directives: [i2__namespace.NgIf], pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
21054
21090
  (function () {
21055
21091
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFlagSummaryListComponent, [{
21056
21092
  type: i0.Component,
@@ -25912,7 +25948,7 @@
25912
25948
  i0__namespace.ɵɵsetComponentScope(ReadComplexFieldTableComponent, [i2__namespace.NgForOf, i2__namespace.NgIf, FieldReadComponent], [i1__namespace.RpxTranslatePipe, ReadFieldsFilterPipe, IsCompoundPipe]);
25913
25949
  i0__namespace.ɵɵsetComponentScope(ReadComplexFieldCollectionTableComponent, [i2__namespace.NgForOf, i2__namespace.NgIf, FieldReadComponent,
25914
25950
  ReadCaseLinkFieldComponent], [i1__namespace.RpxTranslatePipe, ReadFieldsFilterPipe, CcdCollectionTableCaseFieldsFilterPipe, i2__namespace.KeyValuePipe, IsCompoundPipe]);
25915
- i0__namespace.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i2__namespace.NgSwitch, i2__namespace.NgSwitchCase, CaseFlagSummaryListComponent, i2__namespace.NgSwitchDefault, i2__namespace.NgForOf, i2__namespace.NgIf, CaseFlagTableComponent], []);
25951
+ i0__namespace.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i2__namespace.NgSwitch, i2__namespace.NgSwitchCase, CaseFlagSummaryListComponent, i2__namespace.NgSwitchDefault, i2__namespace.NgForOf, i2__namespace.NgIf, CaseFlagTableComponent], [i1__namespace.RpxTranslatePipe]);
25916
25952
  i0__namespace.ɵɵsetComponentScope(ReadLinkedCasesComponent, [LinkedCasesToTableComponent, i2__namespace.NgIf, LinkedCasesFromTableComponent], []);
25917
25953
  i0__namespace.ɵɵsetComponentScope(WriteAddressFieldComponent, [i2__namespace.NgIf, i2__namespace.NgClass, i2__namespace$1.DefaultValueAccessor, i2__namespace$1.NgControlStatus, i2__namespace$1.FormControlDirective, i2__namespace$1.SelectControlValueAccessor, i2__namespace.NgForOf, i2__namespace$1.NgSelectOption, i2__namespace$1.ɵangular_packages_forms_forms_z, WriteComplexFieldComponent, i2__namespace$1.NgControlStatusGroup, i2__namespace$1.FormGroupDirective], [i1__namespace.RpxTranslatePipe, FieldLabelPipe]);
25918
25954
  i0__namespace.ɵɵsetComponentScope(WriteComplexFieldComponent, [i2__namespace.NgIf, i2__namespace.NgForOf, i2__namespace.NgSwitch, i2__namespace.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective, i2__namespace$1.NgControlStatusGroup, i2__namespace$1.FormGroupDirective, FieldWriteComponent], [i1__namespace.RpxTranslatePipe, FieldLabelPipe, IsReadOnlyPipe]);
@@ -28572,26 +28608,28 @@
28572
28608
  if (rf & 1) {
28573
28609
  i0__namespace.ɵɵelementStart(0, "option", 11);
28574
28610
  i0__namespace.ɵɵtext(1);
28611
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
28575
28612
  i0__namespace.ɵɵelementEnd();
28576
28613
  }
28577
28614
  if (rf & 2) {
28578
28615
  var ct_r7 = ctx.$implicit;
28579
28616
  i0__namespace.ɵɵproperty("ngValue", ct_r7);
28580
28617
  i0__namespace.ɵɵadvance(1);
28581
- i0__namespace.ɵɵtextInterpolate(ct_r7.name);
28618
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, ct_r7.name));
28582
28619
  }
28583
28620
  }
28584
28621
  function WorkbasketFiltersComponent_option_25_Template(rf, ctx) {
28585
28622
  if (rf & 1) {
28586
28623
  i0__namespace.ɵɵelementStart(0, "option", 11);
28587
28624
  i0__namespace.ɵɵtext(1);
28625
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
28588
28626
  i0__namespace.ɵɵelementEnd();
28589
28627
  }
28590
28628
  if (rf & 2) {
28591
28629
  var cs_r8 = ctx.$implicit;
28592
28630
  i0__namespace.ɵɵproperty("ngValue", cs_r8);
28593
28631
  i0__namespace.ɵɵadvance(1);
28594
- i0__namespace.ɵɵtextInterpolate(cs_r8.name);
28632
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, cs_r8.name));
28595
28633
  }
28596
28634
  }
28597
28635
  function WorkbasketFiltersComponent_ng_container_26_div_2_Template(rf, ctx) {
@@ -28924,7 +28962,7 @@
28924
28962
  i0__namespace.ɵɵelementStart(15, "select", 8);
28925
28963
  i0__namespace.ɵɵ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(); });
28926
28964
  i0__namespace.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template, 2, 1, "option", 5);
28927
- i0__namespace.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 2, 2, "option", 6);
28965
+ i0__namespace.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 3, 4, "option", 6);
28928
28966
  i0__namespace.ɵɵelementEnd();
28929
28967
  i0__namespace.ɵɵelementEnd();
28930
28968
  i0__namespace.ɵɵelementStart(18, "div", 2);
@@ -28937,7 +28975,7 @@
28937
28975
  i0__namespace.ɵɵelementStart(23, "option", 11);
28938
28976
  i0__namespace.ɵɵtext(24, "Any");
28939
28977
  i0__namespace.ɵɵelementEnd();
28940
- i0__namespace.ɵɵtemplate(25, WorkbasketFiltersComponent_option_25_Template, 2, 2, "option", 6);
28978
+ i0__namespace.ɵɵtemplate(25, WorkbasketFiltersComponent_option_25_Template, 3, 4, "option", 6);
28941
28979
  i0__namespace.ɵɵelementEnd();
28942
28980
  i0__namespace.ɵɵelementEnd();
28943
28981
  i0__namespace.ɵɵtemplate(26, WorkbasketFiltersComponent_ng_container_26_Template, 3, 3, "ng-container", 12);
@@ -35060,12 +35098,12 @@
35060
35098
  i0__namespace.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
35061
35099
  }
35062
35100
  }
35063
- function SearchResultComponent_table_0_th_11_div_6_Template(rf, ctx) {
35101
+ function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) {
35064
35102
  if (rf & 1) {
35065
35103
  var _r19_1 = i0__namespace.ɵɵgetCurrentView();
35066
35104
  i0__namespace.ɵɵelementStart(0, "div", 27);
35067
35105
  i0__namespace.ɵɵelementStart(1, "a", 28);
35068
- i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_6_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
35106
+ i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
35069
35107
  i0__namespace.ɵɵelementEnd();
35070
35108
  i0__namespace.ɵɵelementEnd();
35071
35109
  }
@@ -35081,13 +35119,15 @@
35081
35119
  var _r22_1 = i0__namespace.ɵɵgetCurrentView();
35082
35120
  i0__namespace.ɵɵelementStart(0, "th");
35083
35121
  i0__namespace.ɵɵelementStart(1, "table", 24);
35084
- i0__namespace.ɵɵelementStart(2, "tr");
35085
- i0__namespace.ɵɵelementStart(3, "th");
35086
- i0__namespace.ɵɵelementStart(4, "div", 25);
35087
- i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
35088
- i0__namespace.ɵɵtext(5);
35122
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
35123
+ i0__namespace.ɵɵelementStart(3, "tr");
35124
+ i0__namespace.ɵɵelementStart(4, "th");
35125
+ i0__namespace.ɵɵelementStart(5, "div", 25);
35126
+ i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
35127
+ i0__namespace.ɵɵtext(6);
35128
+ i0__namespace.ɵɵpipe(7, "rpxTranslate");
35089
35129
  i0__namespace.ɵɵelementEnd();
35090
- i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_11_div_6_Template, 2, 1, "div", 26);
35130
+ i0__namespace.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 26);
35091
35131
  i0__namespace.ɵɵelementEnd();
35092
35132
  i0__namespace.ɵɵelementEnd();
35093
35133
  i0__namespace.ɵɵelementEnd();
@@ -35097,10 +35137,10 @@
35097
35137
  var col_r15 = ctx.$implicit;
35098
35138
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
35099
35139
  i0__namespace.ɵɵadvance(1);
35100
- i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
35101
- i0__namespace.ɵɵadvance(4);
35102
- i0__namespace.ɵɵtextInterpolate(col_r15.label);
35103
- i0__namespace.ɵɵadvance(1);
35140
+ i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(2, 3, "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending"));
35141
+ i0__namespace.ɵɵadvance(5);
35142
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(7, 5, col_r15.label), " ");
35143
+ i0__namespace.ɵɵadvance(2);
35104
35144
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
35105
35145
  }
35106
35146
  }
@@ -35435,7 +35475,7 @@
35435
35475
  i0__namespace.ɵɵelementStart(8, "thead");
35436
35476
  i0__namespace.ɵɵelementStart(9, "tr", 7);
35437
35477
  i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 8);
35438
- i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 7, 3, "th", 9);
35478
+ i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 9);
35439
35479
  i0__namespace.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 10);
35440
35480
  i0__namespace.ɵɵelementEnd();
35441
35481
  i0__namespace.ɵɵelementEnd();
@@ -35448,7 +35488,7 @@
35448
35488
  if (rf & 2) {
35449
35489
  var ctx_r0 = i0__namespace.ɵɵnextContext();
35450
35490
  i0__namespace.ɵɵadvance(3);
35451
- i0__namespace.ɵɵtextInterpolate(ctx_r0.caseState ? "Your cases" : i0__namespace.ɵɵpipeBind1(4, 9, "Search result"));
35491
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 9, ctx_r0.caseState ? "Your cases" : "Search result"));
35452
35492
  i0__namespace.ɵɵadvance(2);
35453
35493
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
35454
35494
  i0__namespace.ɵɵadvance(1);