@hmcts/ccd-case-ui-toolkit 7.4.8-v1 → 7.4.9

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.
@@ -35110,90 +35110,90 @@ class DocumentUrlPipe {
35110
35110
  class EventLogDetailsComponent {
35111
35111
  event;
35112
35112
  static ɵfac = function EventLogDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventLogDetailsComponent)(); };
35113
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogDetailsComponent, selectors: [["ccd-event-log-details"]], inputs: { event: "event" }, standalone: false, decls: 57, vars: 39, consts: [[1, "heading-h2"], ["aria-live", "polite", 1, "govuk-summary-list", "govuk-summary-list--no-border", "EventLogDetails"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "text-16"], [1, "govuk-summary-list__value"], [1, "tooltip", "text-16"]], template: function EventLogDetailsComponent_Template(rf, ctx) { if (rf & 1) {
35114
- i0.ɵɵelementStart(0, "h2", 0);
35115
- i0.ɵɵtext(1);
35116
- i0.ɵɵpipe(2, "rpxTranslate");
35117
- i0.ɵɵelementEnd();
35118
- i0.ɵɵelementStart(3, "dl", 1)(4, "div", 2)(5, "dt", 3)(6, "span", 4);
35119
- i0.ɵɵtext(7);
35120
- i0.ɵɵpipe(8, "rpxTranslate");
35113
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogDetailsComponent, selectors: [["ccd-event-log-details"]], inputs: { event: "event" }, standalone: false, decls: 59, vars: 39, consts: [["tabindex", "0", 1, "EventLogDetails"], [1, "heading-h2"], ["tabindex", "0", "aria-live", "polite"], [1, "text-16"], [1, "tooltip", "text-16"]], template: function EventLogDetailsComponent_Template(rf, ctx) { if (rf & 1) {
35114
+ i0.ɵɵelementStart(0, "table", 0)(1, "caption")(2, "h2", 1);
35115
+ i0.ɵɵtext(3);
35116
+ i0.ɵɵpipe(4, "rpxTranslate");
35121
35117
  i0.ɵɵelementEnd()();
35122
- i0.ɵɵelementStart(9, "dd", 5)(10, "div", 6);
35123
- i0.ɵɵtext(11);
35124
- i0.ɵɵpipe(12, "ccdDate");
35118
+ i0.ɵɵelementStart(5, "tbody", 2)(6, "tr")(7, "th")(8, "span", 3);
35119
+ i0.ɵɵtext(9);
35120
+ i0.ɵɵpipe(10, "rpxTranslate");
35121
+ i0.ɵɵelementEnd()();
35122
+ i0.ɵɵelementStart(11, "td")(12, "div", 4);
35123
+ i0.ɵɵtext(13);
35124
+ i0.ɵɵpipe(14, "ccdDate");
35125
35125
  i0.ɵɵelementEnd()()();
35126
- i0.ɵɵelementStart(13, "div", 2)(14, "dt", 3)(15, "span", 4);
35127
- i0.ɵɵtext(16);
35128
- i0.ɵɵpipe(17, "rpxTranslate");
35126
+ i0.ɵɵelementStart(15, "tr")(16, "th")(17, "span", 3);
35127
+ i0.ɵɵtext(18);
35128
+ i0.ɵɵpipe(19, "rpxTranslate");
35129
35129
  i0.ɵɵelementEnd()();
35130
- i0.ɵɵelementStart(18, "dd", 5)(19, "span", 4);
35131
- i0.ɵɵtext(20);
35132
- i0.ɵɵpipe(21, "titlecase");
35133
- i0.ɵɵpipe(22, "uppercase");
35130
+ i0.ɵɵelementStart(20, "td")(21, "span", 3);
35131
+ i0.ɵɵtext(22);
35132
+ i0.ɵɵpipe(23, "titlecase");
35133
+ i0.ɵɵpipe(24, "uppercase");
35134
35134
  i0.ɵɵelementEnd()()();
35135
- i0.ɵɵelementStart(23, "div", 2)(24, "dt", 3)(25, "span", 4);
35136
- i0.ɵɵtext(26);
35137
- i0.ɵɵpipe(27, "rpxTranslate");
35135
+ i0.ɵɵelementStart(25, "tr")(26, "th")(27, "span", 3);
35136
+ i0.ɵɵtext(28);
35137
+ i0.ɵɵpipe(29, "rpxTranslate");
35138
35138
  i0.ɵɵelementEnd()();
35139
- i0.ɵɵelementStart(28, "dd", 5)(29, "span", 4);
35140
- i0.ɵɵtext(30);
35139
+ i0.ɵɵelementStart(30, "td")(31, "span", 3);
35140
+ i0.ɵɵtext(32);
35141
35141
  i0.ɵɵelementEnd()()();
35142
- i0.ɵɵelementStart(31, "div", 2)(32, "dt", 3)(33, "span", 4);
35143
- i0.ɵɵtext(34);
35144
- i0.ɵɵpipe(35, "rpxTranslate");
35142
+ i0.ɵɵelementStart(33, "tr")(34, "th")(35, "span", 3);
35143
+ i0.ɵɵtext(36);
35144
+ i0.ɵɵpipe(37, "rpxTranslate");
35145
35145
  i0.ɵɵelementEnd()();
35146
- i0.ɵɵelementStart(36, "dd", 5)(37, "span", 4);
35147
- i0.ɵɵtext(38);
35146
+ i0.ɵɵelementStart(38, "td")(39, "span", 3);
35147
+ i0.ɵɵtext(40);
35148
35148
  i0.ɵɵelementEnd()()();
35149
- i0.ɵɵelementStart(39, "div", 2)(40, "dt", 3)(41, "span", 4);
35150
- i0.ɵɵtext(42);
35151
- i0.ɵɵpipe(43, "rpxTranslate");
35149
+ i0.ɵɵelementStart(41, "tr")(42, "th")(43, "span", 3);
35150
+ i0.ɵɵtext(44);
35151
+ i0.ɵɵpipe(45, "rpxTranslate");
35152
35152
  i0.ɵɵelementEnd()();
35153
- i0.ɵɵelementStart(44, "dd", 5)(45, "span", 4);
35154
- i0.ɵɵtext(46);
35155
- i0.ɵɵpipe(47, "ccdDash");
35153
+ i0.ɵɵelementStart(46, "td")(47, "span", 3);
35154
+ i0.ɵɵtext(48);
35155
+ i0.ɵɵpipe(49, "ccdDash");
35156
35156
  i0.ɵɵelementEnd()()();
35157
- i0.ɵɵelementStart(48, "div", 2)(49, "dt", 3)(50, "span", 4);
35158
- i0.ɵɵtext(51);
35159
- i0.ɵɵpipe(52, "rpxTranslate");
35157
+ i0.ɵɵelementStart(50, "tr")(51, "th")(52, "span", 3);
35158
+ i0.ɵɵtext(53);
35159
+ i0.ɵɵpipe(54, "rpxTranslate");
35160
35160
  i0.ɵɵelementEnd()();
35161
- i0.ɵɵelementStart(53, "dd", 5)(54, "span", 4);
35162
- i0.ɵɵtext(55);
35163
- i0.ɵɵpipe(56, "ccdDash");
35164
- i0.ɵɵelementEnd()()()();
35161
+ i0.ɵɵelementStart(55, "td")(56, "span", 3);
35162
+ i0.ɵɵtext(57);
35163
+ i0.ɵɵpipe(58, "ccdDash");
35164
+ i0.ɵɵelementEnd()()()()();
35165
35165
  } if (rf & 2) {
35166
- i0.ɵɵadvance();
35167
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 14, "Details"));
35166
+ i0.ɵɵadvance(3);
35167
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 14, "Details"));
35168
35168
  i0.ɵɵadvance(6);
35169
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 16, "Date"));
35169
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 16, "Date"));
35170
35170
  i0.ɵɵadvance(4);
35171
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(12, 18, ctx.event.timestamp, "local"), " ");
35171
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(14, 18, ctx.event.timestamp, "local"), " ");
35172
35172
  i0.ɵɵadvance(5);
35173
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Author"));
35173
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 21, "Author"));
35174
35174
  i0.ɵɵadvance(4);
35175
- i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(21, 23, ctx.event.user_first_name), " ", i0.ɵɵpipeBind1(22, 25, ctx.event.user_last_name));
35175
+ i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(23, 23, ctx.event.user_first_name), " ", i0.ɵɵpipeBind1(24, 25, ctx.event.user_last_name));
35176
35176
  i0.ɵɵadvance(6);
35177
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 27, "End state"));
35177
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 27, "End state"));
35178
35178
  i0.ɵɵadvance(4);
35179
35179
  i0.ɵɵtextInterpolate(ctx.event.state_name);
35180
35180
  i0.ɵɵadvance(4);
35181
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 29, "Event"));
35181
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 29, "Event"));
35182
35182
  i0.ɵɵadvance(4);
35183
35183
  i0.ɵɵtextInterpolate(ctx.event.event_name);
35184
35184
  i0.ɵɵadvance(4);
35185
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(43, 31, "Summary"));
35185
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 31, "Summary"));
35186
35186
  i0.ɵɵadvance(4);
35187
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(47, 33, ctx.event.summary));
35187
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(49, 33, ctx.event.summary));
35188
35188
  i0.ɵɵadvance(5);
35189
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(52, 35, "Comment"));
35189
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(54, 35, "Comment"));
35190
35190
  i0.ɵɵadvance(4);
35191
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(56, 37, ctx.event.comment));
35192
- } }, dependencies: [i5.UpperCasePipe, i5.TitleCasePipe, DatePipe, DashPipe, i1.RpxTranslatePipe], styles: [".EventLogDetails[_ngcontent-%COMP%] .govuk-summary-list__key[_ngcontent-%COMP%]{font-weight:400}"] });
35191
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(58, 37, ctx.event.comment));
35192
+ } }, dependencies: [i5.UpperCasePipe, i5.TitleCasePipe, DatePipe, DashPipe, i1.RpxTranslatePipe], styles: [".EventLogDetails[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .EventLogDetails[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:none}"] });
35193
35193
  }
35194
35194
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventLogDetailsComponent, [{
35195
35195
  type: Component,
35196
- args: [{ selector: 'ccd-event-log-details', standalone: false, template: "<h2 class=\"heading-h2\">{{'Details' | rpxTranslate}}</h2>\n<dl class=\"govuk-summary-list govuk-summary-list--no-border EventLogDetails\" aria-live=\"polite\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\"><span class=\"text-16\">{{'Date' | rpxTranslate}}</span></dt>\n <dd class=\"govuk-summary-list__value\">\n <div class=\"tooltip text-16\">{{event.timestamp | ccdDate : 'local'}}\n </div>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\"><span class=\"text-16\">{{'Author' | rpxTranslate}}</span></dt>\n <dd class=\"govuk-summary-list__value\"><span class=\"text-16\">{{event.user_first_name | titlecase}} {{event.user_last_name | uppercase}}</span></dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\"><span class=\"text-16\">{{'End state' | rpxTranslate}}</span></dt>\n <dd class=\"govuk-summary-list__value\"><span class=\"text-16\">{{event.state_name}}</span></dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\"><span class=\"text-16\">{{'Event' | rpxTranslate}}</span></dt>\n <dd class=\"govuk-summary-list__value\"><span class=\"text-16\">{{event.event_name}}</span></dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\"><span class=\"text-16\">{{'Summary' | rpxTranslate}}</span></dt>\n <dd class=\"govuk-summary-list__value\"><span class=\"text-16\">{{event.summary | ccdDash}}</span></dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\"><span class=\"text-16\">{{'Comment' | rpxTranslate}}</span></dt>\n <dd class=\"govuk-summary-list__value\"><span class=\"text-16\">{{event.comment | ccdDash}}</span></dd>\n </div>\n</dl>\n", styles: [".EventLogDetails .govuk-summary-list__key{font-weight:400}\n"] }]
35196
+ args: [{ selector: 'ccd-event-log-details', standalone: false, template: "<table tabindex=\"0\" class=\"EventLogDetails\">\n <caption><h2 class=\"heading-h2\">{{'Details' | rpxTranslate}}</h2></caption>\n <tbody tabindex=\"0\" aria-live=\"polite\">\n <tr>\n <th><span class=\"text-16\">{{'Date' | rpxTranslate}}</span></th>\n <td>\n <div class=\"tooltip text-16\">{{event.timestamp | ccdDate : 'local'}}\n </div>\n </td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Author' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.user_first_name | titlecase}} {{event.user_last_name | uppercase}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'End state' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.state_name}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Event' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.event_name}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Summary' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.summary | ccdDash}}</span></td>\n </tr>\n <tr>\n <th><span class=\"text-16\">{{'Comment' | rpxTranslate}}</span></th>\n <td><span class=\"text-16\">{{event.comment | ccdDash}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: [".EventLogDetails th,.EventLogDetails td{border-bottom:none}\n"] }]
35197
35197
  }], null, { event: [{
35198
35198
  type: Input
35199
35199
  }] }); })();
@@ -41188,7 +41188,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx)
41188
41188
  i0.ɵɵproperty("id", tab_r6.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
41189
41189
  } }
41190
41190
  function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
41191
- i0.ɵɵelementStart(0, "th", 39)(1, "div", 40);
41191
+ i0.ɵɵelementStart(0, "th", 38)(1, "div", 39);
41192
41192
  i0.ɵɵtext(2);
41193
41193
  i0.ɵɵpipe(3, "rpxTranslate");
41194
41194
  i0.ɵɵelementEnd()();
@@ -41199,51 +41199,52 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
41199
41199
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r7.label));
41200
41200
  } }
41201
41201
  function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
41202
- i0.ɵɵelementStart(0, "tr", 34);
41203
- i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 35);
41204
- i0.ɵɵelementStart(2, "td", 36)(3, "span", 37);
41205
- i0.ɵɵelement(4, "ccd-field-read", 38);
41202
+ i0.ɵɵelementStart(0, "tr");
41203
+ i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 34);
41204
+ i0.ɵɵelementStart(2, "td", 35)(3, "span", 36);
41205
+ i0.ɵɵelement(4, "ccd-field-read", 37);
41206
41206
  i0.ɵɵelementEnd()()();
41207
41207
  } if (rf & 2) {
41208
41208
  const field_r7 = i0.ɵɵnextContext().$implicit;
41209
41209
  const ctx_r1 = i0.ɵɵnextContext(4);
41210
- i0.ɵɵproperty("hidden", field_r7.hidden);
41211
41210
  i0.ɵɵadvance();
41212
- i0.ɵɵproperty("ngIf", ctx_r1.hasFieldLabel(field_r7));
41211
+ i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r7) && field_r7.label);
41213
41212
  i0.ɵɵadvance();
41214
41213
  i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41215
- i0.ɵɵattribute("colspan", ctx_r1.hasFieldLabel(field_r7) ? null : 2);
41216
41214
  i0.ɵɵadvance(2);
41217
41215
  i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41218
41216
  } }
41219
41217
  function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
41220
- i0.ɵɵelementStart(0, "tr", 41)(1, "td", 42);
41218
+ i0.ɵɵelementStart(0, "tr", 40)(1, "td", 41);
41221
41219
  i0.ɵɵpipe(2, "rpxTranslate");
41222
- i0.ɵɵelementStart(3, "span", 37);
41223
- i0.ɵɵelement(4, "ccd-field-read", 38);
41220
+ i0.ɵɵelementStart(3, "span", 36);
41221
+ i0.ɵɵelement(4, "ccd-field-read", 37);
41224
41222
  i0.ɵɵelementEnd()()();
41225
41223
  } if (rf & 2) {
41226
41224
  const field_r7 = i0.ɵɵnextContext().$implicit;
41227
41225
  const ctx_r1 = i0.ɵɵnextContext(4);
41228
- i0.ɵɵproperty("hidden", field_r7.hidden);
41229
41226
  i0.ɵɵadvance();
41230
41227
  i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41231
- i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 7, field_r7.label || field_r7.id));
41228
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r7.label || field_r7.id));
41232
41229
  i0.ɵɵadvance(3);
41233
41230
  i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41234
41231
  } }
41235
41232
  function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41236
- i0.ɵɵelementContainerStart(0)(1, 30)(2, 31);
41233
+ i0.ɵɵelementContainerStart(0);
41234
+ i0.ɵɵelementStart(1, "div", 30);
41235
+ i0.ɵɵelementContainerStart(2, 31);
41237
41236
  i0.ɵɵpipe(3, "ccdIsCompound");
41238
- i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 8, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 9, "tr", 33);
41239
- i0.ɵɵelementContainerEnd()()();
41237
+ i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 33);
41238
+ i0.ɵɵelementContainerEnd();
41239
+ i0.ɵɵelementEnd();
41240
+ i0.ɵɵelementContainerEnd();
41240
41241
  } if (rf & 2) {
41241
41242
  const field_r7 = ctx.$implicit;
41242
41243
  const ctx_r1 = i0.ɵɵnextContext(4);
41243
41244
  i0.ɵɵadvance();
41244
- i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields);
41245
+ i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields)("hidden", field_r7.hidden);
41245
41246
  i0.ɵɵadvance();
41246
- i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 5, field_r7));
41247
+ i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r7));
41247
41248
  i0.ɵɵadvance(2);
41248
41249
  i0.ɵɵproperty("ngSwitchCase", true);
41249
41250
  i0.ɵɵadvance();
@@ -41253,7 +41254,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Tem
41253
41254
  i0.ɵɵelementStart(0, "table");
41254
41255
  i0.ɵɵpipe(1, "rpxTranslate");
41255
41256
  i0.ɵɵelementStart(2, "tbody");
41256
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 7, "ng-container", 19);
41257
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 19);
41257
41258
  i0.ɵɵpipe(4, "ccdTabFields");
41258
41259
  i0.ɵɵpipe(5, "ccdReadFieldsFilter");
41259
41260
  i0.ɵɵelementEnd()();
@@ -41725,9 +41726,6 @@ class CaseFullAccessViewComponent {
41725
41726
  return caseField.field_type.type === 'ComponentLauncher'
41726
41727
  && caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
41727
41728
  }
41728
- hasFieldLabel(caseField) {
41729
- return !this.isFieldToHaveNoLabel(caseField) && !!caseField.label;
41730
- }
41731
41729
  init() {
41732
41730
  // Clone and sort tabs array
41733
41731
  this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
@@ -41779,7 +41777,7 @@ class CaseFullAccessViewComponent {
41779
41777
  } if (rf & 2) {
41780
41778
  let _t;
41781
41779
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
41782
- } }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [3, "id", "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields"], [3, "ngSwitch"], [3, "hidden", 4, "ngSwitchCase"], ["class", "compound-field", 3, "hidden", 4, "ngSwitchCase"], [3, "hidden"], ["scope", "row", 3, "id", 4, "ngIf"], [3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field", 3, "hidden"], ["colspan", "2", "role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
41780
+ } }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [3, "id", "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
41783
41781
  i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
41784
41782
  i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
41785
41783
  i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
@@ -41817,7 +41815,7 @@ class CaseFullAccessViewComponent {
41817
41815
  }
41818
41816
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
41819
41817
  type: Component,
41820
- args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <ng-container ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" [hidden]=\"field.hidden\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"hasFieldLabel(field)\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" [attr.colspan]=\"hasFieldLabel(field) ? null : 2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\" role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
41818
+ args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
41821
41819
  }], () => [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: i0.NgZone }], { hasPrint: [{
41822
41820
  type: Input
41823
41821
  }], hasEventSelector: [{
@@ -45396,11 +45394,11 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i5
45396
45394
 
45397
45395
  const _c0 = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
45398
45396
  const _c1 = () => ["value"];
45399
- function SearchResultComponent_ng_container_0_div_4_Template(rf, ctx) { if (rf & 1) {
45400
- i0.ɵɵelementStart(0, "div", 16)(1, "span", 17);
45397
+ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
45398
+ i0.ɵɵelementStart(0, "div", 12)(1, "span", 13);
45401
45399
  i0.ɵɵtext(2, "!");
45402
45400
  i0.ɵɵelementEnd();
45403
- i0.ɵɵelementStart(3, "strong", 18)(4, "span", 19);
45401
+ i0.ɵɵelementStart(3, "strong", 14)(4, "span", 15);
45404
45402
  i0.ɵɵtext(5);
45405
45403
  i0.ɵɵpipe(6, "rpxTranslate");
45406
45404
  i0.ɵɵelementEnd();
@@ -45416,23 +45414,68 @@ function SearchResultComponent_ng_container_0_div_4_Template(rf, ctx) { if (rf &
45416
45414
  i0.ɵɵadvance(2);
45417
45415
  i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r0.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
45418
45416
  } }
45419
- function SearchResultComponent_ng_container_0_div_24_Template(rf, ctx) { if (rf & 1) {
45420
- const _r2 = i0.ɵɵgetCurrentView();
45421
- i0.ɵɵelementStart(0, "div", 20)(1, "a", 21);
45422
- i0.ɵɵlistener("click", function SearchResultComponent_ng_container_0_div_24_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.clearSelection(); return i0.ɵɵresetView($event.preventDefault()); });
45423
- i0.ɵɵtext(2);
45424
- i0.ɵɵpipe(3, "rpxTranslate");
45417
+ function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
45418
+ i0.ɵɵelementStart(0, "div", 16);
45419
+ i0.ɵɵelement(1, "output");
45420
+ i0.ɵɵpipe(2, "rpxTranslate");
45421
+ i0.ɵɵelementStart(3, "span", 17);
45422
+ i0.ɵɵtext(4);
45423
+ i0.ɵɵpipe(5, "rpxTranslate");
45424
+ i0.ɵɵelementStart(6, "span", 18);
45425
+ i0.ɵɵtext(7);
45426
+ i0.ɵɵelementEnd();
45427
+ i0.ɵɵtext(8);
45428
+ i0.ɵɵpipe(9, "rpxTranslate");
45429
+ i0.ɵɵelementStart(10, "span", 18);
45430
+ i0.ɵɵtext(11);
45431
+ i0.ɵɵelementEnd();
45432
+ i0.ɵɵtext(12);
45433
+ i0.ɵɵpipe(13, "rpxTranslate");
45434
+ i0.ɵɵelementStart(14, "span", 18);
45435
+ i0.ɵɵtext(15);
45436
+ i0.ɵɵelementEnd();
45437
+ i0.ɵɵtext(16);
45438
+ i0.ɵɵpipe(17, "rpxTranslate");
45425
45439
  i0.ɵɵelementEnd()();
45426
45440
  } if (rf & 2) {
45427
- i0.ɵɵadvance(2);
45428
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Reset case selection"));
45441
+ const ctx_r0 = i0.ɵɵnextContext(2);
45442
+ i0.ɵɵadvance();
45443
+ i0.ɵɵattribute("aria-label", ctx_r0.getTotalResults() + " " + i0.ɵɵpipeBind1(2, 8, "results have been found"));
45444
+ i0.ɵɵadvance(3);
45445
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 10, "Showing"), " ");
45446
+ i0.ɵɵadvance(3);
45447
+ i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
45448
+ i0.ɵɵadvance();
45449
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, "to"), " ");
45450
+ i0.ɵɵadvance(3);
45451
+ i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
45452
+ i0.ɵɵadvance();
45453
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 14, "of"), " ");
45454
+ i0.ɵɵadvance(3);
45455
+ i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
45456
+ i0.ɵɵadvance();
45457
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 16, "results"));
45458
+ } }
45459
+ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
45460
+ const _r2 = i0.ɵɵgetCurrentView();
45461
+ i0.ɵɵelementStart(0, "div", 19);
45462
+ i0.ɵɵpipe(1, "rpxTranslate");
45463
+ i0.ɵɵelementStart(2, "span")(3, "a", 20);
45464
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.clearSelection(); return i0.ɵɵresetView($event.preventDefault()); });
45465
+ i0.ɵɵtext(4);
45466
+ i0.ɵɵpipe(5, "rpxTranslate");
45467
+ i0.ɵɵelementEnd()()();
45468
+ } if (rf & 2) {
45469
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 2, "Reset selection"));
45470
+ i0.ɵɵadvance(4);
45471
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
45429
45472
  } }
45430
- function SearchResultComponent_ng_container_0_td_28_Template(rf, ctx) { if (rf & 1) {
45473
+ function SearchResultComponent_table_0_td_10_Template(rf, ctx) { if (rf & 1) {
45431
45474
  const _r3 = i0.ɵɵgetCurrentView();
45432
- i0.ɵɵelementStart(0, "td", 22)(1, "div", 23)(2, "input", 24);
45433
- i0.ɵɵlistener("change", function SearchResultComponent_ng_container_0_td_28_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.selectAll()); });
45475
+ i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 23);
45476
+ i0.ɵɵlistener("change", function SearchResultComponent_table_0_td_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.selectAll()); });
45434
45477
  i0.ɵɵelementEnd();
45435
- i0.ɵɵelement(3, "label", 25);
45478
+ i0.ɵɵelement(3, "label", 24);
45436
45479
  i0.ɵɵelementEnd()();
45437
45480
  } if (rf & 2) {
45438
45481
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -45441,11 +45484,11 @@ function SearchResultComponent_ng_container_0_td_28_Template(rf, ctx) { if (rf &
45441
45484
  i0.ɵɵadvance();
45442
45485
  i0.ɵɵattribute("aria-labelledby", "select-all");
45443
45486
  } }
45444
- function SearchResultComponent_ng_container_0_th_29_div_5_Template(rf, ctx) { if (rf & 1) {
45487
+ function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
45445
45488
  const _r6 = i0.ɵɵgetCurrentView();
45446
- i0.ɵɵelementStart(0, "div", 29)(1, "a", 30);
45489
+ i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
45447
45490
  i0.ɵɵpipe(2, "rpxTranslate");
45448
- i0.ɵɵlistener("click", function SearchResultComponent_ng_container_0_th_29_div_5_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.sort(col_r5); return i0.ɵɵresetView($event.preventDefault()); })("keyup.enter", function SearchResultComponent_ng_container_0_th_29_div_5_Template_a_keyup_enter_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)); });
45491
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.sort(col_r5); return i0.ɵɵresetView($event.preventDefault()); })("keyup.enter", function SearchResultComponent_table_0_th_11_div_5_Template_a_keyup_enter_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)); });
45449
45492
  i0.ɵɵelementEnd()();
45450
45493
  } if (rf & 2) {
45451
45494
  const col_r5 = i0.ɵɵnextContext().$implicit;
@@ -45454,14 +45497,14 @@ function SearchResultComponent_ng_container_0_th_29_div_5_Template(rf, ctx) { if
45454
45497
  i0.ɵɵproperty("innerHTML", ctx_r0.sortWidget(col_r5), i0.ɵɵsanitizeHtml);
45455
45498
  i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 2, "Sort " + col_r5.label));
45456
45499
  } }
45457
- function SearchResultComponent_ng_container_0_th_29_Template(rf, ctx) { if (rf & 1) {
45500
+ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
45458
45501
  const _r4 = i0.ɵɵgetCurrentView();
45459
- i0.ɵɵelementStart(0, "th", 26)(1, "div")(2, "div", 27);
45460
- i0.ɵɵlistener("click", function SearchResultComponent_ng_container_0_th_29_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_ng_container_0_th_29_Template_div_keyup_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.noop()); });
45502
+ i0.ɵɵelementStart(0, "th", 25)(1, "div")(2, "div", 26);
45503
+ 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()); });
45461
45504
  i0.ɵɵtext(3);
45462
45505
  i0.ɵɵpipe(4, "rpxTranslate");
45463
45506
  i0.ɵɵelementEnd();
45464
- i0.ɵɵtemplate(5, SearchResultComponent_ng_container_0_th_29_div_5_Template, 3, 4, "div", 28);
45507
+ i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 3, 4, "div", 27);
45465
45508
  i0.ɵɵelementEnd()();
45466
45509
  } if (rf & 2) {
45467
45510
  const col_r5 = ctx.$implicit;
@@ -45472,17 +45515,17 @@ function SearchResultComponent_ng_container_0_th_29_Template(rf, ctx) { if (rf &
45472
45515
  i0.ɵɵadvance(2);
45473
45516
  i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
45474
45517
  } }
45475
- function SearchResultComponent_ng_container_0_th_30_Template(rf, ctx) { if (rf & 1) {
45476
- i0.ɵɵelementStart(0, "th", 31);
45518
+ function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
45519
+ i0.ɵɵelementStart(0, "th", 30);
45477
45520
  i0.ɵɵtext(1, "\u200B");
45478
45521
  i0.ɵɵelementEnd();
45479
45522
  } }
45480
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
45523
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
45481
45524
  const _r7 = i0.ɵɵgetCurrentView();
45482
- i0.ɵɵelementStart(0, "td", 35)(1, "div", 23)(2, "input", 36);
45483
- i0.ɵɵlistener("change", function SearchResultComponent_ng_container_0_ng_container_32_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)); });
45525
+ i0.ɵɵelementStart(0, "td", 34)(1, "div", 22)(2, "input", 35);
45526
+ 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)); });
45484
45527
  i0.ɵɵelementEnd();
45485
- i0.ɵɵelement(3, "label", 37);
45528
+ i0.ɵɵelement(3, "label", 36);
45486
45529
  i0.ɵɵelementEnd()();
45487
45530
  } if (rf & 2) {
45488
45531
  const result_r8 = i0.ɵɵnextContext().$implicit;
@@ -45493,24 +45536,24 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_1_Template
45493
45536
  i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r8.case_id));
45494
45537
  i0.ɵɵattribute("aria-labelledby", "select-" + result_r8.case_id);
45495
45538
  } }
45496
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
45497
- i0.ɵɵelement(0, "ccd-field-read", 45);
45539
+ 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) {
45540
+ i0.ɵɵelement(0, "ccd-field-read", 44);
45498
45541
  } if (rf & 2) {
45499
45542
  const col_r9 = i0.ɵɵnextContext(3).$implicit;
45500
45543
  const result_r8 = i0.ɵɵnextContext().$implicit;
45501
45544
  const ctx_r0 = i0.ɵɵnextContext(3);
45502
45545
  i0.ɵɵproperty("caseField", ctx_r0.getColumnsWithPrefix(result_r8.columns[col_r9.case_field_id], result_r8))("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c1));
45503
45546
  } }
45504
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
45547
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
45505
45548
  i0.ɵɵtext(0);
45506
45549
  i0.ɵɵpipe(1, "ccdCaseReference");
45507
45550
  } if (rf & 2) {
45508
45551
  const result_r8 = i0.ɵɵnextContext(4).$implicit;
45509
45552
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
45510
45553
  } }
45511
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
45512
- i0.ɵɵelementContainerStart(0, 43);
45513
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 44)(2, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
45554
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
45555
+ i0.ɵɵelementContainerStart(0, 42);
45556
+ 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", 43)(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);
45514
45557
  i0.ɵɵelementContainerEnd();
45515
45558
  } if (rf & 2) {
45516
45559
  const case_reference_r10 = i0.ɵɵreference(3);
@@ -45520,10 +45563,10 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_c
45520
45563
  i0.ɵɵadvance();
45521
45564
  i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
45522
45565
  } }
45523
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
45524
- i0.ɵɵelementStart(0, "a", 41);
45566
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
45567
+ i0.ɵɵelementStart(0, "a", 40);
45525
45568
  i0.ɵɵpipe(1, "ccdCaseReference");
45526
- i0.ɵɵtemplate(2, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 42);
45569
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 41);
45527
45570
  i0.ɵɵelementEnd();
45528
45571
  } if (rf & 2) {
45529
45572
  const result_r8 = i0.ɵɵnextContext(2).$implicit;
@@ -45533,9 +45576,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_Temp
45533
45576
  i0.ɵɵadvance(2);
45534
45577
  i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
45535
45578
  } }
45536
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
45537
- i0.ɵɵelementStart(0, "div", 43);
45538
- i0.ɵɵelement(1, "ccd-field-read", 45);
45579
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
45580
+ i0.ɵɵelementStart(0, "div", 42);
45581
+ i0.ɵɵelement(1, "ccd-field-read", 44);
45539
45582
  i0.ɵɵelementEnd();
45540
45583
  } if (rf & 2) {
45541
45584
  const col_r9 = i0.ɵɵnextContext().$implicit;
@@ -45545,9 +45588,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_div_2_Te
45545
45588
  i0.ɵɵadvance();
45546
45589
  i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
45547
45590
  } }
45548
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
45549
- i0.ɵɵelementStart(0, "td", 38);
45550
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_a_1_Template, 3, 6, "a", 39)(2, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_div_2_Template, 2, 6, "div", 40);
45591
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
45592
+ i0.ɵɵelementStart(0, "td", 37);
45593
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 38)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 39);
45551
45594
  i0.ɵɵelementEnd();
45552
45595
  } if (rf & 2) {
45553
45596
  const colIndex_r11 = ctx.index;
@@ -45556,9 +45599,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_Template
45556
45599
  i0.ɵɵadvance();
45557
45600
  i0.ɵɵproperty("ngIf", colIndex_r11 != 0);
45558
45601
  } }
45559
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
45602
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
45560
45603
  i0.ɵɵelementStart(0, "td")(1, "div");
45561
- i0.ɵɵelement(2, "ccd-activity", 46);
45604
+ i0.ɵɵelement(2, "ccd-activity", 45);
45562
45605
  i0.ɵɵelementEnd()();
45563
45606
  } if (rf & 2) {
45564
45607
  const result_r8 = i0.ɵɵnextContext().$implicit;
@@ -45568,9 +45611,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_3_Template
45568
45611
  i0.ɵɵadvance();
45569
45612
  i0.ɵɵproperty("caseId", result_r8.case_id)("displayMode", ctx_r0.ICON);
45570
45613
  } }
45571
- function SearchResultComponent_ng_container_0_ng_container_32_tr_1_Template(rf, ctx) { if (rf & 1) {
45614
+ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
45572
45615
  i0.ɵɵelementStart(0, "tr");
45573
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_1_Template, 4, 9, "td", 33)(2, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_2_Template, 3, 2, "td", 34)(3, SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_3_Template, 3, 4, "td", 1);
45616
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 9, "td", 32)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 33)(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 1);
45574
45617
  i0.ɵɵelementEnd();
45575
45618
  } if (rf & 2) {
45576
45619
  const ctx_r0 = i0.ɵɵnextContext(3);
@@ -45581,9 +45624,9 @@ function SearchResultComponent_ng_container_0_ng_container_32_tr_1_Template(rf,
45581
45624
  i0.ɵɵadvance();
45582
45625
  i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
45583
45626
  } }
45584
- function SearchResultComponent_ng_container_0_ng_container_32_Template(rf, ctx) { if (rf & 1) {
45627
+ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
45585
45628
  i0.ɵɵelementContainerStart(0);
45586
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_32_tr_1_Template, 4, 3, "tr", 32);
45629
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 31);
45587
45630
  i0.ɵɵpipe(2, "paginate");
45588
45631
  i0.ɵɵelementContainerEnd();
45589
45632
  } if (rf & 2) {
@@ -45591,12 +45634,12 @@ function SearchResultComponent_ng_container_0_ng_container_32_Template(rf, ctx)
45591
45634
  i0.ɵɵadvance();
45592
45635
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, i0.ɵɵpureFunction3(4, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
45593
45636
  } }
45594
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
45637
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
45595
45638
  const _r12 = i0.ɵɵgetCurrentView();
45596
- i0.ɵɵelementStart(0, "td", 35)(1, "div", 23)(2, "input", 47);
45597
- i0.ɵɵlistener("change", function SearchResultComponent_ng_container_0_ng_container_33_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_ng_container_0_ng_container_33_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)); });
45639
+ i0.ɵɵelementStart(0, "td", 34)(1, "div", 22)(2, "input", 46);
45640
+ 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)); });
45598
45641
  i0.ɵɵelementEnd();
45599
- i0.ɵɵelement(3, "label", 37);
45642
+ i0.ɵɵelement(3, "label", 36);
45600
45643
  i0.ɵɵelementEnd()();
45601
45644
  } if (rf & 2) {
45602
45645
  const result_r13 = i0.ɵɵnextContext().$implicit;
@@ -45607,24 +45650,24 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_1_Template
45607
45650
  i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r13.case_id));
45608
45651
  i0.ɵɵattribute("aria-labelledby", "select-" + result_r13.case_id);
45609
45652
  } }
45610
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
45611
- i0.ɵɵelement(0, "ccd-field-read", 45);
45653
+ 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) {
45654
+ i0.ɵɵelement(0, "ccd-field-read", 44);
45612
45655
  } if (rf & 2) {
45613
45656
  const col_r14 = i0.ɵɵnextContext(3).$implicit;
45614
45657
  const result_r13 = i0.ɵɵnextContext().$implicit;
45615
45658
  const ctx_r0 = i0.ɵɵnextContext(3);
45616
45659
  i0.ɵɵproperty("caseField", ctx_r0.getColumnsWithPrefix(result_r13.columns[col_r14.case_field_id], result_r13))("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c1));
45617
45660
  } }
45618
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
45661
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
45619
45662
  i0.ɵɵtext(0);
45620
45663
  i0.ɵɵpipe(1, "ccdCaseReference");
45621
45664
  } if (rf & 2) {
45622
45665
  const result_r13 = i0.ɵɵnextContext(4).$implicit;
45623
45666
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
45624
45667
  } }
45625
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
45626
- i0.ɵɵelementContainerStart(0, 43);
45627
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 44)(2, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
45668
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
45669
+ i0.ɵɵelementContainerStart(0, 42);
45670
+ 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", 43)(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);
45628
45671
  i0.ɵɵelementContainerEnd();
45629
45672
  } if (rf & 2) {
45630
45673
  const case_reference_r15 = i0.ɵɵreference(3);
@@ -45634,10 +45677,10 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_c
45634
45677
  i0.ɵɵadvance();
45635
45678
  i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
45636
45679
  } }
45637
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
45638
- i0.ɵɵelementStart(0, "a", 41);
45680
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
45681
+ i0.ɵɵelementStart(0, "a", 40);
45639
45682
  i0.ɵɵpipe(1, "ccdCaseReference");
45640
- i0.ɵɵtemplate(2, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 42);
45683
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 41);
45641
45684
  i0.ɵɵelementEnd();
45642
45685
  } if (rf & 2) {
45643
45686
  const result_r13 = i0.ɵɵnextContext(2).$implicit;
@@ -45647,9 +45690,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_Temp
45647
45690
  i0.ɵɵadvance(2);
45648
45691
  i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
45649
45692
  } }
45650
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
45651
- i0.ɵɵelementStart(0, "div", 43);
45652
- i0.ɵɵelement(1, "ccd-field-read", 45);
45693
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
45694
+ i0.ɵɵelementStart(0, "div", 42);
45695
+ i0.ɵɵelement(1, "ccd-field-read", 44);
45653
45696
  i0.ɵɵelementEnd();
45654
45697
  } if (rf & 2) {
45655
45698
  const col_r14 = i0.ɵɵnextContext().$implicit;
@@ -45659,9 +45702,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_div_2_Te
45659
45702
  i0.ɵɵadvance();
45660
45703
  i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
45661
45704
  } }
45662
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
45663
- i0.ɵɵelementStart(0, "td", 38);
45664
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_a_1_Template, 3, 6, "a", 39)(2, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_div_2_Template, 2, 6, "div", 40);
45705
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
45706
+ i0.ɵɵelementStart(0, "td", 37);
45707
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 38)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 39);
45665
45708
  i0.ɵɵelementEnd();
45666
45709
  } if (rf & 2) {
45667
45710
  const colIndex_r16 = ctx.index;
@@ -45670,9 +45713,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_Template
45670
45713
  i0.ɵɵadvance();
45671
45714
  i0.ɵɵproperty("ngIf", colIndex_r16 != 0);
45672
45715
  } }
45673
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
45716
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
45674
45717
  i0.ɵɵelementStart(0, "td")(1, "div");
45675
- i0.ɵɵelement(2, "ccd-activity", 46);
45718
+ i0.ɵɵelement(2, "ccd-activity", 45);
45676
45719
  i0.ɵɵelementEnd()();
45677
45720
  } if (rf & 2) {
45678
45721
  const result_r13 = i0.ɵɵnextContext().$implicit;
@@ -45682,9 +45725,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_3_Template
45682
45725
  i0.ɵɵadvance();
45683
45726
  i0.ɵɵproperty("caseId", result_r13.case_id)("displayMode", ctx_r0.ICON);
45684
45727
  } }
45685
- function SearchResultComponent_ng_container_0_ng_container_33_tr_1_Template(rf, ctx) { if (rf & 1) {
45728
+ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
45686
45729
  i0.ɵɵelementStart(0, "tr");
45687
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_1_Template, 4, 9, "td", 33)(2, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_2_Template, 3, 2, "td", 34)(3, SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_3_Template, 3, 4, "td", 1);
45730
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 9, "td", 32)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 33)(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 1);
45688
45731
  i0.ɵɵelementEnd();
45689
45732
  } if (rf & 2) {
45690
45733
  const ctx_r0 = i0.ɵɵnextContext(3);
@@ -45695,9 +45738,9 @@ function SearchResultComponent_ng_container_0_ng_container_33_tr_1_Template(rf,
45695
45738
  i0.ɵɵadvance();
45696
45739
  i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
45697
45740
  } }
45698
- function SearchResultComponent_ng_container_0_ng_container_33_Template(rf, ctx) { if (rf & 1) {
45741
+ function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
45699
45742
  i0.ɵɵelementContainerStart(0);
45700
- i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_33_tr_1_Template, 4, 3, "tr", 32);
45743
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 31);
45701
45744
  i0.ɵɵpipe(2, "ccdSortSearchResult");
45702
45745
  i0.ɵɵpipe(3, "paginate");
45703
45746
  i0.ɵɵelementContainerEnd();
@@ -45706,69 +45749,30 @@ function SearchResultComponent_ng_container_0_ng_container_33_Template(rf, ctx)
45706
45749
  i0.ɵɵadvance();
45707
45750
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, ctx_r0.sortParameters), i0.ɵɵpureFunction3(7, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
45708
45751
  } }
45709
- function SearchResultComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
45710
- i0.ɵɵelementContainerStart(0);
45711
- i0.ɵɵelementStart(1, "h2", 4);
45712
- i0.ɵɵtext(2);
45713
- i0.ɵɵpipe(3, "rpxTranslate");
45714
- i0.ɵɵelementEnd();
45715
- i0.ɵɵtemplate(4, SearchResultComponent_ng_container_0_div_4_Template, 11, 12, "div", 5);
45716
- i0.ɵɵelementStart(5, "div", 6)(6, "div", 7);
45717
- i0.ɵɵelement(7, "output");
45718
- i0.ɵɵpipe(8, "rpxTranslate");
45719
- i0.ɵɵelementStart(9, "span", 8);
45720
- i0.ɵɵtext(10);
45721
- i0.ɵɵpipe(11, "rpxTranslate");
45722
- i0.ɵɵelementStart(12, "span", 9);
45723
- i0.ɵɵtext(13);
45724
- i0.ɵɵelementEnd();
45725
- i0.ɵɵtext(14);
45726
- i0.ɵɵpipe(15, "rpxTranslate");
45727
- i0.ɵɵelementStart(16, "span", 9);
45728
- i0.ɵɵtext(17);
45729
- i0.ɵɵelementEnd();
45730
- i0.ɵɵtext(18);
45731
- i0.ɵɵpipe(19, "rpxTranslate");
45732
- i0.ɵɵelementStart(20, "span", 9);
45733
- i0.ɵɵtext(21);
45752
+ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
45753
+ i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 4);
45754
+ i0.ɵɵtext(3);
45755
+ i0.ɵɵpipe(4, "rpxTranslate");
45734
45756
  i0.ɵɵelementEnd();
45735
- i0.ɵɵtext(22);
45736
- i0.ɵɵpipe(23, "rpxTranslate");
45737
- i0.ɵɵelementEnd()();
45738
- i0.ɵɵtemplate(24, SearchResultComponent_ng_container_0_div_24_Template, 4, 3, "div", 10);
45757
+ 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);
45739
45758
  i0.ɵɵelementEnd();
45740
- i0.ɵɵelementStart(25, "table", 11)(26, "thead")(27, "tr", 12);
45741
- i0.ɵɵtemplate(28, SearchResultComponent_ng_container_0_td_28_Template, 4, 3, "td", 13)(29, SearchResultComponent_ng_container_0_th_29_Template, 6, 5, "th", 14)(30, SearchResultComponent_ng_container_0_th_30_Template, 2, 0, "th", 15);
45759
+ i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
45760
+ i0.ɵɵtemplate(10, SearchResultComponent_table_0_td_10_Template, 4, 3, "td", 9)(11, SearchResultComponent_table_0_th_11_Template, 6, 5, "th", 10)(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 11);
45742
45761
  i0.ɵɵelementEnd()();
45743
- i0.ɵɵelementStart(31, "tbody");
45744
- i0.ɵɵtemplate(32, SearchResultComponent_ng_container_0_ng_container_32_Template, 3, 8, "ng-container", 1)(33, SearchResultComponent_ng_container_0_ng_container_33_Template, 4, 11, "ng-container", 1);
45762
+ i0.ɵɵelementStart(13, "tbody");
45763
+ 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);
45745
45764
  i0.ɵɵelementEnd()();
45746
- i0.ɵɵelementContainerEnd();
45747
45765
  } if (rf & 2) {
45748
45766
  const ctx_r0 = i0.ɵɵnextContext();
45749
- i0.ɵɵadvance(2);
45750
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 16, ctx_r0.caseState ? "Your cases" : "Search result"));
45767
+ i0.ɵɵadvance(3);
45768
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.caseState ? "Your cases" : "Search result"));
45751
45769
  i0.ɵɵadvance(2);
45752
45770
  i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
45753
- i0.ɵɵadvance(3);
45754
- i0.ɵɵattribute("aria-label", ctx_r0.getTotalResults() + " " + i0.ɵɵpipeBind1(8, 18, "results have been found"));
45755
- i0.ɵɵadvance(3);
45756
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(11, 20, "Showing"), " ");
45757
- i0.ɵɵadvance(3);
45758
- i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
45759
45771
  i0.ɵɵadvance();
45760
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 22, "to"), " ");
45761
- i0.ɵɵadvance(3);
45762
- i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
45772
+ i0.ɵɵproperty("ngIf", ctx_r0.hasResults() || ctx_r0.hasDrafts());
45763
45773
  i0.ɵɵadvance();
45764
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 24, "of"), " ");
45774
+ i0.ɵɵproperty("ngIf", (ctx_r0.hasResults() || ctx_r0.hasDrafts()) && ctx_r0.selectionEnabled);
45765
45775
  i0.ɵɵadvance(3);
45766
- i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
45767
- i0.ɵɵadvance();
45768
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 26, "results"));
45769
- i0.ɵɵadvance(2);
45770
- i0.ɵɵproperty("ngIf", ctx_r0.selectionEnabled);
45771
- i0.ɵɵadvance(4);
45772
45776
  i0.ɵɵproperty("ngIf", ctx_r0.selectionEnabled);
45773
45777
  i0.ɵɵadvance();
45774
45778
  i0.ɵɵproperty("ngForOf", ctx_r0.resultView.columns);
@@ -45781,7 +45785,7 @@ function SearchResultComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
45781
45785
  } }
45782
45786
  function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
45783
45787
  const _r17 = i0.ɵɵgetCurrentView();
45784
- i0.ɵɵelementStart(0, "ccd-pagination", 48);
45788
+ i0.ɵɵelementStart(0, "ccd-pagination", 47);
45785
45789
  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)); });
45786
45790
  i0.ɵɵelementEnd();
45787
45791
  } if (rf & 2) {
@@ -45789,7 +45793,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
45789
45793
  i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
45790
45794
  } }
45791
45795
  function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
45792
- i0.ɵɵelementStart(0, "div", 49);
45796
+ i0.ɵɵelementStart(0, "div", 48);
45793
45797
  i0.ɵɵtext(1);
45794
45798
  i0.ɵɵpipe(2, "rpxTranslate");
45795
45799
  i0.ɵɵelementEnd();
@@ -46141,19 +46145,19 @@ class SearchResultComponent {
46141
46145
  // eslint-disable-next-line @typescript-eslint/no-empty-function
46142
46146
  noop() { }
46143
46147
  static ɵfac = function SearchResultComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
46144
- 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" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "role", "status", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], [1, "search-result-summary"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["class", "reset-selection", 4, "ngIf"], ["aria-labelledby", "search-result-heading__text"], ["scope", "row"], ["class", "govuk-table__checkbox", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "reset-selection"], ["href", "#", 1, "search-result-reset-link", 3, "click"], [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"], ["scope", "col", 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", "#", 1, "sort-widget", 3, "click", "keyup.enter", "innerHTML"], ["scope", "col", 2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__checkbox"], ["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"], ["role", "status", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
46145
- i0.ɵɵtemplate(0, SearchResultComponent_ng_container_0_Template, 34, 28, "ng-container", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 3, 3, "div", 3);
46148
+ 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" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "role", "status", 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", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "#", 1, "search-result-reset-link", 3, "click"], [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"], ["scope", "col", 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", "#", 1, "sort-widget", 3, "click", "keyup.enter", "innerHTML"], ["scope", "col", 2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__checkbox"], ["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"], ["role", "status", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
46149
+ 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, 3, 3, "div", 3);
46146
46150
  } if (rf & 2) {
46147
46151
  i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
46148
46152
  i0.ɵɵadvance();
46149
46153
  i0.ɵɵproperty("ngIf", ctx.hasResults());
46150
46154
  i0.ɵɵadvance();
46151
46155
  i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
46152
- } }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-summary[_ngcontent-%COMP%]{display:flow-root}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
46156
+ } }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
46153
46157
  }
46154
46158
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
46155
46159
  type: Component,
46156
- args: [{ selector: 'ccd-search-result', standalone: false, template: "<ng-container *ngIf=\"hasResults() || hasDrafts()\">\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-visually-hidden\">{{'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 class=\"search-result-summary\">\n <div 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=\"selectionEnabled\" class=\"reset-selection\">\n <a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a>\n </div>\n</div>\n\n<table aria-labelledby=\"search-result-heading__text\">\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\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\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\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')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">&ZeroWidthSpace;</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 }}\" [attr.aria-labelledby]=\"'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 }}\" [attr.aria-labelledby]=\"'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</ng-container>\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\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}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-summary{display:flow-root}.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"] }]
46160
+ args: [{ selector: 'ccd-search-result', standalone: false, 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-visually-hidden\">{{'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=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\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\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\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')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">&ZeroWidthSpace;</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 }}\" [attr.aria-labelledby]=\"'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 }}\" [attr.aria-labelledby]=\"'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\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}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"] }]
46157
46161
  }], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
46158
46162
  type: Input
46159
46163
  }], jurisdiction: [{