@hmcts/ccd-case-ui-toolkit 7.1.66-google-analytics → 7.1.66
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/palette.module.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +13 -21
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +73 -59
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +84 -78
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +2 -4
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +2 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -20564,30 +20564,28 @@ function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_ng_co
|
|
|
20564
20564
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "or"));
|
|
20565
20565
|
} }
|
|
20566
20566
|
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
20567
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
|
20568
20567
|
i0.ɵɵelementContainerStart(0);
|
|
20569
20568
|
i0.ɵɵtemplate(1, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_ng_container_1_Template, 4, 3, "ng-container", 0);
|
|
20570
|
-
i0.ɵɵelementStart(2, "div", 10)
|
|
20571
|
-
i0.ɵɵ
|
|
20572
|
-
i0.ɵɵelementEnd();
|
|
20569
|
+
i0.ɵɵelementStart(2, "div", 10);
|
|
20570
|
+
i0.ɵɵelement(3, "input", 11);
|
|
20573
20571
|
i0.ɵɵelementStart(4, "label", 12);
|
|
20574
20572
|
i0.ɵɵtext(5);
|
|
20575
20573
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
20576
20574
|
i0.ɵɵelementEnd()();
|
|
20577
20575
|
i0.ɵɵelementContainerEnd();
|
|
20578
20576
|
} if (rf & 2) {
|
|
20579
|
-
const
|
|
20580
|
-
const
|
|
20577
|
+
const qualifyingQuestion_r2 = ctx.$implicit;
|
|
20578
|
+
const isLast_r3 = ctx.last;
|
|
20581
20579
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
20582
20580
|
i0.ɵɵadvance();
|
|
20583
|
-
i0.ɵɵproperty("ngIf",
|
|
20581
|
+
i0.ɵɵproperty("ngIf", isLast_r3);
|
|
20584
20582
|
i0.ɵɵadvance(2);
|
|
20585
|
-
i0.ɵɵpropertyInterpolate("id",
|
|
20586
|
-
i0.ɵɵproperty("formControl", ctx_r0.qualifyingQuestionsControl)("value",
|
|
20583
|
+
i0.ɵɵpropertyInterpolate("id", qualifyingQuestion_r2.name);
|
|
20584
|
+
i0.ɵɵproperty("formControl", ctx_r0.qualifyingQuestionsControl)("value", qualifyingQuestion_r2);
|
|
20587
20585
|
i0.ɵɵadvance();
|
|
20588
|
-
i0.ɵɵproperty("for",
|
|
20586
|
+
i0.ɵɵproperty("for", qualifyingQuestion_r2.name);
|
|
20589
20587
|
i0.ɵɵadvance();
|
|
20590
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6,
|
|
20588
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, qualifyingQuestion_r2.name));
|
|
20591
20589
|
} }
|
|
20592
20590
|
function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
20593
20591
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -20624,7 +20622,6 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20624
20622
|
qualifyingQuestionService;
|
|
20625
20623
|
qualifyingQuestionsControl;
|
|
20626
20624
|
qualifyingQuestions$;
|
|
20627
|
-
questionSelected = new EventEmitter();
|
|
20628
20625
|
qualifyingQuestionsErrorMessage = QualifyingQuestionsErrorMessage;
|
|
20629
20626
|
caseId;
|
|
20630
20627
|
constructor(route, router, qualifyingQuestionService) {
|
|
@@ -20646,11 +20643,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20646
20643
|
get displayError() {
|
|
20647
20644
|
return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
|
|
20648
20645
|
}
|
|
20649
|
-
onSelectionChange(qualifyingQuestion) {
|
|
20650
|
-
this.questionSelected.emit(qualifyingQuestion);
|
|
20651
|
-
}
|
|
20652
20646
|
static ɵfac = function QualifyingQuestionOptionsComponent_Factory(t) { return new (t || QualifyingQuestionOptionsComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
20653
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" },
|
|
20647
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "govuk-radios__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20654
20648
|
i0.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 14, 12, "ng-container", 0);
|
|
20655
20649
|
} if (rf & 2) {
|
|
20656
20650
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestionsControl);
|
|
@@ -20658,13 +20652,11 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20658
20652
|
}
|
|
20659
20653
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
|
|
20660
20654
|
type: Component,
|
|
20661
|
-
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 {{ 'Select the type of query you are raising:' | 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\">{{ 'or' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\"
|
|
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 {{ 'Select the type of query you are raising:' | 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\">{{ 'or' | 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" }]
|
|
20662
20656
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: QualifyingQuestionService }], { qualifyingQuestionsControl: [{
|
|
20663
20657
|
type: Input
|
|
20664
20658
|
}], qualifyingQuestions$: [{
|
|
20665
20659
|
type: Input
|
|
20666
|
-
}], questionSelected: [{
|
|
20667
|
-
type: Output
|
|
20668
20660
|
}] }); })();
|
|
20669
20661
|
(() => { (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 }); })();
|
|
20670
20662
|
|
|
@@ -22295,8 +22287,8 @@ class QueryWriteDateInputComponent {
|
|
|
22295
22287
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteDateInputComponent, { className: "QueryWriteDateInputComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.ts", lineNumber: 15 }); })();
|
|
22296
22288
|
|
|
22297
22289
|
const _c0$C = a0 => ({ "govuk-form-group--error": a0 });
|
|
22298
|
-
function
|
|
22299
|
-
i0.ɵɵelementStart(0, "p",
|
|
22290
|
+
function QueryWriteRaiseQueryComponent_div_11_p_19_Template(rf, ctx) { if (rf & 1) {
|
|
22291
|
+
i0.ɵɵelementStart(0, "p", 32)(1, "span", 10);
|
|
22300
22292
|
i0.ɵɵtext(2);
|
|
22301
22293
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22302
22294
|
i0.ɵɵelementEnd();
|
|
@@ -22310,8 +22302,8 @@ function QueryWriteRaiseQueryComponent_div_11_p_11_Template(rf, ctx) { if (rf &
|
|
|
22310
22302
|
i0.ɵɵadvance(2);
|
|
22311
22303
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r1.getSubjectErrorMessage()), " ");
|
|
22312
22304
|
} }
|
|
22313
|
-
function
|
|
22314
|
-
i0.ɵɵelementStart(0, "p",
|
|
22305
|
+
function QueryWriteRaiseQueryComponent_div_11_p_29_Template(rf, ctx) { if (rf & 1) {
|
|
22306
|
+
i0.ɵɵelementStart(0, "p", 33)(1, "span", 10);
|
|
22315
22307
|
i0.ɵɵtext(2);
|
|
22316
22308
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22317
22309
|
i0.ɵɵelementEnd();
|
|
@@ -22325,8 +22317,8 @@ function QueryWriteRaiseQueryComponent_div_11_p_21_Template(rf, ctx) { if (rf &
|
|
|
22325
22317
|
i0.ɵɵadvance(2);
|
|
22326
22318
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_BODY), " ");
|
|
22327
22319
|
} }
|
|
22328
|
-
function
|
|
22329
|
-
i0.ɵɵelementStart(0, "p",
|
|
22320
|
+
function QueryWriteRaiseQueryComponent_div_11_p_38_Template(rf, ctx) { if (rf & 1) {
|
|
22321
|
+
i0.ɵɵelementStart(0, "p", 34)(1, "span", 10);
|
|
22330
22322
|
i0.ɵɵtext(2);
|
|
22331
22323
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22332
22324
|
i0.ɵɵelementEnd();
|
|
@@ -22340,8 +22332,8 @@ function QueryWriteRaiseQueryComponent_div_11_p_30_Template(rf, ctx) { if (rf &
|
|
|
22340
22332
|
i0.ɵɵadvance(2);
|
|
22341
22333
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
|
|
22342
22334
|
} }
|
|
22343
|
-
function
|
|
22344
|
-
i0.ɵɵelementStart(0, "p",
|
|
22335
|
+
function QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template(rf, ctx) { if (rf & 1) {
|
|
22336
|
+
i0.ɵɵelementStart(0, "p", 40)(1, "span", 10);
|
|
22345
22337
|
i0.ɵɵtext(2);
|
|
22346
22338
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22347
22339
|
i0.ɵɵelementEnd();
|
|
@@ -22355,14 +22347,14 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_42_p_7_Template(rf, c
|
|
|
22355
22347
|
i0.ɵɵadvance(2);
|
|
22356
22348
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
22357
22349
|
} }
|
|
22358
|
-
function
|
|
22350
|
+
function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx) { if (rf & 1) {
|
|
22359
22351
|
i0.ɵɵelementContainerStart(0);
|
|
22360
|
-
i0.ɵɵelementStart(1, "div",
|
|
22352
|
+
i0.ɵɵelementStart(1, "div", 35)(2, "fieldset", 36)(3, "legend")(4, "label", 37);
|
|
22361
22353
|
i0.ɵɵtext(5);
|
|
22362
22354
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
22363
22355
|
i0.ɵɵelementEnd()();
|
|
22364
|
-
i0.ɵɵtemplate(7,
|
|
22365
|
-
i0.ɵɵelement(8, "ccd-query-write-date-input",
|
|
22356
|
+
i0.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template, 6, 6, "p", 38);
|
|
22357
|
+
i0.ɵɵelement(8, "ccd-query-write-date-input", 39);
|
|
22366
22358
|
i0.ɵɵelementEnd()();
|
|
22367
22359
|
i0.ɵɵelementContainerEnd();
|
|
22368
22360
|
} if (rf & 2) {
|
|
@@ -22376,86 +22368,97 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_42_Template(rf, ctx)
|
|
|
22376
22368
|
} }
|
|
22377
22369
|
function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
22378
22370
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
22379
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "div")(3, "div", 7)(4, "
|
|
22380
|
-
i0.ɵɵtext(
|
|
22381
|
-
i0.ɵɵ
|
|
22382
|
-
i0.ɵɵ
|
|
22383
|
-
i0.ɵɵ
|
|
22384
|
-
i0.ɵɵ
|
|
22371
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "div")(3, "div", 7)(4, "span", 8);
|
|
22372
|
+
i0.ɵɵtext(5, "!");
|
|
22373
|
+
i0.ɵɵelementEnd();
|
|
22374
|
+
i0.ɵɵelementStart(6, "strong", 9)(7, "span", 10);
|
|
22375
|
+
i0.ɵɵtext(8, "Warning");
|
|
22376
|
+
i0.ɵɵelementEnd();
|
|
22377
|
+
i0.ɵɵelement(9, "ccd-markdown", 11);
|
|
22385
22378
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22379
|
+
i0.ɵɵelementEnd()();
|
|
22380
|
+
i0.ɵɵelementStart(11, "div", 12)(12, "div", 13)(13, "label", 14);
|
|
22381
|
+
i0.ɵɵtext(14);
|
|
22382
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
22383
|
+
i0.ɵɵelementEnd()();
|
|
22384
|
+
i0.ɵɵelementStart(16, "div", 15);
|
|
22385
|
+
i0.ɵɵtext(17);
|
|
22386
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
22386
22387
|
i0.ɵɵelementEnd();
|
|
22387
|
-
i0.ɵɵtemplate(
|
|
22388
|
-
i0.ɵɵelementStart(
|
|
22389
|
-
i0.ɵɵlistener("input", function
|
|
22388
|
+
i0.ɵɵtemplate(19, QueryWriteRaiseQueryComponent_div_11_p_19_Template, 6, 6, "p", 16);
|
|
22389
|
+
i0.ɵɵelementStart(20, "input", 17);
|
|
22390
|
+
i0.ɵɵlistener("input", function QueryWriteRaiseQueryComponent_div_11_Template_input_input_20_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSubjectInput()); });
|
|
22390
22391
|
i0.ɵɵelementEnd()();
|
|
22391
|
-
i0.ɵɵelementStart(
|
|
22392
|
-
i0.ɵɵtext(
|
|
22393
|
-
i0.ɵɵpipe(
|
|
22392
|
+
i0.ɵɵelementStart(21, "div", 12)(22, "div", 13)(23, "label", 18);
|
|
22393
|
+
i0.ɵɵtext(24);
|
|
22394
|
+
i0.ɵɵpipe(25, "rpxTranslate");
|
|
22394
22395
|
i0.ɵɵelementEnd()();
|
|
22395
|
-
i0.ɵɵelementStart(
|
|
22396
|
-
i0.ɵɵtext(
|
|
22397
|
-
i0.ɵɵpipe(
|
|
22396
|
+
i0.ɵɵelementStart(26, "div", 19);
|
|
22397
|
+
i0.ɵɵtext(27);
|
|
22398
|
+
i0.ɵɵpipe(28, "rpxTranslate");
|
|
22398
22399
|
i0.ɵɵelementEnd();
|
|
22399
|
-
i0.ɵɵtemplate(
|
|
22400
|
-
i0.ɵɵelementStart(
|
|
22401
|
-
i0.ɵɵtext(
|
|
22400
|
+
i0.ɵɵtemplate(29, QueryWriteRaiseQueryComponent_div_11_p_29_Template, 6, 6, "p", 20);
|
|
22401
|
+
i0.ɵɵelementStart(30, "textarea", 21);
|
|
22402
|
+
i0.ɵɵtext(31, " ");
|
|
22402
22403
|
i0.ɵɵelementEnd()();
|
|
22403
|
-
i0.ɵɵelementStart(
|
|
22404
|
-
i0.ɵɵtext(
|
|
22405
|
-
i0.ɵɵpipe(
|
|
22404
|
+
i0.ɵɵelementStart(32, "div", 12)(33, "fieldset", 22)(34, "legend")(35, "label", 23);
|
|
22405
|
+
i0.ɵɵtext(36);
|
|
22406
|
+
i0.ɵɵpipe(37, "rpxTranslate");
|
|
22406
22407
|
i0.ɵɵelementEnd()();
|
|
22407
|
-
i0.ɵɵtemplate(
|
|
22408
|
-
i0.ɵɵelementStart(
|
|
22409
|
-
i0.ɵɵelement(
|
|
22410
|
-
i0.ɵɵelementStart(
|
|
22411
|
-
i0.ɵɵtext(
|
|
22412
|
-
i0.ɵɵpipe(
|
|
22408
|
+
i0.ɵɵtemplate(38, QueryWriteRaiseQueryComponent_div_11_p_38_Template, 6, 6, "p", 24);
|
|
22409
|
+
i0.ɵɵelementStart(39, "div", 25)(40, "div", 26);
|
|
22410
|
+
i0.ɵɵelement(41, "input", 27);
|
|
22411
|
+
i0.ɵɵelementStart(42, "label", 28);
|
|
22412
|
+
i0.ɵɵtext(43);
|
|
22413
|
+
i0.ɵɵpipe(44, "rpxTranslate");
|
|
22413
22414
|
i0.ɵɵelementEnd()();
|
|
22414
|
-
i0.ɵɵelementStart(
|
|
22415
|
-
i0.ɵɵelement(
|
|
22416
|
-
i0.ɵɵelementStart(
|
|
22417
|
-
i0.ɵɵtext(
|
|
22418
|
-
i0.ɵɵpipe(
|
|
22415
|
+
i0.ɵɵelementStart(45, "div", 26);
|
|
22416
|
+
i0.ɵɵelement(46, "input", 29);
|
|
22417
|
+
i0.ɵɵelementStart(47, "label", 30);
|
|
22418
|
+
i0.ɵɵtext(48);
|
|
22419
|
+
i0.ɵɵpipe(49, "rpxTranslate");
|
|
22419
22420
|
i0.ɵɵelementEnd()()()();
|
|
22420
|
-
i0.ɵɵtemplate(
|
|
22421
|
+
i0.ɵɵtemplate(50, QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template, 9, 7, "ng-container", 31);
|
|
22421
22422
|
i0.ɵɵelementEnd()()()();
|
|
22422
22423
|
} if (rf & 2) {
|
|
22423
22424
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
22424
22425
|
i0.ɵɵadvance();
|
|
22425
22426
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
22427
|
+
i0.ɵɵadvance(8);
|
|
22428
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r1.serviceMessage));
|
|
22426
22429
|
i0.ɵɵadvance(2);
|
|
22427
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
22430
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$C, ctx_r1.submitted && ctx_r1.formGroup.get("subject").hasError("required")));
|
|
22428
22431
|
i0.ɵɵadvance(3);
|
|
22429
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22432
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
22430
22433
|
i0.ɵɵadvance(3);
|
|
22431
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22434
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 27, "The subject should be a summary of your query"), " ");
|
|
22432
22435
|
i0.ɵɵadvance(2);
|
|
22433
22436
|
i0.ɵɵproperty("ngIf", ctx_r1.submitted && (ctx_r1.formGroup.get("subject").hasError("required") || ctx_r1.formGroup.get("subject").hasError("maxlength")));
|
|
22434
22437
|
i0.ɵɵadvance(2);
|
|
22435
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
22438
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$C, ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required")));
|
|
22436
22439
|
i0.ɵɵadvance(3);
|
|
22437
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22440
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
22438
22441
|
i0.ɵɵadvance(3);
|
|
22439
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22442
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 31, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
22440
22443
|
i0.ɵɵadvance(2);
|
|
22441
22444
|
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required"));
|
|
22442
22445
|
i0.ɵɵadvance();
|
|
22443
22446
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required"));
|
|
22444
22447
|
i0.ɵɵproperty("formControlName", "body");
|
|
22445
22448
|
i0.ɵɵadvance(2);
|
|
22446
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
22449
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$C, ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").hasError("required")));
|
|
22447
22450
|
i0.ɵɵadvance(4);
|
|
22448
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22451
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
22449
22452
|
i0.ɵɵadvance(2);
|
|
22450
22453
|
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").hasError("required"));
|
|
22451
22454
|
i0.ɵɵadvance(3);
|
|
22452
22455
|
i0.ɵɵproperty("checked", ctx_r1.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
22453
22456
|
i0.ɵɵadvance(2);
|
|
22454
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(
|
|
22457
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 35, "Is the query hearing related?", null, "Yes"), " ");
|
|
22455
22458
|
i0.ɵɵadvance(3);
|
|
22456
22459
|
i0.ɵɵproperty("checked", ctx_r1.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
22457
22460
|
i0.ɵɵadvance(2);
|
|
22458
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(
|
|
22461
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49, 39, "Is the query hearing related?", null, "No"), " ");
|
|
22459
22462
|
i0.ɵɵadvance(2);
|
|
22460
22463
|
i0.ɵɵproperty("ngIf", ctx_r1.formGroup.get("isHearingRelated").value);
|
|
22461
22464
|
} }
|
|
@@ -22464,6 +22467,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22464
22467
|
submitted;
|
|
22465
22468
|
caseDetails;
|
|
22466
22469
|
showForm;
|
|
22470
|
+
serviceMessage;
|
|
22467
22471
|
raiseQueryErrorMessage = RaiseQueryErrorMessage;
|
|
22468
22472
|
onSubjectInput() {
|
|
22469
22473
|
const control = this.formGroup.get('subject');
|
|
@@ -22483,7 +22487,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22483
22487
|
return '';
|
|
22484
22488
|
}
|
|
22485
22489
|
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
22486
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm" }, decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200", "aria-describedby", "subject-error", 1, "govuk-input", 3, "input"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [
|
|
22490
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm", serviceMessage: "serviceMessage" }, decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "content"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200", "aria-describedby", "subject-error", 1, "govuk-input", 3, "input"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22487
22491
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
22488
22492
|
i0.ɵɵtext(3);
|
|
22489
22493
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22496,7 +22500,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22496
22500
|
i0.ɵɵelement(9, "ccd-query-case-details-header", 3);
|
|
22497
22501
|
i0.ɵɵelementEnd();
|
|
22498
22502
|
i0.ɵɵelement(10, "hr");
|
|
22499
|
-
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template,
|
|
22503
|
+
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51, 49, "div", 4);
|
|
22500
22504
|
i0.ɵɵelementEnd();
|
|
22501
22505
|
} if (rf & 2) {
|
|
22502
22506
|
i0.ɵɵadvance(3);
|
|
@@ -22511,7 +22515,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22511
22515
|
}
|
|
22512
22516
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
22513
22517
|
type: Component,
|
|
22514
|
-
args: [{ selector: 'ccd-query-write-raise-query', template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n aria-describedby=\"subject-error\" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n aria-describedby=\"body-hint body-error\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
22518
|
+
args: [{ selector: 'ccd-query-write-raise-query', template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <ccd-markdown\n [content]=\"serviceMessage | rpxTranslate\">\n </ccd-markdown>\n </strong>\n </div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n aria-describedby=\"subject-error\" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n aria-describedby=\"body-hint body-error\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
22515
22519
|
}], null, { formGroup: [{
|
|
22516
22520
|
type: Input
|
|
22517
22521
|
}], submitted: [{
|
|
@@ -22520,6 +22524,8 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22520
22524
|
type: Input
|
|
22521
22525
|
}], showForm: [{
|
|
22522
22526
|
type: Input
|
|
22527
|
+
}], serviceMessage: [{
|
|
22528
|
+
type: Input
|
|
22523
22529
|
}] }); })();
|
|
22524
22530
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteRaiseQueryComponent, { className: "QueryWriteRaiseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.ts", lineNumber: 8 }); })();
|
|
22525
22531
|
|
|
@@ -30627,7 +30633,7 @@ ReadQueryManagementFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i1
|
|
|
30627
30633
|
i0.ɵɵsetComponentScope(QueryDetailsComponent, function () { return [i5.NgForOf, i5.NgIf, AlertComponent, QueryAttachmentsReadComponent]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe]; });
|
|
30628
30634
|
i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, function () { return [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, QueryDetailsComponent,
|
|
30629
30635
|
QueryCaseDetailsHeaderComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30630
|
-
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, function () { return [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MaxLengthValidator, i4.FormGroupDirective, i4.FormControlName, QueryCaseDetailsHeaderComponent,
|
|
30636
|
+
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, function () { return [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MaxLengthValidator, i4.FormGroupDirective, i4.FormControlName, MarkdownComponent, QueryCaseDetailsHeaderComponent,
|
|
30631
30637
|
QueryWriteDateInputComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30632
30638
|
i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, function () { return [i5.NgForOf, i5.NgIf, QueryCaseDetailsHeaderComponent,
|
|
30633
30639
|
QueryAttachmentsReadComponent,
|