@hmcts/ccd-case-ui-toolkit 7.1.72 → 7.1.73-qualifying-questions
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/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +9 -15
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +4 -4
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +11 -17
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,42 +5,36 @@ import * as i2 from "../../../../markdown/markdown.component";
|
|
|
5
5
|
import * as i3 from "rpx-xui-translation";
|
|
6
6
|
function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
7
7
|
i0.ɵɵelementContainerStart(0);
|
|
8
|
-
i0.ɵɵelementStart(1, "
|
|
8
|
+
i0.ɵɵelementStart(1, "h1", 1);
|
|
9
9
|
i0.ɵɵtext(2);
|
|
10
10
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
11
11
|
i0.ɵɵelementEnd();
|
|
12
|
-
i0.ɵɵelementStart(4, "
|
|
13
|
-
i0.ɵɵ
|
|
12
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
13
|
+
i0.ɵɵelement(5, "ccd-markdown", 3);
|
|
14
14
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
15
15
|
i0.ɵɵelementEnd();
|
|
16
|
-
i0.ɵɵelementStart(7, "div", 3);
|
|
17
|
-
i0.ɵɵelement(8, "ccd-markdown", 4);
|
|
18
|
-
i0.ɵɵpipe(9, "rpxTranslate");
|
|
19
|
-
i0.ɵɵelementEnd();
|
|
20
16
|
i0.ɵɵelementContainerEnd();
|
|
21
17
|
} if (rf & 2) {
|
|
22
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
23
19
|
i0.ɵɵadvance(2);
|
|
24
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3,
|
|
25
|
-
i0.ɵɵadvance(3);
|
|
26
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx_r0.qualifyingQuestion.name), " ");
|
|
20
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r0.qualifyingQuestion.name), " ");
|
|
27
21
|
i0.ɵɵadvance(3);
|
|
28
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(
|
|
22
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(6, 4, ctx_r0.qualifyingQuestion.markdown));
|
|
29
23
|
} }
|
|
30
24
|
export class QualifyingQuestionDetailComponent {
|
|
31
25
|
qualifyingQuestion;
|
|
32
26
|
static ɵfac = function QualifyingQuestionDetailComponent_Factory(t) { return new (t || QualifyingQuestionDetailComponent)(); };
|
|
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-
|
|
34
|
-
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template,
|
|
27
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 7, 6, "ng-container", 0);
|
|
35
29
|
} if (rf & 2) {
|
|
36
30
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
|
|
37
31
|
} }, dependencies: [i1.NgIf, i2.MarkdownComponent, i3.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
38
32
|
}
|
|
39
33
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
|
|
40
34
|
type: Component,
|
|
41
|
-
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <
|
|
35
|
+
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\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"] }]
|
|
42
36
|
}], null, { qualifyingQuestion: [{
|
|
43
37
|
type: Input
|
|
44
38
|
}] }); })();
|
|
45
39
|
(() => { (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,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbGlmeWluZy1xdWVzdGlvbi1kZXRhaWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGt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
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
i0.ɵɵadvance(2);
|
|
39
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "
|
|
39
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "If your issue is not covered by the options above, raise a query:"));
|
|
40
40
|
} }
|
|
41
41
|
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
42
42
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -85,7 +85,7 @@ function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { i
|
|
|
85
85
|
i0.ɵɵadvance(4);
|
|
86
86
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, "Raise a new query"), " ");
|
|
87
87
|
i0.ɵɵadvance(3);
|
|
88
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 8, "
|
|
88
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 8, "What do you need help to do?"), " ");
|
|
89
89
|
i0.ɵɵadvance(2);
|
|
90
90
|
i0.ɵɵproperty("ngIf", ctx_r0.displayError);
|
|
91
91
|
i0.ɵɵadvance(2);
|
|
@@ -127,11 +127,11 @@ export class QualifyingQuestionOptionsComponent {
|
|
|
127
127
|
}
|
|
128
128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
|
|
129
129
|
type: Component,
|
|
130
|
-
args: [{ selector: 'ccd-qualifying-question-options', template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ '
|
|
130
|
+
args: [{ selector: 'ccd-qualifying-question-options', template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"govuk-radios__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"{{qualifyingQuestion.name}}\" name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\" [value]=\"qualifyingQuestion\">\n <label class=\"govuk-label govuk-radios__label\" [for]=\"qualifyingQuestion.name\">{{ qualifyingQuestion.name |\n rpxTranslate }}</label>\n </div>\n </ng-container>\n </div>\n </fieldset>\n </div>\n</ng-container>\n" }]
|
|
131
131
|
}], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.QualifyingQuestionService }], { qualifyingQuestionsControl: [{
|
|
132
132
|
type: Input
|
|
133
133
|
}], qualifyingQuestions$: [{
|
|
134
134
|
type: Input
|
|
135
135
|
}] }); })();
|
|
136
136
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QualifyingQuestionOptionsComponent, { className: "QualifyingQuestionOptionsComponent", filePath: "lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.ts", lineNumber: 13 }); })();
|
|
137
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
137
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbGlmeWluZy1xdWVzdGlvbi1vcHRpb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3F1ZXJ5LW1hbmFnZW1lbnQvY29tcG9uZW50cy9xdWFsaWZ5aW5nLXF1ZXN0aW9ucy9xdWFsaWZ5aW5nLXF1ZXN0aW9uLW9wdGlvbnMvcXVhbGlmeWluZy1xdWVzdGlvbi1vcHRpb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3F1ZXJ5LW1hbmFnZW1lbnQvY29tcG9uZW50cy9xdWFsaWZ5aW5nLXF1ZXN0aW9ucy9xdWFsaWZ5aW5nLXF1ZXN0aW9uLW9wdGlvbnMvcXVhbGlmeWluZy1xdWVzdGlvbi1vcHRpb25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ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j5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ292dWstcmFkaW9zX19pdGVtXCI+XG4gICAgICAgICAgICA8aW5wdXQgY2xhc3M9XCJnb3Z1ay1yYWRpb3NfX2lucHV0XCIgaWQ9XCJ7e3F1YWxpZnlpbmdRdWVzdGlvbi5uYW1lfX1cIiBuYW1lPVwicXVhbGlmeWluZ1F1ZXN0aW9uT3B0aW9uXCJcbiAgICAgICAgICAgICAgdHlwZT1cInJhZGlvXCIgW2Zvcm1Db250cm9sXT1cInF1YWxpZnlpbmdRdWVzdGlvbnNDb250cm9sXCIgW3ZhbHVlXT1cInF1YWxpZnlpbmdRdWVzdGlvblwiPlxuICAgICAgICAgICAgPGxhYmVsIGNsYXNzPVwiZ292dWstbGFiZWwgZ292dWstcmFkaW9zX19sYWJlbFwiIFtmb3JdPVwicXVhbGlmeWluZ1F1ZXN0aW9uLm5hbWVcIj57eyBxdWFsaWZ5aW5nUXVlc3Rpb24ubmFtZSB8XG4gICAgICAgICAgICAgIHJweFRyYW5zbGF0ZSB9fTwvbGFiZWw+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgPC9kaXY+XG4gICAgPC9maWVsZHNldD5cbiAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -20446,40 +20446,34 @@ const caseMessagesMockData = [
|
|
|
20446
20446
|
|
|
20447
20447
|
function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
20448
20448
|
i0.ɵɵelementContainerStart(0);
|
|
20449
|
-
i0.ɵɵelementStart(1, "
|
|
20449
|
+
i0.ɵɵelementStart(1, "h1", 1);
|
|
20450
20450
|
i0.ɵɵtext(2);
|
|
20451
20451
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
20452
20452
|
i0.ɵɵelementEnd();
|
|
20453
|
-
i0.ɵɵelementStart(4, "
|
|
20454
|
-
i0.ɵɵ
|
|
20453
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
20454
|
+
i0.ɵɵelement(5, "ccd-markdown", 3);
|
|
20455
20455
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
20456
20456
|
i0.ɵɵelementEnd();
|
|
20457
|
-
i0.ɵɵelementStart(7, "div", 3);
|
|
20458
|
-
i0.ɵɵelement(8, "ccd-markdown", 4);
|
|
20459
|
-
i0.ɵɵpipe(9, "rpxTranslate");
|
|
20460
|
-
i0.ɵɵelementEnd();
|
|
20461
20457
|
i0.ɵɵelementContainerEnd();
|
|
20462
20458
|
} if (rf & 2) {
|
|
20463
20459
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
20464
20460
|
i0.ɵɵadvance(2);
|
|
20465
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3,
|
|
20466
|
-
i0.ɵɵadvance(3);
|
|
20467
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx_r0.qualifyingQuestion.name), " ");
|
|
20461
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r0.qualifyingQuestion.name), " ");
|
|
20468
20462
|
i0.ɵɵadvance(3);
|
|
20469
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(
|
|
20463
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(6, 4, ctx_r0.qualifyingQuestion.markdown));
|
|
20470
20464
|
} }
|
|
20471
20465
|
class QualifyingQuestionDetailComponent {
|
|
20472
20466
|
qualifyingQuestion;
|
|
20473
20467
|
static ɵfac = function QualifyingQuestionDetailComponent_Factory(t) { return new (t || QualifyingQuestionDetailComponent)(); };
|
|
20474
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-
|
|
20475
|
-
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template,
|
|
20468
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20469
|
+
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 7, 6, "ng-container", 0);
|
|
20476
20470
|
} if (rf & 2) {
|
|
20477
20471
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
|
|
20478
20472
|
} }, dependencies: [i5.NgIf, MarkdownComponent, i1.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
20479
20473
|
}
|
|
20480
20474
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
|
|
20481
20475
|
type: Component,
|
|
20482
|
-
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <
|
|
20476
|
+
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\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"] }]
|
|
20483
20477
|
}], null, { qualifyingQuestion: [{
|
|
20484
20478
|
type: Input
|
|
20485
20479
|
}] }); })();
|
|
@@ -20561,7 +20555,7 @@ function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_ng_co
|
|
|
20561
20555
|
i0.ɵɵelementContainerEnd();
|
|
20562
20556
|
} if (rf & 2) {
|
|
20563
20557
|
i0.ɵɵadvance(2);
|
|
20564
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "
|
|
20558
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "If your issue is not covered by the options above, raise a query:"));
|
|
20565
20559
|
} }
|
|
20566
20560
|
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
20567
20561
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -20610,7 +20604,7 @@ function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { i
|
|
|
20610
20604
|
i0.ɵɵadvance(4);
|
|
20611
20605
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, "Raise a new query"), " ");
|
|
20612
20606
|
i0.ɵɵadvance(3);
|
|
20613
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 8, "
|
|
20607
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 8, "What do you need help to do?"), " ");
|
|
20614
20608
|
i0.ɵɵadvance(2);
|
|
20615
20609
|
i0.ɵɵproperty("ngIf", ctx_r0.displayError);
|
|
20616
20610
|
i0.ɵɵadvance(2);
|
|
@@ -20652,7 +20646,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20652
20646
|
}
|
|
20653
20647
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
|
|
20654
20648
|
type: Component,
|
|
20655
|
-
args: [{ selector: 'ccd-qualifying-question-options', template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ '
|
|
20649
|
+
args: [{ selector: 'ccd-qualifying-question-options', template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"govuk-radios__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"{{qualifyingQuestion.name}}\" name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\" [value]=\"qualifyingQuestion\">\n <label class=\"govuk-label govuk-radios__label\" [for]=\"qualifyingQuestion.name\">{{ qualifyingQuestion.name |\n rpxTranslate }}</label>\n </div>\n </ng-container>\n </div>\n </fieldset>\n </div>\n</ng-container>\n" }]
|
|
20656
20650
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: QualifyingQuestionService }], { qualifyingQuestionsControl: [{
|
|
20657
20651
|
type: Input
|
|
20658
20652
|
}], qualifyingQuestions$: [{
|