@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.
@@ -12900,7 +12900,7 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
12900
12900
  }
12901
12901
  }
12902
12902
  ReadCollectionFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(t) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(t || ReadCollectionFieldComponent); }; }();
12903
- ReadCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "id", "collection", "aria-describedby", "collection table", 4, "ngIf"], ["id", "collection", "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) {
12903
+ 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) {
12904
12904
  if (rf & 1) {
12905
12905
  i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
12906
12906
  }
@@ -12911,7 +12911,7 @@ ReadCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
12911
12911
  (function () {
12912
12912
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
12913
12913
  type: Component,
12914
- args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\" id=\"collection\" 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"] }]
12914
+ 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"] }]
12915
12915
  }], null, null);
12916
12916
  })();
12917
12917
 
@@ -18020,8 +18020,8 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteComponent {
18020
18020
  }
18021
18021
  }
18022
18022
  }
18023
- getLinkedCaseReasons(serviceId) {
18024
- const reasonCodeAPIurl = `${this.appConfig.getRDCommonDataApiUrl()}/lov/categories/CaseLinkingReasonCode?serviceId=${serviceId}`;
18023
+ getLinkedCaseReasons(serviceCode) {
18024
+ const reasonCodeAPIurl = `${this.appConfig.getRDCommonDataApiUrl()}/lov/categories/CaseLinkingReasonCode?serviceId=${serviceCode}`;
18025
18025
  this.commonDataService.getRefData(reasonCodeAPIurl).subscribe({
18026
18026
  next: reasons => {
18027
18027
  // Sort in ascending order
@@ -18037,7 +18037,7 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteComponent {
18037
18037
  const servicesApiUrl = `refdata/location/orgServices?ccdCaseType=${(_b = (_a = this.caseDetails) === null || _a === void 0 ? void 0 : _a.case_type) === null || _b === void 0 ? void 0 : _b.id}`;
18038
18038
  this.commonDataService.getServiceOrgData(servicesApiUrl).subscribe(result => {
18039
18039
  result.forEach(ids => {
18040
- this.getLinkedCaseReasons(ids.service_id);
18040
+ this.getLinkedCaseReasons(ids.service_code);
18041
18041
  });
18042
18042
  });
18043
18043
  }
@@ -22209,7 +22209,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
22209
22209
  let _t;
22210
22210
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
22211
22211
  }
22212
- }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [["id", "table", 3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"], ["fieldContainer", ""]], template: function FieldReadComponent_Template(rf, ctx) {
22212
+ }, 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) {
22213
22213
  if (rf & 1) {
22214
22214
  i0.ɵɵelementStart(0, "div", 0)(1, "ccd-field-read-label", 1);
22215
22215
  i0.ɵɵelementContainer(2, null, 2);
@@ -22224,7 +22224,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
22224
22224
  (function () {
22225
22225
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
22226
22226
  type: Component,
22227
- args: [{ selector: 'ccd-field-read', template: "<div id=\"table\" [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" }]
22227
+ 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" }]
22228
22228
  }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }]; }, { withLabel: [{
22229
22229
  type: Input
22230
22230
  }], formGroup: [{
@@ -26565,7 +26565,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
26565
26565
  }
26566
26566
  }
26567
26567
  ReadComplexFieldTableComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; }();
26568
- 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"], ["id", "complex", "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) {
26568
+ 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) {
26569
26569
  if (rf & 1) {
26570
26570
  i0.ɵɵelementStart(0, "div", 0)(1, "dl", 1)(2, "dt")(3, "span", 2);
26571
26571
  i0.ɵɵtext(4);
@@ -26588,7 +26588,7 @@ ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
26588
26588
  (function () {
26589
26589
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
26590
26590
  type: Component,
26591
- 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 id=\"complex\" 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"] }]
26591
+ 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"] }]
26592
26592
  }], null, { caseFields: [{
26593
26593
  type: Input
26594
26594
  }] });
@@ -33504,7 +33504,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Tem
33504
33504
  const tab_r20 = i0.ɵɵnextContext().$implicit;
33505
33505
  const ctx_r22 = i0.ɵɵnextContext(2);
33506
33506
  i0.ɵɵclassMap(tab_r20.id);
33507
- i0.ɵɵattribute("aria-labelledby", i0.ɵɵpipeBind1(1, 4, tab_r20.id));
33507
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
33508
33508
  i0.ɵɵadvance(3);
33509
33509
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(4, 6, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(5, 12, tab_r20), ctx_r22.formGroup.controls["data"])));
33510
33510
  }
@@ -33988,7 +33988,7 @@ CaseFullAccessViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
33988
33988
  (function () {
33989
33989
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
33990
33990
  type: Component,
33991
- 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-labelledby]=\"tab.id | rpxTranslate\">\n <tbody>\n \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"] }]
33991
+ 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"] }]
33992
33992
  }], 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: [{
33993
33993
  type: Input
33994
33994
  }], hasEventSelector: [{
@@ -37341,10 +37341,10 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i4
37341
37341
 
37342
37342
  function SearchResultComponent_table_0_div_5_Template(rf, ctx) {
37343
37343
  if (rf & 1) {
37344
- i0.ɵɵelementStart(0, "div", 12)(1, "span", 13);
37344
+ i0.ɵɵelementStart(0, "div", 11)(1, "span", 12);
37345
37345
  i0.ɵɵtext(2, "!");
37346
37346
  i0.ɵɵelementEnd();
37347
- i0.ɵɵelementStart(3, "strong", 14)(4, "span", 15);
37347
+ i0.ɵɵelementStart(3, "strong", 13)(4, "span", 14);
37348
37348
  i0.ɵɵtext(5);
37349
37349
  i0.ɵɵpipe(6, "rpxTranslate");
37350
37350
  i0.ɵɵelementEnd();
@@ -37355,31 +37355,31 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) {
37355
37355
  i0.ɵɵelementEnd()();
37356
37356
  }
37357
37357
  if (rf & 2) {
37358
- const ctx_r4 = i0.ɵɵnextContext(2);
37358
+ const ctx_r3 = i0.ɵɵnextContext(2);
37359
37359
  i0.ɵɵadvance(5);
37360
37360
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Warning"));
37361
37361
  i0.ɵɵadvance(2);
37362
- i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r4.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
37362
+ 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."), " ");
37363
37363
  }
37364
37364
  }
37365
37365
  function SearchResultComponent_table_0_div_6_Template(rf, ctx) {
37366
37366
  if (rf & 1) {
37367
- i0.ɵɵelementStart(0, "div", 16);
37367
+ i0.ɵɵelementStart(0, "div", 15);
37368
37368
  i0.ɵɵpipe(1, "rpxTranslate");
37369
- i0.ɵɵelementStart(2, "span", 17);
37369
+ i0.ɵɵelementStart(2, "span", 16);
37370
37370
  i0.ɵɵtext(3);
37371
37371
  i0.ɵɵpipe(4, "rpxTranslate");
37372
- i0.ɵɵelementStart(5, "span", 18);
37372
+ i0.ɵɵelementStart(5, "span", 17);
37373
37373
  i0.ɵɵtext(6);
37374
37374
  i0.ɵɵelementEnd();
37375
37375
  i0.ɵɵtext(7);
37376
37376
  i0.ɵɵpipe(8, "rpxTranslate");
37377
- i0.ɵɵelementStart(9, "span", 18);
37377
+ i0.ɵɵelementStart(9, "span", 17);
37378
37378
  i0.ɵɵtext(10);
37379
37379
  i0.ɵɵelementEnd();
37380
37380
  i0.ɵɵtext(11);
37381
37381
  i0.ɵɵpipe(12, "rpxTranslate");
37382
- i0.ɵɵelementStart(13, "span", 18);
37382
+ i0.ɵɵelementStart(13, "span", 17);
37383
37383
  i0.ɵɵtext(14);
37384
37384
  i0.ɵɵelementEnd();
37385
37385
  i0.ɵɵtext(15);
@@ -37387,31 +37387,31 @@ function SearchResultComponent_table_0_div_6_Template(rf, ctx) {
37387
37387
  i0.ɵɵelementEnd()();
37388
37388
  }
37389
37389
  if (rf & 2) {
37390
- const ctx_r5 = i0.ɵɵnextContext(2);
37391
- i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8, ctx_r5.getTotalResults() + " results have been found"));
37390
+ const ctx_r4 = i0.ɵɵnextContext(2);
37391
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8, ctx_r4.getTotalResults() + " results have been found"));
37392
37392
  i0.ɵɵadvance(3);
37393
37393
  i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 10, "Showing"), " ");
37394
37394
  i0.ɵɵadvance(3);
37395
- i0.ɵɵtextInterpolate(ctx_r5.getFirstResult());
37395
+ i0.ɵɵtextInterpolate(ctx_r4.getFirstResult());
37396
37396
  i0.ɵɵadvance(1);
37397
37397
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, "to"), " ");
37398
37398
  i0.ɵɵadvance(3);
37399
- i0.ɵɵtextInterpolate(ctx_r5.getLastResult());
37399
+ i0.ɵɵtextInterpolate(ctx_r4.getLastResult());
37400
37400
  i0.ɵɵadvance(1);
37401
37401
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 14, "of"), " ");
37402
37402
  i0.ɵɵadvance(3);
37403
- i0.ɵɵtextInterpolate(ctx_r5.getTotalResults());
37403
+ i0.ɵɵtextInterpolate(ctx_r4.getTotalResults());
37404
37404
  i0.ɵɵadvance(1);
37405
37405
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 16, "results"), "");
37406
37406
  }
37407
37407
  }
37408
37408
  function SearchResultComponent_table_0_div_7_Template(rf, ctx) {
37409
37409
  if (rf & 1) {
37410
- const _r13 = i0.ɵɵgetCurrentView();
37411
- i0.ɵɵelementStart(0, "div", 19);
37410
+ const _r12 = i0.ɵɵgetCurrentView();
37411
+ i0.ɵɵelementStart(0, "div", 18);
37412
37412
  i0.ɵɵpipe(1, "rpxTranslate");
37413
- i0.ɵɵelementStart(2, "span")(3, "a", 20);
37414
- i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.clearSelection()); });
37413
+ i0.ɵɵelementStart(2, "span")(3, "a", 19);
37414
+ 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()); });
37415
37415
  i0.ɵɵtext(4);
37416
37416
  i0.ɵɵpipe(5, "rpxTranslate");
37417
37417
  i0.ɵɵelementEnd()()();
@@ -37424,93 +37424,91 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) {
37424
37424
  }
37425
37425
  function SearchResultComponent_table_0_th_10_Template(rf, ctx) {
37426
37426
  if (rf & 1) {
37427
- const _r15 = i0.ɵɵgetCurrentView();
37428
- i0.ɵɵelementStart(0, "th", 21)(1, "div", 22)(2, "input", 23);
37429
- i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.selectAll()); });
37427
+ const _r14 = i0.ɵɵgetCurrentView();
37428
+ i0.ɵɵelementStart(0, "th", 20)(1, "div", 21)(2, "input", 22);
37429
+ 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()); });
37430
37430
  i0.ɵɵelementEnd();
37431
- i0.ɵɵelement(3, "label", 24);
37431
+ i0.ɵɵelement(3, "label", 23);
37432
37432
  i0.ɵɵelementEnd()();
37433
37433
  }
37434
37434
  if (rf & 2) {
37435
- const ctx_r7 = i0.ɵɵnextContext(2);
37435
+ const ctx_r6 = i0.ɵɵnextContext(2);
37436
37436
  i0.ɵɵadvance(2);
37437
- i0.ɵɵproperty("checked", ctx_r7.allOnPageSelected())("disabled", !ctx_r7.canAnyBeShared());
37437
+ i0.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
37438
37438
  }
37439
37439
  }
37440
37440
  function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) {
37441
37441
  if (rf & 1) {
37442
- const _r20 = i0.ɵɵgetCurrentView();
37443
- i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
37444
- i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r20); const col_r16 = i0.ɵɵnextContext().$implicit; const ctx_r18 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r18.sort(col_r16)); });
37442
+ const _r19 = i0.ɵɵgetCurrentView();
37443
+ i0.ɵɵelementStart(0, "div", 27)(1, "a", 28);
37444
+ 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)); });
37445
37445
  i0.ɵɵelementEnd()();
37446
37446
  }
37447
37447
  if (rf & 2) {
37448
- const col_r16 = i0.ɵɵnextContext().$implicit;
37449
- const ctx_r17 = i0.ɵɵnextContext(2);
37448
+ const col_r15 = i0.ɵɵnextContext().$implicit;
37449
+ const ctx_r16 = i0.ɵɵnextContext(2);
37450
37450
  i0.ɵɵadvance(1);
37451
- i0.ɵɵproperty("innerHTML", ctx_r17.sortWidget(col_r16), i0.ɵɵsanitizeHtml);
37451
+ i0.ɵɵproperty("innerHTML", ctx_r16.sortWidget(col_r15), i0.ɵɵsanitizeHtml);
37452
37452
  }
37453
37453
  }
37454
37454
  function SearchResultComponent_table_0_th_11_Template(rf, ctx) {
37455
37455
  if (rf & 1) {
37456
- const _r23 = i0.ɵɵgetCurrentView();
37457
- i0.ɵɵelementStart(0, "th")(1, "table", 25);
37456
+ const _r22 = i0.ɵɵgetCurrentView();
37457
+ i0.ɵɵelementStart(0, "th")(1, "table", 24);
37458
37458
  i0.ɵɵpipe(2, "rpxTranslate");
37459
- i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div", 26);
37460
- i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { const restoredCtx = i0.ɵɵrestoreView(_r23); const col_r16 = restoredCtx.$implicit; const ctx_r22 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r22.sort(col_r16)); });
37459
+ i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div", 25);
37460
+ 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)); });
37461
37461
  i0.ɵɵtext(6);
37462
37462
  i0.ɵɵpipe(7, "rpxTranslate");
37463
37463
  i0.ɵɵelementEnd();
37464
- i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 27);
37464
+ i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 26);
37465
37465
  i0.ɵɵelementEnd()()()();
37466
37466
  }
37467
37467
  if (rf & 2) {
37468
- const col_r16 = ctx.$implicit;
37469
- const ctx_r8 = i0.ɵɵnextContext(2);
37468
+ const col_r15 = ctx.$implicit;
37469
+ const ctx_r7 = i0.ɵɵnextContext(2);
37470
37470
  i0.ɵɵadvance(1);
37471
- i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r16.label + " " + ctx_r8.isSortAscending(col_r16) ? "ascending" : "descending"));
37471
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending"));
37472
37472
  i0.ɵɵadvance(5);
37473
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r16.label), " ");
37473
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r15.label), " ");
37474
37474
  i0.ɵɵadvance(2);
37475
- i0.ɵɵproperty("ngIf", ctx_r8.comparator(col_r16));
37475
+ i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
37476
37476
  }
37477
37477
  }
37478
37478
  function SearchResultComponent_table_0_th_12_Template(rf, ctx) {
37479
37479
  if (rf & 1) {
37480
- i0.ɵɵelementStart(0, "th", 30);
37481
- i0.ɵɵtext(1, "\u200B");
37482
- i0.ɵɵelementEnd();
37480
+ i0.ɵɵelement(0, "th", 29);
37483
37481
  }
37484
37482
  }
37485
37483
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) {
37486
37484
  if (rf & 1) {
37487
- const _r31 = i0.ɵɵgetCurrentView();
37488
- i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 32);
37489
- i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r31); const result_r25 = i0.ɵɵnextContext().$implicit; const ctx_r29 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r29.changeSelection(result_r25)); });
37485
+ const _r30 = i0.ɵɵgetCurrentView();
37486
+ i0.ɵɵelementStart(0, "td", 20)(1, "div", 21)(2, "input", 31);
37487
+ 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)); });
37490
37488
  i0.ɵɵelementEnd();
37491
- i0.ɵɵelement(3, "label", 33);
37489
+ i0.ɵɵelement(3, "label", 32);
37492
37490
  i0.ɵɵelementEnd()();
37493
37491
  }
37494
37492
  if (rf & 2) {
37495
- const result_r25 = i0.ɵɵnextContext().$implicit;
37496
- const ctx_r26 = i0.ɵɵnextContext(3);
37493
+ const result_r24 = i0.ɵɵnextContext().$implicit;
37494
+ const ctx_r25 = i0.ɵɵnextContext(3);
37497
37495
  i0.ɵɵadvance(2);
37498
- i0.ɵɵpropertyInterpolate1("id", "select-", result_r25.case_id, "")("name", "select-", result_r25.case_id, "");
37499
- i0.ɵɵproperty("checked", ctx_r26.isSelected(result_r25))("disabled", !ctx_r26.canBeShared(result_r25));
37496
+ i0.ɵɵpropertyInterpolate1("id", "select-", result_r24.case_id, "")("name", "select-", result_r24.case_id, "");
37497
+ i0.ɵɵproperty("checked", ctx_r25.isSelected(result_r24))("disabled", !ctx_r25.canBeShared(result_r24));
37500
37498
  i0.ɵɵadvance(1);
37501
- i0.ɵɵpropertyInterpolate1("for", "select-", result_r25.case_id, "");
37499
+ i0.ɵɵpropertyInterpolate1("for", "select-", result_r24.case_id, "");
37502
37500
  }
37503
37501
  }
37504
37502
  const _c0 = function () { return ["value"]; };
37505
37503
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) {
37506
37504
  if (rf & 1) {
37507
- i0.ɵɵelement(0, "ccd-field-read", 42);
37505
+ i0.ɵɵelement(0, "ccd-field-read", 41);
37508
37506
  }
37509
37507
  if (rf & 2) {
37510
- const col_r33 = i0.ɵɵnextContext(3).$implicit;
37511
- const result_r25 = i0.ɵɵnextContext().$implicit;
37512
- const ctx_r38 = i0.ɵɵnextContext(3);
37513
- i0.ɵɵproperty("caseField", ctx_r38.getColumnsWithPrefix(result_r25.columns[col_r33.case_field_id], result_r25))("contextFields", result_r25.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c0));
37508
+ const col_r32 = i0.ɵɵnextContext(3).$implicit;
37509
+ const result_r24 = i0.ɵɵnextContext().$implicit;
37510
+ const ctx_r37 = i0.ɵɵnextContext(3);
37511
+ 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));
37514
37512
  }
37515
37513
  }
37516
37514
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) {
@@ -37519,147 +37517,147 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
37519
37517
  i0.ɵɵpipe(1, "ccdCaseReference");
37520
37518
  }
37521
37519
  if (rf & 2) {
37522
- const result_r25 = i0.ɵɵnextContext(4).$implicit;
37523
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r25.case_id));
37520
+ const result_r24 = i0.ɵɵnextContext(4).$implicit;
37521
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r24.case_id));
37524
37522
  }
37525
37523
  }
37526
37524
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) {
37527
37525
  if (rf & 1) {
37528
- i0.ɵɵelementContainerStart(0, 39);
37529
- 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", 40);
37530
- 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, 41, i0.ɵɵtemplateRefExtractor);
37526
+ i0.ɵɵelementContainerStart(0, 38);
37527
+ 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);
37528
+ 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);
37531
37529
  i0.ɵɵelementContainerEnd();
37532
37530
  }
37533
37531
  if (rf & 2) {
37534
- const _r39 = i0.ɵɵreference(3);
37535
- const col_r33 = i0.ɵɵnextContext(2).$implicit;
37536
- const result_r25 = i0.ɵɵnextContext().$implicit;
37537
- const ctx_r37 = i0.ɵɵnextContext(3);
37532
+ const _r38 = i0.ɵɵreference(3);
37533
+ const col_r32 = i0.ɵɵnextContext(2).$implicit;
37534
+ const result_r24 = i0.ɵɵnextContext().$implicit;
37535
+ const ctx_r36 = i0.ɵɵnextContext(3);
37538
37536
  i0.ɵɵadvance(1);
37539
- i0.ɵɵproperty("ngIf", ctx_r37.draftPrefixOrGet(col_r33, result_r25))("ngIfElse", _r39);
37537
+ i0.ɵɵproperty("ngIf", ctx_r36.draftPrefixOrGet(col_r32, result_r24))("ngIfElse", _r38);
37540
37538
  }
37541
37539
  }
37542
37540
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) {
37543
37541
  if (rf & 1) {
37544
- i0.ɵɵelementStart(0, "a", 37);
37542
+ i0.ɵɵelementStart(0, "a", 36);
37545
37543
  i0.ɵɵpipe(1, "ccdCaseReference");
37546
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
37544
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
37547
37545
  i0.ɵɵelementEnd();
37548
37546
  }
37549
37547
  if (rf & 2) {
37550
- const result_r25 = i0.ɵɵnextContext(2).$implicit;
37551
- const ctx_r35 = i0.ɵɵnextContext(3);
37552
- i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r25.case_id), "");
37553
- i0.ɵɵproperty("routerLink", ctx_r35.prepareCaseLinkUrl(result_r25.case_id));
37548
+ const result_r24 = i0.ɵɵnextContext(2).$implicit;
37549
+ const ctx_r34 = i0.ɵɵnextContext(3);
37550
+ i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r24.case_id), "");
37551
+ i0.ɵɵproperty("routerLink", ctx_r34.prepareCaseLinkUrl(result_r24.case_id));
37554
37552
  i0.ɵɵadvance(2);
37555
- i0.ɵɵproperty("ngIf", !ctx_r35.hideRows);
37553
+ i0.ɵɵproperty("ngIf", !ctx_r34.hideRows);
37556
37554
  }
37557
37555
  }
37558
37556
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) {
37559
37557
  if (rf & 1) {
37560
- i0.ɵɵelementStart(0, "div", 39);
37561
- i0.ɵɵelement(1, "ccd-field-read", 42);
37558
+ i0.ɵɵelementStart(0, "div", 38);
37559
+ i0.ɵɵelement(1, "ccd-field-read", 41);
37562
37560
  i0.ɵɵelementEnd();
37563
37561
  }
37564
37562
  if (rf & 2) {
37565
- const col_r33 = i0.ɵɵnextContext().$implicit;
37566
- const result_r25 = i0.ɵɵnextContext().$implicit;
37567
- const ctx_r36 = i0.ɵɵnextContext(3);
37568
- i0.ɵɵstyleProp("visibility", ctx_r36.hideRows ? "hidden" : "visible");
37563
+ const col_r32 = i0.ɵɵnextContext().$implicit;
37564
+ const result_r24 = i0.ɵɵnextContext().$implicit;
37565
+ const ctx_r35 = i0.ɵɵnextContext(3);
37566
+ i0.ɵɵstyleProp("visibility", ctx_r35.hideRows ? "hidden" : "visible");
37569
37567
  i0.ɵɵadvance(1);
37570
- i0.ɵɵproperty("caseField", result_r25.columns[col_r33.case_field_id])("contextFields", result_r25.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
37568
+ i0.ɵɵproperty("caseField", result_r24.columns[col_r32.case_field_id])("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
37571
37569
  }
37572
37570
  }
37573
37571
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) {
37574
37572
  if (rf & 1) {
37575
- i0.ɵɵelementStart(0, "td", 34);
37576
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
37577
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
37573
+ i0.ɵɵelementStart(0, "td", 33);
37574
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
37575
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
37578
37576
  i0.ɵɵelementEnd();
37579
37577
  }
37580
37578
  if (rf & 2) {
37581
- const colIndex_r34 = ctx.index;
37579
+ const colIndex_r33 = ctx.index;
37582
37580
  i0.ɵɵadvance(1);
37583
- i0.ɵɵproperty("ngIf", colIndex_r34 == 0);
37581
+ i0.ɵɵproperty("ngIf", colIndex_r33 == 0);
37584
37582
  i0.ɵɵadvance(1);
37585
- i0.ɵɵproperty("ngIf", colIndex_r34 != 0);
37583
+ i0.ɵɵproperty("ngIf", colIndex_r33 != 0);
37586
37584
  }
37587
37585
  }
37588
37586
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) {
37589
37587
  if (rf & 1) {
37590
37588
  i0.ɵɵelementStart(0, "td")(1, "div");
37591
- i0.ɵɵelement(2, "ccd-activity", 43);
37589
+ i0.ɵɵelement(2, "ccd-activity", 42);
37592
37590
  i0.ɵɵelementEnd()();
37593
37591
  }
37594
37592
  if (rf & 2) {
37595
- const result_r25 = i0.ɵɵnextContext().$implicit;
37596
- const ctx_r28 = i0.ɵɵnextContext(3);
37593
+ const result_r24 = i0.ɵɵnextContext().$implicit;
37594
+ const ctx_r27 = i0.ɵɵnextContext(3);
37597
37595
  i0.ɵɵadvance(1);
37598
- i0.ɵɵstyleProp("visibility", ctx_r28.hideRows ? "hidden" : "visible");
37596
+ i0.ɵɵstyleProp("visibility", ctx_r27.hideRows ? "hidden" : "visible");
37599
37597
  i0.ɵɵadvance(1);
37600
- i0.ɵɵproperty("caseId", result_r25.case_id)("displayMode", ctx_r28.ICON);
37598
+ i0.ɵɵproperty("caseId", result_r24.case_id)("displayMode", ctx_r27.ICON);
37601
37599
  }
37602
37600
  }
37603
37601
  function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
37604
37602
  if (rf & 1) {
37605
37603
  i0.ɵɵelementStart(0, "tr");
37606
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 9);
37607
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 31);
37604
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
37605
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
37608
37606
  i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
37609
37607
  i0.ɵɵelementEnd();
37610
37608
  }
37611
37609
  if (rf & 2) {
37612
- const ctx_r24 = i0.ɵɵnextContext(3);
37610
+ const ctx_r23 = i0.ɵɵnextContext(3);
37613
37611
  i0.ɵɵadvance(1);
37614
- i0.ɵɵproperty("ngIf", ctx_r24.selectionEnabled);
37612
+ i0.ɵɵproperty("ngIf", ctx_r23.selectionEnabled);
37615
37613
  i0.ɵɵadvance(1);
37616
- i0.ɵɵproperty("ngForOf", ctx_r24.resultView.columns);
37614
+ i0.ɵɵproperty("ngForOf", ctx_r23.resultView.columns);
37617
37615
  i0.ɵɵadvance(1);
37618
- i0.ɵɵproperty("ngIf", ctx_r24.activityEnabled());
37616
+ i0.ɵɵproperty("ngIf", ctx_r23.activityEnabled());
37619
37617
  }
37620
37618
  }
37621
37619
  const _c1 = function (a0, a1, a2) { return { itemsPerPage: a0, currentPage: a1, totalItems: a2 }; };
37622
37620
  function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) {
37623
37621
  if (rf & 1) {
37624
37622
  i0.ɵɵelementContainerStart(0);
37625
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 10);
37623
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 9);
37626
37624
  i0.ɵɵpipe(2, "paginate");
37627
37625
  i0.ɵɵelementContainerEnd();
37628
37626
  }
37629
37627
  if (rf & 2) {
37630
- const ctx_r10 = i0.ɵɵnextContext(2);
37628
+ const ctx_r9 = i0.ɵɵnextContext(2);
37631
37629
  i0.ɵɵadvance(1);
37632
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, ctx_r10.resultView.results, i0.ɵɵpureFunction3(4, _c1, ctx_r10.paginationPageSize, ctx_r10.selected.page, ctx_r10.resultTotal)));
37630
+ 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)));
37633
37631
  }
37634
37632
  }
37635
37633
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) {
37636
37634
  if (rf & 1) {
37637
- const _r57 = i0.ɵɵgetCurrentView();
37638
- i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 44);
37639
- i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r57); const result_r51 = i0.ɵɵnextContext().$implicit; const ctx_r55 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r55.changeSelection(result_r51)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r57); const result_r51 = i0.ɵɵnextContext().$implicit; const ctx_r58 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r58.onKeyUp($event, result_r51)); });
37635
+ const _r56 = i0.ɵɵgetCurrentView();
37636
+ i0.ɵɵelementStart(0, "td", 20)(1, "div", 21)(2, "input", 43);
37637
+ 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)); });
37640
37638
  i0.ɵɵelementEnd();
37641
- i0.ɵɵelement(3, "label", 33);
37639
+ i0.ɵɵelement(3, "label", 32);
37642
37640
  i0.ɵɵelementEnd()();
37643
37641
  }
37644
37642
  if (rf & 2) {
37645
- const result_r51 = i0.ɵɵnextContext().$implicit;
37646
- const ctx_r52 = i0.ɵɵnextContext(3);
37643
+ const result_r50 = i0.ɵɵnextContext().$implicit;
37644
+ const ctx_r51 = i0.ɵɵnextContext(3);
37647
37645
  i0.ɵɵadvance(2);
37648
- i0.ɵɵpropertyInterpolate1("id", "select-", result_r51.case_id, "")("name", "select-", result_r51.case_id, "");
37649
- i0.ɵɵproperty("checked", ctx_r52.isSelected(result_r51))("disabled", !ctx_r52.canBeShared(result_r51));
37646
+ i0.ɵɵpropertyInterpolate1("id", "select-", result_r50.case_id, "")("name", "select-", result_r50.case_id, "");
37647
+ i0.ɵɵproperty("checked", ctx_r51.isSelected(result_r50))("disabled", !ctx_r51.canBeShared(result_r50));
37650
37648
  i0.ɵɵadvance(1);
37651
- i0.ɵɵpropertyInterpolate1("for", "select-", result_r51.case_id, "");
37649
+ i0.ɵɵpropertyInterpolate1("for", "select-", result_r50.case_id, "");
37652
37650
  }
37653
37651
  }
37654
37652
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) {
37655
37653
  if (rf & 1) {
37656
- i0.ɵɵelement(0, "ccd-field-read", 42);
37654
+ i0.ɵɵelement(0, "ccd-field-read", 41);
37657
37655
  }
37658
37656
  if (rf & 2) {
37659
- const col_r61 = i0.ɵɵnextContext(3).$implicit;
37660
- const result_r51 = i0.ɵɵnextContext().$implicit;
37661
- const ctx_r66 = i0.ɵɵnextContext(3);
37662
- i0.ɵɵproperty("caseField", ctx_r66.getColumnsWithPrefix(result_r51.columns[col_r61.case_field_id], result_r51))("contextFields", result_r51.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c0));
37657
+ const col_r60 = i0.ɵɵnextContext(3).$implicit;
37658
+ const result_r50 = i0.ɵɵnextContext().$implicit;
37659
+ const ctx_r65 = i0.ɵɵnextContext(3);
37660
+ 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));
37663
37661
  }
37664
37662
  }
37665
37663
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) {
@@ -37668,133 +37666,133 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
37668
37666
  i0.ɵɵpipe(1, "ccdCaseReference");
37669
37667
  }
37670
37668
  if (rf & 2) {
37671
- const result_r51 = i0.ɵɵnextContext(4).$implicit;
37672
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r51.case_id));
37669
+ const result_r50 = i0.ɵɵnextContext(4).$implicit;
37670
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r50.case_id));
37673
37671
  }
37674
37672
  }
37675
37673
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) {
37676
37674
  if (rf & 1) {
37677
- i0.ɵɵelementContainerStart(0, 39);
37678
- 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", 40);
37679
- 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, 41, i0.ɵɵtemplateRefExtractor);
37675
+ i0.ɵɵelementContainerStart(0, 38);
37676
+ 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);
37677
+ 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);
37680
37678
  i0.ɵɵelementContainerEnd();
37681
37679
  }
37682
37680
  if (rf & 2) {
37683
- const _r67 = i0.ɵɵreference(3);
37684
- const col_r61 = i0.ɵɵnextContext(2).$implicit;
37685
- const result_r51 = i0.ɵɵnextContext().$implicit;
37686
- const ctx_r65 = i0.ɵɵnextContext(3);
37681
+ const _r66 = i0.ɵɵreference(3);
37682
+ const col_r60 = i0.ɵɵnextContext(2).$implicit;
37683
+ const result_r50 = i0.ɵɵnextContext().$implicit;
37684
+ const ctx_r64 = i0.ɵɵnextContext(3);
37687
37685
  i0.ɵɵadvance(1);
37688
- i0.ɵɵproperty("ngIf", ctx_r65.draftPrefixOrGet(col_r61, result_r51))("ngIfElse", _r67);
37686
+ i0.ɵɵproperty("ngIf", ctx_r64.draftPrefixOrGet(col_r60, result_r50))("ngIfElse", _r66);
37689
37687
  }
37690
37688
  }
37691
37689
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) {
37692
37690
  if (rf & 1) {
37693
- i0.ɵɵelementStart(0, "a", 37);
37691
+ i0.ɵɵelementStart(0, "a", 36);
37694
37692
  i0.ɵɵpipe(1, "ccdCaseReference");
37695
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
37693
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
37696
37694
  i0.ɵɵelementEnd();
37697
37695
  }
37698
37696
  if (rf & 2) {
37699
- const result_r51 = i0.ɵɵnextContext(2).$implicit;
37700
- const ctx_r63 = i0.ɵɵnextContext(3);
37701
- i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r51.case_id), "");
37702
- i0.ɵɵproperty("routerLink", ctx_r63.prepareCaseLinkUrl(result_r51.case_id));
37697
+ const result_r50 = i0.ɵɵnextContext(2).$implicit;
37698
+ const ctx_r62 = i0.ɵɵnextContext(3);
37699
+ i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r50.case_id), "");
37700
+ i0.ɵɵproperty("routerLink", ctx_r62.prepareCaseLinkUrl(result_r50.case_id));
37703
37701
  i0.ɵɵadvance(2);
37704
- i0.ɵɵproperty("ngIf", !ctx_r63.hideRows);
37702
+ i0.ɵɵproperty("ngIf", !ctx_r62.hideRows);
37705
37703
  }
37706
37704
  }
37707
37705
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) {
37708
37706
  if (rf & 1) {
37709
- i0.ɵɵelementStart(0, "div", 39);
37710
- i0.ɵɵelement(1, "ccd-field-read", 42);
37707
+ i0.ɵɵelementStart(0, "div", 38);
37708
+ i0.ɵɵelement(1, "ccd-field-read", 41);
37711
37709
  i0.ɵɵelementEnd();
37712
37710
  }
37713
37711
  if (rf & 2) {
37714
- const col_r61 = i0.ɵɵnextContext().$implicit;
37715
- const result_r51 = i0.ɵɵnextContext().$implicit;
37716
- const ctx_r64 = i0.ɵɵnextContext(3);
37717
- i0.ɵɵstyleProp("visibility", ctx_r64.hideRows ? "hidden" : "visible");
37712
+ const col_r60 = i0.ɵɵnextContext().$implicit;
37713
+ const result_r50 = i0.ɵɵnextContext().$implicit;
37714
+ const ctx_r63 = i0.ɵɵnextContext(3);
37715
+ i0.ɵɵstyleProp("visibility", ctx_r63.hideRows ? "hidden" : "visible");
37718
37716
  i0.ɵɵadvance(1);
37719
- i0.ɵɵproperty("caseField", result_r51.columns[col_r61.case_field_id])("contextFields", result_r51.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
37717
+ i0.ɵɵproperty("caseField", result_r50.columns[col_r60.case_field_id])("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
37720
37718
  }
37721
37719
  }
37722
37720
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) {
37723
37721
  if (rf & 1) {
37724
- i0.ɵɵelementStart(0, "td", 34);
37725
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
37726
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
37722
+ i0.ɵɵelementStart(0, "td", 33);
37723
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
37724
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
37727
37725
  i0.ɵɵelementEnd();
37728
37726
  }
37729
37727
  if (rf & 2) {
37730
- const colIndex_r62 = ctx.index;
37728
+ const colIndex_r61 = ctx.index;
37731
37729
  i0.ɵɵadvance(1);
37732
- i0.ɵɵproperty("ngIf", colIndex_r62 == 0);
37730
+ i0.ɵɵproperty("ngIf", colIndex_r61 == 0);
37733
37731
  i0.ɵɵadvance(1);
37734
- i0.ɵɵproperty("ngIf", colIndex_r62 != 0);
37732
+ i0.ɵɵproperty("ngIf", colIndex_r61 != 0);
37735
37733
  }
37736
37734
  }
37737
37735
  function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) {
37738
37736
  if (rf & 1) {
37739
37737
  i0.ɵɵelementStart(0, "td")(1, "div");
37740
- i0.ɵɵelement(2, "ccd-activity", 43);
37738
+ i0.ɵɵelement(2, "ccd-activity", 42);
37741
37739
  i0.ɵɵelementEnd()();
37742
37740
  }
37743
37741
  if (rf & 2) {
37744
- const result_r51 = i0.ɵɵnextContext().$implicit;
37745
- const ctx_r54 = i0.ɵɵnextContext(3);
37742
+ const result_r50 = i0.ɵɵnextContext().$implicit;
37743
+ const ctx_r53 = i0.ɵɵnextContext(3);
37746
37744
  i0.ɵɵadvance(1);
37747
- i0.ɵɵstyleProp("visibility", ctx_r54.hideRows ? "hidden" : "visible");
37745
+ i0.ɵɵstyleProp("visibility", ctx_r53.hideRows ? "hidden" : "visible");
37748
37746
  i0.ɵɵadvance(1);
37749
- i0.ɵɵproperty("caseId", result_r51.case_id)("displayMode", ctx_r54.ICON);
37747
+ i0.ɵɵproperty("caseId", result_r50.case_id)("displayMode", ctx_r53.ICON);
37750
37748
  }
37751
37749
  }
37752
37750
  function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
37753
37751
  if (rf & 1) {
37754
37752
  i0.ɵɵelementStart(0, "tr");
37755
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td", 9);
37756
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 31);
37753
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td", 8);
37754
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 30);
37757
37755
  i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 0);
37758
37756
  i0.ɵɵelementEnd();
37759
37757
  }
37760
37758
  if (rf & 2) {
37761
- const ctx_r50 = i0.ɵɵnextContext(3);
37759
+ const ctx_r49 = i0.ɵɵnextContext(3);
37762
37760
  i0.ɵɵadvance(1);
37763
- i0.ɵɵproperty("ngIf", ctx_r50.selectionEnabled);
37761
+ i0.ɵɵproperty("ngIf", ctx_r49.selectionEnabled);
37764
37762
  i0.ɵɵadvance(1);
37765
- i0.ɵɵproperty("ngForOf", ctx_r50.resultView.columns);
37763
+ i0.ɵɵproperty("ngForOf", ctx_r49.resultView.columns);
37766
37764
  i0.ɵɵadvance(1);
37767
- i0.ɵɵproperty("ngIf", ctx_r50.activityEnabled());
37765
+ i0.ɵɵproperty("ngIf", ctx_r49.activityEnabled());
37768
37766
  }
37769
37767
  }
37770
37768
  function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) {
37771
37769
  if (rf & 1) {
37772
37770
  i0.ɵɵelementContainerStart(0);
37773
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 10);
37771
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 9);
37774
37772
  i0.ɵɵpipe(2, "paginate");
37775
37773
  i0.ɵɵpipe(3, "ccdSortSearchResult");
37776
37774
  i0.ɵɵelementContainerEnd();
37777
37775
  }
37778
37776
  if (rf & 2) {
37779
- const ctx_r11 = i0.ɵɵnextContext(2);
37777
+ const ctx_r10 = i0.ɵɵnextContext(2);
37780
37778
  i0.ɵɵadvance(1);
37781
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, i0.ɵɵpipeBind2(3, 4, ctx_r11.resultView.results, ctx_r11.sortParameters), i0.ɵɵpureFunction3(7, _c1, ctx_r11.paginationPageSize, ctx_r11.selected.page, ctx_r11.resultTotal)));
37779
+ 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)));
37782
37780
  }
37783
37781
  }
37784
37782
  function SearchResultComponent_table_0_Template(rf, ctx) {
37785
37783
  if (rf & 1) {
37786
- i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 4);
37784
+ i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 3);
37787
37785
  i0.ɵɵtext(3);
37788
37786
  i0.ɵɵpipe(4, "rpxTranslate");
37789
37787
  i0.ɵɵelementEnd();
37790
- i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5);
37791
- i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div", 6);
37792
- i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 7);
37788
+ i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 4);
37789
+ i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div", 5);
37790
+ i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 6);
37793
37791
  i0.ɵɵelementEnd();
37794
- i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
37795
- i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9);
37796
- i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 10);
37797
- i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 11);
37792
+ i0.ɵɵelementStart(8, "thead")(9, "tr", 7);
37793
+ i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 8);
37794
+ i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 9);
37795
+ i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 10);
37798
37796
  i0.ɵɵelementEnd()();
37799
37797
  i0.ɵɵelementStart(13, "tbody");
37800
37798
  i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 0);
@@ -37825,9 +37823,9 @@ function SearchResultComponent_table_0_Template(rf, ctx) {
37825
37823
  }
37826
37824
  function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) {
37827
37825
  if (rf & 1) {
37828
- const _r79 = i0.ɵɵgetCurrentView();
37829
- i0.ɵɵelementStart(0, "ccd-pagination", 45);
37830
- i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r79); const ctx_r78 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r78.goToPage($event)); });
37826
+ const _r78 = i0.ɵɵgetCurrentView();
37827
+ i0.ɵɵelementStart(0, "ccd-pagination", 44);
37828
+ 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)); });
37831
37829
  i0.ɵɵelementEnd();
37832
37830
  }
37833
37831
  if (rf & 2) {
@@ -37837,21 +37835,16 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) {
37837
37835
  }
37838
37836
  function SearchResultComponent_div_2_Template(rf, ctx) {
37839
37837
  if (rf & 1) {
37840
- i0.ɵɵelementStart(0, "div", 46);
37841
- i0.ɵɵtext(1);
37842
- i0.ɵɵpipe(2, "rpxTranslate");
37838
+ i0.ɵɵelementStart(0, "div", 45);
37839
+ i0.ɵɵpipe(1, "rpxTranslate");
37840
+ i0.ɵɵtext(2);
37841
+ i0.ɵɵpipe(3, "rpxTranslate");
37843
37842
  i0.ɵɵelementEnd();
37844
37843
  }
37845
37844
  if (rf & 2) {
37846
- i0.ɵɵadvance(1);
37847
- i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(2, 1, "No cases found. Try using different filters."), "\n");
37848
- }
37849
- }
37850
- function SearchResultComponent_span_3_Template(rf, ctx) {
37851
- if (rf & 1) {
37852
- i0.ɵɵelementStart(0, "span", 47);
37853
- i0.ɵɵtext(1, "\u200B");
37854
- i0.ɵɵelementEnd();
37845
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "No cases found. Try using different filters."));
37846
+ i0.ɵɵadvance(2);
37847
+ i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(3, 4, "No cases found. Try using different filters."), "\n");
37855
37848
  }
37856
37849
  }
37857
37850
  class SearchResultComponent {
@@ -38188,12 +38181,11 @@ SearchResultComponent.PARAM_JURISDICTION = 'jurisdiction';
38188
38181
  SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
38189
38182
  SearchResultComponent.PARAM_CASE_STATE = 'case-state';
38190
38183
  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)); };
38191
- 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: 4, vars: 4, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["id", "no_case_found", "class", "notification", 4, "ngIf"], ["aria-describedby", "no_case_found", 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"], ["id", "no_case_found", 1, "notification"], ["aria-describedby", "no_case_found"]], template: function SearchResultComponent_Template(rf, ctx) {
38184
+ 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) {
38192
38185
  if (rf & 1) {
38193
38186
  i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 0);
38194
38187
  i0.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
38195
- i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 3, 3, "div", 2);
38196
- i0.ɵɵtemplate(3, SearchResultComponent_span_3_Template, 2, 0, "span", 3);
38188
+ i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 4, 6, "div", 2);
38197
38189
  }
38198
38190
  if (rf & 2) {
38199
38191
  i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
@@ -38201,14 +38193,12 @@ SearchResultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Searc
38201
38193
  i0.ɵɵproperty("ngIf", ctx.hasResults());
38202
38194
  i0.ɵɵadvance(1);
38203
38195
  i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
38204
- i0.ɵɵadvance(1);
38205
- i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
38206
38196
  }
38207
38197
  }, 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}"] });
38208
38198
  (function () {
38209
38199
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
38210
38200
  type: Component,
38211
- 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;\">&ZeroWidthSpace;</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\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 id=\"no_case_found\" *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n<span *ngIf=\"!(hasResults() || hasDrafts())\" aria-describedby=\"no_case_found\">&ZeroWidthSpace;</span>\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"] }]
38201
+ 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"] }]
38212
38202
  }], function () { return [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }]; }, { caseLinkUrlTemplate: [{
38213
38203
  type: Input
38214
38204
  }], jurisdiction: [{