@hmcts/ccd-case-ui-toolkit 7.0.20-aria-accessibility-fix → 7.0.20-cot-771
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +4 -4
- package/esm2020/lib/shared/components/search-result/search-result.component.mjs +179 -187
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +189 -199
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +189 -197
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts +1 -1
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -12533,14 +12533,14 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
12533
12533
|
}
|
|
12534
12534
|
}
|
|
12535
12535
|
ReadCollectionFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(t) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(t || ReadCollectionFieldComponent); }; }();
|
|
12536
|
-
ReadCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "
|
|
12536
|
+
ReadCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "aria-describedby", "collection table", 4, "ngIf"], ["aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12537
12537
|
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
|
|
12538
12538
|
} if (rf & 2) {
|
|
12539
12539
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
12540
12540
|
} }, styles: [".collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:first-child > td[_ngcontent-%COMP%]{padding-top:0}.collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.collection-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}.error-spacing[_ngcontent-%COMP%]{margin-top:10px}.collection-title[_ngcontent-%COMP%]{height:51px}.float-left[_ngcontent-%COMP%]{float:left;padding-top:8px}.float-right[_ngcontent-%COMP%]{float:right}.complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}.collection-indicator[_ngcontent-%COMP%]{border-left:solid 5px #b1b4b6}"] });
|
|
12541
12541
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
|
|
12542
12542
|
type: Component,
|
|
12543
|
-
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\"
|
|
12543
|
+
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\" aria-describedby=\"collection table\">\n <ng-container [ngSwitch]=\"isDisplayContextParameterAvailable\">\n <tbody *ngSwitchCase=\"true\">\n <tr>\n <th id=\"hiddenHeader\" style=\"display: none;\"></th>\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: caseField.label,\n label: caseField.label,\n field_type: caseField.field_type.collection_field_type,\n display_context_parameter: caseField.display_context_parameter,\n value: caseField.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n <tbody *ngSwitchCase=\"false\">\n <tr *ngFor=\"let item of caseField.value; let i = index\">\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: i,\n label: caseField.label + ' ' + (i + 1),\n field_type: caseField.field_type.collection_field_type,\n value: item.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\"\n [idPrefix]=\"buildIdPrefix(i)\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n </ng-container>\n</table>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
12544
12544
|
}], null, null); })();
|
|
12545
12545
|
|
|
12546
12546
|
class RemoveDialogComponent {
|
|
@@ -16880,8 +16880,8 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16880
16880
|
}
|
|
16881
16881
|
}
|
|
16882
16882
|
}
|
|
16883
|
-
getLinkedCaseReasons(
|
|
16884
|
-
const reasonCodeAPIurl = `${this.appConfig.getRDCommonDataApiUrl()}/lov/categories/CaseLinkingReasonCode?serviceId=${
|
|
16883
|
+
getLinkedCaseReasons(serviceCode) {
|
|
16884
|
+
const reasonCodeAPIurl = `${this.appConfig.getRDCommonDataApiUrl()}/lov/categories/CaseLinkingReasonCode?serviceId=${serviceCode}`;
|
|
16885
16885
|
this.commonDataService.getRefData(reasonCodeAPIurl).subscribe({
|
|
16886
16886
|
next: reasons => {
|
|
16887
16887
|
// Sort in ascending order
|
|
@@ -16896,7 +16896,7 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16896
16896
|
const servicesApiUrl = `refdata/location/orgServices?ccdCaseType=${this.caseDetails?.case_type?.id}`;
|
|
16897
16897
|
this.commonDataService.getServiceOrgData(servicesApiUrl).subscribe(result => {
|
|
16898
16898
|
result.forEach(ids => {
|
|
16899
|
-
this.getLinkedCaseReasons(ids.
|
|
16899
|
+
this.getLinkedCaseReasons(ids.service_code);
|
|
16900
16900
|
});
|
|
16901
16901
|
});
|
|
16902
16902
|
}
|
|
@@ -20623,7 +20623,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
|
|
|
20623
20623
|
} if (rf & 2) {
|
|
20624
20624
|
let _t;
|
|
20625
20625
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
20626
|
-
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[
|
|
20626
|
+
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"], ["fieldContainer", ""]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20627
20627
|
i0.ɵɵelementStart(0, "div", 0)(1, "ccd-field-read-label", 1);
|
|
20628
20628
|
i0.ɵɵelementContainer(2, null, 2);
|
|
20629
20629
|
i0.ɵɵelementEnd()();
|
|
@@ -20634,7 +20634,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
|
|
|
20634
20634
|
} }, encapsulation: 2 });
|
|
20635
20635
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
|
|
20636
20636
|
type: Component,
|
|
20637
|
-
args: [{ selector: 'ccd-field-read', template: "<div
|
|
20637
|
+
args: [{ selector: 'ccd-field-read', template: "<div [hidden]=\"caseField.hidden\">\n <ccd-field-read-label [formGroup]=\"formGroup\" [topLevelFormGroup]=\"topLevelFormGroup\" [caseField]=\"caseField\" [withLabel]=\"withLabel\" [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n <ng-container #fieldContainer></ng-container>\n </ccd-field-read-label>\n</div>\n" }]
|
|
20638
20638
|
}], function () { return [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }]; }, { withLabel: [{
|
|
20639
20639
|
type: Input
|
|
20640
20640
|
}], formGroup: [{
|
|
@@ -24588,7 +24588,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
24588
24588
|
}
|
|
24589
24589
|
}
|
|
24590
24590
|
ReadComplexFieldTableComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; }();
|
|
24591
|
-
ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["
|
|
24591
|
+
ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["SimpleRow", ""], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24592
24592
|
i0.ɵɵelementStart(0, "div", 0)(1, "dl", 1)(2, "dt")(3, "span", 2);
|
|
24593
24593
|
i0.ɵɵtext(4);
|
|
24594
24594
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -24607,7 +24607,7 @@ ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
24607
24607
|
} }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
24608
24608
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
24609
24609
|
type: Component,
|
|
24610
|
-
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table
|
|
24610
|
+
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex field table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup: undefined :idPrefix\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
|
|
24611
24611
|
}], null, { caseFields: [{
|
|
24612
24612
|
type: Input
|
|
24613
24613
|
}] }); })();
|
|
@@ -30873,7 +30873,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Tem
|
|
|
30873
30873
|
const tab_r20 = i0.ɵɵnextContext().$implicit;
|
|
30874
30874
|
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
30875
30875
|
i0.ɵɵclassMap(tab_r20.id);
|
|
30876
|
-
i0.ɵɵattribute("aria-
|
|
30876
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
|
|
30877
30877
|
i0.ɵɵadvance(3);
|
|
30878
30878
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(4, 6, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(5, 12, tab_r20), ctx_r22.formGroup.controls["data"])));
|
|
30879
30879
|
} }
|
|
@@ -31338,7 +31338,7 @@ CaseFullAccessViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
31338
31338
|
} }, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}"] });
|
|
31339
31339
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
31340
31340
|
type: Component,
|
|
31341
|
-
args: [{ selector: 'ccd-case-full-access-view', 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\" (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\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-
|
|
31341
|
+
args: [{ selector: 'ccd-case-full-access-view', 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\" (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\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-describedby]=\"'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\" *ngIf=\"!isFieldToHaveNoLabel(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\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <th [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </th>\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 </mat-tab>\n </mat-tab-group>\n <router-outlet *ngIf=\"(prependedTabs && prependedTabs.length) || (appendedTabs && appendedTabs.length)\"></router-outlet>\n </ng-container>\n </div>\n</div>\n", styles: ["th{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{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}\n"] }]
|
|
31342
31342
|
}], function () { return [{ 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: i4.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }]; }, { hasPrint: [{
|
|
31343
31343
|
type: Input
|
|
31344
31344
|
}], hasEventSelector: [{
|
|
@@ -34474,10 +34474,10 @@ i0.ɵɵsetComponentScope(SearchFiltersComponent, function () { return [i4.NgForO
|
|
|
34474
34474
|
i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i4.NgIf, SearchFiltersComponent]; }, []);
|
|
34475
34475
|
|
|
34476
34476
|
function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
34477
|
-
i0.ɵɵelementStart(0, "div",
|
|
34477
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "span", 12);
|
|
34478
34478
|
i0.ɵɵtext(2, "!");
|
|
34479
34479
|
i0.ɵɵelementEnd();
|
|
34480
|
-
i0.ɵɵelementStart(3, "strong",
|
|
34480
|
+
i0.ɵɵelementStart(3, "strong", 13)(4, "span", 14);
|
|
34481
34481
|
i0.ɵɵtext(5);
|
|
34482
34482
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
34483
34483
|
i0.ɵɵelementEnd();
|
|
@@ -34487,58 +34487,58 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
34487
34487
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
34488
34488
|
i0.ɵɵelementEnd()();
|
|
34489
34489
|
} if (rf & 2) {
|
|
34490
|
-
const
|
|
34490
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
34491
34491
|
i0.ɵɵadvance(5);
|
|
34492
34492
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Warning"));
|
|
34493
34493
|
i0.ɵɵadvance(2);
|
|
34494
|
-
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8,
|
|
34494
|
+
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r3.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
|
|
34495
34495
|
} }
|
|
34496
34496
|
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
34497
|
-
i0.ɵɵelementStart(0, "div",
|
|
34497
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
34498
34498
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
34499
|
-
i0.ɵɵelementStart(2, "span",
|
|
34499
|
+
i0.ɵɵelementStart(2, "span", 16);
|
|
34500
34500
|
i0.ɵɵtext(3);
|
|
34501
34501
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
34502
|
-
i0.ɵɵelementStart(5, "span",
|
|
34502
|
+
i0.ɵɵelementStart(5, "span", 17);
|
|
34503
34503
|
i0.ɵɵtext(6);
|
|
34504
34504
|
i0.ɵɵelementEnd();
|
|
34505
34505
|
i0.ɵɵtext(7);
|
|
34506
34506
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
34507
|
-
i0.ɵɵelementStart(9, "span",
|
|
34507
|
+
i0.ɵɵelementStart(9, "span", 17);
|
|
34508
34508
|
i0.ɵɵtext(10);
|
|
34509
34509
|
i0.ɵɵelementEnd();
|
|
34510
34510
|
i0.ɵɵtext(11);
|
|
34511
34511
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
34512
|
-
i0.ɵɵelementStart(13, "span",
|
|
34512
|
+
i0.ɵɵelementStart(13, "span", 17);
|
|
34513
34513
|
i0.ɵɵtext(14);
|
|
34514
34514
|
i0.ɵɵelementEnd();
|
|
34515
34515
|
i0.ɵɵtext(15);
|
|
34516
34516
|
i0.ɵɵpipe(16, "rpxTranslate");
|
|
34517
34517
|
i0.ɵɵelementEnd()();
|
|
34518
34518
|
} if (rf & 2) {
|
|
34519
|
-
const
|
|
34520
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8,
|
|
34519
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
34520
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8, ctx_r4.getTotalResults() + " results have been found"));
|
|
34521
34521
|
i0.ɵɵadvance(3);
|
|
34522
34522
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 10, "Showing"), " ");
|
|
34523
34523
|
i0.ɵɵadvance(3);
|
|
34524
|
-
i0.ɵɵtextInterpolate(
|
|
34524
|
+
i0.ɵɵtextInterpolate(ctx_r4.getFirstResult());
|
|
34525
34525
|
i0.ɵɵadvance(1);
|
|
34526
34526
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, "to"), " ");
|
|
34527
34527
|
i0.ɵɵadvance(3);
|
|
34528
|
-
i0.ɵɵtextInterpolate(
|
|
34528
|
+
i0.ɵɵtextInterpolate(ctx_r4.getLastResult());
|
|
34529
34529
|
i0.ɵɵadvance(1);
|
|
34530
34530
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 14, "of"), " ");
|
|
34531
34531
|
i0.ɵɵadvance(3);
|
|
34532
|
-
i0.ɵɵtextInterpolate(
|
|
34532
|
+
i0.ɵɵtextInterpolate(ctx_r4.getTotalResults());
|
|
34533
34533
|
i0.ɵɵadvance(1);
|
|
34534
34534
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 16, "results"), "");
|
|
34535
34535
|
} }
|
|
34536
34536
|
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
34537
|
-
const
|
|
34538
|
-
i0.ɵɵelementStart(0, "div",
|
|
34537
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
34538
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
34539
34539
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
34540
|
-
i0.ɵɵelementStart(2, "span")(3, "a",
|
|
34541
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(
|
|
34540
|
+
i0.ɵɵelementStart(2, "span")(3, "a", 19);
|
|
34541
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.clearSelection()); });
|
|
34542
34542
|
i0.ɵɵtext(4);
|
|
34543
34543
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
34544
34544
|
i0.ɵɵelementEnd()()();
|
|
@@ -34548,306 +34548,304 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
34548
34548
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
|
|
34549
34549
|
} }
|
|
34550
34550
|
function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
34551
|
-
const
|
|
34552
|
-
i0.ɵɵelementStart(0, "th",
|
|
34553
|
-
i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
34551
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
34552
|
+
i0.ɵɵelementStart(0, "th", 20)(1, "div", 21)(2, "input", 22);
|
|
34553
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r13.selectAll()); });
|
|
34554
34554
|
i0.ɵɵelementEnd();
|
|
34555
|
-
i0.ɵɵelement(3, "label",
|
|
34555
|
+
i0.ɵɵelement(3, "label", 23);
|
|
34556
34556
|
i0.ɵɵelementEnd()();
|
|
34557
34557
|
} if (rf & 2) {
|
|
34558
|
-
const
|
|
34558
|
+
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
34559
34559
|
i0.ɵɵadvance(2);
|
|
34560
|
-
i0.ɵɵproperty("checked",
|
|
34560
|
+
i0.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
|
|
34561
34561
|
} }
|
|
34562
34562
|
function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
34563
|
-
const
|
|
34564
|
-
i0.ɵɵelementStart(0, "div",
|
|
34565
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(
|
|
34563
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
34564
|
+
i0.ɵɵelementStart(0, "div", 27)(1, "a", 28);
|
|
34565
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r17.sort(col_r15)); });
|
|
34566
34566
|
i0.ɵɵelementEnd()();
|
|
34567
34567
|
} if (rf & 2) {
|
|
34568
|
-
const
|
|
34569
|
-
const
|
|
34568
|
+
const col_r15 = i0.ɵɵnextContext().$implicit;
|
|
34569
|
+
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
34570
34570
|
i0.ɵɵadvance(1);
|
|
34571
|
-
i0.ɵɵproperty("innerHTML",
|
|
34571
|
+
i0.ɵɵproperty("innerHTML", ctx_r16.sortWidget(col_r15), i0.ɵɵsanitizeHtml);
|
|
34572
34572
|
} }
|
|
34573
34573
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
34574
|
-
const
|
|
34575
|
-
i0.ɵɵelementStart(0, "th")(1, "table",
|
|
34574
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
34575
|
+
i0.ɵɵelementStart(0, "th")(1, "table", 24);
|
|
34576
34576
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
34577
|
-
i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div",
|
|
34578
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
34577
|
+
i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div", 25);
|
|
34578
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { const restoredCtx = i0.ɵɵrestoreView(_r22); const col_r15 = restoredCtx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.sort(col_r15)); });
|
|
34579
34579
|
i0.ɵɵtext(6);
|
|
34580
34580
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
34581
34581
|
i0.ɵɵelementEnd();
|
|
34582
|
-
i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div",
|
|
34582
|
+
i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 26);
|
|
34583
34583
|
i0.ɵɵelementEnd()()()();
|
|
34584
34584
|
} if (rf & 2) {
|
|
34585
|
-
const
|
|
34586
|
-
const
|
|
34585
|
+
const col_r15 = ctx.$implicit;
|
|
34586
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
34587
34587
|
i0.ɵɵadvance(1);
|
|
34588
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " +
|
|
34588
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending"));
|
|
34589
34589
|
i0.ɵɵadvance(5);
|
|
34590
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5,
|
|
34590
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r15.label), " ");
|
|
34591
34591
|
i0.ɵɵadvance(2);
|
|
34592
|
-
i0.ɵɵproperty("ngIf",
|
|
34592
|
+
i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
34593
34593
|
} }
|
|
34594
34594
|
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
34595
|
-
i0.ɵɵ
|
|
34596
|
-
i0.ɵɵtext(1, "\u200B");
|
|
34597
|
-
i0.ɵɵelementEnd();
|
|
34595
|
+
i0.ɵɵelement(0, "th", 29);
|
|
34598
34596
|
} }
|
|
34599
34597
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
34600
|
-
const
|
|
34601
|
-
i0.ɵɵelementStart(0, "td",
|
|
34602
|
-
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
34598
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
34599
|
+
i0.ɵɵelementStart(0, "td", 20)(1, "div", 21)(2, "input", 31);
|
|
34600
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r30); const result_r24 = i0.ɵɵnextContext().$implicit; const ctx_r28 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r28.changeSelection(result_r24)); });
|
|
34603
34601
|
i0.ɵɵelementEnd();
|
|
34604
|
-
i0.ɵɵelement(3, "label",
|
|
34602
|
+
i0.ɵɵelement(3, "label", 32);
|
|
34605
34603
|
i0.ɵɵelementEnd()();
|
|
34606
34604
|
} if (rf & 2) {
|
|
34607
|
-
const
|
|
34608
|
-
const
|
|
34605
|
+
const result_r24 = i0.ɵɵnextContext().$implicit;
|
|
34606
|
+
const ctx_r25 = i0.ɵɵnextContext(3);
|
|
34609
34607
|
i0.ɵɵadvance(2);
|
|
34610
|
-
i0.ɵɵpropertyInterpolate1("id", "select-",
|
|
34611
|
-
i0.ɵɵproperty("checked",
|
|
34608
|
+
i0.ɵɵpropertyInterpolate1("id", "select-", result_r24.case_id, "")("name", "select-", result_r24.case_id, "");
|
|
34609
|
+
i0.ɵɵproperty("checked", ctx_r25.isSelected(result_r24))("disabled", !ctx_r25.canBeShared(result_r24));
|
|
34612
34610
|
i0.ɵɵadvance(1);
|
|
34613
|
-
i0.ɵɵpropertyInterpolate1("for", "select-",
|
|
34611
|
+
i0.ɵɵpropertyInterpolate1("for", "select-", result_r24.case_id, "");
|
|
34614
34612
|
} }
|
|
34615
34613
|
const _c0 = function () { return ["value"]; };
|
|
34616
34614
|
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) {
|
|
34617
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
34615
|
+
i0.ɵɵelement(0, "ccd-field-read", 41);
|
|
34618
34616
|
} if (rf & 2) {
|
|
34619
|
-
const
|
|
34620
|
-
const
|
|
34621
|
-
const
|
|
34622
|
-
i0.ɵɵproperty("caseField",
|
|
34617
|
+
const col_r32 = i0.ɵɵnextContext(3).$implicit;
|
|
34618
|
+
const result_r24 = i0.ɵɵnextContext().$implicit;
|
|
34619
|
+
const ctx_r37 = i0.ɵɵnextContext(3);
|
|
34620
|
+
i0.ɵɵproperty("caseField", ctx_r37.getColumnsWithPrefix(result_r24.columns[col_r32.case_field_id], result_r24))("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c0));
|
|
34623
34621
|
} }
|
|
34624
34622
|
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) {
|
|
34625
34623
|
i0.ɵɵtext(0);
|
|
34626
34624
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34627
34625
|
} if (rf & 2) {
|
|
34628
|
-
const
|
|
34629
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1,
|
|
34626
|
+
const result_r24 = i0.ɵɵnextContext(4).$implicit;
|
|
34627
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r24.case_id));
|
|
34630
34628
|
} }
|
|
34631
34629
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34632
|
-
i0.ɵɵelementContainerStart(0,
|
|
34633
|
-
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",
|
|
34634
|
-
i0.ɵɵtemplate(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,
|
|
34630
|
+
i0.ɵɵelementContainerStart(0, 38);
|
|
34631
|
+
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", 39);
|
|
34632
|
+
i0.ɵɵtemplate(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, 40, i0.ɵɵtemplateRefExtractor);
|
|
34635
34633
|
i0.ɵɵelementContainerEnd();
|
|
34636
34634
|
} if (rf & 2) {
|
|
34637
|
-
const
|
|
34638
|
-
const
|
|
34639
|
-
const
|
|
34640
|
-
const
|
|
34635
|
+
const _r38 = i0.ɵɵreference(3);
|
|
34636
|
+
const col_r32 = i0.ɵɵnextContext(2).$implicit;
|
|
34637
|
+
const result_r24 = i0.ɵɵnextContext().$implicit;
|
|
34638
|
+
const ctx_r36 = i0.ɵɵnextContext(3);
|
|
34641
34639
|
i0.ɵɵadvance(1);
|
|
34642
|
-
i0.ɵɵproperty("ngIf",
|
|
34640
|
+
i0.ɵɵproperty("ngIf", ctx_r36.draftPrefixOrGet(col_r32, result_r24))("ngIfElse", _r38);
|
|
34643
34641
|
} }
|
|
34644
34642
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
34645
|
-
i0.ɵɵelementStart(0, "a",
|
|
34643
|
+
i0.ɵɵelementStart(0, "a", 36);
|
|
34646
34644
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34647
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
34645
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
|
|
34648
34646
|
i0.ɵɵelementEnd();
|
|
34649
34647
|
} if (rf & 2) {
|
|
34650
|
-
const
|
|
34651
|
-
const
|
|
34652
|
-
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3,
|
|
34653
|
-
i0.ɵɵproperty("routerLink",
|
|
34648
|
+
const result_r24 = i0.ɵɵnextContext(2).$implicit;
|
|
34649
|
+
const ctx_r34 = i0.ɵɵnextContext(3);
|
|
34650
|
+
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r24.case_id), "");
|
|
34651
|
+
i0.ɵɵproperty("routerLink", ctx_r34.prepareCaseLinkUrl(result_r24.case_id));
|
|
34654
34652
|
i0.ɵɵadvance(2);
|
|
34655
|
-
i0.ɵɵproperty("ngIf", !
|
|
34653
|
+
i0.ɵɵproperty("ngIf", !ctx_r34.hideRows);
|
|
34656
34654
|
} }
|
|
34657
34655
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
34658
|
-
i0.ɵɵelementStart(0, "div",
|
|
34659
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
34656
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
34657
|
+
i0.ɵɵelement(1, "ccd-field-read", 41);
|
|
34660
34658
|
i0.ɵɵelementEnd();
|
|
34661
34659
|
} if (rf & 2) {
|
|
34662
|
-
const
|
|
34663
|
-
const
|
|
34664
|
-
const
|
|
34665
|
-
i0.ɵɵstyleProp("visibility",
|
|
34660
|
+
const col_r32 = i0.ɵɵnextContext().$implicit;
|
|
34661
|
+
const result_r24 = i0.ɵɵnextContext().$implicit;
|
|
34662
|
+
const ctx_r35 = i0.ɵɵnextContext(3);
|
|
34663
|
+
i0.ɵɵstyleProp("visibility", ctx_r35.hideRows ? "hidden" : "visible");
|
|
34666
34664
|
i0.ɵɵadvance(1);
|
|
34667
|
-
i0.ɵɵproperty("caseField",
|
|
34665
|
+
i0.ɵɵproperty("caseField", result_r24.columns[col_r32.case_field_id])("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
|
|
34668
34666
|
} }
|
|
34669
34667
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
34670
|
-
i0.ɵɵelementStart(0, "td",
|
|
34671
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a",
|
|
34672
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div",
|
|
34668
|
+
i0.ɵɵelementStart(0, "td", 33);
|
|
34669
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
|
|
34670
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
|
|
34673
34671
|
i0.ɵɵelementEnd();
|
|
34674
34672
|
} if (rf & 2) {
|
|
34675
|
-
const
|
|
34673
|
+
const colIndex_r33 = ctx.index;
|
|
34676
34674
|
i0.ɵɵadvance(1);
|
|
34677
|
-
i0.ɵɵproperty("ngIf",
|
|
34675
|
+
i0.ɵɵproperty("ngIf", colIndex_r33 == 0);
|
|
34678
34676
|
i0.ɵɵadvance(1);
|
|
34679
|
-
i0.ɵɵproperty("ngIf",
|
|
34677
|
+
i0.ɵɵproperty("ngIf", colIndex_r33 != 0);
|
|
34680
34678
|
} }
|
|
34681
34679
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
34682
34680
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
34683
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
34681
|
+
i0.ɵɵelement(2, "ccd-activity", 42);
|
|
34684
34682
|
i0.ɵɵelementEnd()();
|
|
34685
34683
|
} if (rf & 2) {
|
|
34686
|
-
const
|
|
34687
|
-
const
|
|
34684
|
+
const result_r24 = i0.ɵɵnextContext().$implicit;
|
|
34685
|
+
const ctx_r27 = i0.ɵɵnextContext(3);
|
|
34688
34686
|
i0.ɵɵadvance(1);
|
|
34689
|
-
i0.ɵɵstyleProp("visibility",
|
|
34687
|
+
i0.ɵɵstyleProp("visibility", ctx_r27.hideRows ? "hidden" : "visible");
|
|
34690
34688
|
i0.ɵɵadvance(1);
|
|
34691
|
-
i0.ɵɵproperty("caseId",
|
|
34689
|
+
i0.ɵɵproperty("caseId", result_r24.case_id)("displayMode", ctx_r27.ICON);
|
|
34692
34690
|
} }
|
|
34693
34691
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
34694
34692
|
i0.ɵɵelementStart(0, "tr");
|
|
34695
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td",
|
|
34696
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td",
|
|
34693
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
|
|
34694
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
|
|
34697
34695
|
i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
|
|
34698
34696
|
i0.ɵɵelementEnd();
|
|
34699
34697
|
} if (rf & 2) {
|
|
34700
|
-
const
|
|
34698
|
+
const ctx_r23 = i0.ɵɵnextContext(3);
|
|
34701
34699
|
i0.ɵɵadvance(1);
|
|
34702
|
-
i0.ɵɵproperty("ngIf",
|
|
34700
|
+
i0.ɵɵproperty("ngIf", ctx_r23.selectionEnabled);
|
|
34703
34701
|
i0.ɵɵadvance(1);
|
|
34704
|
-
i0.ɵɵproperty("ngForOf",
|
|
34702
|
+
i0.ɵɵproperty("ngForOf", ctx_r23.resultView.columns);
|
|
34705
34703
|
i0.ɵɵadvance(1);
|
|
34706
|
-
i0.ɵɵproperty("ngIf",
|
|
34704
|
+
i0.ɵɵproperty("ngIf", ctx_r23.activityEnabled());
|
|
34707
34705
|
} }
|
|
34708
34706
|
const _c1 = function (a0, a1, a2) { return { itemsPerPage: a0, currentPage: a1, totalItems: a2 }; };
|
|
34709
34707
|
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
34710
34708
|
i0.ɵɵelementContainerStart(0);
|
|
34711
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr",
|
|
34709
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 9);
|
|
34712
34710
|
i0.ɵɵpipe(2, "paginate");
|
|
34713
34711
|
i0.ɵɵelementContainerEnd();
|
|
34714
34712
|
} if (rf & 2) {
|
|
34715
|
-
const
|
|
34713
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
34716
34714
|
i0.ɵɵadvance(1);
|
|
34717
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1,
|
|
34715
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, ctx_r9.resultView.results, i0.ɵɵpureFunction3(4, _c1, ctx_r9.paginationPageSize, ctx_r9.selected.page, ctx_r9.resultTotal)));
|
|
34718
34716
|
} }
|
|
34719
34717
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
34720
|
-
const
|
|
34721
|
-
i0.ɵɵelementStart(0, "td",
|
|
34722
|
-
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
34718
|
+
const _r56 = i0.ɵɵgetCurrentView();
|
|
34719
|
+
i0.ɵɵelementStart(0, "td", 20)(1, "div", 21)(2, "input", 43);
|
|
34720
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r54 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r54.changeSelection(result_r50)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r57 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r57.onKeyUp($event, result_r50)); });
|
|
34723
34721
|
i0.ɵɵelementEnd();
|
|
34724
|
-
i0.ɵɵelement(3, "label",
|
|
34722
|
+
i0.ɵɵelement(3, "label", 32);
|
|
34725
34723
|
i0.ɵɵelementEnd()();
|
|
34726
34724
|
} if (rf & 2) {
|
|
34727
|
-
const
|
|
34728
|
-
const
|
|
34725
|
+
const result_r50 = i0.ɵɵnextContext().$implicit;
|
|
34726
|
+
const ctx_r51 = i0.ɵɵnextContext(3);
|
|
34729
34727
|
i0.ɵɵadvance(2);
|
|
34730
|
-
i0.ɵɵpropertyInterpolate1("id", "select-",
|
|
34731
|
-
i0.ɵɵproperty("checked",
|
|
34728
|
+
i0.ɵɵpropertyInterpolate1("id", "select-", result_r50.case_id, "")("name", "select-", result_r50.case_id, "");
|
|
34729
|
+
i0.ɵɵproperty("checked", ctx_r51.isSelected(result_r50))("disabled", !ctx_r51.canBeShared(result_r50));
|
|
34732
34730
|
i0.ɵɵadvance(1);
|
|
34733
|
-
i0.ɵɵpropertyInterpolate1("for", "select-",
|
|
34731
|
+
i0.ɵɵpropertyInterpolate1("for", "select-", result_r50.case_id, "");
|
|
34734
34732
|
} }
|
|
34735
34733
|
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) {
|
|
34736
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
34734
|
+
i0.ɵɵelement(0, "ccd-field-read", 41);
|
|
34737
34735
|
} if (rf & 2) {
|
|
34738
|
-
const
|
|
34739
|
-
const
|
|
34740
|
-
const
|
|
34741
|
-
i0.ɵɵproperty("caseField",
|
|
34736
|
+
const col_r60 = i0.ɵɵnextContext(3).$implicit;
|
|
34737
|
+
const result_r50 = i0.ɵɵnextContext().$implicit;
|
|
34738
|
+
const ctx_r65 = i0.ɵɵnextContext(3);
|
|
34739
|
+
i0.ɵɵproperty("caseField", ctx_r65.getColumnsWithPrefix(result_r50.columns[col_r60.case_field_id], result_r50))("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c0));
|
|
34742
34740
|
} }
|
|
34743
34741
|
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) {
|
|
34744
34742
|
i0.ɵɵtext(0);
|
|
34745
34743
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34746
34744
|
} if (rf & 2) {
|
|
34747
|
-
const
|
|
34748
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1,
|
|
34745
|
+
const result_r50 = i0.ɵɵnextContext(4).$implicit;
|
|
34746
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r50.case_id));
|
|
34749
34747
|
} }
|
|
34750
34748
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34751
|
-
i0.ɵɵelementContainerStart(0,
|
|
34752
|
-
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",
|
|
34753
|
-
i0.ɵɵtemplate(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,
|
|
34749
|
+
i0.ɵɵelementContainerStart(0, 38);
|
|
34750
|
+
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", 39);
|
|
34751
|
+
i0.ɵɵtemplate(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, 40, i0.ɵɵtemplateRefExtractor);
|
|
34754
34752
|
i0.ɵɵelementContainerEnd();
|
|
34755
34753
|
} if (rf & 2) {
|
|
34756
|
-
const
|
|
34757
|
-
const
|
|
34758
|
-
const
|
|
34759
|
-
const
|
|
34754
|
+
const _r66 = i0.ɵɵreference(3);
|
|
34755
|
+
const col_r60 = i0.ɵɵnextContext(2).$implicit;
|
|
34756
|
+
const result_r50 = i0.ɵɵnextContext().$implicit;
|
|
34757
|
+
const ctx_r64 = i0.ɵɵnextContext(3);
|
|
34760
34758
|
i0.ɵɵadvance(1);
|
|
34761
|
-
i0.ɵɵproperty("ngIf",
|
|
34759
|
+
i0.ɵɵproperty("ngIf", ctx_r64.draftPrefixOrGet(col_r60, result_r50))("ngIfElse", _r66);
|
|
34762
34760
|
} }
|
|
34763
34761
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
34764
|
-
i0.ɵɵelementStart(0, "a",
|
|
34762
|
+
i0.ɵɵelementStart(0, "a", 36);
|
|
34765
34763
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34766
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
34764
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
|
|
34767
34765
|
i0.ɵɵelementEnd();
|
|
34768
34766
|
} if (rf & 2) {
|
|
34769
|
-
const
|
|
34770
|
-
const
|
|
34771
|
-
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3,
|
|
34772
|
-
i0.ɵɵproperty("routerLink",
|
|
34767
|
+
const result_r50 = i0.ɵɵnextContext(2).$implicit;
|
|
34768
|
+
const ctx_r62 = i0.ɵɵnextContext(3);
|
|
34769
|
+
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r50.case_id), "");
|
|
34770
|
+
i0.ɵɵproperty("routerLink", ctx_r62.prepareCaseLinkUrl(result_r50.case_id));
|
|
34773
34771
|
i0.ɵɵadvance(2);
|
|
34774
|
-
i0.ɵɵproperty("ngIf", !
|
|
34772
|
+
i0.ɵɵproperty("ngIf", !ctx_r62.hideRows);
|
|
34775
34773
|
} }
|
|
34776
34774
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
34777
|
-
i0.ɵɵelementStart(0, "div",
|
|
34778
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
34775
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
34776
|
+
i0.ɵɵelement(1, "ccd-field-read", 41);
|
|
34779
34777
|
i0.ɵɵelementEnd();
|
|
34780
34778
|
} if (rf & 2) {
|
|
34781
|
-
const
|
|
34782
|
-
const
|
|
34783
|
-
const
|
|
34784
|
-
i0.ɵɵstyleProp("visibility",
|
|
34779
|
+
const col_r60 = i0.ɵɵnextContext().$implicit;
|
|
34780
|
+
const result_r50 = i0.ɵɵnextContext().$implicit;
|
|
34781
|
+
const ctx_r63 = i0.ɵɵnextContext(3);
|
|
34782
|
+
i0.ɵɵstyleProp("visibility", ctx_r63.hideRows ? "hidden" : "visible");
|
|
34785
34783
|
i0.ɵɵadvance(1);
|
|
34786
|
-
i0.ɵɵproperty("caseField",
|
|
34784
|
+
i0.ɵɵproperty("caseField", result_r50.columns[col_r60.case_field_id])("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
|
|
34787
34785
|
} }
|
|
34788
34786
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
34789
|
-
i0.ɵɵelementStart(0, "td",
|
|
34790
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a",
|
|
34791
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div",
|
|
34787
|
+
i0.ɵɵelementStart(0, "td", 33);
|
|
34788
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
|
|
34789
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
|
|
34792
34790
|
i0.ɵɵelementEnd();
|
|
34793
34791
|
} if (rf & 2) {
|
|
34794
|
-
const
|
|
34792
|
+
const colIndex_r61 = ctx.index;
|
|
34795
34793
|
i0.ɵɵadvance(1);
|
|
34796
|
-
i0.ɵɵproperty("ngIf",
|
|
34794
|
+
i0.ɵɵproperty("ngIf", colIndex_r61 == 0);
|
|
34797
34795
|
i0.ɵɵadvance(1);
|
|
34798
|
-
i0.ɵɵproperty("ngIf",
|
|
34796
|
+
i0.ɵɵproperty("ngIf", colIndex_r61 != 0);
|
|
34799
34797
|
} }
|
|
34800
34798
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
34801
34799
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
34802
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
34800
|
+
i0.ɵɵelement(2, "ccd-activity", 42);
|
|
34803
34801
|
i0.ɵɵelementEnd()();
|
|
34804
34802
|
} if (rf & 2) {
|
|
34805
|
-
const
|
|
34806
|
-
const
|
|
34803
|
+
const result_r50 = i0.ɵɵnextContext().$implicit;
|
|
34804
|
+
const ctx_r53 = i0.ɵɵnextContext(3);
|
|
34807
34805
|
i0.ɵɵadvance(1);
|
|
34808
|
-
i0.ɵɵstyleProp("visibility",
|
|
34806
|
+
i0.ɵɵstyleProp("visibility", ctx_r53.hideRows ? "hidden" : "visible");
|
|
34809
34807
|
i0.ɵɵadvance(1);
|
|
34810
|
-
i0.ɵɵproperty("caseId",
|
|
34808
|
+
i0.ɵɵproperty("caseId", result_r50.case_id)("displayMode", ctx_r53.ICON);
|
|
34811
34809
|
} }
|
|
34812
34810
|
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
34813
34811
|
i0.ɵɵelementStart(0, "tr");
|
|
34814
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td",
|
|
34815
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td",
|
|
34812
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td", 8);
|
|
34813
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 30);
|
|
34816
34814
|
i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 0);
|
|
34817
34815
|
i0.ɵɵelementEnd();
|
|
34818
34816
|
} if (rf & 2) {
|
|
34819
|
-
const
|
|
34817
|
+
const ctx_r49 = i0.ɵɵnextContext(3);
|
|
34820
34818
|
i0.ɵɵadvance(1);
|
|
34821
|
-
i0.ɵɵproperty("ngIf",
|
|
34819
|
+
i0.ɵɵproperty("ngIf", ctx_r49.selectionEnabled);
|
|
34822
34820
|
i0.ɵɵadvance(1);
|
|
34823
|
-
i0.ɵɵproperty("ngForOf",
|
|
34821
|
+
i0.ɵɵproperty("ngForOf", ctx_r49.resultView.columns);
|
|
34824
34822
|
i0.ɵɵadvance(1);
|
|
34825
|
-
i0.ɵɵproperty("ngIf",
|
|
34823
|
+
i0.ɵɵproperty("ngIf", ctx_r49.activityEnabled());
|
|
34826
34824
|
} }
|
|
34827
34825
|
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
34828
34826
|
i0.ɵɵelementContainerStart(0);
|
|
34829
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr",
|
|
34827
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 9);
|
|
34830
34828
|
i0.ɵɵpipe(2, "paginate");
|
|
34831
34829
|
i0.ɵɵpipe(3, "ccdSortSearchResult");
|
|
34832
34830
|
i0.ɵɵelementContainerEnd();
|
|
34833
34831
|
} if (rf & 2) {
|
|
34834
|
-
const
|
|
34832
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
34835
34833
|
i0.ɵɵadvance(1);
|
|
34836
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, i0.ɵɵpipeBind2(3, 4,
|
|
34834
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, i0.ɵɵpipeBind2(3, 4, ctx_r10.resultView.results, ctx_r10.sortParameters), i0.ɵɵpureFunction3(7, _c1, ctx_r10.paginationPageSize, ctx_r10.selected.page, ctx_r10.resultTotal)));
|
|
34837
34835
|
} }
|
|
34838
34836
|
function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
34839
|
-
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2",
|
|
34837
|
+
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 3);
|
|
34840
34838
|
i0.ɵɵtext(3);
|
|
34841
34839
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
34842
34840
|
i0.ɵɵelementEnd();
|
|
34843
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div",
|
|
34844
|
-
i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div",
|
|
34845
|
-
i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div",
|
|
34841
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 4);
|
|
34842
|
+
i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div", 5);
|
|
34843
|
+
i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 6);
|
|
34846
34844
|
i0.ɵɵelementEnd();
|
|
34847
|
-
i0.ɵɵelementStart(8, "thead")(9, "tr",
|
|
34848
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th",
|
|
34849
|
-
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th",
|
|
34850
|
-
i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template,
|
|
34845
|
+
i0.ɵɵelementStart(8, "thead")(9, "tr", 7);
|
|
34846
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 8);
|
|
34847
|
+
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 9);
|
|
34848
|
+
i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 10);
|
|
34851
34849
|
i0.ɵɵelementEnd()();
|
|
34852
34850
|
i0.ɵɵelementStart(13, "tbody");
|
|
34853
34851
|
i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 0);
|
|
@@ -34875,27 +34873,24 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
34875
34873
|
i0.ɵɵproperty("ngIf", !ctx_r0.consumerSortingEnabled);
|
|
34876
34874
|
} }
|
|
34877
34875
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
34878
|
-
const
|
|
34879
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
34880
|
-
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(
|
|
34876
|
+
const _r78 = i0.ɵɵgetCurrentView();
|
|
34877
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 44);
|
|
34878
|
+
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r78); const ctx_r77 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r77.goToPage($event)); });
|
|
34881
34879
|
i0.ɵɵelementEnd();
|
|
34882
34880
|
} if (rf & 2) {
|
|
34883
34881
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
34884
34882
|
i0.ɵɵproperty("visibilityLabel", ctx_r1.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r1.page)("screenReaderCurrentLabel", "You're on page");
|
|
34885
34883
|
} }
|
|
34886
34884
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
34887
|
-
i0.ɵɵelementStart(0, "div",
|
|
34888
|
-
i0.ɵɵ
|
|
34889
|
-
i0.ɵɵ
|
|
34885
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
34886
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
34887
|
+
i0.ɵɵtext(2);
|
|
34888
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
34890
34889
|
i0.ɵɵelementEnd();
|
|
34891
34890
|
} if (rf & 2) {
|
|
34892
|
-
i0.ɵɵ
|
|
34893
|
-
i0.ɵɵ
|
|
34894
|
-
|
|
34895
|
-
function SearchResultComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34896
|
-
i0.ɵɵelementStart(0, "span", 47);
|
|
34897
|
-
i0.ɵɵtext(1, "\u200B");
|
|
34898
|
-
i0.ɵɵelementEnd();
|
|
34891
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "No cases found. Try using different filters."));
|
|
34892
|
+
i0.ɵɵadvance(2);
|
|
34893
|
+
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(3, 4, "No cases found. Try using different filters."), "\n");
|
|
34899
34894
|
} }
|
|
34900
34895
|
class SearchResultComponent {
|
|
34901
34896
|
constructor(searchResultViewItemComparatorFactory, appConfig, activityService, caseReferencePipe, placeholderService, browserService, sessionStorageService) {
|
|
@@ -35231,23 +35226,20 @@ SearchResultComponent.PARAM_JURISDICTION = 'jurisdiction';
|
|
|
35231
35226
|
SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
|
|
35232
35227
|
SearchResultComponent.PARAM_CASE_STATE = 'case-state';
|
|
35233
35228
|
SearchResultComponent.ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
35234
|
-
SearchResultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
35229
|
+
SearchResultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [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"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35235
35230
|
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 0);
|
|
35236
35231
|
i0.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
|
|
35237
|
-
i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template,
|
|
35238
|
-
i0.ɵɵtemplate(3, SearchResultComponent_span_3_Template, 2, 0, "span", 3);
|
|
35232
|
+
i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 4, 6, "div", 2);
|
|
35239
35233
|
} if (rf & 2) {
|
|
35240
35234
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
35241
35235
|
i0.ɵɵadvance(1);
|
|
35242
35236
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
35243
35237
|
i0.ɵɵadvance(1);
|
|
35244
35238
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
35245
|
-
i0.ɵɵadvance(1);
|
|
35246
|
-
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
35247
35239
|
} }, styles: ["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:auto;width:initial;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}"] });
|
|
35248
35240
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
35249
35241
|
type: Component,
|
|
35250
|
-
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\"\n [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\" role=\"status\">\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\">\n <table class=\"search-result-column-header\"\n [attr.aria-label]=\"('Sort by ' + col.label + ' ' + isSortAscending(col)? 'ascending' : 'descending') | rpxTranslate\">\n <tr>\n <th>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </th>\n </tr>\n </table>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\"
|
|
35242
|
+
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\"\n [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\" role=\"status\">\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\">\n <table class=\"search-result-column-header\"\n [attr.aria-label]=\"('Sort by ' + col.label + ' ' + isSortAscending(col)? 'ascending' : 'descending') | rpxTranslate\">\n <tr>\n <th>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </th>\n </tr>\n </table>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\"></th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:auto;width:initial;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"] }]
|
|
35251
35243
|
}], function () { return [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }]; }, { caseLinkUrlTemplate: [{
|
|
35252
35244
|
type: Input
|
|
35253
35245
|
}], jurisdiction: [{
|