@hmcts/ccd-case-ui-toolkit 7.0.42 → 7.0.43-accessibility-table-fixed
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.
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +4 -3
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +76 -86
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +77 -86
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -22473,6 +22473,7 @@ class CaseFileViewFolderComponent {
|
|
|
22473
22473
|
// Initialise cdk tree with generated data
|
|
22474
22474
|
this.nestedDataSource = this.documentTreeData;
|
|
22475
22475
|
this.nestedTreeControl.dataNodes = this.documentTreeData;
|
|
22476
|
+
this.sortDataSourceDescending(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP);
|
|
22476
22477
|
});
|
|
22477
22478
|
}
|
|
22478
22479
|
generateTreeData(categories) {
|
|
@@ -22661,7 +22662,7 @@ class CaseFileViewFolderComponent {
|
|
|
22661
22662
|
}], moveDocument: [{
|
|
22662
22663
|
type: Output
|
|
22663
22664
|
}] }); })();
|
|
22664
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber:
|
|
22665
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 28 }); })();
|
|
22665
22666
|
|
|
22666
22667
|
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
22667
22668
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -36079,43 +36080,45 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
36079
36080
|
} }
|
|
36080
36081
|
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
36081
36082
|
i0.ɵɵelementStart(0, "div", 16);
|
|
36082
|
-
i0.ɵɵ
|
|
36083
|
-
i0.ɵɵ
|
|
36084
|
-
i0.ɵɵ
|
|
36085
|
-
i0.ɵɵ
|
|
36086
|
-
i0.ɵɵ
|
|
36087
|
-
i0.ɵɵ
|
|
36088
|
-
i0.ɵɵelementEnd();
|
|
36083
|
+
i0.ɵɵelement(1, "output");
|
|
36084
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36085
|
+
i0.ɵɵelementStart(3, "span", 17);
|
|
36086
|
+
i0.ɵɵtext(4);
|
|
36087
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
36088
|
+
i0.ɵɵelementStart(6, "span", 18);
|
|
36089
36089
|
i0.ɵɵtext(7);
|
|
36090
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
36091
|
-
i0.ɵɵelementStart(9, "span", 18);
|
|
36092
|
-
i0.ɵɵtext(10);
|
|
36093
36090
|
i0.ɵɵelementEnd();
|
|
36091
|
+
i0.ɵɵtext(8);
|
|
36092
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
36093
|
+
i0.ɵɵelementStart(10, "span", 18);
|
|
36094
36094
|
i0.ɵɵtext(11);
|
|
36095
|
-
i0.ɵɵpipe(12, "rpxTranslate");
|
|
36096
|
-
i0.ɵɵelementStart(13, "span", 18);
|
|
36097
|
-
i0.ɵɵtext(14);
|
|
36098
36095
|
i0.ɵɵelementEnd();
|
|
36096
|
+
i0.ɵɵtext(12);
|
|
36097
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
36098
|
+
i0.ɵɵelementStart(14, "span", 18);
|
|
36099
36099
|
i0.ɵɵtext(15);
|
|
36100
|
-
i0.ɵɵ
|
|
36100
|
+
i0.ɵɵelementEnd();
|
|
36101
|
+
i0.ɵɵtext(16);
|
|
36102
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
36101
36103
|
i0.ɵɵelementEnd()();
|
|
36102
36104
|
} if (rf & 2) {
|
|
36103
36105
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
36104
|
-
i0.ɵɵ
|
|
36106
|
+
i0.ɵɵadvance();
|
|
36107
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 8, ctx_r0.getTotalResults() + " results have been found"));
|
|
36105
36108
|
i0.ɵɵadvance(3);
|
|
36106
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
36109
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 10, "Showing"), " ");
|
|
36107
36110
|
i0.ɵɵadvance(3);
|
|
36108
36111
|
i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
|
|
36109
36112
|
i0.ɵɵadvance();
|
|
36110
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
36113
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, "to"), " ");
|
|
36111
36114
|
i0.ɵɵadvance(3);
|
|
36112
36115
|
i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
|
|
36113
36116
|
i0.ɵɵadvance();
|
|
36114
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
36117
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 14, "of"), " ");
|
|
36115
36118
|
i0.ɵɵadvance(3);
|
|
36116
36119
|
i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
|
|
36117
36120
|
i0.ɵɵadvance();
|
|
36118
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
36121
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 16, "results"), "");
|
|
36119
36122
|
} }
|
|
36120
36123
|
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
36121
36124
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
@@ -36143,10 +36146,10 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
36143
36146
|
i0.ɵɵadvance(2);
|
|
36144
36147
|
i0.ɵɵproperty("checked", ctx_r0.allOnPageSelected())("disabled", !ctx_r0.canAnyBeShared());
|
|
36145
36148
|
} }
|
|
36146
|
-
function
|
|
36149
|
+
function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
36147
36150
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
36148
36151
|
i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
|
|
36149
|
-
i0.ɵɵlistener("click", function
|
|
36152
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); });
|
|
36150
36153
|
i0.ɵɵelementEnd()();
|
|
36151
36154
|
} if (rf & 2) {
|
|
36152
36155
|
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36156,34 +36159,33 @@ function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf &
|
|
|
36156
36159
|
} }
|
|
36157
36160
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
36158
36161
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
36159
|
-
i0.ɵɵelementStart(0, "th")(1, "
|
|
36160
|
-
i0.ɵɵ
|
|
36161
|
-
i0.ɵɵ
|
|
36162
|
-
i0.ɵɵ
|
|
36163
|
-
i0.ɵɵtext(6);
|
|
36164
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
36162
|
+
i0.ɵɵelementStart(0, "th", 25)(1, "div")(2, "div", 26);
|
|
36163
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_2_listener() { const col_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); })("keyup", function SearchResultComponent_table_0_th_11_Template_div_keyup_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.noop()); });
|
|
36164
|
+
i0.ɵɵtext(3);
|
|
36165
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36165
36166
|
i0.ɵɵelementEnd();
|
|
36166
|
-
i0.ɵɵtemplate(
|
|
36167
|
-
i0.ɵɵelementEnd()()
|
|
36167
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 2, 1, "div", 27);
|
|
36168
|
+
i0.ɵɵelementEnd()();
|
|
36168
36169
|
} if (rf & 2) {
|
|
36169
36170
|
const col_r5 = ctx.$implicit;
|
|
36170
36171
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
36171
|
-
i0.ɵɵ
|
|
36172
|
-
i0.ɵɵ
|
|
36173
|
-
i0.ɵɵ
|
|
36174
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r5.label), " ");
|
|
36172
|
+
i0.ɵɵattribute("aria-sort", ctx_r0.isSortAscending(col_r5) === null ? null : ctx_r0.isSortAscending(col_r5) ? "ascending" : "descending");
|
|
36173
|
+
i0.ɵɵadvance(3);
|
|
36174
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, col_r5.label), " ");
|
|
36175
36175
|
i0.ɵɵadvance(2);
|
|
36176
36176
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
36177
36177
|
} }
|
|
36178
36178
|
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
36179
|
-
i0.ɵɵ
|
|
36179
|
+
i0.ɵɵelementStart(0, "th", 30);
|
|
36180
|
+
i0.ɵɵtext(1, "\u200B");
|
|
36181
|
+
i0.ɵɵelementEnd();
|
|
36180
36182
|
} }
|
|
36181
36183
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36182
36184
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
36183
|
-
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input",
|
|
36185
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 33);
|
|
36184
36186
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r7); const result_r8 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r8)); });
|
|
36185
36187
|
i0.ɵɵelementEnd();
|
|
36186
|
-
i0.ɵɵelement(3, "label",
|
|
36188
|
+
i0.ɵɵelement(3, "label", 34);
|
|
36187
36189
|
i0.ɵɵelementEnd()();
|
|
36188
36190
|
} if (rf & 2) {
|
|
36189
36191
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36196,7 +36198,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
36196
36198
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r8.case_id, "");
|
|
36197
36199
|
} }
|
|
36198
36200
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
36199
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36201
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
36200
36202
|
} if (rf & 2) {
|
|
36201
36203
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
36202
36204
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36211,8 +36213,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36211
36213
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
36212
36214
|
} }
|
|
36213
36215
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36214
|
-
i0.ɵɵelementContainerStart(0,
|
|
36215
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read",
|
|
36216
|
+
i0.ɵɵelementContainerStart(0, 40);
|
|
36217
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 41)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
36216
36218
|
i0.ɵɵelementContainerEnd();
|
|
36217
36219
|
} if (rf & 2) {
|
|
36218
36220
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -36223,9 +36225,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36223
36225
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
36224
36226
|
} }
|
|
36225
36227
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36226
|
-
i0.ɵɵelementStart(0, "a",
|
|
36228
|
+
i0.ɵɵelementStart(0, "a", 38);
|
|
36227
36229
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36228
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36230
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 39);
|
|
36229
36231
|
i0.ɵɵelementEnd();
|
|
36230
36232
|
} if (rf & 2) {
|
|
36231
36233
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36236,8 +36238,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
36236
36238
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36237
36239
|
} }
|
|
36238
36240
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36239
|
-
i0.ɵɵelementStart(0, "div",
|
|
36240
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36241
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
36242
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
36241
36243
|
i0.ɵɵelementEnd();
|
|
36242
36244
|
} if (rf & 2) {
|
|
36243
36245
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36248,8 +36250,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
36248
36250
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36249
36251
|
} }
|
|
36250
36252
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36251
|
-
i0.ɵɵelementStart(0, "td",
|
|
36252
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36253
|
+
i0.ɵɵelementStart(0, "td", 35);
|
|
36254
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 36)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 37);
|
|
36253
36255
|
i0.ɵɵelementEnd();
|
|
36254
36256
|
} if (rf & 2) {
|
|
36255
36257
|
const colIndex_r11 = ctx.index;
|
|
@@ -36260,7 +36262,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
36260
36262
|
} }
|
|
36261
36263
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36262
36264
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36263
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36265
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
36264
36266
|
i0.ɵɵelementEnd()();
|
|
36265
36267
|
} if (rf & 2) {
|
|
36266
36268
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36272,7 +36274,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
36272
36274
|
} }
|
|
36273
36275
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36274
36276
|
i0.ɵɵelementStart(0, "tr");
|
|
36275
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td",
|
|
36277
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 32)(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36276
36278
|
i0.ɵɵelementEnd();
|
|
36277
36279
|
} if (rf & 2) {
|
|
36278
36280
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36285,7 +36287,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
|
|
|
36285
36287
|
} }
|
|
36286
36288
|
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
36287
36289
|
i0.ɵɵelementContainerStart(0);
|
|
36288
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr",
|
|
36290
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 31);
|
|
36289
36291
|
i0.ɵɵpipe(2, "paginate");
|
|
36290
36292
|
i0.ɵɵelementContainerEnd();
|
|
36291
36293
|
} if (rf & 2) {
|
|
@@ -36295,10 +36297,10 @@ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
36295
36297
|
} }
|
|
36296
36298
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36297
36299
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
36298
|
-
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input",
|
|
36300
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 44);
|
|
36299
36301
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r13)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onKeyUp($event, result_r13)); });
|
|
36300
36302
|
i0.ɵɵelementEnd();
|
|
36301
|
-
i0.ɵɵelement(3, "label",
|
|
36303
|
+
i0.ɵɵelement(3, "label", 34);
|
|
36302
36304
|
i0.ɵɵelementEnd()();
|
|
36303
36305
|
} if (rf & 2) {
|
|
36304
36306
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36311,7 +36313,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ct
|
|
|
36311
36313
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r13.case_id, "");
|
|
36312
36314
|
} }
|
|
36313
36315
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
36314
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36316
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
36315
36317
|
} if (rf & 2) {
|
|
36316
36318
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
36317
36319
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36326,8 +36328,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36326
36328
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
36327
36329
|
} }
|
|
36328
36330
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36329
|
-
i0.ɵɵelementContainerStart(0,
|
|
36330
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read",
|
|
36331
|
+
i0.ɵɵelementContainerStart(0, 40);
|
|
36332
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 41)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
36331
36333
|
i0.ɵɵelementContainerEnd();
|
|
36332
36334
|
} if (rf & 2) {
|
|
36333
36335
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -36338,9 +36340,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36338
36340
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
36339
36341
|
} }
|
|
36340
36342
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36341
|
-
i0.ɵɵelementStart(0, "a",
|
|
36343
|
+
i0.ɵɵelementStart(0, "a", 38);
|
|
36342
36344
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36343
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36345
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 39);
|
|
36344
36346
|
i0.ɵɵelementEnd();
|
|
36345
36347
|
} if (rf & 2) {
|
|
36346
36348
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36351,8 +36353,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf
|
|
|
36351
36353
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36352
36354
|
} }
|
|
36353
36355
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36354
|
-
i0.ɵɵelementStart(0, "div",
|
|
36355
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36356
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
36357
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
36356
36358
|
i0.ɵɵelementEnd();
|
|
36357
36359
|
} if (rf & 2) {
|
|
36358
36360
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36363,8 +36365,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(
|
|
|
36363
36365
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36364
36366
|
} }
|
|
36365
36367
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36366
|
-
i0.ɵɵelementStart(0, "td",
|
|
36367
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36368
|
+
i0.ɵɵelementStart(0, "td", 35);
|
|
36369
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 36)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 37);
|
|
36368
36370
|
i0.ɵɵelementEnd();
|
|
36369
36371
|
} if (rf & 2) {
|
|
36370
36372
|
const colIndex_r16 = ctx.index;
|
|
@@ -36375,7 +36377,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ct
|
|
|
36375
36377
|
} }
|
|
36376
36378
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36377
36379
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36378
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36380
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
36379
36381
|
i0.ɵɵelementEnd()();
|
|
36380
36382
|
} if (rf & 2) {
|
|
36381
36383
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36387,7 +36389,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ct
|
|
|
36387
36389
|
} }
|
|
36388
36390
|
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36389
36391
|
i0.ɵɵelementStart(0, "tr");
|
|
36390
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td",
|
|
36392
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 32)(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36391
36393
|
i0.ɵɵelementEnd();
|
|
36392
36394
|
} if (rf & 2) {
|
|
36393
36395
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36400,7 +36402,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
|
|
|
36400
36402
|
} }
|
|
36401
36403
|
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
36402
36404
|
i0.ɵɵelementContainerStart(0);
|
|
36403
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr",
|
|
36405
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 31);
|
|
36404
36406
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
36405
36407
|
i0.ɵɵpipe(3, "paginate");
|
|
36406
36408
|
i0.ɵɵelementContainerEnd();
|
|
@@ -36414,10 +36416,10 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36414
36416
|
i0.ɵɵtext(3);
|
|
36415
36417
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36416
36418
|
i0.ɵɵelementEnd();
|
|
36417
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5)(6, SearchResultComponent_table_0_div_6_Template,
|
|
36419
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5)(6, SearchResultComponent_table_0_div_6_Template, 18, 18, "div", 6)(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 7);
|
|
36418
36420
|
i0.ɵɵelementEnd();
|
|
36419
36421
|
i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
|
|
36420
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9)(11, SearchResultComponent_table_0_th_11_Template,
|
|
36422
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9)(11, SearchResultComponent_table_0_th_11_Template, 6, 5, "th", 10)(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 11);
|
|
36421
36423
|
i0.ɵɵelementEnd()();
|
|
36422
36424
|
i0.ɵɵelementStart(13, "tbody");
|
|
36423
36425
|
i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 1)(15, SearchResultComponent_table_0_ng_container_15_Template, 4, 11, "ng-container", 1);
|
|
@@ -36445,7 +36447,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36445
36447
|
} }
|
|
36446
36448
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
36447
36449
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
36448
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
36450
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 45);
|
|
36449
36451
|
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.goToPage($event)); });
|
|
36450
36452
|
i0.ɵɵelementEnd();
|
|
36451
36453
|
} if (rf & 2) {
|
|
@@ -36453,7 +36455,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
36453
36455
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
36454
36456
|
} }
|
|
36455
36457
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36456
|
-
i0.ɵɵelementStart(0, "div",
|
|
36458
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
36457
36459
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
36458
36460
|
i0.ɵɵtext(2);
|
|
36459
36461
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -36758,24 +36760,11 @@ class SearchResultComponent {
|
|
|
36758
36760
|
return result.case_id.startsWith(DRAFT_PREFIX) ? DRAFT_PREFIX : this.hyphenateIfCaseReferenceOrGet(col, result);
|
|
36759
36761
|
}
|
|
36760
36762
|
isSortAscending(column) {
|
|
36761
|
-
|
|
36762
|
-
|
|
36763
|
-
|
|
36764
|
-
currentSortOrder(column) {
|
|
36765
|
-
let isAscending = true;
|
|
36766
|
-
let isDescending = true;
|
|
36767
|
-
if (this.comparator(column) === undefined) {
|
|
36768
|
-
return SortOrder$1.UNSORTED;
|
|
36769
|
-
}
|
|
36770
|
-
for (let i = 0; i < this.resultView.results.length - 1; i++) {
|
|
36771
|
-
const comparison = this.comparator(column).compare(this.resultView.results[i], this.resultView.results[i + 1]);
|
|
36772
|
-
isDescending = isDescending && comparison <= 0;
|
|
36773
|
-
isAscending = isAscending && comparison >= 0;
|
|
36774
|
-
if (!isAscending && !isDescending) {
|
|
36775
|
-
break;
|
|
36776
|
-
}
|
|
36763
|
+
// simple way to determine if the column param is sorted and if its asc/desc
|
|
36764
|
+
if (this.consumerSortParameters.column === column.case_field_id) {
|
|
36765
|
+
return this.consumerSortParameters.order === SortOrder$1.ASCENDING;
|
|
36777
36766
|
}
|
|
36778
|
-
return
|
|
36767
|
+
return null;
|
|
36779
36768
|
}
|
|
36780
36769
|
getFirstResult() {
|
|
36781
36770
|
const currentPage = (this.selected.page ? this.selected.page : 1);
|
|
@@ -36814,8 +36803,10 @@ class SearchResultComponent {
|
|
|
36814
36803
|
}
|
|
36815
36804
|
}
|
|
36816
36805
|
}
|
|
36806
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
36807
|
+
noop() { }
|
|
36817
36808
|
static ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
36818
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top",
|
|
36809
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-header", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [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, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "click", "innerHTML"], [2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36819
36810
|
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 4, 6, "div", 3);
|
|
36820
36811
|
} if (rf & 2) {
|
|
36821
36812
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
@@ -36827,7 +36818,7 @@ class SearchResultComponent {
|
|
|
36827
36818
|
}
|
|
36828
36819
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
36829
36820
|
type: Component,
|
|
36830
|
-
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\"
|
|
36821
|
+
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
36831
36822
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
36832
36823
|
type: Input
|
|
36833
36824
|
}], jurisdiction: [{
|