@hmcts/ccd-case-ui-toolkit 7.1.33-accessible-tab-description → 7.1.33-accessible-tab-description-v3
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 +35 -32
- package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +9 -9
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +12 -10
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +53 -48
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -13,8 +13,10 @@ function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if
|
|
|
13
13
|
i0.ɵɵtext(5);
|
|
14
14
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
15
15
|
i0.ɵɵelementEnd();
|
|
16
|
-
i0.ɵɵ
|
|
17
|
-
i0.ɵɵ
|
|
16
|
+
i0.ɵɵelementStart(7, "div", 3);
|
|
17
|
+
i0.ɵɵelement(8, "ccd-markdown", 4);
|
|
18
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
18
20
|
i0.ɵɵelementContainerEnd();
|
|
19
21
|
} if (rf & 2) {
|
|
20
22
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22,23 +24,23 @@ function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if
|
|
|
22
24
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, "Are you contacting us about any of the following:"), " ");
|
|
23
25
|
i0.ɵɵadvance(3);
|
|
24
26
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx_r0.qualifyingQuestion.name), " ");
|
|
25
|
-
i0.ɵɵadvance(
|
|
26
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(
|
|
27
|
+
i0.ɵɵadvance(3);
|
|
28
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(9, 7, ctx_r0.qualifyingQuestion.markdown));
|
|
27
29
|
} }
|
|
28
30
|
export class QualifyingQuestionDetailComponent {
|
|
29
31
|
qualifyingQuestion;
|
|
30
32
|
static ɵfac = function QualifyingQuestionDetailComponent_Factory(t) { return new (t || QualifyingQuestionDetailComponent)(); };
|
|
31
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-caption-l"], [1, "govuk-heading-l"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
-
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template,
|
|
33
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-caption-l"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
+
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 10, 9, "ng-container", 0);
|
|
33
35
|
} if (rf & 2) {
|
|
34
36
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
|
|
35
|
-
} }, dependencies: [i1.NgIf, i2.MarkdownComponent, i3.RpxTranslatePipe],
|
|
37
|
+
} }, dependencies: [i1.NgIf, i2.MarkdownComponent, i3.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
36
38
|
}
|
|
37
39
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
|
|
38
40
|
type: Component,
|
|
39
|
-
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <span class=\"govuk-caption-l\">\n {{ 'Are you contacting us about any of the following:' | rpxTranslate }}\n </span>\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <ccd-markdown\n [content]=\"qualifyingQuestion.markdown | rpxTranslate\">\n </ccd-markdown>\n</ng-container>\n" }]
|
|
41
|
+
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <span class=\"govuk-caption-l\">\n {{ 'Are you contacting us about any of the following:' | rpxTranslate }}\n </span>\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <div class=\"qm-qualifying-question\">\n <ccd-markdown\n [content]=\"qualifyingQuestion.markdown | rpxTranslate\">\n </ccd-markdown>\n </div>\n</ng-container>\n", styles: [".qm-qualifying-question .markdown{font-size:19px}\n"] }]
|
|
40
42
|
}], null, { qualifyingQuestion: [{
|
|
41
43
|
type: Input
|
|
42
44
|
}] }); })();
|
|
43
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QualifyingQuestionDetailComponent, { className: "QualifyingQuestionDetailComponent", filePath: "lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.ts", lineNumber:
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QualifyingQuestionDetailComponent, { className: "QualifyingQuestionDetailComponent", filePath: "lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.ts", lineNumber: 9 }); })();
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbGlmeWluZy1xdWVzdGlvbi1kZXRhaWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvcXVlcnktbWFuYWdlbWVudC9jb21wb25lbnRzL3F1YWxpZnlpbmctcXVlc3Rpb25zL3F1YWxpZnlpbmctcXVlc3Rpb24tZGV0YWlsL3F1YWxpZnlpbmctcXVlc3Rpb24tZGV0YWlsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3F1ZXJ5LW1hbmFnZW1lbnQvY29tcG9uZW50cy9xdWFsaWZ5aW5nLXF1ZXN0aW9ucy9xdWFsaWZ5aW5nLXF1ZXN0aW9uLWRldGFpbC9xdWFsaWZ5aW5nLXF1ZXN0aW9uLWRldGFpbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0lDQWpELDZCQUFtRDtJQUNqRCwrQkFBOEI7SUFDNUIsWUFDRjs7SUFBQSxpQkFBTztJQUNQLDZCQUE0QjtJQUMxQixZQUNGOztJQUFBLGlCQUFLO0lBQ0wsOEJBQW9DO0lBQ2xDLGtDQUVhOztJQUNmLGlCQUFNOzs7O0lBVEosZUFDRjtJQURFLDBHQUNGO0lBRUUsZUFDRjtJQURFLHFGQUNGO0lBR0UsZUFBc0Q7SUFBdEQsa0ZBQXNEOztBREQxRCxNQUFNLE9BQU8saUNBQWlDO0lBQzVCLGtCQUFrQixDQUFxQjsyRkFENUMsaUNBQWlDOzZEQUFqQyxpQ0FBaUM7WUNSOUMscUdBQW1EOztZQUFwQyw4RkFBa0M7OztpRkRRcEMsaUNBQWlDO2NBTDdDLFNBQVM7MkJBQ0UsZ0NBQWdDO2dCQUsxQixrQkFBa0I7a0JBQWpDLEtBQUs7O2tGQURLLGlDQUFpQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFF1YWxpZnlpbmdRdWVzdGlvbiB9IGZyb20gJy4uLy4uLy4uL21vZGVscyc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2NjZC1xdWFsaWZ5aW5nLXF1ZXN0aW9uLWRldGFpbCcsXG4gIHRlbXBsYXRlVXJsOiAnLi9xdWFsaWZ5aW5nLXF1ZXN0aW9uLWRldGFpbC5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3F1YWxpZnlpbmctcXVlc3Rpb24tZGV0YWlsLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgUXVhbGlmeWluZ1F1ZXN0aW9uRGV0YWlsQ29tcG9uZW50IHtcbiAgQElucHV0KCkgcHVibGljIHF1YWxpZnlpbmdRdWVzdGlvbjogUXVhbGlmeWluZ1F1ZXN0aW9uO1xufVxuIiwiPG5nLWNvbnRhaW5lciAqbmdJZj1cInF1YWxpZnlpbmdRdWVzdGlvbj8ubWFya2Rvd25cIj5cbiAgPHNwYW4gY2xhc3M9XCJnb3Z1ay1jYXB0aW9uLWxcIj5cbiAgICB7eyAnQXJlIHlvdSBjb250YWN0aW5nIHVzIGFib3V0IGFueSBvZiB0aGUgZm9sbG93aW5nOicgfCBycHhUcmFuc2xhdGUgfX1cbiAgPC9zcGFuPlxuICA8aDEgY2xhc3M9XCJnb3Z1ay1oZWFkaW5nLWxcIj5cbiAgICB7eyBxdWFsaWZ5aW5nUXVlc3Rpb24ubmFtZSB8IHJweFRyYW5zbGF0ZSB9fVxuICA8L2gxPlxuICA8ZGl2IGNsYXNzPVwicW0tcXVhbGlmeWluZy1xdWVzdGlvblwiPlxuICAgIDxjY2QtbWFya2Rvd25cbiAgICBbY29udGVudF09XCJxdWFsaWZ5aW5nUXVlc3Rpb24ubWFya2Rvd24gfCBycHhUcmFuc2xhdGVcIj5cbiAgPC9jY2QtbWFya2Rvd24+XG4gIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -19593,8 +19593,10 @@ function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if
|
|
|
19593
19593
|
i0.ɵɵtext(5);
|
|
19594
19594
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
19595
19595
|
i0.ɵɵelementEnd();
|
|
19596
|
-
i0.ɵɵ
|
|
19597
|
-
i0.ɵɵ
|
|
19596
|
+
i0.ɵɵelementStart(7, "div", 3);
|
|
19597
|
+
i0.ɵɵelement(8, "ccd-markdown", 4);
|
|
19598
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
19599
|
+
i0.ɵɵelementEnd();
|
|
19598
19600
|
i0.ɵɵelementContainerEnd();
|
|
19599
19601
|
} if (rf & 2) {
|
|
19600
19602
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -19602,25 +19604,25 @@ function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if
|
|
|
19602
19604
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, "Are you contacting us about any of the following:"), " ");
|
|
19603
19605
|
i0.ɵɵadvance(3);
|
|
19604
19606
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx_r0.qualifyingQuestion.name), " ");
|
|
19605
|
-
i0.ɵɵadvance(
|
|
19606
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(
|
|
19607
|
+
i0.ɵɵadvance(3);
|
|
19608
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(9, 7, ctx_r0.qualifyingQuestion.markdown));
|
|
19607
19609
|
} }
|
|
19608
19610
|
class QualifyingQuestionDetailComponent {
|
|
19609
19611
|
qualifyingQuestion;
|
|
19610
19612
|
static ɵfac = function QualifyingQuestionDetailComponent_Factory(t) { return new (t || QualifyingQuestionDetailComponent)(); };
|
|
19611
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-caption-l"], [1, "govuk-heading-l"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19612
|
-
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template,
|
|
19613
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-caption-l"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19614
|
+
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 10, 9, "ng-container", 0);
|
|
19613
19615
|
} if (rf & 2) {
|
|
19614
19616
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
|
|
19615
|
-
} }, dependencies: [i5.NgIf, MarkdownComponent, i1.RpxTranslatePipe],
|
|
19617
|
+
} }, dependencies: [i5.NgIf, MarkdownComponent, i1.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
19616
19618
|
}
|
|
19617
19619
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
|
|
19618
19620
|
type: Component,
|
|
19619
|
-
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <span class=\"govuk-caption-l\">\n {{ 'Are you contacting us about any of the following:' | rpxTranslate }}\n </span>\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <ccd-markdown\n [content]=\"qualifyingQuestion.markdown | rpxTranslate\">\n </ccd-markdown>\n</ng-container>\n" }]
|
|
19621
|
+
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <span class=\"govuk-caption-l\">\n {{ 'Are you contacting us about any of the following:' | rpxTranslate }}\n </span>\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <div class=\"qm-qualifying-question\">\n <ccd-markdown\n [content]=\"qualifyingQuestion.markdown | rpxTranslate\">\n </ccd-markdown>\n </div>\n</ng-container>\n", styles: [".qm-qualifying-question .markdown{font-size:19px}\n"] }]
|
|
19620
19622
|
}], null, { qualifyingQuestion: [{
|
|
19621
19623
|
type: Input
|
|
19622
19624
|
}] }); })();
|
|
19623
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QualifyingQuestionDetailComponent, { className: "QualifyingQuestionDetailComponent", filePath: "lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.ts", lineNumber:
|
|
19625
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QualifyingQuestionDetailComponent, { className: "QualifyingQuestionDetailComponent", filePath: "lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.ts", lineNumber: 9 }); })();
|
|
19624
19626
|
|
|
19625
19627
|
var RaiseQueryErrorMessage;
|
|
19626
19628
|
(function (RaiseQueryErrorMessage) {
|
|
@@ -27668,7 +27670,7 @@ class EventLogTableComponent {
|
|
|
27668
27670
|
|
|
27669
27671
|
function EventLogComponent_ccd_event_log_table_3_Template(rf, ctx) { if (rf & 1) {
|
|
27670
27672
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
27671
|
-
i0.ɵɵelementStart(0, "ccd-event-log-table",
|
|
27673
|
+
i0.ɵɵelementStart(0, "ccd-event-log-table", 8);
|
|
27672
27674
|
i0.ɵɵlistener("onSelect", function EventLogComponent_ccd_event_log_table_3_Template_ccd_event_log_table_onSelect_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.select($event)); })("onCaseHistory", function EventLogComponent_ccd_event_log_table_3_Template_ccd_event_log_table_onCaseHistory_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.caseHistoryClicked($event)); });
|
|
27673
27675
|
i0.ɵɵelementEnd();
|
|
27674
27676
|
} if (rf & 2) {
|
|
@@ -27677,7 +27679,7 @@ function EventLogComponent_ccd_event_log_table_3_Template(rf, ctx) { if (rf & 1)
|
|
|
27677
27679
|
} }
|
|
27678
27680
|
function EventLogComponent_ccd_event_log_table_4_Template(rf, ctx) { if (rf & 1) {
|
|
27679
27681
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
27680
|
-
i0.ɵɵelementStart(0, "ccd-event-log-table",
|
|
27682
|
+
i0.ɵɵelementStart(0, "ccd-event-log-table", 9);
|
|
27681
27683
|
i0.ɵɵlistener("onSelect", function EventLogComponent_ccd_event_log_table_4_Template_ccd_event_log_table_onSelect_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.select($event)); });
|
|
27682
27684
|
i0.ɵɵelementEnd();
|
|
27683
27685
|
} if (rf & 2) {
|
|
@@ -27685,7 +27687,7 @@ function EventLogComponent_ccd_event_log_table_4_Template(rf, ctx) { if (rf & 1)
|
|
|
27685
27687
|
i0.ɵɵproperty("events", ctx_r1.events)("selected", ctx_r1.selected);
|
|
27686
27688
|
} }
|
|
27687
27689
|
function EventLogComponent_ccd_event_log_details_7_Template(rf, ctx) { if (rf & 1) {
|
|
27688
|
-
i0.ɵɵelement(0, "ccd-event-log-details",
|
|
27690
|
+
i0.ɵɵelement(0, "ccd-event-log-details", 10);
|
|
27689
27691
|
} if (rf & 2) {
|
|
27690
27692
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
27691
27693
|
i0.ɵɵproperty("event", ctx_r1.selected);
|
|
@@ -27706,14 +27708,14 @@ class EventLogComponent {
|
|
|
27706
27708
|
this.onCaseHistory.emit(eventId);
|
|
27707
27709
|
}
|
|
27708
27710
|
static ɵfac = function EventLogComponent_Factory(t) { return new (t || EventLogComponent)(); };
|
|
27709
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogComponent, selectors: [["ccd-event-log"]], inputs: { events: "events" }, outputs: { onCaseHistory: "onCaseHistory" }, decls: 8, vars: 4, consts: [[1, "grid-row"], [1, "column-one-half"], [3, "ngSwitch"], [3, "events", "selected", "onSelect", "onCaseHistory", 4, "ngSwitchCase"], [3, "events", "selected", "onSelect", 4, "ngSwitchCase"], [1, "EventLog-DetailsPanel"], [3, "event", 4, "ngIf"], [3, "onSelect", "onCaseHistory", "events", "selected"], [3, "onSelect", "events", "selected"], [3, "event"]], template: function EventLogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27711
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogComponent, selectors: [["ccd-event-log"]], inputs: { events: "events" }, outputs: { onCaseHistory: "onCaseHistory" }, decls: 8, vars: 4, consts: [[1, "grid-row"], [1, "column-one-half", "scrollbar"], [3, "ngSwitch"], [3, "events", "selected", "onSelect", "onCaseHistory", 4, "ngSwitchCase"], [3, "events", "selected", "onSelect", 4, "ngSwitchCase"], [1, "column-one-half"], [1, "EventLog-DetailsPanel"], [3, "event", 4, "ngIf"], [3, "onSelect", "onCaseHistory", "events", "selected"], [3, "onSelect", "events", "selected"], [3, "event"]], template: function EventLogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27710
27712
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
27711
27713
|
i0.ɵɵelementContainerStart(2, 2);
|
|
27712
27714
|
i0.ɵɵtemplate(3, EventLogComponent_ccd_event_log_table_3_Template, 1, 2, "ccd-event-log-table", 3)(4, EventLogComponent_ccd_event_log_table_4_Template, 1, 2, "ccd-event-log-table", 4);
|
|
27713
27715
|
i0.ɵɵelementContainerEnd();
|
|
27714
27716
|
i0.ɵɵelementEnd();
|
|
27715
|
-
i0.ɵɵelementStart(5, "div",
|
|
27716
|
-
i0.ɵɵtemplate(7, EventLogComponent_ccd_event_log_details_7_Template, 1, 1, "ccd-event-log-details",
|
|
27717
|
+
i0.ɵɵelementStart(5, "div", 5)(6, "div", 6);
|
|
27718
|
+
i0.ɵɵtemplate(7, EventLogComponent_ccd_event_log_details_7_Template, 1, 1, "ccd-event-log-details", 7);
|
|
27717
27719
|
i0.ɵɵelementEnd()()();
|
|
27718
27720
|
} if (rf & 2) {
|
|
27719
27721
|
i0.ɵɵadvance(2);
|
|
@@ -27724,11 +27726,11 @@ class EventLogComponent {
|
|
|
27724
27726
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
27725
27727
|
i0.ɵɵadvance(3);
|
|
27726
27728
|
i0.ɵɵproperty("ngIf", ctx.selected);
|
|
27727
|
-
} }, styles: ["@media (max-width: 991px){[class*=col-md][_ngcontent-%COMP%]{margin-bottom:30px}}.EventLog-DetailsPanel[_ngcontent-%COMP%]{border:1px solid #bfc1c3;padding:0 10px 10px;margin-top:20px}"] });
|
|
27729
|
+
} }, styles: ["@media (max-width: 991px){[class*=col-md][_ngcontent-%COMP%]{margin-bottom:30px}}.column-half[_ngcontent-%COMP%], .column-one-half[_ngcontent-%COMP%]{float:left;width:50%}@media (min-width: 641px){.scrollbar[_ngcontent-%COMP%]{height:70vh;overflow-y:auto}}.EventLog-DetailsPanel[_ngcontent-%COMP%]{border:1px solid #bfc1c3;padding:0 10px 10px;margin-top:20px}"] });
|
|
27728
27730
|
}
|
|
27729
27731
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventLogComponent, [{
|
|
27730
27732
|
type: Component,
|
|
27731
|
-
args: [{ selector: 'ccd-event-log', template: "<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ng-container [ngSwitch]=\"isPartOfCaseTimeline\">\n <ccd-event-log-table
|
|
27733
|
+
args: [{ selector: 'ccd-event-log', template: "<div class=\"grid-row\">\n <div class=\"column-one-half scrollbar\">\n <ng-container [ngSwitch]=\"isPartOfCaseTimeline\">\n <ccd-event-log-table\n *ngSwitchCase=\"true\"\n [events]=\"events\"\n [selected]=\"selected\"\n (onSelect)=\"select($event)\"\n (onCaseHistory)=\"caseHistoryClicked($event)\"\n ></ccd-event-log-table>\n <ccd-event-log-table\n *ngSwitchCase=\"false\"\n [events]=\"events\"\n [selected]=\"selected\"\n (onSelect)=\"select($event)\"\n ></ccd-event-log-table>\n </ng-container>\n </div>\n <div class=\"column-one-half\">\n <div class=\"EventLog-DetailsPanel\">\n <ccd-event-log-details\n *ngIf=\"selected\"\n [event]=\"selected\"\n ></ccd-event-log-details>\n </div>\n </div>\n</div>\n", styles: ["@media (max-width: 991px){[class*=col-md]{margin-bottom:30px}}.column-half,.column-one-half{float:left;width:50%}@media (min-width: 641px){.scrollbar{height:70vh;overflow-y:auto}}.EventLog-DetailsPanel{border:1px solid #bfc1c3;padding:0 10px 10px;margin-top:20px}\n"] }]
|
|
27732
27734
|
}], null, { events: [{
|
|
27733
27735
|
type: Input
|
|
27734
27736
|
}], onCaseHistory: [{
|
|
@@ -33025,15 +33027,15 @@ function CaseFullAccessViewComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
33025
33027
|
i0.ɵɵadvance(2);
|
|
33026
33028
|
i0.ɵɵproperty("notificationBannerConfig", ctx_r1.notificationBannerConfig);
|
|
33027
33029
|
} }
|
|
33028
|
-
function
|
|
33029
|
-
i0.ɵɵelement(0, "mat-tab",
|
|
33030
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
|
|
33031
|
+
i0.ɵɵelement(0, "mat-tab", 28);
|
|
33030
33032
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
33031
33033
|
} if (rf & 2) {
|
|
33032
33034
|
const tab_r6 = ctx.$implicit;
|
|
33033
33035
|
i0.ɵɵproperty("id", tab_r6.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
|
|
33034
33036
|
} }
|
|
33035
|
-
function
|
|
33036
|
-
i0.ɵɵelementStart(0, "th",
|
|
33037
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
33038
|
+
i0.ɵɵelementStart(0, "th", 39)(1, "div", 40);
|
|
33037
33039
|
i0.ɵɵtext(2);
|
|
33038
33040
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
33039
33041
|
i0.ɵɵelementEnd()();
|
|
@@ -33042,11 +33044,11 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
33042
33044
|
i0.ɵɵadvance(2);
|
|
33043
33045
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, field_r7.label), "");
|
|
33044
33046
|
} }
|
|
33045
|
-
function
|
|
33047
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
33046
33048
|
i0.ɵɵelementStart(0, "tr");
|
|
33047
|
-
i0.ɵɵtemplate(1,
|
|
33048
|
-
i0.ɵɵelementStart(2, "td",
|
|
33049
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
33049
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_tr_4_th_1_Template, 4, 3, "th", 35);
|
|
33050
|
+
i0.ɵɵelementStart(2, "td", 36)(3, "span", 37);
|
|
33051
|
+
i0.ɵɵelement(4, "ccd-field-read", 38);
|
|
33050
33052
|
i0.ɵɵelementEnd()()();
|
|
33051
33053
|
} if (rf & 2) {
|
|
33052
33054
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
@@ -33058,9 +33060,9 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
33058
33060
|
i0.ɵɵadvance(2);
|
|
33059
33061
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
|
|
33060
33062
|
} }
|
|
33061
|
-
function
|
|
33062
|
-
i0.ɵɵelementStart(0, "tr",
|
|
33063
|
-
i0.ɵɵelement(3, "ccd-field-read",
|
|
33063
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
33064
|
+
i0.ɵɵelementStart(0, "tr", 41)(1, "th", 36)(2, "span", 37);
|
|
33065
|
+
i0.ɵɵelement(3, "ccd-field-read", 38);
|
|
33064
33066
|
i0.ɵɵelementEnd()()();
|
|
33065
33067
|
} if (rf & 2) {
|
|
33066
33068
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
@@ -33070,12 +33072,12 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
33070
33072
|
i0.ɵɵadvance(2);
|
|
33071
33073
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
|
|
33072
33074
|
} }
|
|
33073
|
-
function
|
|
33075
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
33074
33076
|
i0.ɵɵelementContainerStart(0);
|
|
33075
|
-
i0.ɵɵelementStart(1, "div",
|
|
33076
|
-
i0.ɵɵelementContainerStart(2,
|
|
33077
|
+
i0.ɵɵelementStart(1, "div", 31);
|
|
33078
|
+
i0.ɵɵelementContainerStart(2, 32);
|
|
33077
33079
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
33078
|
-
i0.ɵɵtemplate(4,
|
|
33080
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_tr_4_Template, 5, 6, "tr", 33)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_tr_5_Template, 4, 5, "tr", 34);
|
|
33079
33081
|
i0.ɵɵelementContainerEnd();
|
|
33080
33082
|
i0.ɵɵelementEnd();
|
|
33081
33083
|
i0.ɵɵelementContainerEnd();
|
|
@@ -33091,11 +33093,11 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
33091
33093
|
i0.ɵɵadvance();
|
|
33092
33094
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
33093
33095
|
} }
|
|
33094
|
-
function
|
|
33096
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
33095
33097
|
i0.ɵɵelementStart(0, "table");
|
|
33096
33098
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
33097
33099
|
i0.ɵɵelementStart(2, "tbody");
|
|
33098
|
-
i0.ɵɵtemplate(3,
|
|
33100
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_ng_container_3_Template, 6, 8, "ng-container", 19);
|
|
33099
33101
|
i0.ɵɵpipe(4, "ccdTabFields");
|
|
33100
33102
|
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
33101
33103
|
i0.ɵɵelementEnd()();
|
|
@@ -33107,37 +33109,40 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Tem
|
|
|
33107
33109
|
i0.ɵɵadvance(3);
|
|
33108
33110
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, tab_r8), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
|
|
33109
33111
|
} }
|
|
33110
|
-
function
|
|
33111
|
-
i0.ɵɵelementStart(0, "mat-tab",
|
|
33112
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_6_Template(rf, ctx) { if (rf & 1) {
|
|
33113
|
+
i0.ɵɵelementStart(0, "mat-tab", 29);
|
|
33112
33114
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
33113
|
-
i0.ɵɵtemplate(2,
|
|
33115
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_6_ng_template_2_Template, 6, 17, "ng-template", 30);
|
|
33114
33116
|
i0.ɵɵelementEnd();
|
|
33115
33117
|
} if (rf & 2) {
|
|
33116
33118
|
const tab_r8 = ctx.$implicit;
|
|
33117
33119
|
i0.ɵɵproperty("id", tab_r8.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r8.label));
|
|
33118
33120
|
} }
|
|
33119
|
-
function
|
|
33120
|
-
i0.ɵɵelement(0, "mat-tab",
|
|
33121
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_7_Template(rf, ctx) { if (rf & 1) {
|
|
33122
|
+
i0.ɵɵelement(0, "mat-tab", 29);
|
|
33121
33123
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
33122
33124
|
} if (rf & 2) {
|
|
33123
33125
|
const tab_r9 = ctx.$implicit;
|
|
33124
33126
|
i0.ɵɵproperty("id", tab_r9.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r9.label));
|
|
33125
33127
|
} }
|
|
33126
|
-
function
|
|
33128
|
+
function CaseFullAccessViewComponent_ng_container_12_router_outlet_8_Template(rf, ctx) { if (rf & 1) {
|
|
33127
33129
|
i0.ɵɵelement(0, "router-outlet");
|
|
33128
33130
|
} }
|
|
33129
33131
|
function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
33130
33132
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
33131
33133
|
i0.ɵɵelementContainerStart(0);
|
|
33132
|
-
i0.ɵɵelementStart(1, "
|
|
33133
|
-
i0.ɵɵ
|
|
33134
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 2, 4, "mat-tab", 25)(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template, 3, 4, "mat-tab", 25)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template, 2, 4, "mat-tab", 25);
|
|
33134
|
+
i0.ɵɵelementStart(1, "div", 24);
|
|
33135
|
+
i0.ɵɵtext(2, "To use tabbed navigation, please use left and right arrow keys");
|
|
33135
33136
|
i0.ɵɵelementEnd();
|
|
33136
|
-
i0.ɵɵ
|
|
33137
|
+
i0.ɵɵelementStart(3, "mat-tab-group", 25, 0);
|
|
33138
|
+
i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
|
|
33139
|
+
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template, 2, 4, "mat-tab", 26)(6, CaseFullAccessViewComponent_ng_container_12_mat_tab_6_Template, 3, 4, "mat-tab", 27)(7, CaseFullAccessViewComponent_ng_container_12_mat_tab_7_Template, 2, 4, "mat-tab", 27);
|
|
33140
|
+
i0.ɵɵelementEnd();
|
|
33141
|
+
i0.ɵɵtemplate(8, CaseFullAccessViewComponent_ng_container_12_router_outlet_8_Template, 1, 0, "router-outlet", 11);
|
|
33137
33142
|
i0.ɵɵelementContainerEnd();
|
|
33138
33143
|
} if (rf & 2) {
|
|
33139
33144
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
33140
|
-
i0.ɵɵadvance();
|
|
33145
|
+
i0.ɵɵadvance(3);
|
|
33141
33146
|
i0.ɵɵproperty("disableRipple", true)("selectedIndex", ctx_r1.selectedTabIndex);
|
|
33142
33147
|
i0.ɵɵadvance(2);
|
|
33143
33148
|
i0.ɵɵproperty("ngForOf", ctx_r1.prependedTabs);
|
|
@@ -33553,7 +33558,7 @@ class CaseFullAccessViewComponent {
|
|
|
33553
33558
|
} if (rf & 2) {
|
|
33554
33559
|
let _t;
|
|
33555
33560
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
33556
|
-
} }, 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"], ["
|
|
33561
|
+
} }, 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"], ["id", "tab-instruction", 1, "govuk-hint"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], ["aria-describedby", "tab-instruction", 3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["aria-describedby", "tab-instruction", 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) {
|
|
33557
33562
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
33558
33563
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
33559
33564
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -33567,7 +33572,7 @@ class CaseFullAccessViewComponent {
|
|
|
33567
33572
|
i0.ɵɵelementEnd();
|
|
33568
33573
|
i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 9);
|
|
33569
33574
|
i0.ɵɵelementStart(10, "div", 4)(11, "div", 10);
|
|
33570
|
-
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template,
|
|
33575
|
+
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 9, 6, "ng-container", 11);
|
|
33571
33576
|
i0.ɵɵelementEnd()();
|
|
33572
33577
|
} if (rf & 2) {
|
|
33573
33578
|
i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
|
|
@@ -33591,7 +33596,7 @@ class CaseFullAccessViewComponent {
|
|
|
33591
33596
|
}
|
|
33592
33597
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
33593
33598
|
type: Component,
|
|
33594
|
-
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\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 <
|
|
33599
|
+
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\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 <div class=\"govuk-hint\" id=\"tab-instruction\">To use tabbed navigation, please use left and right arrow keys</div>\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\" aria-describedby=\"tab-instruction\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th id=\"case-viewer-field-label\" *ngIf=\"!isFieldToHaveNoLabel(field)\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <th [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </th>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" aria-describedby=\"tab-instruction\">\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"] }]
|
|
33595
33600
|
}], () => [{ 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: [{
|
|
33596
33601
|
type: Input
|
|
33597
33602
|
}], hasEventSelector: [{
|