@hmcts/ccd-case-ui-toolkit 7.0.19 → 7.0.20-aria-accessibility-fix
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +3 -3
- package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +3 -6
- package/esm2020/lib/shared/components/search-result/search-result.component.mjs +187 -179
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +198 -191
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +196 -191
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -12533,14 +12533,14 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
12533
12533
|
}
|
|
12534
12534
|
}
|
|
12535
12535
|
ReadCollectionFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(t) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(t || ReadCollectionFieldComponent); }; }();
|
|
12536
|
-
ReadCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "aria-describedby", "collection table", 4, "ngIf"], ["aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12536
|
+
ReadCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "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) { if (rf & 1) {
|
|
12537
12537
|
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
|
|
12538
12538
|
} if (rf & 2) {
|
|
12539
12539
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
12540
12540
|
} }, styles: [".collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:first-child > td[_ngcontent-%COMP%]{padding-top:0}.collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.collection-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}.error-spacing[_ngcontent-%COMP%]{margin-top:10px}.collection-title[_ngcontent-%COMP%]{height:51px}.float-left[_ngcontent-%COMP%]{float:left;padding-top:8px}.float-right[_ngcontent-%COMP%]{float:right}.complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}.collection-indicator[_ngcontent-%COMP%]{border-left:solid 5px #b1b4b6}"] });
|
|
12541
12541
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
|
|
12542
12542
|
type: Component,
|
|
12543
|
-
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\" 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"] }]
|
|
12543
|
+
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"] }]
|
|
12544
12544
|
}], null, null); })();
|
|
12545
12545
|
|
|
12546
12546
|
class RemoveDialogComponent {
|
|
@@ -20362,9 +20362,6 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
20362
20362
|
ngOnInit() {
|
|
20363
20363
|
super.ngOnInit();
|
|
20364
20364
|
this.formattedValue = this.yesNoService.format(this.caseField.value);
|
|
20365
|
-
if (!this.caseField.label) {
|
|
20366
|
-
this.caseField.label = this.formattedValue;
|
|
20367
|
-
}
|
|
20368
20365
|
}
|
|
20369
20366
|
}
|
|
20370
20367
|
ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(YesNoService)); };
|
|
@@ -20375,13 +20372,13 @@ ReadYesNoFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Rea
|
|
|
20375
20372
|
i0.ɵɵelementEnd();
|
|
20376
20373
|
} if (rf & 2) {
|
|
20377
20374
|
i0.ɵɵadvance(1);
|
|
20378
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, ctx.caseField.label, null, ctx.formattedValue));
|
|
20375
|
+
i0.ɵɵtextInterpolate(ctx.formattedValue ? i0.ɵɵpipeBind3(2, 1, ctx.caseField.label, null, ctx.formattedValue) : null);
|
|
20379
20376
|
} }, dependencies: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
20380
20377
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
|
|
20381
20378
|
type: Component,
|
|
20382
20379
|
args: [{
|
|
20383
20380
|
selector: 'ccd-read-yes-no-field',
|
|
20384
|
-
template: `<span class="text-16">{{caseField.label | rpxTranslate : null : formattedValue}}</span>`
|
|
20381
|
+
template: `<span class="text-16">{{formattedValue ? (caseField.label | rpxTranslate : null : formattedValue) : null}}</span>`
|
|
20385
20382
|
}]
|
|
20386
20383
|
}], function () { return [{ type: YesNoService }]; }, null); })();
|
|
20387
20384
|
|
|
@@ -20626,7 +20623,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
|
|
|
20626
20623
|
} if (rf & 2) {
|
|
20627
20624
|
let _t;
|
|
20628
20625
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
20629
|
-
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"], ["fieldContainer", ""]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20626
|
+
} }, 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) { if (rf & 1) {
|
|
20630
20627
|
i0.ɵɵelementStart(0, "div", 0)(1, "ccd-field-read-label", 1);
|
|
20631
20628
|
i0.ɵɵelementContainer(2, null, 2);
|
|
20632
20629
|
i0.ɵɵelementEnd()();
|
|
@@ -20637,7 +20634,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
|
|
|
20637
20634
|
} }, encapsulation: 2 });
|
|
20638
20635
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
|
|
20639
20636
|
type: Component,
|
|
20640
|
-
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" }]
|
|
20637
|
+
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" }]
|
|
20641
20638
|
}], function () { return [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }]; }, { withLabel: [{
|
|
20642
20639
|
type: Input
|
|
20643
20640
|
}], formGroup: [{
|
|
@@ -24591,7 +24588,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
24591
24588
|
}
|
|
24592
24589
|
}
|
|
24593
24590
|
ReadComplexFieldTableComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; }();
|
|
24594
|
-
ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["SimpleRow", ""], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24591
|
+
ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["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) { if (rf & 1) {
|
|
24595
24592
|
i0.ɵɵelementStart(0, "div", 0)(1, "dl", 1)(2, "dt")(3, "span", 2);
|
|
24596
24593
|
i0.ɵɵtext(4);
|
|
24597
24594
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -24610,7 +24607,7 @@ ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
24610
24607
|
} }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
24611
24608
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
24612
24609
|
type: Component,
|
|
24613
|
-
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"] }]
|
|
24610
|
+
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table 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"] }]
|
|
24614
24611
|
}], null, { caseFields: [{
|
|
24615
24612
|
type: Input
|
|
24616
24613
|
}] }); })();
|
|
@@ -30876,7 +30873,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Tem
|
|
|
30876
30873
|
const tab_r20 = i0.ɵɵnextContext().$implicit;
|
|
30877
30874
|
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
30878
30875
|
i0.ɵɵclassMap(tab_r20.id);
|
|
30879
|
-
i0.ɵɵattribute("aria-
|
|
30876
|
+
i0.ɵɵattribute("aria-labelledby", i0.ɵɵpipeBind1(1, 4, tab_r20.id));
|
|
30880
30877
|
i0.ɵɵadvance(3);
|
|
30881
30878
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(4, 6, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(5, 12, tab_r20), ctx_r22.formGroup.controls["data"])));
|
|
30882
30879
|
} }
|
|
@@ -31341,7 +31338,7 @@ CaseFullAccessViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
31341
31338
|
} }, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}"] });
|
|
31342
31339
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
31343
31340
|
type: Component,
|
|
31344
|
-
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\" (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-
|
|
31341
|
+
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\" (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-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"] }]
|
|
31345
31342
|
}], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i4.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }]; }, { hasPrint: [{
|
|
31346
31343
|
type: Input
|
|
31347
31344
|
}], hasEventSelector: [{
|
|
@@ -34477,10 +34474,10 @@ i0.ɵɵsetComponentScope(SearchFiltersComponent, function () { return [i4.NgForO
|
|
|
34477
34474
|
i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i4.NgIf, SearchFiltersComponent]; }, []);
|
|
34478
34475
|
|
|
34479
34476
|
function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
34480
|
-
i0.ɵɵelementStart(0, "div",
|
|
34477
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "span", 13);
|
|
34481
34478
|
i0.ɵɵtext(2, "!");
|
|
34482
34479
|
i0.ɵɵelementEnd();
|
|
34483
|
-
i0.ɵɵelementStart(3, "strong",
|
|
34480
|
+
i0.ɵɵelementStart(3, "strong", 14)(4, "span", 15);
|
|
34484
34481
|
i0.ɵɵtext(5);
|
|
34485
34482
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
34486
34483
|
i0.ɵɵelementEnd();
|
|
@@ -34490,58 +34487,58 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
34490
34487
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
34491
34488
|
i0.ɵɵelementEnd()();
|
|
34492
34489
|
} if (rf & 2) {
|
|
34493
|
-
const
|
|
34490
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
34494
34491
|
i0.ɵɵadvance(5);
|
|
34495
34492
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Warning"));
|
|
34496
34493
|
i0.ɵɵadvance(2);
|
|
34497
|
-
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8,
|
|
34494
|
+
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r4.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
|
|
34498
34495
|
} }
|
|
34499
34496
|
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
34500
|
-
i0.ɵɵelementStart(0, "div",
|
|
34497
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
34501
34498
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
34502
|
-
i0.ɵɵelementStart(2, "span",
|
|
34499
|
+
i0.ɵɵelementStart(2, "span", 17);
|
|
34503
34500
|
i0.ɵɵtext(3);
|
|
34504
34501
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
34505
|
-
i0.ɵɵelementStart(5, "span",
|
|
34502
|
+
i0.ɵɵelementStart(5, "span", 18);
|
|
34506
34503
|
i0.ɵɵtext(6);
|
|
34507
34504
|
i0.ɵɵelementEnd();
|
|
34508
34505
|
i0.ɵɵtext(7);
|
|
34509
34506
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
34510
|
-
i0.ɵɵelementStart(9, "span",
|
|
34507
|
+
i0.ɵɵelementStart(9, "span", 18);
|
|
34511
34508
|
i0.ɵɵtext(10);
|
|
34512
34509
|
i0.ɵɵelementEnd();
|
|
34513
34510
|
i0.ɵɵtext(11);
|
|
34514
34511
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
34515
|
-
i0.ɵɵelementStart(13, "span",
|
|
34512
|
+
i0.ɵɵelementStart(13, "span", 18);
|
|
34516
34513
|
i0.ɵɵtext(14);
|
|
34517
34514
|
i0.ɵɵelementEnd();
|
|
34518
34515
|
i0.ɵɵtext(15);
|
|
34519
34516
|
i0.ɵɵpipe(16, "rpxTranslate");
|
|
34520
34517
|
i0.ɵɵelementEnd()();
|
|
34521
34518
|
} if (rf & 2) {
|
|
34522
|
-
const
|
|
34523
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8,
|
|
34519
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
34520
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8, ctx_r5.getTotalResults() + " results have been found"));
|
|
34524
34521
|
i0.ɵɵadvance(3);
|
|
34525
34522
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 10, "Showing"), " ");
|
|
34526
34523
|
i0.ɵɵadvance(3);
|
|
34527
|
-
i0.ɵɵtextInterpolate(
|
|
34524
|
+
i0.ɵɵtextInterpolate(ctx_r5.getFirstResult());
|
|
34528
34525
|
i0.ɵɵadvance(1);
|
|
34529
34526
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, "to"), " ");
|
|
34530
34527
|
i0.ɵɵadvance(3);
|
|
34531
|
-
i0.ɵɵtextInterpolate(
|
|
34528
|
+
i0.ɵɵtextInterpolate(ctx_r5.getLastResult());
|
|
34532
34529
|
i0.ɵɵadvance(1);
|
|
34533
34530
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 14, "of"), " ");
|
|
34534
34531
|
i0.ɵɵadvance(3);
|
|
34535
|
-
i0.ɵɵtextInterpolate(
|
|
34532
|
+
i0.ɵɵtextInterpolate(ctx_r5.getTotalResults());
|
|
34536
34533
|
i0.ɵɵadvance(1);
|
|
34537
34534
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 16, "results"), "");
|
|
34538
34535
|
} }
|
|
34539
34536
|
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
34540
|
-
const
|
|
34541
|
-
i0.ɵɵelementStart(0, "div",
|
|
34537
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
34538
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
34542
34539
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
34543
|
-
i0.ɵɵelementStart(2, "span")(3, "a",
|
|
34544
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(
|
|
34540
|
+
i0.ɵɵelementStart(2, "span")(3, "a", 20);
|
|
34541
|
+
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()); });
|
|
34545
34542
|
i0.ɵɵtext(4);
|
|
34546
34543
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
34547
34544
|
i0.ɵɵelementEnd()()();
|
|
@@ -34551,304 +34548,306 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
34551
34548
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
|
|
34552
34549
|
} }
|
|
34553
34550
|
function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
34554
|
-
const
|
|
34555
|
-
i0.ɵɵelementStart(0, "th",
|
|
34556
|
-
i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
34551
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
34552
|
+
i0.ɵɵelementStart(0, "th", 21)(1, "div", 22)(2, "input", 23);
|
|
34553
|
+
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()); });
|
|
34557
34554
|
i0.ɵɵelementEnd();
|
|
34558
|
-
i0.ɵɵelement(3, "label",
|
|
34555
|
+
i0.ɵɵelement(3, "label", 24);
|
|
34559
34556
|
i0.ɵɵelementEnd()();
|
|
34560
34557
|
} if (rf & 2) {
|
|
34561
|
-
const
|
|
34558
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
34562
34559
|
i0.ɵɵadvance(2);
|
|
34563
|
-
i0.ɵɵproperty("checked",
|
|
34560
|
+
i0.ɵɵproperty("checked", ctx_r7.allOnPageSelected())("disabled", !ctx_r7.canAnyBeShared());
|
|
34564
34561
|
} }
|
|
34565
34562
|
function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
34566
|
-
const
|
|
34567
|
-
i0.ɵɵelementStart(0, "div",
|
|
34568
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(
|
|
34563
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
34564
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
|
|
34565
|
+
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)); });
|
|
34569
34566
|
i0.ɵɵelementEnd()();
|
|
34570
34567
|
} if (rf & 2) {
|
|
34571
|
-
const
|
|
34572
|
-
const
|
|
34568
|
+
const col_r16 = i0.ɵɵnextContext().$implicit;
|
|
34569
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
34573
34570
|
i0.ɵɵadvance(1);
|
|
34574
|
-
i0.ɵɵproperty("innerHTML",
|
|
34571
|
+
i0.ɵɵproperty("innerHTML", ctx_r17.sortWidget(col_r16), i0.ɵɵsanitizeHtml);
|
|
34575
34572
|
} }
|
|
34576
34573
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
34577
|
-
const
|
|
34578
|
-
i0.ɵɵelementStart(0, "th")(1, "table",
|
|
34574
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
34575
|
+
i0.ɵɵelementStart(0, "th")(1, "table", 25);
|
|
34579
34576
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
34580
|
-
i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div",
|
|
34581
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
34577
|
+
i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div", 26);
|
|
34578
|
+
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)); });
|
|
34582
34579
|
i0.ɵɵtext(6);
|
|
34583
34580
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
34584
34581
|
i0.ɵɵelementEnd();
|
|
34585
|
-
i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div",
|
|
34582
|
+
i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 27);
|
|
34586
34583
|
i0.ɵɵelementEnd()()()();
|
|
34587
34584
|
} if (rf & 2) {
|
|
34588
|
-
const
|
|
34589
|
-
const
|
|
34585
|
+
const col_r16 = ctx.$implicit;
|
|
34586
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
34590
34587
|
i0.ɵɵadvance(1);
|
|
34591
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " +
|
|
34588
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r16.label + " " + ctx_r8.isSortAscending(col_r16) ? "ascending" : "descending"));
|
|
34592
34589
|
i0.ɵɵadvance(5);
|
|
34593
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5,
|
|
34590
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r16.label), " ");
|
|
34594
34591
|
i0.ɵɵadvance(2);
|
|
34595
|
-
i0.ɵɵproperty("ngIf",
|
|
34592
|
+
i0.ɵɵproperty("ngIf", ctx_r8.comparator(col_r16));
|
|
34596
34593
|
} }
|
|
34597
34594
|
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
34598
|
-
i0.ɵɵ
|
|
34595
|
+
i0.ɵɵelementStart(0, "th", 30);
|
|
34596
|
+
i0.ɵɵtext(1, "\u200B");
|
|
34597
|
+
i0.ɵɵelementEnd();
|
|
34599
34598
|
} }
|
|
34600
34599
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
34601
|
-
const
|
|
34602
|
-
i0.ɵɵelementStart(0, "td",
|
|
34603
|
-
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
34600
|
+
const _r31 = i0.ɵɵgetCurrentView();
|
|
34601
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 32);
|
|
34602
|
+
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)); });
|
|
34604
34603
|
i0.ɵɵelementEnd();
|
|
34605
|
-
i0.ɵɵelement(3, "label",
|
|
34604
|
+
i0.ɵɵelement(3, "label", 33);
|
|
34606
34605
|
i0.ɵɵelementEnd()();
|
|
34607
34606
|
} if (rf & 2) {
|
|
34608
|
-
const
|
|
34609
|
-
const
|
|
34607
|
+
const result_r25 = i0.ɵɵnextContext().$implicit;
|
|
34608
|
+
const ctx_r26 = i0.ɵɵnextContext(3);
|
|
34610
34609
|
i0.ɵɵadvance(2);
|
|
34611
|
-
i0.ɵɵpropertyInterpolate1("id", "select-",
|
|
34612
|
-
i0.ɵɵproperty("checked",
|
|
34610
|
+
i0.ɵɵpropertyInterpolate1("id", "select-", result_r25.case_id, "")("name", "select-", result_r25.case_id, "");
|
|
34611
|
+
i0.ɵɵproperty("checked", ctx_r26.isSelected(result_r25))("disabled", !ctx_r26.canBeShared(result_r25));
|
|
34613
34612
|
i0.ɵɵadvance(1);
|
|
34614
|
-
i0.ɵɵpropertyInterpolate1("for", "select-",
|
|
34613
|
+
i0.ɵɵpropertyInterpolate1("for", "select-", result_r25.case_id, "");
|
|
34615
34614
|
} }
|
|
34616
34615
|
const _c0 = function () { return ["value"]; };
|
|
34617
34616
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
34618
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
34617
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
34619
34618
|
} if (rf & 2) {
|
|
34620
|
-
const
|
|
34621
|
-
const
|
|
34622
|
-
const
|
|
34623
|
-
i0.ɵɵproperty("caseField",
|
|
34619
|
+
const col_r33 = i0.ɵɵnextContext(3).$implicit;
|
|
34620
|
+
const result_r25 = i0.ɵɵnextContext().$implicit;
|
|
34621
|
+
const ctx_r38 = i0.ɵɵnextContext(3);
|
|
34622
|
+
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));
|
|
34624
34623
|
} }
|
|
34625
34624
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
34626
34625
|
i0.ɵɵtext(0);
|
|
34627
34626
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34628
34627
|
} if (rf & 2) {
|
|
34629
|
-
const
|
|
34630
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1,
|
|
34628
|
+
const result_r25 = i0.ɵɵnextContext(4).$implicit;
|
|
34629
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r25.case_id));
|
|
34631
34630
|
} }
|
|
34632
34631
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34633
|
-
i0.ɵɵelementContainerStart(0,
|
|
34634
|
-
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",
|
|
34635
|
-
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,
|
|
34632
|
+
i0.ɵɵelementContainerStart(0, 39);
|
|
34633
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 40);
|
|
34634
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 41, i0.ɵɵtemplateRefExtractor);
|
|
34636
34635
|
i0.ɵɵelementContainerEnd();
|
|
34637
34636
|
} if (rf & 2) {
|
|
34638
|
-
const
|
|
34639
|
-
const
|
|
34640
|
-
const
|
|
34641
|
-
const
|
|
34637
|
+
const _r39 = i0.ɵɵreference(3);
|
|
34638
|
+
const col_r33 = i0.ɵɵnextContext(2).$implicit;
|
|
34639
|
+
const result_r25 = i0.ɵɵnextContext().$implicit;
|
|
34640
|
+
const ctx_r37 = i0.ɵɵnextContext(3);
|
|
34642
34641
|
i0.ɵɵadvance(1);
|
|
34643
|
-
i0.ɵɵproperty("ngIf",
|
|
34642
|
+
i0.ɵɵproperty("ngIf", ctx_r37.draftPrefixOrGet(col_r33, result_r25))("ngIfElse", _r39);
|
|
34644
34643
|
} }
|
|
34645
34644
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
34646
|
-
i0.ɵɵelementStart(0, "a",
|
|
34645
|
+
i0.ɵɵelementStart(0, "a", 37);
|
|
34647
34646
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34648
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
34647
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
|
|
34649
34648
|
i0.ɵɵelementEnd();
|
|
34650
34649
|
} if (rf & 2) {
|
|
34651
|
-
const
|
|
34652
|
-
const
|
|
34653
|
-
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3,
|
|
34654
|
-
i0.ɵɵproperty("routerLink",
|
|
34650
|
+
const result_r25 = i0.ɵɵnextContext(2).$implicit;
|
|
34651
|
+
const ctx_r35 = i0.ɵɵnextContext(3);
|
|
34652
|
+
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r25.case_id), "");
|
|
34653
|
+
i0.ɵɵproperty("routerLink", ctx_r35.prepareCaseLinkUrl(result_r25.case_id));
|
|
34655
34654
|
i0.ɵɵadvance(2);
|
|
34656
|
-
i0.ɵɵproperty("ngIf", !
|
|
34655
|
+
i0.ɵɵproperty("ngIf", !ctx_r35.hideRows);
|
|
34657
34656
|
} }
|
|
34658
34657
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
34659
|
-
i0.ɵɵelementStart(0, "div",
|
|
34660
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
34658
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
34659
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
34661
34660
|
i0.ɵɵelementEnd();
|
|
34662
34661
|
} if (rf & 2) {
|
|
34663
|
-
const
|
|
34664
|
-
const
|
|
34665
|
-
const
|
|
34666
|
-
i0.ɵɵstyleProp("visibility",
|
|
34662
|
+
const col_r33 = i0.ɵɵnextContext().$implicit;
|
|
34663
|
+
const result_r25 = i0.ɵɵnextContext().$implicit;
|
|
34664
|
+
const ctx_r36 = i0.ɵɵnextContext(3);
|
|
34665
|
+
i0.ɵɵstyleProp("visibility", ctx_r36.hideRows ? "hidden" : "visible");
|
|
34667
34666
|
i0.ɵɵadvance(1);
|
|
34668
|
-
i0.ɵɵproperty("caseField",
|
|
34667
|
+
i0.ɵɵproperty("caseField", result_r25.columns[col_r33.case_field_id])("contextFields", result_r25.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
|
|
34669
34668
|
} }
|
|
34670
34669
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
34671
|
-
i0.ɵɵelementStart(0, "td",
|
|
34672
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a",
|
|
34673
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div",
|
|
34670
|
+
i0.ɵɵelementStart(0, "td", 34);
|
|
34671
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
|
|
34672
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
|
|
34674
34673
|
i0.ɵɵelementEnd();
|
|
34675
34674
|
} if (rf & 2) {
|
|
34676
|
-
const
|
|
34675
|
+
const colIndex_r34 = ctx.index;
|
|
34677
34676
|
i0.ɵɵadvance(1);
|
|
34678
|
-
i0.ɵɵproperty("ngIf",
|
|
34677
|
+
i0.ɵɵproperty("ngIf", colIndex_r34 == 0);
|
|
34679
34678
|
i0.ɵɵadvance(1);
|
|
34680
|
-
i0.ɵɵproperty("ngIf",
|
|
34679
|
+
i0.ɵɵproperty("ngIf", colIndex_r34 != 0);
|
|
34681
34680
|
} }
|
|
34682
34681
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
34683
34682
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
34684
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
34683
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
34685
34684
|
i0.ɵɵelementEnd()();
|
|
34686
34685
|
} if (rf & 2) {
|
|
34687
|
-
const
|
|
34688
|
-
const
|
|
34686
|
+
const result_r25 = i0.ɵɵnextContext().$implicit;
|
|
34687
|
+
const ctx_r28 = i0.ɵɵnextContext(3);
|
|
34689
34688
|
i0.ɵɵadvance(1);
|
|
34690
|
-
i0.ɵɵstyleProp("visibility",
|
|
34689
|
+
i0.ɵɵstyleProp("visibility", ctx_r28.hideRows ? "hidden" : "visible");
|
|
34691
34690
|
i0.ɵɵadvance(1);
|
|
34692
|
-
i0.ɵɵproperty("caseId",
|
|
34691
|
+
i0.ɵɵproperty("caseId", result_r25.case_id)("displayMode", ctx_r28.ICON);
|
|
34693
34692
|
} }
|
|
34694
34693
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
34695
34694
|
i0.ɵɵelementStart(0, "tr");
|
|
34696
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td",
|
|
34697
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td",
|
|
34695
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 9);
|
|
34696
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 31);
|
|
34698
34697
|
i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
|
|
34699
34698
|
i0.ɵɵelementEnd();
|
|
34700
34699
|
} if (rf & 2) {
|
|
34701
|
-
const
|
|
34700
|
+
const ctx_r24 = i0.ɵɵnextContext(3);
|
|
34702
34701
|
i0.ɵɵadvance(1);
|
|
34703
|
-
i0.ɵɵproperty("ngIf",
|
|
34702
|
+
i0.ɵɵproperty("ngIf", ctx_r24.selectionEnabled);
|
|
34704
34703
|
i0.ɵɵadvance(1);
|
|
34705
|
-
i0.ɵɵproperty("ngForOf",
|
|
34704
|
+
i0.ɵɵproperty("ngForOf", ctx_r24.resultView.columns);
|
|
34706
34705
|
i0.ɵɵadvance(1);
|
|
34707
|
-
i0.ɵɵproperty("ngIf",
|
|
34706
|
+
i0.ɵɵproperty("ngIf", ctx_r24.activityEnabled());
|
|
34708
34707
|
} }
|
|
34709
34708
|
const _c1 = function (a0, a1, a2) { return { itemsPerPage: a0, currentPage: a1, totalItems: a2 }; };
|
|
34710
34709
|
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
34711
34710
|
i0.ɵɵelementContainerStart(0);
|
|
34712
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr",
|
|
34711
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 10);
|
|
34713
34712
|
i0.ɵɵpipe(2, "paginate");
|
|
34714
34713
|
i0.ɵɵelementContainerEnd();
|
|
34715
34714
|
} if (rf & 2) {
|
|
34716
|
-
const
|
|
34715
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
34717
34716
|
i0.ɵɵadvance(1);
|
|
34718
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1,
|
|
34717
|
+
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)));
|
|
34719
34718
|
} }
|
|
34720
34719
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
34721
|
-
const
|
|
34722
|
-
i0.ɵɵelementStart(0, "td",
|
|
34723
|
-
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(
|
|
34720
|
+
const _r57 = i0.ɵɵgetCurrentView();
|
|
34721
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 44);
|
|
34722
|
+
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)); });
|
|
34724
34723
|
i0.ɵɵelementEnd();
|
|
34725
|
-
i0.ɵɵelement(3, "label",
|
|
34724
|
+
i0.ɵɵelement(3, "label", 33);
|
|
34726
34725
|
i0.ɵɵelementEnd()();
|
|
34727
34726
|
} if (rf & 2) {
|
|
34728
|
-
const
|
|
34729
|
-
const
|
|
34727
|
+
const result_r51 = i0.ɵɵnextContext().$implicit;
|
|
34728
|
+
const ctx_r52 = i0.ɵɵnextContext(3);
|
|
34730
34729
|
i0.ɵɵadvance(2);
|
|
34731
|
-
i0.ɵɵpropertyInterpolate1("id", "select-",
|
|
34732
|
-
i0.ɵɵproperty("checked",
|
|
34730
|
+
i0.ɵɵpropertyInterpolate1("id", "select-", result_r51.case_id, "")("name", "select-", result_r51.case_id, "");
|
|
34731
|
+
i0.ɵɵproperty("checked", ctx_r52.isSelected(result_r51))("disabled", !ctx_r52.canBeShared(result_r51));
|
|
34733
34732
|
i0.ɵɵadvance(1);
|
|
34734
|
-
i0.ɵɵpropertyInterpolate1("for", "select-",
|
|
34733
|
+
i0.ɵɵpropertyInterpolate1("for", "select-", result_r51.case_id, "");
|
|
34735
34734
|
} }
|
|
34736
34735
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
34737
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
34736
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
34738
34737
|
} if (rf & 2) {
|
|
34739
|
-
const
|
|
34740
|
-
const
|
|
34741
|
-
const
|
|
34742
|
-
i0.ɵɵproperty("caseField",
|
|
34738
|
+
const col_r61 = i0.ɵɵnextContext(3).$implicit;
|
|
34739
|
+
const result_r51 = i0.ɵɵnextContext().$implicit;
|
|
34740
|
+
const ctx_r66 = i0.ɵɵnextContext(3);
|
|
34741
|
+
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));
|
|
34743
34742
|
} }
|
|
34744
34743
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
34745
34744
|
i0.ɵɵtext(0);
|
|
34746
34745
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34747
34746
|
} if (rf & 2) {
|
|
34748
|
-
const
|
|
34749
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1,
|
|
34747
|
+
const result_r51 = i0.ɵɵnextContext(4).$implicit;
|
|
34748
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r51.case_id));
|
|
34750
34749
|
} }
|
|
34751
34750
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34752
|
-
i0.ɵɵelementContainerStart(0,
|
|
34753
|
-
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",
|
|
34754
|
-
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,
|
|
34751
|
+
i0.ɵɵelementContainerStart(0, 39);
|
|
34752
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 40);
|
|
34753
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 41, i0.ɵɵtemplateRefExtractor);
|
|
34755
34754
|
i0.ɵɵelementContainerEnd();
|
|
34756
34755
|
} if (rf & 2) {
|
|
34757
|
-
const
|
|
34758
|
-
const
|
|
34759
|
-
const
|
|
34760
|
-
const
|
|
34756
|
+
const _r67 = i0.ɵɵreference(3);
|
|
34757
|
+
const col_r61 = i0.ɵɵnextContext(2).$implicit;
|
|
34758
|
+
const result_r51 = i0.ɵɵnextContext().$implicit;
|
|
34759
|
+
const ctx_r65 = i0.ɵɵnextContext(3);
|
|
34761
34760
|
i0.ɵɵadvance(1);
|
|
34762
|
-
i0.ɵɵproperty("ngIf",
|
|
34761
|
+
i0.ɵɵproperty("ngIf", ctx_r65.draftPrefixOrGet(col_r61, result_r51))("ngIfElse", _r67);
|
|
34763
34762
|
} }
|
|
34764
34763
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
34765
|
-
i0.ɵɵelementStart(0, "a",
|
|
34764
|
+
i0.ɵɵelementStart(0, "a", 37);
|
|
34766
34765
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
34767
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
34766
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
|
|
34768
34767
|
i0.ɵɵelementEnd();
|
|
34769
34768
|
} if (rf & 2) {
|
|
34770
|
-
const
|
|
34771
|
-
const
|
|
34772
|
-
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3,
|
|
34773
|
-
i0.ɵɵproperty("routerLink",
|
|
34769
|
+
const result_r51 = i0.ɵɵnextContext(2).$implicit;
|
|
34770
|
+
const ctx_r63 = i0.ɵɵnextContext(3);
|
|
34771
|
+
i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r51.case_id), "");
|
|
34772
|
+
i0.ɵɵproperty("routerLink", ctx_r63.prepareCaseLinkUrl(result_r51.case_id));
|
|
34774
34773
|
i0.ɵɵadvance(2);
|
|
34775
|
-
i0.ɵɵproperty("ngIf", !
|
|
34774
|
+
i0.ɵɵproperty("ngIf", !ctx_r63.hideRows);
|
|
34776
34775
|
} }
|
|
34777
34776
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
34778
|
-
i0.ɵɵelementStart(0, "div",
|
|
34779
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
34777
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
34778
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
34780
34779
|
i0.ɵɵelementEnd();
|
|
34781
34780
|
} if (rf & 2) {
|
|
34782
|
-
const
|
|
34783
|
-
const
|
|
34784
|
-
const
|
|
34785
|
-
i0.ɵɵstyleProp("visibility",
|
|
34781
|
+
const col_r61 = i0.ɵɵnextContext().$implicit;
|
|
34782
|
+
const result_r51 = i0.ɵɵnextContext().$implicit;
|
|
34783
|
+
const ctx_r64 = i0.ɵɵnextContext(3);
|
|
34784
|
+
i0.ɵɵstyleProp("visibility", ctx_r64.hideRows ? "hidden" : "visible");
|
|
34786
34785
|
i0.ɵɵadvance(1);
|
|
34787
|
-
i0.ɵɵproperty("caseField",
|
|
34786
|
+
i0.ɵɵproperty("caseField", result_r51.columns[col_r61.case_field_id])("contextFields", result_r51.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
|
|
34788
34787
|
} }
|
|
34789
34788
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
34790
|
-
i0.ɵɵelementStart(0, "td",
|
|
34791
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a",
|
|
34792
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div",
|
|
34789
|
+
i0.ɵɵelementStart(0, "td", 34);
|
|
34790
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
|
|
34791
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
|
|
34793
34792
|
i0.ɵɵelementEnd();
|
|
34794
34793
|
} if (rf & 2) {
|
|
34795
|
-
const
|
|
34794
|
+
const colIndex_r62 = ctx.index;
|
|
34796
34795
|
i0.ɵɵadvance(1);
|
|
34797
|
-
i0.ɵɵproperty("ngIf",
|
|
34796
|
+
i0.ɵɵproperty("ngIf", colIndex_r62 == 0);
|
|
34798
34797
|
i0.ɵɵadvance(1);
|
|
34799
|
-
i0.ɵɵproperty("ngIf",
|
|
34798
|
+
i0.ɵɵproperty("ngIf", colIndex_r62 != 0);
|
|
34800
34799
|
} }
|
|
34801
34800
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
34802
34801
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
34803
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
34802
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
34804
34803
|
i0.ɵɵelementEnd()();
|
|
34805
34804
|
} if (rf & 2) {
|
|
34806
|
-
const
|
|
34807
|
-
const
|
|
34805
|
+
const result_r51 = i0.ɵɵnextContext().$implicit;
|
|
34806
|
+
const ctx_r54 = i0.ɵɵnextContext(3);
|
|
34808
34807
|
i0.ɵɵadvance(1);
|
|
34809
|
-
i0.ɵɵstyleProp("visibility",
|
|
34808
|
+
i0.ɵɵstyleProp("visibility", ctx_r54.hideRows ? "hidden" : "visible");
|
|
34810
34809
|
i0.ɵɵadvance(1);
|
|
34811
|
-
i0.ɵɵproperty("caseId",
|
|
34810
|
+
i0.ɵɵproperty("caseId", result_r51.case_id)("displayMode", ctx_r54.ICON);
|
|
34812
34811
|
} }
|
|
34813
34812
|
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
34814
34813
|
i0.ɵɵelementStart(0, "tr");
|
|
34815
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td",
|
|
34816
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td",
|
|
34814
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td", 9);
|
|
34815
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 31);
|
|
34817
34816
|
i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 0);
|
|
34818
34817
|
i0.ɵɵelementEnd();
|
|
34819
34818
|
} if (rf & 2) {
|
|
34820
|
-
const
|
|
34819
|
+
const ctx_r50 = i0.ɵɵnextContext(3);
|
|
34821
34820
|
i0.ɵɵadvance(1);
|
|
34822
|
-
i0.ɵɵproperty("ngIf",
|
|
34821
|
+
i0.ɵɵproperty("ngIf", ctx_r50.selectionEnabled);
|
|
34823
34822
|
i0.ɵɵadvance(1);
|
|
34824
|
-
i0.ɵɵproperty("ngForOf",
|
|
34823
|
+
i0.ɵɵproperty("ngForOf", ctx_r50.resultView.columns);
|
|
34825
34824
|
i0.ɵɵadvance(1);
|
|
34826
|
-
i0.ɵɵproperty("ngIf",
|
|
34825
|
+
i0.ɵɵproperty("ngIf", ctx_r50.activityEnabled());
|
|
34827
34826
|
} }
|
|
34828
34827
|
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
34829
34828
|
i0.ɵɵelementContainerStart(0);
|
|
34830
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr",
|
|
34829
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 10);
|
|
34831
34830
|
i0.ɵɵpipe(2, "paginate");
|
|
34832
34831
|
i0.ɵɵpipe(3, "ccdSortSearchResult");
|
|
34833
34832
|
i0.ɵɵelementContainerEnd();
|
|
34834
34833
|
} if (rf & 2) {
|
|
34835
|
-
const
|
|
34834
|
+
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
34836
34835
|
i0.ɵɵadvance(1);
|
|
34837
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, i0.ɵɵpipeBind2(3, 4,
|
|
34836
|
+
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)));
|
|
34838
34837
|
} }
|
|
34839
34838
|
function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
34840
|
-
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2",
|
|
34839
|
+
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 4);
|
|
34841
34840
|
i0.ɵɵtext(3);
|
|
34842
34841
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
34843
34842
|
i0.ɵɵelementEnd();
|
|
34844
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div",
|
|
34845
|
-
i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div",
|
|
34846
|
-
i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div",
|
|
34843
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5);
|
|
34844
|
+
i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div", 6);
|
|
34845
|
+
i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 7);
|
|
34847
34846
|
i0.ɵɵelementEnd();
|
|
34848
|
-
i0.ɵɵelementStart(8, "thead")(9, "tr",
|
|
34849
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th",
|
|
34850
|
-
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th",
|
|
34851
|
-
i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template,
|
|
34847
|
+
i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
|
|
34848
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9);
|
|
34849
|
+
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 10);
|
|
34850
|
+
i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 11);
|
|
34852
34851
|
i0.ɵɵelementEnd()();
|
|
34853
34852
|
i0.ɵɵelementStart(13, "tbody");
|
|
34854
34853
|
i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 0);
|
|
@@ -34876,24 +34875,27 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
34876
34875
|
i0.ɵɵproperty("ngIf", !ctx_r0.consumerSortingEnabled);
|
|
34877
34876
|
} }
|
|
34878
34877
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
34879
|
-
const
|
|
34880
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
34881
|
-
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(
|
|
34878
|
+
const _r79 = i0.ɵɵgetCurrentView();
|
|
34879
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 45);
|
|
34880
|
+
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)); });
|
|
34882
34881
|
i0.ɵɵelementEnd();
|
|
34883
34882
|
} if (rf & 2) {
|
|
34884
34883
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
34885
34884
|
i0.ɵɵproperty("visibilityLabel", ctx_r1.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r1.page)("screenReaderCurrentLabel", "You're on page");
|
|
34886
34885
|
} }
|
|
34887
34886
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
34888
|
-
i0.ɵɵelementStart(0, "div",
|
|
34889
|
-
i0.ɵɵ
|
|
34890
|
-
i0.ɵɵ
|
|
34891
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
34887
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
34888
|
+
i0.ɵɵtext(1);
|
|
34889
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
34892
34890
|
i0.ɵɵelementEnd();
|
|
34893
34891
|
} if (rf & 2) {
|
|
34894
|
-
i0.ɵɵ
|
|
34895
|
-
i0.ɵɵ
|
|
34896
|
-
|
|
34892
|
+
i0.ɵɵadvance(1);
|
|
34893
|
+
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(2, 1, "No cases found. Try using different filters."), "\n");
|
|
34894
|
+
} }
|
|
34895
|
+
function SearchResultComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34896
|
+
i0.ɵɵelementStart(0, "span", 47);
|
|
34897
|
+
i0.ɵɵtext(1, "\u200B");
|
|
34898
|
+
i0.ɵɵelementEnd();
|
|
34897
34899
|
} }
|
|
34898
34900
|
class SearchResultComponent {
|
|
34899
34901
|
constructor(searchResultViewItemComparatorFactory, appConfig, activityService, caseReferencePipe, placeholderService, browserService, sessionStorageService) {
|
|
@@ -35229,20 +35231,23 @@ SearchResultComponent.PARAM_JURISDICTION = 'jurisdiction';
|
|
|
35229
35231
|
SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
|
|
35230
35232
|
SearchResultComponent.PARAM_CASE_STATE = 'case-state';
|
|
35231
35233
|
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)); };
|
|
35232
|
-
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:
|
|
35234
|
+
SearchResultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 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) { if (rf & 1) {
|
|
35233
35235
|
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 0);
|
|
35234
35236
|
i0.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
|
|
35235
|
-
i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template,
|
|
35237
|
+
i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 3, 3, "div", 2);
|
|
35238
|
+
i0.ɵɵtemplate(3, SearchResultComponent_span_3_Template, 2, 0, "span", 3);
|
|
35236
35239
|
} if (rf & 2) {
|
|
35237
35240
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
35238
35241
|
i0.ɵɵadvance(1);
|
|
35239
35242
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
35240
35243
|
i0.ɵɵadvance(1);
|
|
35241
35244
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
35245
|
+
i0.ɵɵadvance(1);
|
|
35246
|
+
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
35242
35247
|
} }, 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}"] });
|
|
35243
35248
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
35244
35249
|
type: Component,
|
|
35245
|
-
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;\"
|
|
35250
|
+
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\"\n [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\" role=\"status\">\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\">\n <table class=\"search-result-column-header\"\n [attr.aria-label]=\"('Sort by ' + col.label + ' ' + isSortAscending(col)? 'ascending' : 'descending') | rpxTranslate\">\n <tr>\n <th>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </th>\n </tr>\n </table>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\">​</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\">​</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"] }]
|
|
35246
35251
|
}], function () { return [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }]; }, { caseLinkUrlTemplate: [{
|
|
35247
35252
|
type: Input
|
|
35248
35253
|
}], jurisdiction: [{
|