@hmcts/ccd-case-ui-toolkit 7.4.7 → 7.4.8-v1
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:
|
|
35114
|
-
i0.ɵɵelementStart(0, "
|
|
35115
|
-
i0.ɵɵtext(
|
|
35116
|
-
i0.ɵɵpipe(
|
|
35117
|
-
i0.ɵɵelementEnd()
|
|
35118
|
-
i0.ɵɵelementStart(
|
|
35119
|
-
i0.ɵɵtext(
|
|
35120
|
-
i0.ɵɵpipe(
|
|
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");
|
|
35121
35121
|
i0.ɵɵelementEnd()();
|
|
35122
|
-
i0.ɵɵelementStart(
|
|
35123
|
-
i0.ɵɵtext(
|
|
35124
|
-
i0.ɵɵpipe(
|
|
35122
|
+
i0.ɵɵelementStart(9, "dd", 5)(10, "div", 6);
|
|
35123
|
+
i0.ɵɵtext(11);
|
|
35124
|
+
i0.ɵɵpipe(12, "ccdDate");
|
|
35125
35125
|
i0.ɵɵelementEnd()()();
|
|
35126
|
-
i0.ɵɵelementStart(
|
|
35127
|
-
i0.ɵɵtext(
|
|
35128
|
-
i0.ɵɵpipe(
|
|
35126
|
+
i0.ɵɵelementStart(13, "div", 2)(14, "dt", 3)(15, "span", 4);
|
|
35127
|
+
i0.ɵɵtext(16);
|
|
35128
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
35129
35129
|
i0.ɵɵelementEnd()();
|
|
35130
|
-
i0.ɵɵelementStart(
|
|
35131
|
-
i0.ɵɵtext(
|
|
35132
|
-
i0.ɵɵpipe(
|
|
35133
|
-
i0.ɵɵpipe(
|
|
35130
|
+
i0.ɵɵelementStart(18, "dd", 5)(19, "span", 4);
|
|
35131
|
+
i0.ɵɵtext(20);
|
|
35132
|
+
i0.ɵɵpipe(21, "titlecase");
|
|
35133
|
+
i0.ɵɵpipe(22, "uppercase");
|
|
35134
35134
|
i0.ɵɵelementEnd()()();
|
|
35135
|
-
i0.ɵɵelementStart(
|
|
35136
|
-
i0.ɵɵtext(
|
|
35137
|
-
i0.ɵɵpipe(
|
|
35135
|
+
i0.ɵɵelementStart(23, "div", 2)(24, "dt", 3)(25, "span", 4);
|
|
35136
|
+
i0.ɵɵtext(26);
|
|
35137
|
+
i0.ɵɵpipe(27, "rpxTranslate");
|
|
35138
35138
|
i0.ɵɵelementEnd()();
|
|
35139
|
-
i0.ɵɵelementStart(
|
|
35140
|
-
i0.ɵɵtext(
|
|
35139
|
+
i0.ɵɵelementStart(28, "dd", 5)(29, "span", 4);
|
|
35140
|
+
i0.ɵɵtext(30);
|
|
35141
35141
|
i0.ɵɵelementEnd()()();
|
|
35142
|
-
i0.ɵɵelementStart(
|
|
35143
|
-
i0.ɵɵtext(
|
|
35144
|
-
i0.ɵɵpipe(
|
|
35142
|
+
i0.ɵɵelementStart(31, "div", 2)(32, "dt", 3)(33, "span", 4);
|
|
35143
|
+
i0.ɵɵtext(34);
|
|
35144
|
+
i0.ɵɵpipe(35, "rpxTranslate");
|
|
35145
35145
|
i0.ɵɵelementEnd()();
|
|
35146
|
-
i0.ɵɵelementStart(
|
|
35147
|
-
i0.ɵɵtext(
|
|
35146
|
+
i0.ɵɵelementStart(36, "dd", 5)(37, "span", 4);
|
|
35147
|
+
i0.ɵɵtext(38);
|
|
35148
35148
|
i0.ɵɵelementEnd()()();
|
|
35149
|
-
i0.ɵɵelementStart(
|
|
35150
|
-
i0.ɵɵtext(
|
|
35151
|
-
i0.ɵɵpipe(
|
|
35149
|
+
i0.ɵɵelementStart(39, "div", 2)(40, "dt", 3)(41, "span", 4);
|
|
35150
|
+
i0.ɵɵtext(42);
|
|
35151
|
+
i0.ɵɵpipe(43, "rpxTranslate");
|
|
35152
35152
|
i0.ɵɵelementEnd()();
|
|
35153
|
-
i0.ɵɵelementStart(
|
|
35154
|
-
i0.ɵɵtext(
|
|
35155
|
-
i0.ɵɵpipe(
|
|
35153
|
+
i0.ɵɵelementStart(44, "dd", 5)(45, "span", 4);
|
|
35154
|
+
i0.ɵɵtext(46);
|
|
35155
|
+
i0.ɵɵpipe(47, "ccdDash");
|
|
35156
35156
|
i0.ɵɵelementEnd()()();
|
|
35157
|
-
i0.ɵɵelementStart(
|
|
35158
|
-
i0.ɵɵtext(
|
|
35159
|
-
i0.ɵɵpipe(
|
|
35157
|
+
i0.ɵɵelementStart(48, "div", 2)(49, "dt", 3)(50, "span", 4);
|
|
35158
|
+
i0.ɵɵtext(51);
|
|
35159
|
+
i0.ɵɵpipe(52, "rpxTranslate");
|
|
35160
35160
|
i0.ɵɵelementEnd()();
|
|
35161
|
-
i0.ɵɵelementStart(
|
|
35162
|
-
i0.ɵɵtext(
|
|
35163
|
-
i0.ɵɵpipe(
|
|
35164
|
-
i0.ɵɵelementEnd()()()()
|
|
35161
|
+
i0.ɵɵelementStart(53, "dd", 5)(54, "span", 4);
|
|
35162
|
+
i0.ɵɵtext(55);
|
|
35163
|
+
i0.ɵɵpipe(56, "ccdDash");
|
|
35164
|
+
i0.ɵɵelementEnd()()()();
|
|
35165
35165
|
} if (rf & 2) {
|
|
35166
|
-
i0.ɵɵadvance(
|
|
35167
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35166
|
+
i0.ɵɵadvance();
|
|
35167
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 14, "Details"));
|
|
35168
35168
|
i0.ɵɵadvance(6);
|
|
35169
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35169
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 16, "Date"));
|
|
35170
35170
|
i0.ɵɵadvance(4);
|
|
35171
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(
|
|
35171
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(12, 18, ctx.event.timestamp, "local"), " ");
|
|
35172
35172
|
i0.ɵɵadvance(5);
|
|
35173
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35173
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Author"));
|
|
35174
35174
|
i0.ɵɵadvance(4);
|
|
35175
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(
|
|
35175
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(21, 23, ctx.event.user_first_name), " ", i0.ɵɵpipeBind1(22, 25, ctx.event.user_last_name));
|
|
35176
35176
|
i0.ɵɵadvance(6);
|
|
35177
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35177
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 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(
|
|
35181
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 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(
|
|
35185
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(43, 31, "Summary"));
|
|
35186
35186
|
i0.ɵɵadvance(4);
|
|
35187
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35187
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(47, 33, ctx.event.summary));
|
|
35188
35188
|
i0.ɵɵadvance(5);
|
|
35189
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35189
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(52, 35, "Comment"));
|
|
35190
35190
|
i0.ɵɵadvance(4);
|
|
35191
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35192
|
-
} }, dependencies: [i5.UpperCasePipe, i5.TitleCasePipe, DatePipe, DashPipe, i1.RpxTranslatePipe], styles: [".EventLogDetails[_ngcontent-%COMP%]
|
|
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}"] });
|
|
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: "<
|
|
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"] }]
|
|
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",
|
|
41191
|
+
i0.ɵɵelementStart(0, "th", 39)(1, "div", 40);
|
|
41192
41192
|
i0.ɵɵtext(2);
|
|
41193
41193
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41194
41194
|
i0.ɵɵelementEnd()();
|
|
@@ -41199,52 +41199,51 @@ 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");
|
|
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",
|
|
41204
|
-
i0.ɵɵelementStart(2, "td",
|
|
41205
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
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);
|
|
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);
|
|
41210
41211
|
i0.ɵɵadvance();
|
|
41211
|
-
i0.ɵɵproperty("ngIf",
|
|
41212
|
+
i0.ɵɵproperty("ngIf", ctx_r1.hasFieldLabel(field_r7));
|
|
41212
41213
|
i0.ɵɵadvance();
|
|
41213
41214
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
41215
|
+
i0.ɵɵattribute("colspan", ctx_r1.hasFieldLabel(field_r7) ? null : 2);
|
|
41214
41216
|
i0.ɵɵadvance(2);
|
|
41215
41217
|
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);
|
|
41216
41218
|
} }
|
|
41217
41219
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
41218
|
-
i0.ɵɵelementStart(0, "tr",
|
|
41220
|
+
i0.ɵɵelementStart(0, "tr", 41)(1, "td", 42);
|
|
41219
41221
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41220
|
-
i0.ɵɵelementStart(3, "span",
|
|
41221
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41222
|
+
i0.ɵɵelementStart(3, "span", 37);
|
|
41223
|
+
i0.ɵɵelement(4, "ccd-field-read", 38);
|
|
41222
41224
|
i0.ɵɵelementEnd()()();
|
|
41223
41225
|
} if (rf & 2) {
|
|
41224
41226
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
41225
41227
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41228
|
+
i0.ɵɵproperty("hidden", field_r7.hidden);
|
|
41226
41229
|
i0.ɵɵadvance();
|
|
41227
41230
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
41228
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2,
|
|
41231
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 7, field_r7.label || field_r7.id));
|
|
41229
41232
|
i0.ɵɵadvance(3);
|
|
41230
41233
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41231
41234
|
} }
|
|
41232
41235
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
41233
|
-
i0.ɵɵelementContainerStart(0);
|
|
41234
|
-
i0.ɵɵelementStart(1, "div", 30);
|
|
41235
|
-
i0.ɵɵelementContainerStart(2, 31);
|
|
41236
|
+
i0.ɵɵelementContainerStart(0)(1, 30)(2, 31);
|
|
41236
41237
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
41237
|
-
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5,
|
|
41238
|
-
i0.ɵɵelementContainerEnd();
|
|
41239
|
-
i0.ɵɵelementEnd();
|
|
41240
|
-
i0.ɵɵelementContainerEnd();
|
|
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()()();
|
|
41241
41240
|
} if (rf & 2) {
|
|
41242
41241
|
const field_r7 = ctx.$implicit;
|
|
41243
41242
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41244
41243
|
i0.ɵɵadvance();
|
|
41245
|
-
i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields)
|
|
41244
|
+
i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields);
|
|
41246
41245
|
i0.ɵɵadvance();
|
|
41247
|
-
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3,
|
|
41246
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 5, field_r7));
|
|
41248
41247
|
i0.ɵɵadvance(2);
|
|
41249
41248
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
41250
41249
|
i0.ɵɵadvance();
|
|
@@ -41254,7 +41253,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Tem
|
|
|
41254
41253
|
i0.ɵɵelementStart(0, "table");
|
|
41255
41254
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41256
41255
|
i0.ɵɵelementStart(2, "tbody");
|
|
41257
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6,
|
|
41256
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 7, "ng-container", 19);
|
|
41258
41257
|
i0.ɵɵpipe(4, "ccdTabFields");
|
|
41259
41258
|
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
41260
41259
|
i0.ɵɵelementEnd()();
|
|
@@ -41726,6 +41725,9 @@ class CaseFullAccessViewComponent {
|
|
|
41726
41725
|
return caseField.field_type.type === 'ComponentLauncher'
|
|
41727
41726
|
&& caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
|
|
41728
41727
|
}
|
|
41728
|
+
hasFieldLabel(caseField) {
|
|
41729
|
+
return !this.isFieldToHaveNoLabel(caseField) && !!caseField.label;
|
|
41730
|
+
}
|
|
41729
41731
|
init() {
|
|
41730
41732
|
// Clone and sort tabs array
|
|
41731
41733
|
this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
|
|
@@ -41777,7 +41779,7 @@ class CaseFullAccessViewComponent {
|
|
|
41777
41779
|
} if (rf & 2) {
|
|
41778
41780
|
let _t;
|
|
41779
41781
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
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", "
|
|
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) {
|
|
41781
41783
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
41782
41784
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
41783
41785
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -41815,7 +41817,7 @@ class CaseFullAccessViewComponent {
|
|
|
41815
41817
|
}
|
|
41816
41818
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
41817
41819
|
type: Component,
|
|
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 <
|
|
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"] }]
|
|
41819
41821
|
}], () => [{ 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: [{
|
|
41820
41822
|
type: Input
|
|
41821
41823
|
}], hasEventSelector: [{
|
|
@@ -45394,11 +45396,11 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i5
|
|
|
45394
45396
|
|
|
45395
45397
|
const _c0 = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
45396
45398
|
const _c1 = () => ["value"];
|
|
45397
|
-
function
|
|
45398
|
-
i0.ɵɵelementStart(0, "div",
|
|
45399
|
+
function SearchResultComponent_ng_container_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
45400
|
+
i0.ɵɵelementStart(0, "div", 16)(1, "span", 17);
|
|
45399
45401
|
i0.ɵɵtext(2, "!");
|
|
45400
45402
|
i0.ɵɵelementEnd();
|
|
45401
|
-
i0.ɵɵelementStart(3, "strong",
|
|
45403
|
+
i0.ɵɵelementStart(3, "strong", 18)(4, "span", 19);
|
|
45402
45404
|
i0.ɵɵtext(5);
|
|
45403
45405
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
45404
45406
|
i0.ɵɵelementEnd();
|
|
@@ -45414,68 +45416,23 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
45414
45416
|
i0.ɵɵadvance(2);
|
|
45415
45417
|
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."), " ");
|
|
45416
45418
|
} }
|
|
45417
|
-
function
|
|
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");
|
|
45439
|
-
i0.ɵɵelementEnd()();
|
|
45440
|
-
} if (rf & 2) {
|
|
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) {
|
|
45419
|
+
function SearchResultComponent_ng_container_0_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
45460
45420
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
45461
|
-
i0.ɵɵelementStart(0, "div",
|
|
45462
|
-
i0.ɵɵ
|
|
45463
|
-
i0.ɵɵ
|
|
45464
|
-
i0.ɵɵ
|
|
45465
|
-
i0.ɵɵ
|
|
45466
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
45467
|
-
i0.ɵɵelementEnd()()();
|
|
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");
|
|
45425
|
+
i0.ɵɵelementEnd()();
|
|
45468
45426
|
} if (rf & 2) {
|
|
45469
|
-
i0.ɵɵ
|
|
45470
|
-
i0.ɵɵ
|
|
45471
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
|
|
45427
|
+
i0.ɵɵadvance(2);
|
|
45428
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Reset case selection"));
|
|
45472
45429
|
} }
|
|
45473
|
-
function
|
|
45430
|
+
function SearchResultComponent_ng_container_0_td_28_Template(rf, ctx) { if (rf & 1) {
|
|
45474
45431
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
45475
|
-
i0.ɵɵelementStart(0, "td",
|
|
45476
|
-
i0.ɵɵlistener("change", function
|
|
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()); });
|
|
45477
45434
|
i0.ɵɵelementEnd();
|
|
45478
|
-
i0.ɵɵelement(3, "label",
|
|
45435
|
+
i0.ɵɵelement(3, "label", 25);
|
|
45479
45436
|
i0.ɵɵelementEnd()();
|
|
45480
45437
|
} if (rf & 2) {
|
|
45481
45438
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -45484,11 +45441,11 @@ function SearchResultComponent_table_0_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
45484
45441
|
i0.ɵɵadvance();
|
|
45485
45442
|
i0.ɵɵattribute("aria-labelledby", "select-all");
|
|
45486
45443
|
} }
|
|
45487
|
-
function
|
|
45444
|
+
function SearchResultComponent_ng_container_0_th_29_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
45488
45445
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
45489
|
-
i0.ɵɵelementStart(0, "div",
|
|
45446
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "a", 30);
|
|
45490
45447
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45491
|
-
i0.ɵɵlistener("click", function
|
|
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)); });
|
|
45492
45449
|
i0.ɵɵelementEnd()();
|
|
45493
45450
|
} if (rf & 2) {
|
|
45494
45451
|
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45497,14 +45454,14 @@ function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf &
|
|
|
45497
45454
|
i0.ɵɵproperty("innerHTML", ctx_r0.sortWidget(col_r5), i0.ɵɵsanitizeHtml);
|
|
45498
45455
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 2, "Sort " + col_r5.label));
|
|
45499
45456
|
} }
|
|
45500
|
-
function
|
|
45457
|
+
function SearchResultComponent_ng_container_0_th_29_Template(rf, ctx) { if (rf & 1) {
|
|
45501
45458
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
45502
|
-
i0.ɵɵelementStart(0, "th",
|
|
45503
|
-
i0.ɵɵlistener("click", function
|
|
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()); });
|
|
45504
45461
|
i0.ɵɵtext(3);
|
|
45505
45462
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
45506
45463
|
i0.ɵɵelementEnd();
|
|
45507
|
-
i0.ɵɵtemplate(5,
|
|
45464
|
+
i0.ɵɵtemplate(5, SearchResultComponent_ng_container_0_th_29_div_5_Template, 3, 4, "div", 28);
|
|
45508
45465
|
i0.ɵɵelementEnd()();
|
|
45509
45466
|
} if (rf & 2) {
|
|
45510
45467
|
const col_r5 = ctx.$implicit;
|
|
@@ -45515,17 +45472,17 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
45515
45472
|
i0.ɵɵadvance(2);
|
|
45516
45473
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
45517
45474
|
} }
|
|
45518
|
-
function
|
|
45519
|
-
i0.ɵɵelementStart(0, "th",
|
|
45475
|
+
function SearchResultComponent_ng_container_0_th_30_Template(rf, ctx) { if (rf & 1) {
|
|
45476
|
+
i0.ɵɵelementStart(0, "th", 31);
|
|
45520
45477
|
i0.ɵɵtext(1, "\u200B");
|
|
45521
45478
|
i0.ɵɵelementEnd();
|
|
45522
45479
|
} }
|
|
45523
|
-
function
|
|
45480
|
+
function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
45524
45481
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
45525
|
-
i0.ɵɵelementStart(0, "td",
|
|
45526
|
-
i0.ɵɵlistener("change", function
|
|
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)); });
|
|
45527
45484
|
i0.ɵɵelementEnd();
|
|
45528
|
-
i0.ɵɵelement(3, "label",
|
|
45485
|
+
i0.ɵɵelement(3, "label", 37);
|
|
45529
45486
|
i0.ɵɵelementEnd()();
|
|
45530
45487
|
} if (rf & 2) {
|
|
45531
45488
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45536,24 +45493,24 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
45536
45493
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r8.case_id));
|
|
45537
45494
|
i0.ɵɵattribute("aria-labelledby", "select-" + result_r8.case_id);
|
|
45538
45495
|
} }
|
|
45539
|
-
function
|
|
45540
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
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);
|
|
45541
45498
|
} if (rf & 2) {
|
|
45542
45499
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
45543
45500
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
45544
45501
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45545
45502
|
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));
|
|
45546
45503
|
} }
|
|
45547
|
-
function
|
|
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) {
|
|
45548
45505
|
i0.ɵɵtext(0);
|
|
45549
45506
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45550
45507
|
} if (rf & 2) {
|
|
45551
45508
|
const result_r8 = i0.ɵɵnextContext(4).$implicit;
|
|
45552
45509
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
45553
45510
|
} }
|
|
45554
|
-
function
|
|
45555
|
-
i0.ɵɵelementContainerStart(0,
|
|
45556
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
45557
45514
|
i0.ɵɵelementContainerEnd();
|
|
45558
45515
|
} if (rf & 2) {
|
|
45559
45516
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -45563,10 +45520,10 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
45563
45520
|
i0.ɵɵadvance();
|
|
45564
45521
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
45565
45522
|
} }
|
|
45566
|
-
function
|
|
45567
|
-
i0.ɵɵelementStart(0, "a",
|
|
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);
|
|
45568
45525
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45569
|
-
i0.ɵɵtemplate(2,
|
|
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);
|
|
45570
45527
|
i0.ɵɵelementEnd();
|
|
45571
45528
|
} if (rf & 2) {
|
|
45572
45529
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -45576,9 +45533,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
45576
45533
|
i0.ɵɵadvance(2);
|
|
45577
45534
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
45578
45535
|
} }
|
|
45579
|
-
function
|
|
45580
|
-
i0.ɵɵelementStart(0, "div",
|
|
45581
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
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);
|
|
45582
45539
|
i0.ɵɵelementEnd();
|
|
45583
45540
|
} if (rf & 2) {
|
|
45584
45541
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45588,9 +45545,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
45588
45545
|
i0.ɵɵadvance();
|
|
45589
45546
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
45590
45547
|
} }
|
|
45591
|
-
function
|
|
45592
|
-
i0.ɵɵelementStart(0, "td",
|
|
45593
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
45594
45551
|
i0.ɵɵelementEnd();
|
|
45595
45552
|
} if (rf & 2) {
|
|
45596
45553
|
const colIndex_r11 = ctx.index;
|
|
@@ -45599,9 +45556,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
45599
45556
|
i0.ɵɵadvance();
|
|
45600
45557
|
i0.ɵɵproperty("ngIf", colIndex_r11 != 0);
|
|
45601
45558
|
} }
|
|
45602
|
-
function
|
|
45559
|
+
function SearchResultComponent_ng_container_0_ng_container_32_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
45603
45560
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
45604
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
45561
|
+
i0.ɵɵelement(2, "ccd-activity", 46);
|
|
45605
45562
|
i0.ɵɵelementEnd()();
|
|
45606
45563
|
} if (rf & 2) {
|
|
45607
45564
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45611,9 +45568,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
45611
45568
|
i0.ɵɵadvance();
|
|
45612
45569
|
i0.ɵɵproperty("caseId", result_r8.case_id)("displayMode", ctx_r0.ICON);
|
|
45613
45570
|
} }
|
|
45614
|
-
function
|
|
45571
|
+
function SearchResultComponent_ng_container_0_ng_container_32_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
45615
45572
|
i0.ɵɵelementStart(0, "tr");
|
|
45616
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
45617
45574
|
i0.ɵɵelementEnd();
|
|
45618
45575
|
} if (rf & 2) {
|
|
45619
45576
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -45624,9 +45581,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
|
|
|
45624
45581
|
i0.ɵɵadvance();
|
|
45625
45582
|
i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
|
|
45626
45583
|
} }
|
|
45627
|
-
function
|
|
45584
|
+
function SearchResultComponent_ng_container_0_ng_container_32_Template(rf, ctx) { if (rf & 1) {
|
|
45628
45585
|
i0.ɵɵelementContainerStart(0);
|
|
45629
|
-
i0.ɵɵtemplate(1,
|
|
45586
|
+
i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_32_tr_1_Template, 4, 3, "tr", 32);
|
|
45630
45587
|
i0.ɵɵpipe(2, "paginate");
|
|
45631
45588
|
i0.ɵɵelementContainerEnd();
|
|
45632
45589
|
} if (rf & 2) {
|
|
@@ -45634,12 +45591,12 @@ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
45634
45591
|
i0.ɵɵadvance();
|
|
45635
45592
|
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)));
|
|
45636
45593
|
} }
|
|
45637
|
-
function
|
|
45594
|
+
function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
45638
45595
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
45639
|
-
i0.ɵɵelementStart(0, "td",
|
|
45640
|
-
i0.ɵɵlistener("change", function
|
|
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)); });
|
|
45641
45598
|
i0.ɵɵelementEnd();
|
|
45642
|
-
i0.ɵɵelement(3, "label",
|
|
45599
|
+
i0.ɵɵelement(3, "label", 37);
|
|
45643
45600
|
i0.ɵɵelementEnd()();
|
|
45644
45601
|
} if (rf & 2) {
|
|
45645
45602
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45650,24 +45607,24 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ct
|
|
|
45650
45607
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r13.case_id));
|
|
45651
45608
|
i0.ɵɵattribute("aria-labelledby", "select-" + result_r13.case_id);
|
|
45652
45609
|
} }
|
|
45653
|
-
function
|
|
45654
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
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);
|
|
45655
45612
|
} if (rf & 2) {
|
|
45656
45613
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
45657
45614
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
45658
45615
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45659
45616
|
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));
|
|
45660
45617
|
} }
|
|
45661
|
-
function
|
|
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) {
|
|
45662
45619
|
i0.ɵɵtext(0);
|
|
45663
45620
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45664
45621
|
} if (rf & 2) {
|
|
45665
45622
|
const result_r13 = i0.ɵɵnextContext(4).$implicit;
|
|
45666
45623
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
45667
45624
|
} }
|
|
45668
|
-
function
|
|
45669
|
-
i0.ɵɵelementContainerStart(0,
|
|
45670
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
45671
45628
|
i0.ɵɵelementContainerEnd();
|
|
45672
45629
|
} if (rf & 2) {
|
|
45673
45630
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -45677,10 +45634,10 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
45677
45634
|
i0.ɵɵadvance();
|
|
45678
45635
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
45679
45636
|
} }
|
|
45680
|
-
function
|
|
45681
|
-
i0.ɵɵelementStart(0, "a",
|
|
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);
|
|
45682
45639
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45683
|
-
i0.ɵɵtemplate(2,
|
|
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);
|
|
45684
45641
|
i0.ɵɵelementEnd();
|
|
45685
45642
|
} if (rf & 2) {
|
|
45686
45643
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -45690,9 +45647,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf
|
|
|
45690
45647
|
i0.ɵɵadvance(2);
|
|
45691
45648
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
45692
45649
|
} }
|
|
45693
|
-
function
|
|
45694
|
-
i0.ɵɵelementStart(0, "div",
|
|
45695
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
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);
|
|
45696
45653
|
i0.ɵɵelementEnd();
|
|
45697
45654
|
} if (rf & 2) {
|
|
45698
45655
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45702,9 +45659,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(
|
|
|
45702
45659
|
i0.ɵɵadvance();
|
|
45703
45660
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
45704
45661
|
} }
|
|
45705
|
-
function
|
|
45706
|
-
i0.ɵɵelementStart(0, "td",
|
|
45707
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
45708
45665
|
i0.ɵɵelementEnd();
|
|
45709
45666
|
} if (rf & 2) {
|
|
45710
45667
|
const colIndex_r16 = ctx.index;
|
|
@@ -45713,9 +45670,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ct
|
|
|
45713
45670
|
i0.ɵɵadvance();
|
|
45714
45671
|
i0.ɵɵproperty("ngIf", colIndex_r16 != 0);
|
|
45715
45672
|
} }
|
|
45716
|
-
function
|
|
45673
|
+
function SearchResultComponent_ng_container_0_ng_container_33_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
45717
45674
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
45718
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
45675
|
+
i0.ɵɵelement(2, "ccd-activity", 46);
|
|
45719
45676
|
i0.ɵɵelementEnd()();
|
|
45720
45677
|
} if (rf & 2) {
|
|
45721
45678
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45725,9 +45682,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ct
|
|
|
45725
45682
|
i0.ɵɵadvance();
|
|
45726
45683
|
i0.ɵɵproperty("caseId", result_r13.case_id)("displayMode", ctx_r0.ICON);
|
|
45727
45684
|
} }
|
|
45728
|
-
function
|
|
45685
|
+
function SearchResultComponent_ng_container_0_ng_container_33_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
45729
45686
|
i0.ɵɵelementStart(0, "tr");
|
|
45730
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
45731
45688
|
i0.ɵɵelementEnd();
|
|
45732
45689
|
} if (rf & 2) {
|
|
45733
45690
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -45738,9 +45695,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
|
|
|
45738
45695
|
i0.ɵɵadvance();
|
|
45739
45696
|
i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
|
|
45740
45697
|
} }
|
|
45741
|
-
function
|
|
45698
|
+
function SearchResultComponent_ng_container_0_ng_container_33_Template(rf, ctx) { if (rf & 1) {
|
|
45742
45699
|
i0.ɵɵelementContainerStart(0);
|
|
45743
|
-
i0.ɵɵtemplate(1,
|
|
45700
|
+
i0.ɵɵtemplate(1, SearchResultComponent_ng_container_0_ng_container_33_tr_1_Template, 4, 3, "tr", 32);
|
|
45744
45701
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
45745
45702
|
i0.ɵɵpipe(3, "paginate");
|
|
45746
45703
|
i0.ɵɵelementContainerEnd();
|
|
@@ -45749,30 +45706,69 @@ function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (r
|
|
|
45749
45706
|
i0.ɵɵadvance();
|
|
45750
45707
|
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)));
|
|
45751
45708
|
} }
|
|
45752
|
-
function
|
|
45753
|
-
i0.ɵɵ
|
|
45754
|
-
i0.ɵɵ
|
|
45755
|
-
i0.ɵɵ
|
|
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);
|
|
45756
45734
|
i0.ɵɵelementEnd();
|
|
45757
|
-
i0.ɵɵ
|
|
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);
|
|
45758
45739
|
i0.ɵɵelementEnd();
|
|
45759
|
-
i0.ɵɵelementStart(
|
|
45760
|
-
i0.ɵɵtemplate(
|
|
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);
|
|
45761
45742
|
i0.ɵɵelementEnd()();
|
|
45762
|
-
i0.ɵɵelementStart(
|
|
45763
|
-
i0.ɵɵtemplate(
|
|
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);
|
|
45764
45745
|
i0.ɵɵelementEnd()();
|
|
45746
|
+
i0.ɵɵelementContainerEnd();
|
|
45765
45747
|
} if (rf & 2) {
|
|
45766
45748
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45767
|
-
i0.ɵɵadvance(
|
|
45768
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
45749
|
+
i0.ɵɵadvance(2);
|
|
45750
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 16, ctx_r0.caseState ? "Your cases" : "Search result"));
|
|
45769
45751
|
i0.ɵɵadvance(2);
|
|
45770
45752
|
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());
|
|
45771
45759
|
i0.ɵɵadvance();
|
|
45772
|
-
i0.ɵɵ
|
|
45760
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 22, "to"), " ");
|
|
45761
|
+
i0.ɵɵadvance(3);
|
|
45762
|
+
i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
|
|
45773
45763
|
i0.ɵɵadvance();
|
|
45774
|
-
i0.ɵɵ
|
|
45764
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 24, "of"), " ");
|
|
45775
45765
|
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);
|
|
45776
45772
|
i0.ɵɵproperty("ngIf", ctx_r0.selectionEnabled);
|
|
45777
45773
|
i0.ɵɵadvance();
|
|
45778
45774
|
i0.ɵɵproperty("ngForOf", ctx_r0.resultView.columns);
|
|
@@ -45785,7 +45781,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45785
45781
|
} }
|
|
45786
45782
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
45787
45783
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
45788
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
45784
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 48);
|
|
45789
45785
|
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)); });
|
|
45790
45786
|
i0.ɵɵelementEnd();
|
|
45791
45787
|
} if (rf & 2) {
|
|
@@ -45793,7 +45789,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
45793
45789
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
45794
45790
|
} }
|
|
45795
45791
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45796
|
-
i0.ɵɵelementStart(0, "div",
|
|
45792
|
+
i0.ɵɵelementStart(0, "div", 49);
|
|
45797
45793
|
i0.ɵɵtext(1);
|
|
45798
45794
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45799
45795
|
i0.ɵɵelementEnd();
|
|
@@ -46145,19 +46141,19 @@ class SearchResultComponent {
|
|
|
46145
46141
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
46146
46142
|
noop() { }
|
|
46147
46143
|
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)); };
|
|
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"], ["
|
|
46149
|
-
i0.ɵɵtemplate(0,
|
|
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);
|
|
46150
46146
|
} if (rf & 2) {
|
|
46151
46147
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
46152
46148
|
i0.ɵɵadvance();
|
|
46153
46149
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
46154
46150
|
i0.ɵɵadvance();
|
|
46155
46151
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
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}"] });
|
|
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}"] });
|
|
46157
46153
|
}
|
|
46158
46154
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
46159
46155
|
type: Component,
|
|
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\">​</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"] }]
|
|
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\">​</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"] }]
|
|
46161
46157
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
46162
46158
|
type: Input
|
|
46163
46159
|
}], jurisdiction: [{
|