@hmcts/ccd-case-ui-toolkit 7.0.50-manage-doc-error-msg → 7.0.51-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/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +38 -32
- package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +13 -11
- package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +25 -18
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +64 -59
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +140 -120
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13233,7 +13233,7 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
13233
13233
|
return prefix;
|
|
13234
13234
|
}
|
|
13235
13235
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(t) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(t || ReadCollectionFieldComponent); }; })();
|
|
13236
|
-
static ɵ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) {
|
|
13236
|
+
static ɵ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) {
|
|
13237
13237
|
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
|
|
13238
13238
|
} if (rf & 2) {
|
|
13239
13239
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
@@ -13241,7 +13241,7 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
13241
13241
|
}
|
|
13242
13242
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
|
|
13243
13243
|
type: Component,
|
|
13244
|
-
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"] }]
|
|
13244
|
+
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"] }]
|
|
13245
13245
|
}], null, null); })();
|
|
13246
13246
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCollectionFieldComponent, { className: "ReadCollectionFieldComponent", filePath: "lib/shared/components/palette/collection/read-collection-field.component.ts", lineNumber: 10 }); })();
|
|
13247
13247
|
|
|
@@ -18187,43 +18187,50 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18187
18187
|
}], null, null); })();
|
|
18188
18188
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteMoneyGbpFieldComponent, { className: "WriteMoneyGbpFieldComponent", filePath: "lib/shared/components/palette/money-gbp/write-money-gbp-field.component.ts", lineNumber: 9 }); })();
|
|
18189
18189
|
|
|
18190
|
-
function
|
|
18191
|
-
i0.ɵɵelementStart(0, "tr");
|
|
18192
|
-
i0.ɵɵ
|
|
18193
|
-
i0.ɵɵ
|
|
18194
|
-
i0.ɵɵ
|
|
18195
|
-
i0.ɵɵ
|
|
18196
|
-
i0.ɵɵpipe(6, "
|
|
18190
|
+
function ReadMultiSelectListFieldComponent_table_2_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
18191
|
+
i0.ɵɵelementStart(0, "tr")(1, "th", 4);
|
|
18192
|
+
i0.ɵɵtext(2, "\u200B");
|
|
18193
|
+
i0.ɵɵelementEnd();
|
|
18194
|
+
i0.ɵɵelementStart(3, "td")(4, "span", 5);
|
|
18195
|
+
i0.ɵɵtext(5);
|
|
18196
|
+
i0.ɵɵpipe(6, "ccdFixedList");
|
|
18197
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
18197
18198
|
i0.ɵɵelementEnd()()();
|
|
18198
18199
|
} if (rf & 2) {
|
|
18199
18200
|
const value_r1 = ctx.$implicit;
|
|
18200
18201
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18201
|
-
i0.ɵɵadvance(
|
|
18202
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
18202
|
+
i0.ɵɵadvance(5);
|
|
18203
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 4, i0.ɵɵpipeBind2(6, 1, value_r1, ctx_r1.caseField.field_type.fixed_list_items)));
|
|
18203
18204
|
} }
|
|
18204
|
-
function
|
|
18205
|
-
i0.ɵɵelementStart(0, "table",
|
|
18205
|
+
function ReadMultiSelectListFieldComponent_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
18206
|
+
i0.ɵɵelementStart(0, "table", 2);
|
|
18206
18207
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
18207
18208
|
i0.ɵɵelementStart(2, "tbody");
|
|
18208
|
-
i0.ɵɵtemplate(3,
|
|
18209
|
+
i0.ɵɵtemplate(3, ReadMultiSelectListFieldComponent_table_2_tr_3_Template, 8, 6, "tr", 3);
|
|
18209
18210
|
i0.ɵɵelementEnd()();
|
|
18210
18211
|
} if (rf & 2) {
|
|
18211
18212
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18212
|
-
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "multi
|
|
18213
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "multi-select-list"));
|
|
18213
18214
|
i0.ɵɵadvance(3);
|
|
18214
18215
|
i0.ɵɵproperty("ngForOf", ctx_r1.caseField.value);
|
|
18215
18216
|
} }
|
|
18216
18217
|
class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
18217
18218
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMultiSelectListFieldComponent_BaseFactory; return function ReadMultiSelectListFieldComponent_Factory(t) { return (ɵReadMultiSelectListFieldComponent_BaseFactory || (ɵReadMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadMultiSelectListFieldComponent)))(t || ReadMultiSelectListFieldComponent); }; })();
|
|
18218
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
18219
|
-
i0.ɵɵ
|
|
18219
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["id", "multi-select-list", 1, "hide-table-caption"], ["class", "multi-select-list-field-table", 4, "ngIf"], [1, "multi-select-list-field-table"], [4, "ngFor", "ngForOf"], [2, "display", "none"], [1, "text-16"]], template: function ReadMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18220
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
18221
|
+
i0.ɵɵtext(1);
|
|
18222
|
+
i0.ɵɵelementEnd();
|
|
18223
|
+
i0.ɵɵtemplate(2, ReadMultiSelectListFieldComponent_table_2_Template, 4, 4, "table", 1);
|
|
18220
18224
|
} if (rf & 2) {
|
|
18225
|
+
i0.ɵɵadvance();
|
|
18226
|
+
i0.ɵɵtextInterpolate(ctx.caseField.value[0]);
|
|
18227
|
+
i0.ɵɵadvance();
|
|
18221
18228
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
18222
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i1.RpxTranslatePipe, FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}"] });
|
|
18229
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i1.RpxTranslatePipe, FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}.hide-table-caption[_ngcontent-%COMP%]{position:absolute;visibility:hidden}"] });
|
|
18223
18230
|
}
|
|
18224
18231
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadMultiSelectListFieldComponent, [{
|
|
18225
18232
|
type: Component,
|
|
18226
|
-
args: [{ selector: 'ccd-read-multi-select-list-field', template: "<table *ngIf=\"caseField.value && caseField.value.length\" class=\"multi-select-list-field-table\"\n [attr.aria-describedby]=\"'multi
|
|
18233
|
+
args: [{ selector: 'ccd-read-multi-select-list-field', template: "<div class=\"hide-table-caption\" id=\"multi-select-list\">{{caseField.value[0]}}</div>\n<table *ngIf=\"caseField.value && caseField.value.length\" class=\"multi-select-list-field-table\"\n [attr.aria-describedby]=\"'multi-select-list' | rpxTranslate\">\n <tbody>\n <tr *ngFor=\"let value of caseField.value\">\n <th style=\"display: none;\">​</th>\n <td><span class=\"text-16\">{{ value | ccdFixedList:caseField.field_type.fixed_list_items | rpxTranslate}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: [".multi-select-list-field-table tr>td{padding:5px 0}.multi-select-list-field-table tr:last-child>td{border-bottom:none}.multi-select-list-field-table td.collection-actions{width:1px;white-space:nowrap}.hide-table-caption{position:absolute;visibility:hidden}\n"] }]
|
|
18227
18234
|
}], null, null); })();
|
|
18228
18235
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
18229
18236
|
|
|
@@ -21693,7 +21700,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
21693
21700
|
} if (rf & 2) {
|
|
21694
21701
|
let _t;
|
|
21695
21702
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
21696
|
-
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [["fieldContainer", ""], [3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21703
|
+
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [["fieldContainer", ""], ["id", "table", 3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21697
21704
|
i0.ɵɵelementStart(0, "div", 1)(1, "ccd-field-read-label", 2);
|
|
21698
21705
|
i0.ɵɵelementContainer(2, null, 0);
|
|
21699
21706
|
i0.ɵɵelementEnd()();
|
|
@@ -21705,7 +21712,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
21705
21712
|
}
|
|
21706
21713
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
|
|
21707
21714
|
type: Component,
|
|
21708
|
-
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" }]
|
|
21715
|
+
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" }]
|
|
21709
21716
|
}], () => [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }], { withLabel: [{
|
|
21710
21717
|
type: Input
|
|
21711
21718
|
}], formGroup: [{
|
|
@@ -25730,8 +25737,8 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
25730
25737
|
const _c0$j = (a0, a1, a2) => [a0, false, undefined, true, a1, undefined, a2];
|
|
25731
25738
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25732
25739
|
i0.ɵɵelementContainerStart(0);
|
|
25733
|
-
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span",
|
|
25734
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
25740
|
+
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 9);
|
|
25741
|
+
i0.ɵɵelement(4, "ccd-field-read", 10);
|
|
25735
25742
|
i0.ɵɵelementEnd()()();
|
|
25736
25743
|
i0.ɵɵelementContainerEnd();
|
|
25737
25744
|
} if (rf & 2) {
|
|
@@ -25743,12 +25750,14 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(r
|
|
|
25743
25750
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseField", field_r1)("context", ctx_r1.context);
|
|
25744
25751
|
} }
|
|
25745
25752
|
function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
25746
|
-
i0.ɵɵelementStart(0, "tr",
|
|
25753
|
+
i0.ɵɵelementStart(0, "tr", 11)(1, "th", 12)(2, "span", 9);
|
|
25747
25754
|
i0.ɵɵtext(3);
|
|
25748
25755
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
25749
|
-
i0.ɵɵelementEnd()
|
|
25750
|
-
i0.ɵɵ
|
|
25751
|
-
i0.ɵɵ
|
|
25756
|
+
i0.ɵɵelementEnd();
|
|
25757
|
+
i0.ɵɵtext(5, "\u200B");
|
|
25758
|
+
i0.ɵɵelementEnd();
|
|
25759
|
+
i0.ɵɵelementStart(6, "td")(7, "span", 9);
|
|
25760
|
+
i0.ɵɵelement(8, "ccd-field-read", 10);
|
|
25752
25761
|
i0.ɵɵelementEnd()()();
|
|
25753
25762
|
} if (rf & 2) {
|
|
25754
25763
|
const field_r1 = i0.ɵɵnextContext().$implicit;
|
|
@@ -25756,14 +25765,14 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf
|
|
|
25756
25765
|
i0.ɵɵproperty("hidden", field_r1.hidden);
|
|
25757
25766
|
i0.ɵɵadvance(3);
|
|
25758
25767
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 5, field_r1.label));
|
|
25759
|
-
i0.ɵɵadvance(
|
|
25768
|
+
i0.ɵɵadvance(5);
|
|
25760
25769
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseField", field_r1)("context", ctx_r1.context);
|
|
25761
25770
|
} }
|
|
25762
25771
|
function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
25763
25772
|
i0.ɵɵelementContainerStart(0);
|
|
25764
25773
|
i0.ɵɵtemplate(1, ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template, 5, 4, "ng-container", 6);
|
|
25765
25774
|
i0.ɵɵpipe(2, "ccdIsCompound");
|
|
25766
|
-
i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template,
|
|
25775
|
+
i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template, 9, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
25767
25776
|
i0.ɵɵelementContainerEnd();
|
|
25768
25777
|
} if (rf & 2) {
|
|
25769
25778
|
const field_r1 = ctx.$implicit;
|
|
@@ -25774,7 +25783,7 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (r
|
|
|
25774
25783
|
class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
25775
25784
|
caseFields = [];
|
|
25776
25785
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; })();
|
|
25777
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex
|
|
25786
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], ["id", "complex-table", 1, "text-16"], ["id", "complex", "aria-describedby", "complex-table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [1, "text-16"], [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) {
|
|
25778
25787
|
i0.ɵɵelementStart(0, "div", 1)(1, "dl", 2)(2, "dt")(3, "span", 3);
|
|
25779
25788
|
i0.ɵɵtext(4);
|
|
25780
25789
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -25794,7 +25803,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
25794
25803
|
}
|
|
25795
25804
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
25796
25805
|
type: Component,
|
|
25797
|
-
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
|
|
25806
|
+
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span id=\"complex-table\" class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table id=\"complex\" class=\"complex-panel-table\" aria-describedby=\"complex-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"] }]
|
|
25798
25807
|
}], null, { caseFields: [{
|
|
25799
25808
|
type: Input
|
|
25800
25809
|
}] }); })();
|
|
@@ -32139,13 +32148,13 @@ function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
32139
32148
|
i0.ɵɵelementEnd()()();
|
|
32140
32149
|
} if (rf & 2) {
|
|
32141
32150
|
i0.ɵɵadvance(2);
|
|
32142
|
-
i0.ɵɵtextInterpolate1("
|
|
32151
|
+
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(3, 4, "Something went wrong"), "\n");
|
|
32143
32152
|
i0.ɵɵadvance(4);
|
|
32144
32153
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "We're working to fix the problem. Try again shortly."));
|
|
32145
32154
|
i0.ɵɵadvance(4);
|
|
32146
32155
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 8, "Contact us"), "");
|
|
32147
32156
|
i0.ɵɵadvance(2);
|
|
32148
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "if you're still having problems."), "
|
|
32157
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "if you're still having problems."), "\n");
|
|
32149
32158
|
} }
|
|
32150
32159
|
function CaseFullAccessViewComponent_div_1_ul_7_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
32151
32160
|
i0.ɵɵelementStart(0, "li");
|
|
@@ -32155,7 +32164,7 @@ function CaseFullAccessViewComponent_div_1_ul_7_li_1_Template(rf, ctx) { if (rf
|
|
|
32155
32164
|
} if (rf & 2) {
|
|
32156
32165
|
const fieldError_r1 = ctx.$implicit;
|
|
32157
32166
|
i0.ɵɵadvance();
|
|
32158
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, fieldError_r1.message), "
|
|
32167
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, fieldError_r1.message), "\n");
|
|
32159
32168
|
} }
|
|
32160
32169
|
function CaseFullAccessViewComponent_div_1_ul_7_Template(rf, ctx) { if (rf & 1) {
|
|
32161
32170
|
i0.ɵɵelementStart(0, "ul", 18);
|
|
@@ -32180,7 +32189,7 @@ function CaseFullAccessViewComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
32180
32189
|
} if (rf & 2) {
|
|
32181
32190
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32182
32191
|
i0.ɵɵadvance(2);
|
|
32183
|
-
i0.ɵɵtextInterpolate1("
|
|
32192
|
+
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(3, 3, "The callback data failed validation"), "\n");
|
|
32184
32193
|
i0.ɵɵadvance(3);
|
|
32185
32194
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 5, ctx_r1.error.message));
|
|
32186
32195
|
i0.ɵɵadvance(2);
|
|
@@ -32222,21 +32231,21 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx)
|
|
|
32222
32231
|
const tab_r6 = ctx.$implicit;
|
|
32223
32232
|
i0.ɵɵproperty("id", tab_r6.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
|
|
32224
32233
|
} }
|
|
32225
|
-
function
|
|
32226
|
-
i0.ɵɵelementStart(0, "th",
|
|
32234
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
32235
|
+
i0.ɵɵelementStart(0, "th", 38)(1, "div", 39);
|
|
32227
32236
|
i0.ɵɵtext(2);
|
|
32228
32237
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
32229
32238
|
i0.ɵɵelementEnd()();
|
|
32230
32239
|
} if (rf & 2) {
|
|
32231
32240
|
const field_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
32232
32241
|
i0.ɵɵadvance(2);
|
|
32233
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, field_r7.label), "");
|
|
32242
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, field_r7.label), "\u200B");
|
|
32234
32243
|
} }
|
|
32235
|
-
function
|
|
32244
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
32236
32245
|
i0.ɵɵelementStart(0, "tr");
|
|
32237
|
-
i0.ɵɵtemplate(1,
|
|
32238
|
-
i0.ɵɵelementStart(2, "td",
|
|
32239
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
32246
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_th_1_Template, 4, 3, "th", 34);
|
|
32247
|
+
i0.ɵɵelementStart(2, "td", 35)(3, "span", 36);
|
|
32248
|
+
i0.ɵɵelement(4, "ccd-field-read", 37);
|
|
32240
32249
|
i0.ɵɵelementEnd()()();
|
|
32241
32250
|
} if (rf & 2) {
|
|
32242
32251
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
@@ -32248,10 +32257,12 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
32248
32257
|
i0.ɵɵadvance(2);
|
|
32249
32258
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
|
|
32250
32259
|
} }
|
|
32251
|
-
function
|
|
32252
|
-
i0.ɵɵelementStart(0, "tr",
|
|
32253
|
-
i0.ɵɵelement(3, "ccd-field-read",
|
|
32254
|
-
i0.ɵɵelementEnd()
|
|
32260
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
32261
|
+
i0.ɵɵelementStart(0, "tr", 40)(1, "th", 35)(2, "span", 36);
|
|
32262
|
+
i0.ɵɵelement(3, "ccd-field-read", 37);
|
|
32263
|
+
i0.ɵɵelementEnd();
|
|
32264
|
+
i0.ɵɵtext(4, "\u200B ");
|
|
32265
|
+
i0.ɵɵelementEnd()();
|
|
32255
32266
|
} if (rf & 2) {
|
|
32256
32267
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
32257
32268
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
@@ -32260,12 +32271,12 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
32260
32271
|
i0.ɵɵadvance(2);
|
|
32261
32272
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
|
|
32262
32273
|
} }
|
|
32263
|
-
function
|
|
32274
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
32264
32275
|
i0.ɵɵelementContainerStart(0);
|
|
32265
|
-
i0.ɵɵelementStart(1, "div",
|
|
32266
|
-
i0.ɵɵelementContainerStart(2,
|
|
32276
|
+
i0.ɵɵelementStart(1, "div", 30);
|
|
32277
|
+
i0.ɵɵelementContainerStart(2, 31);
|
|
32267
32278
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
32268
|
-
i0.ɵɵtemplate(4,
|
|
32279
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_Template, 5, 6, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_5_Template, 5, 5, "tr", 33);
|
|
32269
32280
|
i0.ɵɵelementContainerEnd();
|
|
32270
32281
|
i0.ɵɵelementEnd();
|
|
32271
32282
|
i0.ɵɵelementContainerEnd();
|
|
@@ -32282,25 +32293,29 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
32282
32293
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
32283
32294
|
} }
|
|
32284
32295
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
32285
|
-
i0.ɵɵelementStart(0, "
|
|
32286
|
-
i0.ɵɵ
|
|
32287
|
-
i0.ɵɵ
|
|
32288
|
-
i0.ɵɵ
|
|
32289
|
-
i0.ɵɵ
|
|
32290
|
-
i0.ɵɵ
|
|
32296
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
32297
|
+
i0.ɵɵtext(1);
|
|
32298
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32299
|
+
i0.ɵɵelementEnd();
|
|
32300
|
+
i0.ɵɵelementStart(3, "table", 29)(4, "tbody");
|
|
32301
|
+
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_Template, 6, 8, "ng-container", 19);
|
|
32302
|
+
i0.ɵɵpipe(6, "ccdTabFields");
|
|
32303
|
+
i0.ɵɵpipe(7, "ccdReadFieldsFilter");
|
|
32291
32304
|
i0.ɵɵelementEnd()();
|
|
32292
32305
|
} if (rf & 2) {
|
|
32293
32306
|
const tab_r8 = i0.ɵɵnextContext().$implicit;
|
|
32294
32307
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
32308
|
+
i0.ɵɵadvance();
|
|
32309
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, tab_r8.label));
|
|
32310
|
+
i0.ɵɵadvance(2);
|
|
32295
32311
|
i0.ɵɵclassMap(tab_r8.id);
|
|
32296
|
-
i0.ɵɵ
|
|
32297
|
-
i0.ɵɵ
|
|
32298
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, tab_r8), ctx_r1.formGroup.controls["data"])));
|
|
32312
|
+
i0.ɵɵadvance(2);
|
|
32313
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(7, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(6, 6, tab_r8), ctx_r1.formGroup.controls["data"])));
|
|
32299
32314
|
} }
|
|
32300
32315
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
|
|
32301
32316
|
i0.ɵɵelementStart(0, "mat-tab", 26);
|
|
32302
32317
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
32303
|
-
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template,
|
|
32318
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template, 8, 17, "ng-template", 27);
|
|
32304
32319
|
i0.ɵɵelementEnd();
|
|
32305
32320
|
} if (rf & 2) {
|
|
32306
32321
|
const tab_r8 = ctx.$implicit;
|
|
@@ -32743,7 +32758,7 @@ class CaseFullAccessViewComponent {
|
|
|
32743
32758
|
} if (rf & 2) {
|
|
32744
32759
|
let _t;
|
|
32745
32760
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
32746
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32761
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["id", "table_caption", 1, "hide-table-capion"], ["aria-labelledby", "table_caption", 1, "olaaa"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32747
32762
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
32748
32763
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
32749
32764
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -32781,7 +32796,7 @@ class CaseFullAccessViewComponent {
|
|
|
32781
32796
|
}
|
|
32782
32797
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
32783
32798
|
type: Component,
|
|
32784
|
-
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\"\
|
|
32799
|
+
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\"\nrole=\"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\"\naria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n<h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n{{'The callback data failed validation' | rpxTranslate}}\n</h2>\n<p>{{error.message | rpxTranslate}}</p>\n<ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n<li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n</li>\n</ul>\n</div>\n<ccd-callback-errors\n[triggerTextContinue]=\"triggerTextStart\"\n[triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n[callbackErrorsSubject]=\"callbackErrorsSubject\"\n(callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\"\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 <div class=\"hide-table-capion\" id=\"table_caption\">{{tab.label | rpxTranslate}}</div>\n <table class=\"olaaa\" [class]=\"tab.id\" aria-labelledby=\"table_caption\">\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}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
32785
32800
|
}], () => [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }], { hasPrint: [{
|
|
32786
32801
|
type: Input
|
|
32787
32802
|
}], hasEventSelector: [{
|
|
@@ -36096,10 +36111,10 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i5
|
|
|
36096
36111
|
const _c0 = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
36097
36112
|
const _c1 = () => ["value"];
|
|
36098
36113
|
function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
36099
|
-
i0.ɵɵelementStart(0, "div",
|
|
36114
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "span", 14);
|
|
36100
36115
|
i0.ɵɵtext(2, "!");
|
|
36101
36116
|
i0.ɵɵelementEnd();
|
|
36102
|
-
i0.ɵɵelementStart(3, "strong",
|
|
36117
|
+
i0.ɵɵelementStart(3, "strong", 15)(4, "span", 16);
|
|
36103
36118
|
i0.ɵɵtext(5);
|
|
36104
36119
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
36105
36120
|
i0.ɵɵelementEnd();
|
|
@@ -36116,23 +36131,23 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
36116
36131
|
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r0.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
|
|
36117
36132
|
} }
|
|
36118
36133
|
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
36119
|
-
i0.ɵɵelementStart(0, "div",
|
|
36134
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
36120
36135
|
i0.ɵɵelement(1, "output");
|
|
36121
36136
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36122
|
-
i0.ɵɵelementStart(3, "span",
|
|
36137
|
+
i0.ɵɵelementStart(3, "span", 18);
|
|
36123
36138
|
i0.ɵɵtext(4);
|
|
36124
36139
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
36125
|
-
i0.ɵɵelementStart(6, "span",
|
|
36140
|
+
i0.ɵɵelementStart(6, "span", 19);
|
|
36126
36141
|
i0.ɵɵtext(7);
|
|
36127
36142
|
i0.ɵɵelementEnd();
|
|
36128
36143
|
i0.ɵɵtext(8);
|
|
36129
36144
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
36130
|
-
i0.ɵɵelementStart(10, "span",
|
|
36145
|
+
i0.ɵɵelementStart(10, "span", 19);
|
|
36131
36146
|
i0.ɵɵtext(11);
|
|
36132
36147
|
i0.ɵɵelementEnd();
|
|
36133
36148
|
i0.ɵɵtext(12);
|
|
36134
36149
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
36135
|
-
i0.ɵɵelementStart(14, "span",
|
|
36150
|
+
i0.ɵɵelementStart(14, "span", 19);
|
|
36136
36151
|
i0.ɵɵtext(15);
|
|
36137
36152
|
i0.ɵɵelementEnd();
|
|
36138
36153
|
i0.ɵɵtext(16);
|
|
@@ -36159,9 +36174,9 @@ function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
36159
36174
|
} }
|
|
36160
36175
|
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
36161
36176
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
36162
|
-
i0.ɵɵelementStart(0, "div",
|
|
36177
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
36163
36178
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
36164
|
-
i0.ɵɵelementStart(2, "span")(3, "a",
|
|
36179
|
+
i0.ɵɵelementStart(2, "span")(3, "a", 21);
|
|
36165
36180
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.clearSelection()); });
|
|
36166
36181
|
i0.ɵɵtext(4);
|
|
36167
36182
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -36173,10 +36188,10 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
36173
36188
|
} }
|
|
36174
36189
|
function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
36175
36190
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
36176
|
-
i0.ɵɵelementStart(0, "th",
|
|
36191
|
+
i0.ɵɵelementStart(0, "th", 22)(1, "div", 23)(2, "input", 24);
|
|
36177
36192
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.selectAll()); });
|
|
36178
36193
|
i0.ɵɵelementEnd();
|
|
36179
|
-
i0.ɵɵelementStart(3, "label",
|
|
36194
|
+
i0.ɵɵelementStart(3, "label", 25);
|
|
36180
36195
|
i0.ɵɵtext(4, " Select all ");
|
|
36181
36196
|
i0.ɵɵelementEnd()()();
|
|
36182
36197
|
} if (rf & 2) {
|
|
@@ -36186,7 +36201,7 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
36186
36201
|
} }
|
|
36187
36202
|
function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
36188
36203
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
36189
|
-
i0.ɵɵelementStart(0, "div",
|
|
36204
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "a", 30);
|
|
36190
36205
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); });
|
|
36191
36206
|
i0.ɵɵelementEnd()();
|
|
36192
36207
|
} if (rf & 2) {
|
|
@@ -36197,12 +36212,12 @@ function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf &
|
|
|
36197
36212
|
} }
|
|
36198
36213
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
36199
36214
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
36200
|
-
i0.ɵɵelementStart(0, "th",
|
|
36215
|
+
i0.ɵɵelementStart(0, "th", 26)(1, "div")(2, "div", 27);
|
|
36201
36216
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_2_listener() { const col_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); })("keyup", function SearchResultComponent_table_0_th_11_Template_div_keyup_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.noop()); });
|
|
36202
36217
|
i0.ɵɵtext(3);
|
|
36203
36218
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36204
36219
|
i0.ɵɵelementEnd();
|
|
36205
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 2, 1, "div",
|
|
36220
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 2, 1, "div", 28);
|
|
36206
36221
|
i0.ɵɵelementEnd()();
|
|
36207
36222
|
} if (rf & 2) {
|
|
36208
36223
|
const col_r5 = ctx.$implicit;
|
|
@@ -36214,16 +36229,16 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
36214
36229
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
36215
36230
|
} }
|
|
36216
36231
|
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
36217
|
-
i0.ɵɵelementStart(0, "th",
|
|
36232
|
+
i0.ɵɵelementStart(0, "th", 31);
|
|
36218
36233
|
i0.ɵɵtext(1, "\u200B");
|
|
36219
36234
|
i0.ɵɵelementEnd();
|
|
36220
36235
|
} }
|
|
36221
36236
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36222
36237
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
36223
|
-
i0.ɵɵelementStart(0, "td",
|
|
36238
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "div", 23)(2, "input", 34);
|
|
36224
36239
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r7); const result_r8 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r8)); });
|
|
36225
36240
|
i0.ɵɵelementEnd();
|
|
36226
|
-
i0.ɵɵelementStart(3, "label",
|
|
36241
|
+
i0.ɵɵelementStart(3, "label", 35);
|
|
36227
36242
|
i0.ɵɵtext(4);
|
|
36228
36243
|
i0.ɵɵelementEnd()()();
|
|
36229
36244
|
} if (rf & 2) {
|
|
@@ -36239,7 +36254,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
36239
36254
|
i0.ɵɵtextInterpolate1(" Select case ", result_r8.case_id, " ");
|
|
36240
36255
|
} }
|
|
36241
36256
|
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) {
|
|
36242
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36257
|
+
i0.ɵɵelement(0, "ccd-field-read", 43);
|
|
36243
36258
|
} if (rf & 2) {
|
|
36244
36259
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
36245
36260
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36254,8 +36269,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36254
36269
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
36255
36270
|
} }
|
|
36256
36271
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36257
|
-
i0.ɵɵelementContainerStart(0,
|
|
36258
|
-
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",
|
|
36272
|
+
i0.ɵɵelementContainerStart(0, 41);
|
|
36273
|
+
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", 42)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
36259
36274
|
i0.ɵɵelementContainerEnd();
|
|
36260
36275
|
} if (rf & 2) {
|
|
36261
36276
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -36266,9 +36281,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36266
36281
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
36267
36282
|
} }
|
|
36268
36283
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36269
|
-
i0.ɵɵelementStart(0, "a",
|
|
36284
|
+
i0.ɵɵelementStart(0, "a", 39);
|
|
36270
36285
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36271
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36286
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 40);
|
|
36272
36287
|
i0.ɵɵelementEnd();
|
|
36273
36288
|
} if (rf & 2) {
|
|
36274
36289
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36279,8 +36294,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
36279
36294
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36280
36295
|
} }
|
|
36281
36296
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36282
|
-
i0.ɵɵelementStart(0, "div",
|
|
36283
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36297
|
+
i0.ɵɵelementStart(0, "div", 41);
|
|
36298
|
+
i0.ɵɵelement(1, "ccd-field-read", 43);
|
|
36284
36299
|
i0.ɵɵelementEnd();
|
|
36285
36300
|
} if (rf & 2) {
|
|
36286
36301
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36291,8 +36306,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
36291
36306
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36292
36307
|
} }
|
|
36293
36308
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36294
|
-
i0.ɵɵelementStart(0, "td",
|
|
36295
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36309
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
36310
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 37)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 38);
|
|
36296
36311
|
i0.ɵɵelementEnd();
|
|
36297
36312
|
} if (rf & 2) {
|
|
36298
36313
|
const colIndex_r11 = ctx.index;
|
|
@@ -36303,7 +36318,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
36303
36318
|
} }
|
|
36304
36319
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36305
36320
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36306
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36321
|
+
i0.ɵɵelement(2, "ccd-activity", 44);
|
|
36307
36322
|
i0.ɵɵelementEnd()();
|
|
36308
36323
|
} if (rf & 2) {
|
|
36309
36324
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36315,7 +36330,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
36315
36330
|
} }
|
|
36316
36331
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36317
36332
|
i0.ɵɵelementStart(0, "tr");
|
|
36318
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 5, 9, "td",
|
|
36333
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 5, 9, "td", 10)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 33)(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36319
36334
|
i0.ɵɵelementEnd();
|
|
36320
36335
|
} if (rf & 2) {
|
|
36321
36336
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36328,7 +36343,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
|
|
|
36328
36343
|
} }
|
|
36329
36344
|
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
36330
36345
|
i0.ɵɵelementContainerStart(0);
|
|
36331
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr",
|
|
36346
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 32);
|
|
36332
36347
|
i0.ɵɵpipe(2, "paginate");
|
|
36333
36348
|
i0.ɵɵelementContainerEnd();
|
|
36334
36349
|
} if (rf & 2) {
|
|
@@ -36338,10 +36353,10 @@ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
36338
36353
|
} }
|
|
36339
36354
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36340
36355
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
36341
|
-
i0.ɵɵelementStart(0, "td",
|
|
36356
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "div", 23)(2, "input", 45);
|
|
36342
36357
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r13)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onKeyUp($event, result_r13)); });
|
|
36343
36358
|
i0.ɵɵelementEnd();
|
|
36344
|
-
i0.ɵɵelementStart(3, "label",
|
|
36359
|
+
i0.ɵɵelementStart(3, "label", 35);
|
|
36345
36360
|
i0.ɵɵtext(4);
|
|
36346
36361
|
i0.ɵɵelementEnd()()();
|
|
36347
36362
|
} if (rf & 2) {
|
|
@@ -36357,7 +36372,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ct
|
|
|
36357
36372
|
i0.ɵɵtextInterpolate1(" Select case ", result_r13.case_id, " ");
|
|
36358
36373
|
} }
|
|
36359
36374
|
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) {
|
|
36360
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36375
|
+
i0.ɵɵelement(0, "ccd-field-read", 43);
|
|
36361
36376
|
} if (rf & 2) {
|
|
36362
36377
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
36363
36378
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36372,8 +36387,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36372
36387
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
36373
36388
|
} }
|
|
36374
36389
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36375
|
-
i0.ɵɵelementContainerStart(0,
|
|
36376
|
-
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",
|
|
36390
|
+
i0.ɵɵelementContainerStart(0, 41);
|
|
36391
|
+
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", 42)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
36377
36392
|
i0.ɵɵelementContainerEnd();
|
|
36378
36393
|
} if (rf & 2) {
|
|
36379
36394
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -36384,9 +36399,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36384
36399
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
36385
36400
|
} }
|
|
36386
36401
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36387
|
-
i0.ɵɵelementStart(0, "a",
|
|
36402
|
+
i0.ɵɵelementStart(0, "a", 39);
|
|
36388
36403
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36389
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36404
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 40);
|
|
36390
36405
|
i0.ɵɵelementEnd();
|
|
36391
36406
|
} if (rf & 2) {
|
|
36392
36407
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36397,8 +36412,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf
|
|
|
36397
36412
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36398
36413
|
} }
|
|
36399
36414
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36400
|
-
i0.ɵɵelementStart(0, "div",
|
|
36401
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36415
|
+
i0.ɵɵelementStart(0, "div", 41);
|
|
36416
|
+
i0.ɵɵelement(1, "ccd-field-read", 43);
|
|
36402
36417
|
i0.ɵɵelementEnd();
|
|
36403
36418
|
} if (rf & 2) {
|
|
36404
36419
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36409,8 +36424,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(
|
|
|
36409
36424
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36410
36425
|
} }
|
|
36411
36426
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36412
|
-
i0.ɵɵelementStart(0, "td",
|
|
36413
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36427
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
36428
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 37)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 38);
|
|
36414
36429
|
i0.ɵɵelementEnd();
|
|
36415
36430
|
} if (rf & 2) {
|
|
36416
36431
|
const colIndex_r16 = ctx.index;
|
|
@@ -36421,7 +36436,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ct
|
|
|
36421
36436
|
} }
|
|
36422
36437
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36423
36438
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36424
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36439
|
+
i0.ɵɵelement(2, "ccd-activity", 44);
|
|
36425
36440
|
i0.ɵɵelementEnd()();
|
|
36426
36441
|
} if (rf & 2) {
|
|
36427
36442
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36433,7 +36448,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ct
|
|
|
36433
36448
|
} }
|
|
36434
36449
|
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36435
36450
|
i0.ɵɵelementStart(0, "tr");
|
|
36436
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 5, 9, "td",
|
|
36451
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 5, 9, "td", 10)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 33)(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36437
36452
|
i0.ɵɵelementEnd();
|
|
36438
36453
|
} if (rf & 2) {
|
|
36439
36454
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36446,7 +36461,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
|
|
|
36446
36461
|
} }
|
|
36447
36462
|
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
36448
36463
|
i0.ɵɵelementContainerStart(0);
|
|
36449
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr",
|
|
36464
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 32);
|
|
36450
36465
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
36451
36466
|
i0.ɵɵpipe(3, "paginate");
|
|
36452
36467
|
i0.ɵɵelementContainerEnd();
|
|
@@ -36456,14 +36471,14 @@ function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (r
|
|
|
36456
36471
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, ctx_r0.sortParameters), i0.ɵɵpureFunction3(7, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
|
|
36457
36472
|
} }
|
|
36458
36473
|
function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
36459
|
-
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2",
|
|
36474
|
+
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 5);
|
|
36460
36475
|
i0.ɵɵtext(3);
|
|
36461
36476
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36462
36477
|
i0.ɵɵelementEnd();
|
|
36463
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div",
|
|
36478
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 6)(6, SearchResultComponent_table_0_div_6_Template, 18, 18, "div", 7)(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 8);
|
|
36464
36479
|
i0.ɵɵelementEnd();
|
|
36465
|
-
i0.ɵɵelementStart(8, "thead")(9, "tr",
|
|
36466
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 5, 2, "th",
|
|
36480
|
+
i0.ɵɵelementStart(8, "thead")(9, "tr", 9);
|
|
36481
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 5, 2, "th", 10)(11, SearchResultComponent_table_0_th_11_Template, 6, 5, "th", 11)(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 12);
|
|
36467
36482
|
i0.ɵɵelementEnd()();
|
|
36468
36483
|
i0.ɵɵelementStart(13, "tbody");
|
|
36469
36484
|
i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 1)(15, SearchResultComponent_table_0_ng_container_15_Template, 4, 11, "ng-container", 1);
|
|
@@ -36491,7 +36506,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36491
36506
|
} }
|
|
36492
36507
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
36493
36508
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
36494
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
36509
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 46);
|
|
36495
36510
|
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.goToPage($event)); });
|
|
36496
36511
|
i0.ɵɵelementEnd();
|
|
36497
36512
|
} if (rf & 2) {
|
|
@@ -36499,15 +36514,18 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
36499
36514
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
36500
36515
|
} }
|
|
36501
36516
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36502
|
-
i0.ɵɵelementStart(0, "div",
|
|
36503
|
-
i0.ɵɵ
|
|
36504
|
-
i0.ɵɵ
|
|
36505
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
36517
|
+
i0.ɵɵelementStart(0, "div", 47);
|
|
36518
|
+
i0.ɵɵtext(1);
|
|
36519
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36506
36520
|
i0.ɵɵelementEnd();
|
|
36507
36521
|
} if (rf & 2) {
|
|
36508
|
-
i0.ɵɵ
|
|
36509
|
-
i0.ɵɵ
|
|
36510
|
-
|
|
36522
|
+
i0.ɵɵadvance();
|
|
36523
|
+
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(2, 1, "No cases found. Try using different filters."), "\n");
|
|
36524
|
+
} }
|
|
36525
|
+
function SearchResultComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
36526
|
+
i0.ɵɵelementStart(0, "span", 48);
|
|
36527
|
+
i0.ɵɵtext(1, "\u200B");
|
|
36528
|
+
i0.ɵɵelementEnd();
|
|
36511
36529
|
} }
|
|
36512
36530
|
class SearchResultComponent {
|
|
36513
36531
|
activityService;
|
|
@@ -36850,19 +36868,21 @@ class SearchResultComponent {
|
|
|
36850
36868
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
36851
36869
|
noop() { }
|
|
36852
36870
|
static ɵ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)); };
|
|
36853
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
36854
|
-
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template,
|
|
36871
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 4, vars: 4, consts: [["case_reference", ""], [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", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-header", 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"], [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, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "click", "innerHTML"], [2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], ["id", "no_case_found", 1, "notification"], ["aria-describedby", "no_case_found"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36872
|
+
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 3, 3, "div", 3)(3, SearchResultComponent_span_3_Template, 2, 0, "span", 4);
|
|
36855
36873
|
} if (rf & 2) {
|
|
36856
36874
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
36857
36875
|
i0.ɵɵadvance();
|
|
36858
36876
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
36859
36877
|
i0.ɵɵadvance();
|
|
36860
36878
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
36879
|
+
i0.ɵɵadvance();
|
|
36880
|
+
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
36861
36881
|
} }, 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:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
|
|
36862
36882
|
}
|
|
36863
36883
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
36864
36884
|
type: Component,
|
|
36865
|
-
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 <output [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"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 Select all\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\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 </div>\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 Select case {{ 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 Select case {{ 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\"
|
|
36885
|
+
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 <output [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"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 Select all\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\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 </div>\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 Select case {{ 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 Select case {{ 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:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
36866
36886
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
36867
36887
|
type: Input
|
|
36868
36888
|
}], jurisdiction: [{
|