@hmcts/ccd-case-ui-toolkit 7.4.26-exui-5318 → 7.4.26-exui-5594-rc1

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.
@@ -38769,17 +38769,19 @@ function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
38769
38769
  i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
38770
38770
  i0.ɵɵlistener("change", function CaseListComponent_td_6_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectAll()); });
38771
38771
  i0.ɵɵelementEnd();
38772
- i0.ɵɵelement(3, "label", 11);
38773
- i0.ɵɵelementEnd()();
38772
+ i0.ɵɵelementStart(3, "label", 11)(4, "span", 12);
38773
+ i0.ɵɵtext(5);
38774
+ i0.ɵɵpipe(6, "rpxTranslate");
38775
+ i0.ɵɵelementEnd()()()();
38774
38776
  } if (rf & 2) {
38775
38777
  const ctx_r1 = i0.ɵɵnextContext();
38776
38778
  i0.ɵɵadvance(2);
38777
38779
  i0.ɵɵproperty("checked", ctx_r1.allOnPageSelected())("disabled", !ctx_r1.canAnyBeShared());
38778
- i0.ɵɵadvance();
38779
- i0.ɵɵattribute("aria-labelledby", "select-all");
38780
+ i0.ɵɵadvance(3);
38781
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 3, "Select all cases"));
38780
38782
  } }
38781
38783
  function CaseListComponent_th_7_Template(rf, ctx) { if (rf & 1) {
38782
- i0.ɵɵelementStart(0, "th", 12);
38784
+ i0.ɵɵelementStart(0, "th", 13);
38783
38785
  i0.ɵɵtext(1);
38784
38786
  i0.ɵɵpipe(2, "rpxTranslate");
38785
38787
  i0.ɵɵelementEnd();
@@ -38790,11 +38792,13 @@ function CaseListComponent_th_7_Template(rf, ctx) { if (rf & 1) {
38790
38792
  } }
38791
38793
  function CaseListComponent_ng_container_9_td_2_Template(rf, ctx) { if (rf & 1) {
38792
38794
  const _r4 = i0.ɵɵgetCurrentView();
38793
- i0.ɵɵelementStart(0, "td", 15)(1, "div", 9)(2, "input", 16);
38795
+ i0.ɵɵelementStart(0, "td", 16)(1, "div", 9)(2, "input", 17);
38794
38796
  i0.ɵɵlistener("change", function CaseListComponent_ng_container_9_td_2_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r4); const c_r5 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.changeSelection(c_r5)); })("keyup", function CaseListComponent_ng_container_9_td_2_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r4); const c_r5 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onKeyUp($event, c_r5)); });
38795
38797
  i0.ɵɵelementEnd();
38796
- i0.ɵɵelement(3, "label", 17);
38797
- i0.ɵɵelementEnd()();
38798
+ i0.ɵɵelementStart(3, "label", 18)(4, "span", 12);
38799
+ i0.ɵɵtext(5);
38800
+ i0.ɵɵpipe(6, "rpxTranslate");
38801
+ i0.ɵɵelementEnd()()()();
38798
38802
  } if (rf & 2) {
38799
38803
  const ctx_r5 = i0.ɵɵnextContext();
38800
38804
  const c_r5 = ctx_r5.$implicit;
@@ -38804,7 +38808,8 @@ function CaseListComponent_ng_container_9_td_2_Template(rf, ctx) { if (rf & 1) {
38804
38808
  i0.ɵɵproperty("id", i0.ɵɵinterpolate1("select-", c_r5[ctx_r1.tableConfig.idField] || i_r7))("name", i0.ɵɵinterpolate1("select-", c_r5[ctx_r1.tableConfig.idField] || i_r7))("checked", ctx_r1.isSelected(c_r5))("disabled", !ctx_r1.canBeShared(c_r5));
38805
38809
  i0.ɵɵadvance();
38806
38810
  i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", c_r5[ctx_r1.tableConfig.idField] || i_r7));
38807
- i0.ɵɵattribute("aria-labelledby", "select-" + (c_r5[ctx_r1.tableConfig.idField] || i_r7));
38811
+ i0.ɵɵadvance(2);
38812
+ i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(6, 10, "Select case"), " ", c_r5[ctx_r1.tableConfig.idField] === 0 ? 0 : c_r5[ctx_r1.tableConfig.idField] || i_r7 + 1);
38808
38813
  } }
38809
38814
  function CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
38810
38815
  i0.ɵɵelementContainerStart(0);
@@ -38819,7 +38824,7 @@ function CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_1_Tem
38819
38824
  } }
38820
38825
  function CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
38821
38826
  i0.ɵɵelementContainerStart(0);
38822
- i0.ɵɵelementStart(1, "a", 20);
38827
+ i0.ɵɵelementStart(1, "a", 21);
38823
38828
  i0.ɵɵtext(2);
38824
38829
  i0.ɵɵpipe(3, "rpxTranslate");
38825
38830
  i0.ɵɵelementEnd();
@@ -38833,8 +38838,8 @@ function CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_2_Tem
38833
38838
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, c_r5[col_r8.key]));
38834
38839
  } }
38835
38840
  function CaseListComponent_ng_container_9_ng_container_3_th_1_Template(rf, ctx) { if (rf & 1) {
38836
- i0.ɵɵelementStart(0, "th", 15);
38837
- i0.ɵɵtemplate(1, CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_1_Template, 3, 3, "ng-container", 19)(2, CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_2_Template, 4, 4, "ng-container", 19);
38841
+ i0.ɵɵelementStart(0, "th", 16);
38842
+ i0.ɵɵtemplate(1, CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_1_Template, 3, 3, "ng-container", 20)(2, CaseListComponent_ng_container_9_ng_container_3_th_1_ng_container_2_Template, 4, 4, "ng-container", 20);
38838
38843
  i0.ɵɵelementEnd();
38839
38844
  } if (rf & 2) {
38840
38845
  const col_r8 = i0.ɵɵnextContext().$implicit;
@@ -38846,7 +38851,7 @@ function CaseListComponent_ng_container_9_ng_container_3_th_1_Template(rf, ctx)
38846
38851
  } }
38847
38852
  function CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
38848
38853
  i0.ɵɵelementContainerStart(0);
38849
- i0.ɵɵelementStart(1, "a", 20);
38854
+ i0.ɵɵelementStart(1, "a", 21);
38850
38855
  i0.ɵɵtext(2);
38851
38856
  i0.ɵɵpipe(3, "rpxTranslate");
38852
38857
  i0.ɵɵelementEnd();
@@ -38904,8 +38909,8 @@ function CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_5_Tem
38904
38909
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, c_r5[col_r8.key]));
38905
38910
  } }
38906
38911
  function CaseListComponent_ng_container_9_ng_container_3_td_2_Template(rf, ctx) { if (rf & 1) {
38907
- i0.ɵɵelementStart(0, "td", 21);
38908
- i0.ɵɵtemplate(1, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_1_Template, 4, 4, "ng-container", 19)(2, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_2_Template, 3, 4, "ng-container", 22)(3, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_3_Template, 2, 1, "ng-container", 22)(4, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_4_Template, 2, 1, "ng-container", 22)(5, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_5_Template, 3, 3, "ng-container", 23);
38912
+ i0.ɵɵelementStart(0, "td", 22);
38913
+ i0.ɵɵtemplate(1, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_1_Template, 4, 4, "ng-container", 20)(2, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_2_Template, 3, 4, "ng-container", 23)(3, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_3_Template, 2, 1, "ng-container", 23)(4, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_4_Template, 2, 1, "ng-container", 23)(5, CaseListComponent_ng_container_9_ng_container_3_td_2_ng_container_5_Template, 3, 3, "ng-container", 24);
38909
38914
  i0.ɵɵelementEnd();
38910
38915
  } if (rf & 2) {
38911
38916
  const col_r8 = i0.ɵɵnextContext().$implicit;
@@ -38922,7 +38927,7 @@ function CaseListComponent_ng_container_9_ng_container_3_td_2_Template(rf, ctx)
38922
38927
  } }
38923
38928
  function CaseListComponent_ng_container_9_ng_container_3_Template(rf, ctx) { if (rf & 1) {
38924
38929
  i0.ɵɵelementContainerStart(0);
38925
- i0.ɵɵtemplate(1, CaseListComponent_ng_container_9_ng_container_3_th_1_Template, 3, 2, "th", 14)(2, CaseListComponent_ng_container_9_ng_container_3_td_2_Template, 6, 5, "td", 18);
38930
+ i0.ɵɵtemplate(1, CaseListComponent_ng_container_9_ng_container_3_th_1_Template, 3, 2, "th", 15)(2, CaseListComponent_ng_container_9_ng_container_3_td_2_Template, 6, 5, "td", 19);
38926
38931
  i0.ɵɵelementContainerEnd();
38927
38932
  } if (rf & 2) {
38928
38933
  const isFirst_r9 = ctx.first;
@@ -38934,8 +38939,8 @@ function CaseListComponent_ng_container_9_ng_container_3_Template(rf, ctx) { if
38934
38939
  } }
38935
38940
  function CaseListComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
38936
38941
  i0.ɵɵelementContainerStart(0);
38937
- i0.ɵɵelementStart(1, "tr", 13);
38938
- i0.ɵɵtemplate(2, CaseListComponent_ng_container_9_td_2_Template, 4, 9, "td", 14)(3, CaseListComponent_ng_container_9_ng_container_3_Template, 3, 2, "ng-container", 6);
38942
+ i0.ɵɵelementStart(1, "tr", 14);
38943
+ i0.ɵɵtemplate(2, CaseListComponent_ng_container_9_td_2_Template, 7, 12, "td", 15)(3, CaseListComponent_ng_container_9_ng_container_3_Template, 3, 2, "ng-container", 6);
38939
38944
  i0.ɵɵelementEnd();
38940
38945
  i0.ɵɵelementContainerEnd();
38941
38946
  } if (rf & 2) {
@@ -38947,7 +38952,7 @@ function CaseListComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
38947
38952
  } }
38948
38953
  function CaseListComponent_ccd_pagination_11_Template(rf, ctx) { if (rf & 1) {
38949
38954
  const _r10 = i0.ɵɵgetCurrentView();
38950
- i0.ɵɵelementStart(0, "ccd-pagination", 24);
38955
+ i0.ɵɵelementStart(0, "ccd-pagination", 25);
38951
38956
  i0.ɵɵlistener("pageChange", function CaseListComponent_ccd_pagination_11_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.goToPage($event)); });
38952
38957
  i0.ɵɵelementEnd();
38953
38958
  } }
@@ -39048,13 +39053,13 @@ class CaseListComponent {
39048
39053
  this.pageChange.emit(pageNumber);
39049
39054
  }
39050
39055
  static ɵfac = function CaseListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListComponent)(i0.ɵɵdirectiveInject(BrowserService)); };
39051
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseListComponent, selectors: [["ccd-case-list"]], inputs: { classes: "classes", caption: "caption", firstCellIsHeader: "firstCellIsHeader", cases: "cases", tableConfig: "tableConfig", selectionEnabled: "selectionEnabled", selectedCases: "selectedCases", currentPageNo: "currentPageNo", totalResultsCount: "totalResultsCount", pageSize: "pageSize" }, outputs: { selection: "selection", pageChange: "pageChange" }, standalone: false, decls: 12, vars: 16, consts: [[1, "govuk-table__caption"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["class", "govuk-table__header", 4, "ngIf"], ["class", "govuk-table__header", "scope", "col", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], [4, "ngFor", "ngForOf"], [3, "pageChange", 4, "ngIf"], [1, "govuk-table__header"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["scope", "col", 1, "govuk-table__header"], ["data-selector", "table-row", 1, "govuk-table__row"], ["data-selector", "table-header", "class", "govuk-table__header", "scope", "row", 4, "ngIf"], ["data-selector", "table-header", "scope", "row", 1, "govuk-table__header"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["data-selector", "table-cell", "class", "govuk-table__cell", 3, "ngSwitch", 4, "ngIf"], [4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["data-selector", "table-cell", 1, "govuk-table__cell", 3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "pageChange"]], template: function CaseListComponent_Template(rf, ctx) { if (rf & 1) {
39056
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseListComponent, selectors: [["ccd-case-list"]], inputs: { classes: "classes", caption: "caption", firstCellIsHeader: "firstCellIsHeader", cases: "cases", tableConfig: "tableConfig", selectionEnabled: "selectionEnabled", selectedCases: "selectedCases", currentPageNo: "currentPageNo", totalResultsCount: "totalResultsCount", pageSize: "pageSize" }, outputs: { selection: "selection", pageChange: "pageChange" }, standalone: false, decls: 12, vars: 16, consts: [[1, "govuk-table__caption"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["class", "govuk-table__header", 4, "ngIf"], ["class", "govuk-table__header", "scope", "col", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], [4, "ngFor", "ngForOf"], [3, "pageChange", 4, "ngIf"], [1, "govuk-table__header"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "govuk-visually-hidden"], ["scope", "col", 1, "govuk-table__header"], ["data-selector", "table-row", 1, "govuk-table__row"], ["data-selector", "table-header", "class", "govuk-table__header", "scope", "row", 4, "ngIf"], ["data-selector", "table-header", "scope", "row", 1, "govuk-table__header"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["data-selector", "table-cell", "class", "govuk-table__cell", 3, "ngSwitch", 4, "ngIf"], [4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["data-selector", "table-cell", 1, "govuk-table__cell", 3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "pageChange"]], template: function CaseListComponent_Template(rf, ctx) { if (rf & 1) {
39052
39057
  i0.ɵɵelementStart(0, "table")(1, "caption", 0);
39053
39058
  i0.ɵɵtext(2);
39054
39059
  i0.ɵɵpipe(3, "rpxTranslate");
39055
39060
  i0.ɵɵelementEnd();
39056
39061
  i0.ɵɵelementStart(4, "thead", 1)(5, "tr", 2);
39057
- i0.ɵɵtemplate(6, CaseListComponent_td_6_Template, 4, 3, "td", 3)(7, CaseListComponent_th_7_Template, 3, 3, "th", 4);
39062
+ i0.ɵɵtemplate(6, CaseListComponent_td_6_Template, 7, 5, "td", 3)(7, CaseListComponent_th_7_Template, 3, 3, "th", 4);
39058
39063
  i0.ɵɵelementEnd()();
39059
39064
  i0.ɵɵelementStart(8, "tbody", 5);
39060
39065
  i0.ɵɵtemplate(9, CaseListComponent_ng_container_9_Template, 4, 2, "ng-container", 6);
@@ -39077,7 +39082,7 @@ class CaseListComponent {
39077
39082
  }
39078
39083
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
39079
39084
  type: Component,
39080
- args: [{ selector: 'ccd-case-list', standalone: false, template: "<table class=\"{{'govuk-table ' + classes}}\">\n <caption class=\"govuk-table__caption\">{{caption | rpxTranslate}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" *ngIf=\"selectionEnabled\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\"\n [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <!-- This label element is used to hide the standard checkbox with a govuk-styled one -->\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th class=\"govuk-table__header\" scope=\"col\" *ngFor=\"let h of tableConfig.columnConfigs\">{{h.header | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-container *ngFor=\"let c of cases | paginate: { itemsPerPage: pageSize, currentPage: currentPageNo, totalItems: totalResultsCount }; index as i\">\n <tr data-selector=\"table-row\" class=\"govuk-table__row\">\n <td data-selector=\"table-header\" class=\"govuk-table__header\" scope=\"row\" *ngIf=\"selectionEnabled\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ c[tableConfig.idField] || i }}\" name=\"select-{{ c[tableConfig.idField] || i }}\"\n type=\"checkbox\" (change)=\"changeSelection(c)\" [checked]=\"isSelected(c)\" [disabled]=\"!canBeShared(c)\" (keyup)=\"onKeyUp($event, c)\" />\n <!-- This label element is used to hide the standard checkbox with a govuk-styled one -->\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ c[tableConfig.idField] || i }}\" [attr.aria-labelledby]=\"'select-' + (c[tableConfig.idField] || i)\">\n </label>\n </div>\n </td>\n <ng-container *ngFor=\"let col of tableConfig.columnConfigs; first as isFirst\">\n <th data-selector=\"table-header\" class=\"govuk-table__header\" scope=\"row\" *ngIf=\"isFirst && firstCellIsHeader\">\n <ng-container *ngIf=\"!col.type || col.type === 'text'\">{{c[col.key] | rpxTranslate}}</ng-container>\n <ng-container *ngIf=\"col.type === 'link' && c.routerLink\">\n <a class=\"govuk-link\" [routerLink]=\"c.routerLink\">{{c[col.key] | rpxTranslate}}</a>\n </ng-container>\n </th>\n <td data-selector=\"table-cell\" class=\"govuk-table__cell\" *ngIf=\"!(isFirst && firstCellIsHeader)\" [ngSwitch]=\"col?.type\">\n <ng-container *ngIf=\"col.type === 'link' && c.routerLink\">\n <a class=\"govuk-link\" [routerLink]=\"c.routerLink\">{{c[col.key] | rpxTranslate}}</a>\n </ng-container>\n <ng-container *ngSwitchCase=\"'money'\">-{{ c[col.key] | currency:'GBP' }}</ng-container>\n <ng-container *ngSwitchCase=\"'date'\">{{formatDate(c[col.key])}}</ng-container>\n <ng-container *ngSwitchCase=\"'dateAtTime'\">{{formatDateAtTime(c[col.key])}}</ng-container>\n <ng-container *ngSwitchDefault>{{c[col.key] | rpxTranslate}}</ng-container>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </tbody>\n</table>\n<ccd-pagination *ngIf=\"totalResultsCount > pageSize\"\n (pageChange)=\"goToPage($event)\"\n></ccd-pagination>\n" }]
39085
+ args: [{ selector: 'ccd-case-list', standalone: false, template: "<table class=\"{{'govuk-table ' + classes}}\">\n <caption class=\"govuk-table__caption\">{{caption | rpxTranslate}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" *ngIf=\"selectionEnabled\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\"\n [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <!-- This label element is used to hide the standard checkbox with a govuk-styled one -->\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n <span class=\"govuk-visually-hidden\">{{'Select all cases' | rpxTranslate}}</span>\n </label>\n </div>\n </td>\n <th class=\"govuk-table__header\" scope=\"col\" *ngFor=\"let h of tableConfig.columnConfigs\">{{h.header | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-container *ngFor=\"let c of cases | paginate: { itemsPerPage: pageSize, currentPage: currentPageNo, totalItems: totalResultsCount }; index as i\">\n <tr data-selector=\"table-row\" class=\"govuk-table__row\">\n <td data-selector=\"table-header\" class=\"govuk-table__header\" scope=\"row\" *ngIf=\"selectionEnabled\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ c[tableConfig.idField] || i }}\" name=\"select-{{ c[tableConfig.idField] || i }}\"\n type=\"checkbox\" (change)=\"changeSelection(c)\" [checked]=\"isSelected(c)\" [disabled]=\"!canBeShared(c)\" (keyup)=\"onKeyUp($event, c)\" />\n <!-- This label element is used to hide the standard checkbox with a govuk-styled one -->\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ c[tableConfig.idField] || i }}\">\n <span class=\"govuk-visually-hidden\">{{'Select case' | rpxTranslate}} {{c[tableConfig.idField] === 0 ? 0 : c[tableConfig.idField] || i + 1}}</span>\n </label>\n </div>\n </td>\n <ng-container *ngFor=\"let col of tableConfig.columnConfigs; first as isFirst\">\n <th data-selector=\"table-header\" class=\"govuk-table__header\" scope=\"row\" *ngIf=\"isFirst && firstCellIsHeader\">\n <ng-container *ngIf=\"!col.type || col.type === 'text'\">{{c[col.key] | rpxTranslate}}</ng-container>\n <ng-container *ngIf=\"col.type === 'link' && c.routerLink\">\n <a class=\"govuk-link\" [routerLink]=\"c.routerLink\">{{c[col.key] | rpxTranslate}}</a>\n </ng-container>\n </th>\n <td data-selector=\"table-cell\" class=\"govuk-table__cell\" *ngIf=\"!(isFirst && firstCellIsHeader)\" [ngSwitch]=\"col?.type\">\n <ng-container *ngIf=\"col.type === 'link' && c.routerLink\">\n <a class=\"govuk-link\" [routerLink]=\"c.routerLink\">{{c[col.key] | rpxTranslate}}</a>\n </ng-container>\n <ng-container *ngSwitchCase=\"'money'\">-{{ c[col.key] | currency:'GBP' }}</ng-container>\n <ng-container *ngSwitchCase=\"'date'\">{{formatDate(c[col.key])}}</ng-container>\n <ng-container *ngSwitchCase=\"'dateAtTime'\">{{formatDateAtTime(c[col.key])}}</ng-container>\n <ng-container *ngSwitchDefault>{{c[col.key] | rpxTranslate}}</ng-container>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </tbody>\n</table>\n<ccd-pagination *ngIf=\"totalResultsCount > pageSize\"\n (pageChange)=\"goToPage($event)\"\n></ccd-pagination>\n" }]
39081
39086
  }], () => [{ type: BrowserService }], { classes: [{
39082
39087
  type: Input
39083
39088
  }], caption: [{