@hmcts/ccd-case-ui-toolkit 7.1.64-service-message → 7.1.65
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 +2 -1
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +2 -2
- package/esm2022/lib/shared/components/palette/palette.module.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +59 -73
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +61 -74
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.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 +1 -2
- 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
|
@@ -22287,8 +22287,8 @@ class QueryWriteDateInputComponent {
|
|
|
22287
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 }); })();
|
|
22288
22288
|
|
|
22289
22289
|
const _c0$C = a0 => ({ "govuk-form-group--error": a0 });
|
|
22290
|
-
function
|
|
22291
|
-
i0.ɵɵelementStart(0, "p",
|
|
22290
|
+
function QueryWriteRaiseQueryComponent_div_11_p_11_Template(rf, ctx) { if (rf & 1) {
|
|
22291
|
+
i0.ɵɵelementStart(0, "p", 27)(1, "span", 28);
|
|
22292
22292
|
i0.ɵɵtext(2);
|
|
22293
22293
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22294
22294
|
i0.ɵɵelementEnd();
|
|
@@ -22302,8 +22302,8 @@ function QueryWriteRaiseQueryComponent_div_11_p_19_Template(rf, ctx) { if (rf &
|
|
|
22302
22302
|
i0.ɵɵadvance(2);
|
|
22303
22303
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r1.getSubjectErrorMessage()), " ");
|
|
22304
22304
|
} }
|
|
22305
|
-
function
|
|
22306
|
-
i0.ɵɵelementStart(0, "p",
|
|
22305
|
+
function QueryWriteRaiseQueryComponent_div_11_p_21_Template(rf, ctx) { if (rf & 1) {
|
|
22306
|
+
i0.ɵɵelementStart(0, "p", 29)(1, "span", 28);
|
|
22307
22307
|
i0.ɵɵtext(2);
|
|
22308
22308
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22309
22309
|
i0.ɵɵelementEnd();
|
|
@@ -22317,8 +22317,8 @@ function QueryWriteRaiseQueryComponent_div_11_p_29_Template(rf, ctx) { if (rf &
|
|
|
22317
22317
|
i0.ɵɵadvance(2);
|
|
22318
22318
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_BODY), " ");
|
|
22319
22319
|
} }
|
|
22320
|
-
function
|
|
22321
|
-
i0.ɵɵelementStart(0, "p",
|
|
22320
|
+
function QueryWriteRaiseQueryComponent_div_11_p_30_Template(rf, ctx) { if (rf & 1) {
|
|
22321
|
+
i0.ɵɵelementStart(0, "p", 30)(1, "span", 28);
|
|
22322
22322
|
i0.ɵɵtext(2);
|
|
22323
22323
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22324
22324
|
i0.ɵɵelementEnd();
|
|
@@ -22332,8 +22332,8 @@ function QueryWriteRaiseQueryComponent_div_11_p_38_Template(rf, ctx) { if (rf &
|
|
|
22332
22332
|
i0.ɵɵadvance(2);
|
|
22333
22333
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
|
|
22334
22334
|
} }
|
|
22335
|
-
function
|
|
22336
|
-
i0.ɵɵelementStart(0, "p",
|
|
22335
|
+
function QueryWriteRaiseQueryComponent_div_11_ng_container_42_p_7_Template(rf, ctx) { if (rf & 1) {
|
|
22336
|
+
i0.ɵɵelementStart(0, "p", 36)(1, "span", 28);
|
|
22337
22337
|
i0.ɵɵtext(2);
|
|
22338
22338
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22339
22339
|
i0.ɵɵelementEnd();
|
|
@@ -22347,14 +22347,14 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template(rf, c
|
|
|
22347
22347
|
i0.ɵɵadvance(2);
|
|
22348
22348
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
22349
22349
|
} }
|
|
22350
|
-
function
|
|
22350
|
+
function QueryWriteRaiseQueryComponent_div_11_ng_container_42_Template(rf, ctx) { if (rf & 1) {
|
|
22351
22351
|
i0.ɵɵelementContainerStart(0);
|
|
22352
|
-
i0.ɵɵelementStart(1, "div",
|
|
22352
|
+
i0.ɵɵelementStart(1, "div", 31)(2, "fieldset", 32)(3, "legend")(4, "label", 33);
|
|
22353
22353
|
i0.ɵɵtext(5);
|
|
22354
22354
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
22355
22355
|
i0.ɵɵelementEnd()();
|
|
22356
|
-
i0.ɵɵtemplate(7,
|
|
22357
|
-
i0.ɵɵelement(8, "ccd-query-write-date-input",
|
|
22356
|
+
i0.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_div_11_ng_container_42_p_7_Template, 6, 6, "p", 34);
|
|
22357
|
+
i0.ɵɵelement(8, "ccd-query-write-date-input", 35);
|
|
22358
22358
|
i0.ɵɵelementEnd()();
|
|
22359
22359
|
i0.ɵɵelementContainerEnd();
|
|
22360
22360
|
} if (rf & 2) {
|
|
@@ -22368,97 +22368,86 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
22368
22368
|
} }
|
|
22369
22369
|
function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
22370
22370
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
22371
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "div")(3, "div", 7)(4, "
|
|
22372
|
-
i0.ɵɵtext(
|
|
22373
|
-
i0.ɵɵ
|
|
22374
|
-
i0.ɵɵelementStart(6, "strong", 9)(7, "span", 10);
|
|
22375
|
-
i0.ɵɵtext(8, "Warning");
|
|
22376
|
-
i0.ɵɵelementEnd();
|
|
22377
|
-
i0.ɵɵelement(9, "ccd-markdown", 11);
|
|
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");
|
|
22371
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "div")(3, "div", 7)(4, "div", 8)(5, "label", 9);
|
|
22372
|
+
i0.ɵɵtext(6);
|
|
22373
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22383
22374
|
i0.ɵɵelementEnd()();
|
|
22384
|
-
i0.ɵɵelementStart(
|
|
22385
|
-
i0.ɵɵtext(
|
|
22386
|
-
i0.ɵɵpipe(
|
|
22375
|
+
i0.ɵɵelementStart(8, "div", 10);
|
|
22376
|
+
i0.ɵɵtext(9);
|
|
22377
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22387
22378
|
i0.ɵɵelementEnd();
|
|
22388
|
-
i0.ɵɵtemplate(
|
|
22389
|
-
i0.ɵɵelementStart(
|
|
22390
|
-
i0.ɵɵlistener("input", function
|
|
22379
|
+
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_p_11_Template, 6, 6, "p", 11);
|
|
22380
|
+
i0.ɵɵelementStart(12, "input", 12);
|
|
22381
|
+
i0.ɵɵlistener("input", function QueryWriteRaiseQueryComponent_div_11_Template_input_input_12_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSubjectInput()); });
|
|
22391
22382
|
i0.ɵɵelementEnd()();
|
|
22392
|
-
i0.ɵɵelementStart(
|
|
22393
|
-
i0.ɵɵtext(
|
|
22394
|
-
i0.ɵɵpipe(
|
|
22383
|
+
i0.ɵɵelementStart(13, "div", 7)(14, "div", 8)(15, "label", 13);
|
|
22384
|
+
i0.ɵɵtext(16);
|
|
22385
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22395
22386
|
i0.ɵɵelementEnd()();
|
|
22396
|
-
i0.ɵɵelementStart(
|
|
22397
|
-
i0.ɵɵtext(
|
|
22398
|
-
i0.ɵɵpipe(
|
|
22387
|
+
i0.ɵɵelementStart(18, "div", 14);
|
|
22388
|
+
i0.ɵɵtext(19);
|
|
22389
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
22399
22390
|
i0.ɵɵelementEnd();
|
|
22400
|
-
i0.ɵɵtemplate(
|
|
22401
|
-
i0.ɵɵelementStart(
|
|
22402
|
-
i0.ɵɵtext(
|
|
22391
|
+
i0.ɵɵtemplate(21, QueryWriteRaiseQueryComponent_div_11_p_21_Template, 6, 6, "p", 15);
|
|
22392
|
+
i0.ɵɵelementStart(22, "textarea", 16);
|
|
22393
|
+
i0.ɵɵtext(23, " ");
|
|
22403
22394
|
i0.ɵɵelementEnd()();
|
|
22404
|
-
i0.ɵɵelementStart(
|
|
22405
|
-
i0.ɵɵtext(
|
|
22406
|
-
i0.ɵɵpipe(
|
|
22395
|
+
i0.ɵɵelementStart(24, "div", 7)(25, "fieldset", 17)(26, "legend")(27, "label", 18);
|
|
22396
|
+
i0.ɵɵtext(28);
|
|
22397
|
+
i0.ɵɵpipe(29, "rpxTranslate");
|
|
22407
22398
|
i0.ɵɵelementEnd()();
|
|
22408
|
-
i0.ɵɵtemplate(
|
|
22409
|
-
i0.ɵɵelementStart(
|
|
22410
|
-
i0.ɵɵelement(
|
|
22411
|
-
i0.ɵɵelementStart(
|
|
22412
|
-
i0.ɵɵtext(
|
|
22413
|
-
i0.ɵɵpipe(
|
|
22399
|
+
i0.ɵɵtemplate(30, QueryWriteRaiseQueryComponent_div_11_p_30_Template, 6, 6, "p", 19);
|
|
22400
|
+
i0.ɵɵelementStart(31, "div", 20)(32, "div", 21);
|
|
22401
|
+
i0.ɵɵelement(33, "input", 22);
|
|
22402
|
+
i0.ɵɵelementStart(34, "label", 23);
|
|
22403
|
+
i0.ɵɵtext(35);
|
|
22404
|
+
i0.ɵɵpipe(36, "rpxTranslate");
|
|
22414
22405
|
i0.ɵɵelementEnd()();
|
|
22415
|
-
i0.ɵɵelementStart(
|
|
22416
|
-
i0.ɵɵelement(
|
|
22417
|
-
i0.ɵɵelementStart(
|
|
22418
|
-
i0.ɵɵtext(
|
|
22419
|
-
i0.ɵɵpipe(
|
|
22406
|
+
i0.ɵɵelementStart(37, "div", 21);
|
|
22407
|
+
i0.ɵɵelement(38, "input", 24);
|
|
22408
|
+
i0.ɵɵelementStart(39, "label", 25);
|
|
22409
|
+
i0.ɵɵtext(40);
|
|
22410
|
+
i0.ɵɵpipe(41, "rpxTranslate");
|
|
22420
22411
|
i0.ɵɵelementEnd()()()();
|
|
22421
|
-
i0.ɵɵtemplate(
|
|
22412
|
+
i0.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_div_11_ng_container_42_Template, 9, 7, "ng-container", 26);
|
|
22422
22413
|
i0.ɵɵelementEnd()()()();
|
|
22423
22414
|
} if (rf & 2) {
|
|
22424
22415
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
22425
22416
|
i0.ɵɵadvance();
|
|
22426
22417
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
22427
|
-
i0.ɵɵadvance(8);
|
|
22428
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r1.serviceMessage));
|
|
22429
22418
|
i0.ɵɵadvance(2);
|
|
22430
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
22419
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(40, _c0$C, ctx_r1.submitted && ctx_r1.formGroup.get("subject").hasError("required")));
|
|
22431
22420
|
i0.ɵɵadvance(3);
|
|
22432
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22421
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 22, "Query subject"), " ");
|
|
22433
22422
|
i0.ɵɵadvance(3);
|
|
22434
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22423
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 24, "The subject should be a summary of your query"), " ");
|
|
22435
22424
|
i0.ɵɵadvance(2);
|
|
22436
22425
|
i0.ɵɵproperty("ngIf", ctx_r1.submitted && (ctx_r1.formGroup.get("subject").hasError("required") || ctx_r1.formGroup.get("subject").hasError("maxlength")));
|
|
22437
22426
|
i0.ɵɵadvance(2);
|
|
22438
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
22427
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(42, _c0$C, ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required")));
|
|
22439
22428
|
i0.ɵɵadvance(3);
|
|
22440
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22429
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 26, "Query detail"), " ");
|
|
22441
22430
|
i0.ɵɵadvance(3);
|
|
22442
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22431
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 28, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
22443
22432
|
i0.ɵɵadvance(2);
|
|
22444
22433
|
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required"));
|
|
22445
22434
|
i0.ɵɵadvance();
|
|
22446
22435
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required"));
|
|
22447
22436
|
i0.ɵɵproperty("formControlName", "body");
|
|
22448
22437
|
i0.ɵɵadvance(2);
|
|
22449
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
22438
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$C, ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").hasError("required")));
|
|
22450
22439
|
i0.ɵɵadvance(4);
|
|
22451
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22440
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 30, "Is the query hearing related?"), " ");
|
|
22452
22441
|
i0.ɵɵadvance(2);
|
|
22453
22442
|
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").hasError("required"));
|
|
22454
22443
|
i0.ɵɵadvance(3);
|
|
22455
22444
|
i0.ɵɵproperty("checked", ctx_r1.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
22456
22445
|
i0.ɵɵadvance(2);
|
|
22457
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(
|
|
22446
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(36, 32, "Is the query hearing related?", null, "Yes"), " ");
|
|
22458
22447
|
i0.ɵɵadvance(3);
|
|
22459
22448
|
i0.ɵɵproperty("checked", ctx_r1.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
22460
22449
|
i0.ɵɵadvance(2);
|
|
22461
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(
|
|
22450
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(41, 36, "Is the query hearing related?", null, "No"), " ");
|
|
22462
22451
|
i0.ɵɵadvance(2);
|
|
22463
22452
|
i0.ɵɵproperty("ngIf", ctx_r1.formGroup.get("isHearingRelated").value);
|
|
22464
22453
|
} }
|
|
@@ -22467,7 +22456,6 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22467
22456
|
submitted;
|
|
22468
22457
|
caseDetails;
|
|
22469
22458
|
showForm;
|
|
22470
|
-
serviceMessage;
|
|
22471
22459
|
raiseQueryErrorMessage = RaiseQueryErrorMessage;
|
|
22472
22460
|
onSubjectInput() {
|
|
22473
22461
|
const control = this.formGroup.get('subject');
|
|
@@ -22487,7 +22475,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22487
22475
|
return '';
|
|
22488
22476
|
}
|
|
22489
22477
|
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
22490
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm"
|
|
22478
|
+
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"], [1, "govuk-visually-hidden"], ["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) {
|
|
22491
22479
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
22492
22480
|
i0.ɵɵtext(3);
|
|
22493
22481
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22500,7 +22488,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22500
22488
|
i0.ɵɵelement(9, "ccd-query-case-details-header", 3);
|
|
22501
22489
|
i0.ɵɵelementEnd();
|
|
22502
22490
|
i0.ɵɵelement(10, "hr");
|
|
22503
|
-
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template,
|
|
22491
|
+
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 43, 46, "div", 4);
|
|
22504
22492
|
i0.ɵɵelementEnd();
|
|
22505
22493
|
} if (rf & 2) {
|
|
22506
22494
|
i0.ɵɵadvance(3);
|
|
@@ -22515,7 +22503,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22515
22503
|
}
|
|
22516
22504
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
22517
22505
|
type: Component,
|
|
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-
|
|
22506
|
+
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" }]
|
|
22519
22507
|
}], null, { formGroup: [{
|
|
22520
22508
|
type: Input
|
|
22521
22509
|
}], submitted: [{
|
|
@@ -22524,8 +22512,6 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22524
22512
|
type: Input
|
|
22525
22513
|
}], showForm: [{
|
|
22526
22514
|
type: Input
|
|
22527
|
-
}], serviceMessage: [{
|
|
22528
|
-
type: Input
|
|
22529
22515
|
}] }); })();
|
|
22530
22516
|
(() => { (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 }); })();
|
|
22531
22517
|
|
|
@@ -30633,7 +30619,7 @@ ReadQueryManagementFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i1
|
|
|
30633
30619
|
i0.ɵɵsetComponentScope(QueryDetailsComponent, function () { return [i5.NgForOf, i5.NgIf, AlertComponent, QueryAttachmentsReadComponent]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe]; });
|
|
30634
30620
|
i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, function () { return [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, QueryDetailsComponent,
|
|
30635
30621
|
QueryCaseDetailsHeaderComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30636
|
-
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, function () { return [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MaxLengthValidator, i4.FormGroupDirective, i4.FormControlName,
|
|
30622
|
+
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, function () { return [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MaxLengthValidator, i4.FormGroupDirective, i4.FormControlName, QueryCaseDetailsHeaderComponent,
|
|
30637
30623
|
QueryWriteDateInputComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30638
30624
|
i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, function () { return [i5.NgForOf, i5.NgIf, QueryCaseDetailsHeaderComponent,
|
|
30639
30625
|
QueryAttachmentsReadComponent,
|
|
@@ -33752,7 +33738,7 @@ class EventTriggerResolver {
|
|
|
33752
33738
|
if (this.isRootTriggerEventRoute(route)) {
|
|
33753
33739
|
return this.getAndCacheEventTrigger(route);
|
|
33754
33740
|
}
|
|
33755
|
-
if (this.cachedEventTrigger && (route.params?.eid === this.cachedEventTrigger?.id)) {
|
|
33741
|
+
if (this.cachedEventTrigger && ((route.params?.eid === this.cachedEventTrigger?.id) && (route.params?.cid === this.cachedEventTrigger?.case_id))) {
|
|
33756
33742
|
return Promise.resolve(this.cachedEventTrigger);
|
|
33757
33743
|
}
|
|
33758
33744
|
return this.getAndCacheEventTrigger(route);
|
|
@@ -34773,6 +34759,7 @@ class CaseFullAccessViewComponent {
|
|
|
34773
34759
|
// we may need to take care of different triggers in the future
|
|
34774
34760
|
if (trigger.id === CaseViewEventIds.QueryManagementRaiseQuery) {
|
|
34775
34761
|
await this.router.navigate([`/query-management/query/${this.caseDetails.case_id}`]);
|
|
34762
|
+
this.loadingService.unregister(spinner);
|
|
34776
34763
|
}
|
|
34777
34764
|
else if (trigger.id === CaseViewEventIds.DELETE) {
|
|
34778
34765
|
const dialogRef = this.dialog.open(DeleteOrCancelDialogComponent, this.dialogConfig);
|