@hmcts/ccd-case-ui-toolkit 7.0.41 → 7.0.42-accessibility-table-fixed
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/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +52 -20
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +73 -85
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +123 -103
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts +4 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -16687,25 +16687,48 @@ function LinkedCasesFromTableComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
16687
16687
|
i0.ɵɵadvance();
|
|
16688
16688
|
i0.ɵɵtextInterpolate(ctx_r1.showHideLinkText);
|
|
16689
16689
|
} }
|
|
16690
|
+
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template(rf, ctx) { if (rf & 1) {
|
|
16691
|
+
i0.ɵɵelementStart(0, "a", 20);
|
|
16692
|
+
i0.ɵɵtext(1);
|
|
16693
|
+
i0.ɵɵelementEnd();
|
|
16694
|
+
} if (rf & 2) {
|
|
16695
|
+
const case_r3 = i0.ɵɵnextContext(3).$implicit;
|
|
16696
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
16697
|
+
i0.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
16698
|
+
i0.ɵɵadvance();
|
|
16699
|
+
i0.ɵɵtextInterpolate(ctx_r1.getCaseReferenceLink(case_r3.caseReference));
|
|
16700
|
+
} }
|
|
16701
|
+
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template(rf, ctx) { if (rf & 1) {
|
|
16702
|
+
i0.ɵɵelement(0, "br");
|
|
16703
|
+
} }
|
|
16690
16704
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
16691
16705
|
i0.ɵɵelementStart(0, "span");
|
|
16692
16706
|
i0.ɵɵtext(1);
|
|
16693
16707
|
i0.ɵɵpipe(2, "ccdLinkCasesFromReasonValue");
|
|
16694
|
-
i0.ɵɵ
|
|
16708
|
+
i0.ɵɵelementStart(3, "span");
|
|
16709
|
+
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2, 3, "a", 18);
|
|
16710
|
+
i0.ɵɵelementEnd();
|
|
16711
|
+
i0.ɵɵtemplate(5, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template, 1, 0, "br", 19);
|
|
16695
16712
|
i0.ɵɵelementEnd();
|
|
16696
16713
|
} if (rf & 2) {
|
|
16697
|
-
const
|
|
16714
|
+
const reason_r4 = ctx.$implicit;
|
|
16715
|
+
const isLast_r5 = ctx.last;
|
|
16716
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
16698
16717
|
i0.ɵɵadvance();
|
|
16699
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2,
|
|
16718
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 3, reason_r4), "");
|
|
16719
|
+
i0.ɵɵadvance(3);
|
|
16720
|
+
i0.ɵɵproperty("ngIf", ctx_r1.hasLeadCaseOrConsolidated(reason_r4.reasonCode));
|
|
16721
|
+
i0.ɵɵadvance();
|
|
16722
|
+
i0.ɵɵproperty("ngIf", !isLast_r5);
|
|
16700
16723
|
} }
|
|
16701
16724
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
16702
16725
|
i0.ɵɵelementStart(0, "td", 14);
|
|
16703
|
-
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Template,
|
|
16726
|
+
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Template, 6, 5, "span", 17);
|
|
16704
16727
|
i0.ɵɵelementEnd();
|
|
16705
16728
|
} if (rf & 2) {
|
|
16706
|
-
const
|
|
16729
|
+
const details_r6 = ctx.$implicit;
|
|
16707
16730
|
i0.ɵɵadvance();
|
|
16708
|
-
i0.ɵɵproperty("ngForOf",
|
|
16731
|
+
i0.ɵɵproperty("ngForOf", details_r6.reasons);
|
|
16709
16732
|
} }
|
|
16710
16733
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16711
16734
|
i0.ɵɵelementStart(0, "tr", 5)(1, "td", 11)(2, "p", 12)(3, "a", 13)(4, "span");
|
|
@@ -16726,28 +16749,28 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) {
|
|
|
16726
16749
|
i0.ɵɵtemplate(18, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_Template, 2, 1, "td", 16);
|
|
16727
16750
|
i0.ɵɵelementEnd();
|
|
16728
16751
|
} if (rf & 2) {
|
|
16729
|
-
const
|
|
16752
|
+
const case_r3 = ctx.$implicit;
|
|
16730
16753
|
i0.ɵɵadvance(3);
|
|
16731
|
-
i0.ɵɵpropertyInterpolate1("href", "cases/case-details/",
|
|
16754
|
+
i0.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
16732
16755
|
i0.ɵɵadvance(2);
|
|
16733
|
-
i0.ɵɵtextInterpolate1("",
|
|
16756
|
+
i0.ɵɵtextInterpolate1("", case_r3.caseNameHmctsInternal, " ");
|
|
16734
16757
|
i0.ɵɵadvance(2);
|
|
16735
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 10,
|
|
16758
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 10, case_r3.caseReference), "");
|
|
16736
16759
|
i0.ɵɵadvance(3);
|
|
16737
|
-
i0.ɵɵproperty("title",
|
|
16760
|
+
i0.ɵɵproperty("title", case_r3.ccdCaseTypeDescription);
|
|
16738
16761
|
i0.ɵɵadvance();
|
|
16739
|
-
i0.ɵɵtextInterpolate(
|
|
16762
|
+
i0.ɵɵtextInterpolate(case_r3.ccdCaseType);
|
|
16740
16763
|
i0.ɵɵadvance(3);
|
|
16741
|
-
i0.ɵɵtextInterpolate(
|
|
16764
|
+
i0.ɵɵtextInterpolate(case_r3.ccdJurisdiction);
|
|
16742
16765
|
i0.ɵɵadvance(2);
|
|
16743
|
-
i0.ɵɵproperty("title",
|
|
16766
|
+
i0.ɵɵproperty("title", case_r3.stateDescription);
|
|
16744
16767
|
i0.ɵɵadvance();
|
|
16745
|
-
i0.ɵɵtextInterpolate(
|
|
16768
|
+
i0.ɵɵtextInterpolate(case_r3.state);
|
|
16746
16769
|
i0.ɵɵadvance();
|
|
16747
|
-
i0.ɵɵproperty("ngForOf",
|
|
16770
|
+
i0.ɵɵproperty("ngForOf", case_r3.linkDetails);
|
|
16748
16771
|
} }
|
|
16749
16772
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template(rf, ctx) { if (rf & 1) {
|
|
16750
|
-
i0.ɵɵelementStart(0, "tr", 5)(1, "td",
|
|
16773
|
+
i0.ɵɵelementStart(0, "tr", 5)(1, "td", 21);
|
|
16751
16774
|
i0.ɵɵtext(2, " None ");
|
|
16752
16775
|
i0.ɵɵelementEnd()();
|
|
16753
16776
|
} }
|
|
@@ -16790,6 +16813,8 @@ class LinkedCasesFromTableComponent {
|
|
|
16790
16813
|
casesService;
|
|
16791
16814
|
linkedCasesService;
|
|
16792
16815
|
static CASE_NAME_MISSING_TEXT = 'Case name missing';
|
|
16816
|
+
static CASE_CONSOLIDATED_REASON_CODE = 'CLRC015';
|
|
16817
|
+
static CASE_PROGRESS_REASON_CODE = 'CLRC016';
|
|
16793
16818
|
caseField;
|
|
16794
16819
|
notifyAPIFailure = new EventEmitter(false);
|
|
16795
16820
|
caseDetails;
|
|
@@ -16856,13 +16881,20 @@ class LinkedCasesFromTableComponent {
|
|
|
16856
16881
|
mapLookupIDToValueFromJurisdictions(fieldName, fieldValue) {
|
|
16857
16882
|
return this.linkedCasesService.mapLookupIDToValueFromJurisdictions(fieldName, fieldValue);
|
|
16858
16883
|
}
|
|
16884
|
+
getCaseReferenceLink(caseRef) {
|
|
16885
|
+
return caseRef.slice(this.caseId.length - 4);
|
|
16886
|
+
}
|
|
16887
|
+
hasLeadCaseOrConsolidated(reasonCode) {
|
|
16888
|
+
return reasonCode === LinkedCasesFromTableComponent.CASE_PROGRESS_REASON_CODE ||
|
|
16889
|
+
reasonCode === LinkedCasesFromTableComponent.CASE_CONSOLIDATED_REASON_CODE;
|
|
16890
|
+
}
|
|
16859
16891
|
onClick() {
|
|
16860
16892
|
this.showHideLinkText = this.showHideLinkText === 'Show'
|
|
16861
16893
|
? 'Hide'
|
|
16862
16894
|
: 'Show';
|
|
16863
16895
|
}
|
|
16864
16896
|
static ɵfac = function LinkedCasesFromTableComponent_Factory(t) { return new (t || LinkedCasesFromTableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
16865
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["id", "show-hide-link", "class", "govuk-link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "table to display cases linked from", 4, "ngIf"], ["id", "show-hide-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["aria-describedby", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16897
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["id", "show-hide-link", "class", "govuk-link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "table to display cases linked from", 4, "ngIf"], ["id", "show-hide-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["aria-describedby", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16866
16898
|
i0.ɵɵtemplate(0, LinkedCasesFromTableComponent_a_0_Template, 2, 1, "a", 0)(1, LinkedCasesFromTableComponent_table_1_Template, 14, 1, "table", 1);
|
|
16867
16899
|
} if (rf & 2) {
|
|
16868
16900
|
i0.ɵɵproperty("ngIf", !ctx.noLinkedCases && !ctx.isServerError);
|
|
@@ -16872,7 +16904,7 @@ class LinkedCasesFromTableComponent {
|
|
|
16872
16904
|
}
|
|
16873
16905
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
16874
16906
|
type: Component,
|
|
16875
|
-
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}} <br
|
|
16907
|
+
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
16876
16908
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
16877
16909
|
type: Input
|
|
16878
16910
|
}], notifyAPIFailure: [{
|
|
@@ -36047,43 +36079,45 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
36047
36079
|
} }
|
|
36048
36080
|
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
36049
36081
|
i0.ɵɵelementStart(0, "div", 16);
|
|
36050
|
-
i0.ɵɵ
|
|
36051
|
-
i0.ɵɵ
|
|
36052
|
-
i0.ɵɵ
|
|
36053
|
-
i0.ɵɵ
|
|
36054
|
-
i0.ɵɵ
|
|
36055
|
-
i0.ɵɵ
|
|
36056
|
-
i0.ɵɵelementEnd();
|
|
36082
|
+
i0.ɵɵelement(1, "output");
|
|
36083
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36084
|
+
i0.ɵɵelementStart(3, "span", 17);
|
|
36085
|
+
i0.ɵɵtext(4);
|
|
36086
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
36087
|
+
i0.ɵɵelementStart(6, "span", 18);
|
|
36057
36088
|
i0.ɵɵtext(7);
|
|
36058
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
36059
|
-
i0.ɵɵelementStart(9, "span", 18);
|
|
36060
|
-
i0.ɵɵtext(10);
|
|
36061
36089
|
i0.ɵɵelementEnd();
|
|
36090
|
+
i0.ɵɵtext(8);
|
|
36091
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
36092
|
+
i0.ɵɵelementStart(10, "span", 18);
|
|
36062
36093
|
i0.ɵɵtext(11);
|
|
36063
|
-
i0.ɵɵpipe(12, "rpxTranslate");
|
|
36064
|
-
i0.ɵɵelementStart(13, "span", 18);
|
|
36065
|
-
i0.ɵɵtext(14);
|
|
36066
36094
|
i0.ɵɵelementEnd();
|
|
36095
|
+
i0.ɵɵtext(12);
|
|
36096
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
36097
|
+
i0.ɵɵelementStart(14, "span", 18);
|
|
36067
36098
|
i0.ɵɵtext(15);
|
|
36068
|
-
i0.ɵɵ
|
|
36099
|
+
i0.ɵɵelementEnd();
|
|
36100
|
+
i0.ɵɵtext(16);
|
|
36101
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
36069
36102
|
i0.ɵɵelementEnd()();
|
|
36070
36103
|
} if (rf & 2) {
|
|
36071
36104
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
36072
|
-
i0.ɵɵ
|
|
36105
|
+
i0.ɵɵadvance();
|
|
36106
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 8, ctx_r0.getTotalResults() + " results have been found"));
|
|
36073
36107
|
i0.ɵɵadvance(3);
|
|
36074
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
36108
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 10, "Showing"), " ");
|
|
36075
36109
|
i0.ɵɵadvance(3);
|
|
36076
36110
|
i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
|
|
36077
36111
|
i0.ɵɵadvance();
|
|
36078
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
36112
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, "to"), " ");
|
|
36079
36113
|
i0.ɵɵadvance(3);
|
|
36080
36114
|
i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
|
|
36081
36115
|
i0.ɵɵadvance();
|
|
36082
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
36116
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 14, "of"), " ");
|
|
36083
36117
|
i0.ɵɵadvance(3);
|
|
36084
36118
|
i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
|
|
36085
36119
|
i0.ɵɵadvance();
|
|
36086
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
36120
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 16, "results"), "");
|
|
36087
36121
|
} }
|
|
36088
36122
|
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
36089
36123
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
@@ -36111,10 +36145,10 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
36111
36145
|
i0.ɵɵadvance(2);
|
|
36112
36146
|
i0.ɵɵproperty("checked", ctx_r0.allOnPageSelected())("disabled", !ctx_r0.canAnyBeShared());
|
|
36113
36147
|
} }
|
|
36114
|
-
function
|
|
36148
|
+
function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
36115
36149
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
36116
36150
|
i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
|
|
36117
|
-
i0.ɵɵlistener("click", function
|
|
36151
|
+
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)); });
|
|
36118
36152
|
i0.ɵɵelementEnd()();
|
|
36119
36153
|
} if (rf & 2) {
|
|
36120
36154
|
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36124,22 +36158,19 @@ function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf &
|
|
|
36124
36158
|
} }
|
|
36125
36159
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
36126
36160
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
36127
|
-
i0.ɵɵelementStart(0, "th")(1, "
|
|
36128
|
-
i0.ɵɵ
|
|
36129
|
-
i0.ɵɵ
|
|
36130
|
-
i0.ɵɵ
|
|
36131
|
-
i0.ɵɵtext(6);
|
|
36132
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
36161
|
+
i0.ɵɵelementStart(0, "th", 25)(1, "div")(2, "div", 26);
|
|
36162
|
+
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()); });
|
|
36163
|
+
i0.ɵɵtext(3);
|
|
36164
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36133
36165
|
i0.ɵɵelementEnd();
|
|
36134
|
-
i0.ɵɵtemplate(
|
|
36135
|
-
i0.ɵɵelementEnd()()
|
|
36166
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 2, 1, "div", 27);
|
|
36167
|
+
i0.ɵɵelementEnd()();
|
|
36136
36168
|
} if (rf & 2) {
|
|
36137
36169
|
const col_r5 = ctx.$implicit;
|
|
36138
36170
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
36139
|
-
i0.ɵɵ
|
|
36140
|
-
i0.ɵɵ
|
|
36141
|
-
i0.ɵɵ
|
|
36142
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r5.label), " ");
|
|
36171
|
+
i0.ɵɵattribute("aria-sort", ctx_r0.isSortAscending(col_r5) === null ? null : ctx_r0.isSortAscending(col_r5) ? "ascending" : "descending");
|
|
36172
|
+
i0.ɵɵadvance(3);
|
|
36173
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, col_r5.label), " ");
|
|
36143
36174
|
i0.ɵɵadvance(2);
|
|
36144
36175
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
36145
36176
|
} }
|
|
@@ -36148,10 +36179,10 @@ function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
36148
36179
|
} }
|
|
36149
36180
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36150
36181
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
36151
|
-
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input",
|
|
36182
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 33);
|
|
36152
36183
|
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)); });
|
|
36153
36184
|
i0.ɵɵelementEnd();
|
|
36154
|
-
i0.ɵɵelement(3, "label",
|
|
36185
|
+
i0.ɵɵelement(3, "label", 34);
|
|
36155
36186
|
i0.ɵɵelementEnd()();
|
|
36156
36187
|
} if (rf & 2) {
|
|
36157
36188
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36164,7 +36195,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
36164
36195
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r8.case_id, "");
|
|
36165
36196
|
} }
|
|
36166
36197
|
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) {
|
|
36167
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36198
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
36168
36199
|
} if (rf & 2) {
|
|
36169
36200
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
36170
36201
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36179,8 +36210,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36179
36210
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
36180
36211
|
} }
|
|
36181
36212
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36182
|
-
i0.ɵɵelementContainerStart(0,
|
|
36183
|
-
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",
|
|
36213
|
+
i0.ɵɵelementContainerStart(0, 40);
|
|
36214
|
+
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", 41)(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);
|
|
36184
36215
|
i0.ɵɵelementContainerEnd();
|
|
36185
36216
|
} if (rf & 2) {
|
|
36186
36217
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -36191,9 +36222,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36191
36222
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
36192
36223
|
} }
|
|
36193
36224
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36194
|
-
i0.ɵɵelementStart(0, "a",
|
|
36225
|
+
i0.ɵɵelementStart(0, "a", 38);
|
|
36195
36226
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36196
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36227
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 39);
|
|
36197
36228
|
i0.ɵɵelementEnd();
|
|
36198
36229
|
} if (rf & 2) {
|
|
36199
36230
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36204,8 +36235,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
36204
36235
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36205
36236
|
} }
|
|
36206
36237
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36207
|
-
i0.ɵɵelementStart(0, "div",
|
|
36208
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36238
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
36239
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
36209
36240
|
i0.ɵɵelementEnd();
|
|
36210
36241
|
} if (rf & 2) {
|
|
36211
36242
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36216,8 +36247,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
36216
36247
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36217
36248
|
} }
|
|
36218
36249
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36219
|
-
i0.ɵɵelementStart(0, "td",
|
|
36220
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36250
|
+
i0.ɵɵelementStart(0, "td", 35);
|
|
36251
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 36)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 37);
|
|
36221
36252
|
i0.ɵɵelementEnd();
|
|
36222
36253
|
} if (rf & 2) {
|
|
36223
36254
|
const colIndex_r11 = ctx.index;
|
|
@@ -36228,7 +36259,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
36228
36259
|
} }
|
|
36229
36260
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36230
36261
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36231
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36262
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
36232
36263
|
i0.ɵɵelementEnd()();
|
|
36233
36264
|
} if (rf & 2) {
|
|
36234
36265
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36240,7 +36271,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
36240
36271
|
} }
|
|
36241
36272
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36242
36273
|
i0.ɵɵelementStart(0, "tr");
|
|
36243
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td",
|
|
36274
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 32)(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36244
36275
|
i0.ɵɵelementEnd();
|
|
36245
36276
|
} if (rf & 2) {
|
|
36246
36277
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36253,7 +36284,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
|
|
|
36253
36284
|
} }
|
|
36254
36285
|
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
36255
36286
|
i0.ɵɵelementContainerStart(0);
|
|
36256
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr",
|
|
36287
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 31);
|
|
36257
36288
|
i0.ɵɵpipe(2, "paginate");
|
|
36258
36289
|
i0.ɵɵelementContainerEnd();
|
|
36259
36290
|
} if (rf & 2) {
|
|
@@ -36263,10 +36294,10 @@ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
36263
36294
|
} }
|
|
36264
36295
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36265
36296
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
36266
|
-
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input",
|
|
36297
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 44);
|
|
36267
36298
|
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)); });
|
|
36268
36299
|
i0.ɵɵelementEnd();
|
|
36269
|
-
i0.ɵɵelement(3, "label",
|
|
36300
|
+
i0.ɵɵelement(3, "label", 34);
|
|
36270
36301
|
i0.ɵɵelementEnd()();
|
|
36271
36302
|
} if (rf & 2) {
|
|
36272
36303
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36279,7 +36310,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ct
|
|
|
36279
36310
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r13.case_id, "");
|
|
36280
36311
|
} }
|
|
36281
36312
|
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) {
|
|
36282
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36313
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
36283
36314
|
} if (rf & 2) {
|
|
36284
36315
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
36285
36316
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36294,8 +36325,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36294
36325
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
36295
36326
|
} }
|
|
36296
36327
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36297
|
-
i0.ɵɵelementContainerStart(0,
|
|
36298
|
-
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",
|
|
36328
|
+
i0.ɵɵelementContainerStart(0, 40);
|
|
36329
|
+
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", 41)(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);
|
|
36299
36330
|
i0.ɵɵelementContainerEnd();
|
|
36300
36331
|
} if (rf & 2) {
|
|
36301
36332
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -36306,9 +36337,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36306
36337
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
36307
36338
|
} }
|
|
36308
36339
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36309
|
-
i0.ɵɵelementStart(0, "a",
|
|
36340
|
+
i0.ɵɵelementStart(0, "a", 38);
|
|
36310
36341
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36311
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36342
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 39);
|
|
36312
36343
|
i0.ɵɵelementEnd();
|
|
36313
36344
|
} if (rf & 2) {
|
|
36314
36345
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36319,8 +36350,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf
|
|
|
36319
36350
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36320
36351
|
} }
|
|
36321
36352
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36322
|
-
i0.ɵɵelementStart(0, "div",
|
|
36323
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36353
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
36354
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
36324
36355
|
i0.ɵɵelementEnd();
|
|
36325
36356
|
} if (rf & 2) {
|
|
36326
36357
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36331,8 +36362,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(
|
|
|
36331
36362
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36332
36363
|
} }
|
|
36333
36364
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36334
|
-
i0.ɵɵelementStart(0, "td",
|
|
36335
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36365
|
+
i0.ɵɵelementStart(0, "td", 35);
|
|
36366
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 36)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 37);
|
|
36336
36367
|
i0.ɵɵelementEnd();
|
|
36337
36368
|
} if (rf & 2) {
|
|
36338
36369
|
const colIndex_r16 = ctx.index;
|
|
@@ -36343,7 +36374,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ct
|
|
|
36343
36374
|
} }
|
|
36344
36375
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36345
36376
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36346
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36377
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
36347
36378
|
i0.ɵɵelementEnd()();
|
|
36348
36379
|
} if (rf & 2) {
|
|
36349
36380
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36355,7 +36386,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ct
|
|
|
36355
36386
|
} }
|
|
36356
36387
|
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36357
36388
|
i0.ɵɵelementStart(0, "tr");
|
|
36358
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td",
|
|
36389
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 32)(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36359
36390
|
i0.ɵɵelementEnd();
|
|
36360
36391
|
} if (rf & 2) {
|
|
36361
36392
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36368,7 +36399,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
|
|
|
36368
36399
|
} }
|
|
36369
36400
|
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
36370
36401
|
i0.ɵɵelementContainerStart(0);
|
|
36371
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr",
|
|
36402
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 31);
|
|
36372
36403
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
36373
36404
|
i0.ɵɵpipe(3, "paginate");
|
|
36374
36405
|
i0.ɵɵelementContainerEnd();
|
|
@@ -36382,10 +36413,10 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36382
36413
|
i0.ɵɵtext(3);
|
|
36383
36414
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36384
36415
|
i0.ɵɵelementEnd();
|
|
36385
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5)(6, SearchResultComponent_table_0_div_6_Template,
|
|
36416
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5)(6, SearchResultComponent_table_0_div_6_Template, 18, 18, "div", 6)(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 7);
|
|
36386
36417
|
i0.ɵɵelementEnd();
|
|
36387
36418
|
i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
|
|
36388
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9)(11, SearchResultComponent_table_0_th_11_Template,
|
|
36419
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9)(11, SearchResultComponent_table_0_th_11_Template, 6, 5, "th", 10)(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 11);
|
|
36389
36420
|
i0.ɵɵelementEnd()();
|
|
36390
36421
|
i0.ɵɵelementStart(13, "tbody");
|
|
36391
36422
|
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);
|
|
@@ -36413,7 +36444,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36413
36444
|
} }
|
|
36414
36445
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
36415
36446
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
36416
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
36447
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 45);
|
|
36417
36448
|
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)); });
|
|
36418
36449
|
i0.ɵɵelementEnd();
|
|
36419
36450
|
} if (rf & 2) {
|
|
@@ -36421,7 +36452,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
36421
36452
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
36422
36453
|
} }
|
|
36423
36454
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36424
|
-
i0.ɵɵelementStart(0, "div",
|
|
36455
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
36425
36456
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
36426
36457
|
i0.ɵɵtext(2);
|
|
36427
36458
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -36726,24 +36757,11 @@ class SearchResultComponent {
|
|
|
36726
36757
|
return result.case_id.startsWith(DRAFT_PREFIX) ? DRAFT_PREFIX : this.hyphenateIfCaseReferenceOrGet(col, result);
|
|
36727
36758
|
}
|
|
36728
36759
|
isSortAscending(column) {
|
|
36729
|
-
|
|
36730
|
-
|
|
36731
|
-
|
|
36732
|
-
currentSortOrder(column) {
|
|
36733
|
-
let isAscending = true;
|
|
36734
|
-
let isDescending = true;
|
|
36735
|
-
if (this.comparator(column) === undefined) {
|
|
36736
|
-
return SortOrder$1.UNSORTED;
|
|
36737
|
-
}
|
|
36738
|
-
for (let i = 0; i < this.resultView.results.length - 1; i++) {
|
|
36739
|
-
const comparison = this.comparator(column).compare(this.resultView.results[i], this.resultView.results[i + 1]);
|
|
36740
|
-
isDescending = isDescending && comparison <= 0;
|
|
36741
|
-
isAscending = isAscending && comparison >= 0;
|
|
36742
|
-
if (!isAscending && !isDescending) {
|
|
36743
|
-
break;
|
|
36744
|
-
}
|
|
36760
|
+
// simple way to determine if the column param is sorted and if its asc/desc
|
|
36761
|
+
if (this.consumerSortParameters.column === column.case_field_id) {
|
|
36762
|
+
return this.consumerSortParameters.order === SortOrder$1.ASCENDING;
|
|
36745
36763
|
}
|
|
36746
|
-
return
|
|
36764
|
+
return null;
|
|
36747
36765
|
}
|
|
36748
36766
|
getFirstResult() {
|
|
36749
36767
|
const currentPage = (this.selected.page ? this.selected.page : 1);
|
|
@@ -36782,8 +36800,10 @@ class SearchResultComponent {
|
|
|
36782
36800
|
}
|
|
36783
36801
|
}
|
|
36784
36802
|
}
|
|
36803
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
36804
|
+
noop() { }
|
|
36785
36805
|
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)); };
|
|
36786
|
-
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: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top",
|
|
36806
|
+
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: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 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"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36787
36807
|
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, 4, 6, "div", 3);
|
|
36788
36808
|
} if (rf & 2) {
|
|
36789
36809
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
@@ -36795,7 +36815,7 @@ class SearchResultComponent {
|
|
|
36795
36815
|
}
|
|
36796
36816
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
36797
36817
|
type: Component,
|
|
36798
|
-
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\"
|
|
36818
|
+
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 </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 </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width: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"] }]
|
|
36799
36819
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
36800
36820
|
type: Input
|
|
36801
36821
|
}], jurisdiction: [{
|