@hmcts/ccd-case-ui-toolkit 7.2.21 → 7.2.23-exui-2761-rc1
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-editor/case-edit/case-edit.component.mjs +3 -3
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +9 -4
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +16 -3
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +15 -8
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +13 -9
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +4 -2
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +3 -3
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +6 -6
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +6 -7
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +22 -18
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +64 -58
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +19 -13
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +374 -300
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +1 -0
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.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/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +2 -2
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
- package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +2 -0
- 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-confirmation/query-confirmation.component.d.ts +2 -0
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ import * as i10 from '@angular/material/legacy-tabs';
|
|
|
59
59
|
import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
|
|
60
60
|
import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
|
|
61
61
|
|
|
62
|
-
const _c0$
|
|
62
|
+
const _c0$17 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
63
63
|
const _c1$u = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
64
64
|
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
65
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
@@ -137,7 +137,7 @@ class FooterComponent {
|
|
|
137
137
|
workhours;
|
|
138
138
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
139
139
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$u, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
140
|
-
i0.ɵɵprojectionDef(_c0$
|
|
140
|
+
i0.ɵɵprojectionDef(_c0$17);
|
|
141
141
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
142
142
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
|
|
143
143
|
i0.ɵɵelementEnd()();
|
|
@@ -164,7 +164,7 @@ class FooterComponent {
|
|
|
164
164
|
}] }); })();
|
|
165
165
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 8 }); })();
|
|
166
166
|
|
|
167
|
-
const _c0$
|
|
167
|
+
const _c0$16 = [[["", "headerNavigation", ""]]];
|
|
168
168
|
const _c1$t = ["[headerNavigation]"];
|
|
169
169
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
170
170
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
@@ -207,7 +207,7 @@ class HeaderBarComponent {
|
|
|
207
207
|
}
|
|
208
208
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
|
|
209
209
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$t, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
210
|
-
i0.ɵɵprojectionDef(_c0$
|
|
210
|
+
i0.ɵɵprojectionDef(_c0$16);
|
|
211
211
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
212
212
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
213
213
|
i0.ɵɵelementEnd();
|
|
@@ -257,13 +257,13 @@ class HeaderBarComponent {
|
|
|
257
257
|
}] }); })();
|
|
258
258
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 8 }); })();
|
|
259
259
|
|
|
260
|
-
const _c0$
|
|
260
|
+
const _c0$15 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
261
261
|
const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
262
262
|
class NavigationComponent {
|
|
263
263
|
isSolicitor;
|
|
264
264
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
265
265
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
-
i0.ɵɵprojectionDef(_c0$
|
|
266
|
+
i0.ɵɵprojectionDef(_c0$15);
|
|
267
267
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
268
268
|
i0.ɵɵprojection(2);
|
|
269
269
|
i0.ɵɵprojection(3, 1);
|
|
@@ -382,12 +382,12 @@ class HeadersModule {
|
|
|
382
382
|
}], null, null); })();
|
|
383
383
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
384
384
|
|
|
385
|
-
const _c0$
|
|
385
|
+
const _c0$14 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
386
386
|
const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
387
387
|
class BodyComponent {
|
|
388
388
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
389
389
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
390
|
-
i0.ɵɵprojectionDef(_c0$
|
|
390
|
+
i0.ɵɵprojectionDef(_c0$14);
|
|
391
391
|
i0.ɵɵelementStart(0, "div", 0);
|
|
392
392
|
i0.ɵɵprojection(1);
|
|
393
393
|
i0.ɵɵprojection(2, 1);
|
|
@@ -401,7 +401,7 @@ class BodyComponent {
|
|
|
401
401
|
}], null, null); })();
|
|
402
402
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 9 }); })();
|
|
403
403
|
|
|
404
|
-
const _c0$
|
|
404
|
+
const _c0$13 = a0 => ({ "govuk-input--error": a0 });
|
|
405
405
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
406
406
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
407
407
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -418,7 +418,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
418
418
|
i0.ɵɵadvance();
|
|
419
419
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
420
420
|
i0.ɵɵadvance(2);
|
|
421
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
421
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
422
422
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
423
423
|
} }
|
|
424
424
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -437,7 +437,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
437
437
|
i0.ɵɵadvance();
|
|
438
438
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
439
439
|
i0.ɵɵadvance(2);
|
|
440
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
440
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
441
441
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
442
442
|
} }
|
|
443
443
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -456,7 +456,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
456
456
|
i0.ɵɵadvance();
|
|
457
457
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
458
458
|
i0.ɵɵadvance(2);
|
|
459
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
459
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
460
460
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
461
461
|
} }
|
|
462
462
|
class DateInputComponent {
|
|
@@ -692,21 +692,21 @@ class DateInputComponent {
|
|
|
692
692
|
i0.ɵɵadvance();
|
|
693
693
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
694
694
|
i0.ɵɵadvance(2);
|
|
695
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
695
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$13, ctx.isInvalid));
|
|
696
696
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
697
697
|
i0.ɵɵadvance(3);
|
|
698
698
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
699
699
|
i0.ɵɵadvance();
|
|
700
700
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
701
701
|
i0.ɵɵadvance(2);
|
|
702
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
702
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$13, ctx.isInvalid));
|
|
703
703
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
704
704
|
i0.ɵɵadvance(3);
|
|
705
705
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
706
706
|
i0.ɵɵadvance();
|
|
707
707
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
708
708
|
i0.ɵɵadvance(2);
|
|
709
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
709
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$13, ctx.isInvalid));
|
|
710
710
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
711
711
|
i0.ɵɵadvance(2);
|
|
712
712
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -743,7 +743,7 @@ class DateInputComponent {
|
|
|
743
743
|
}] }); })();
|
|
744
744
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 20 }); })();
|
|
745
745
|
|
|
746
|
-
const _c0$
|
|
746
|
+
const _c0$12 = ["*"];
|
|
747
747
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
748
748
|
i0.ɵɵelementContainerStart(0);
|
|
749
749
|
i0.ɵɵnamespaceSVG();
|
|
@@ -793,7 +793,7 @@ class AlertComponent {
|
|
|
793
793
|
showIcon = true;
|
|
794
794
|
alertMessageType = AlertMessageType;
|
|
795
795
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
796
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
796
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$12, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
797
797
|
i0.ɵɵprojectionDef();
|
|
798
798
|
i0.ɵɵelementStart(0, "div", 0);
|
|
799
799
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1006,14 +1006,14 @@ class NotificationBannerComponent {
|
|
|
1006
1006
|
}] }); })();
|
|
1007
1007
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 10 }); })();
|
|
1008
1008
|
|
|
1009
|
-
const _c0$
|
|
1009
|
+
const _c0$11 = ["*"];
|
|
1010
1010
|
const _c1$q = a0 => ({ "js-hidden": a0 });
|
|
1011
1011
|
class TabComponent {
|
|
1012
1012
|
id;
|
|
1013
1013
|
title;
|
|
1014
1014
|
selected;
|
|
1015
1015
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1016
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$
|
|
1016
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$11, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1017
1017
|
i0.ɵɵprojectionDef();
|
|
1018
1018
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1019
1019
|
i0.ɵɵprojection(1);
|
|
@@ -1035,7 +1035,7 @@ class TabComponent {
|
|
|
1035
1035
|
}] }); })();
|
|
1036
1036
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 10 }); })();
|
|
1037
1037
|
|
|
1038
|
-
const _c0
|
|
1038
|
+
const _c0$10 = ["tab"];
|
|
1039
1039
|
const _c1$p = ["*"];
|
|
1040
1040
|
const _c2$4 = () => ["."];
|
|
1041
1041
|
const _c3 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
@@ -1082,7 +1082,7 @@ class TabsComponent {
|
|
|
1082
1082
|
let _t;
|
|
1083
1083
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1084
1084
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1085
|
-
i0.ɵɵviewQuery(_c0
|
|
1085
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
1086
1086
|
} if (rf & 2) {
|
|
1087
1087
|
let _t;
|
|
1088
1088
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1141,7 +1141,7 @@ class TabsModule {
|
|
|
1141
1141
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1142
1142
|
TabComponent] }); })();
|
|
1143
1143
|
|
|
1144
|
-
const _c0
|
|
1144
|
+
const _c0$$ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1145
1145
|
class ActivityBannerComponent {
|
|
1146
1146
|
bannerType;
|
|
1147
1147
|
description;
|
|
@@ -1160,7 +1160,7 @@ class ActivityBannerComponent {
|
|
|
1160
1160
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1161
1161
|
i0.ɵɵelementEnd()();
|
|
1162
1162
|
} if (rf & 2) {
|
|
1163
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0
|
|
1163
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$$, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1164
1164
|
i0.ɵɵadvance(2);
|
|
1165
1165
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1166
1166
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -9292,7 +9292,7 @@ class CaseEditComponent {
|
|
|
9292
9292
|
this.cancelled.emit();
|
|
9293
9293
|
}
|
|
9294
9294
|
emitSubmitted(response) {
|
|
9295
|
-
this.submitted.emit({ caseId: response['id'], status: this.getStatus(response) });
|
|
9295
|
+
this.submitted.emit({ caseId: response['id'], jurisdiction: response['jurisdiction'], caseType: response['case_type'], status: this.getStatus(response) });
|
|
9296
9296
|
}
|
|
9297
9297
|
getNextPage({ wizard, currentPageId, eventTrigger, form }) {
|
|
9298
9298
|
return wizard.nextPage(currentPageId, this.fieldsUtils.buildCanShowPredicate(eventTrigger, form));
|
|
@@ -9620,7 +9620,7 @@ class CaseEditComponent {
|
|
|
9620
9620
|
}
|
|
9621
9621
|
else {
|
|
9622
9622
|
// Navigate to tasks tab on case details page
|
|
9623
|
-
this.router.navigate([`/cases/case-details/${this.getCaseId(caseDetails)}/tasks`], { relativeTo: this.route });
|
|
9623
|
+
this.router.navigate([`/cases/case-details/${this.caseDetails.case_type.jurisdiction.id}/${this.caseDetails.case_type.id}/${this.getCaseId(caseDetails)}/tasks`], { relativeTo: this.route });
|
|
9624
9624
|
}
|
|
9625
9625
|
}
|
|
9626
9626
|
getStatus(response) {
|
|
@@ -11827,13 +11827,17 @@ class CaseEventCompletionComponent {
|
|
|
11827
11827
|
}] }); })();
|
|
11828
11828
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionComponent, { className: "CaseEventCompletionComponent", filePath: "lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts", lineNumber: 20 }); })();
|
|
11829
11829
|
|
|
11830
|
-
const _c0$
|
|
11830
|
+
const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
11831
11831
|
class CaseEventCompletionTaskCancelledComponent {
|
|
11832
11832
|
context;
|
|
11833
11833
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
11834
11834
|
caseId;
|
|
11835
|
+
jurisdiction;
|
|
11836
|
+
caseType;
|
|
11835
11837
|
ngOnInit() {
|
|
11836
11838
|
this.caseId = this.context.caseId;
|
|
11839
|
+
this.jurisdiction = this.context.task.jurisdiction;
|
|
11840
|
+
this.caseType = this.context.task.case_type_id;
|
|
11837
11841
|
}
|
|
11838
11842
|
onContinue() {
|
|
11839
11843
|
// Removes task to complete so event completes without task
|
|
@@ -11842,7 +11846,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11842
11846
|
this.notifyEventCompletionCancelled.emit(true);
|
|
11843
11847
|
}
|
|
11844
11848
|
static ɵfac = function CaseEventCompletionTaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskCancelledComponent)(); };
|
|
11845
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars:
|
|
11849
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars: 29, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskCancelledComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11846
11850
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
11847
11851
|
i0.ɵɵtext(3);
|
|
11848
11852
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -11892,14 +11896,14 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11892
11896
|
i0.ɵɵadvance(4);
|
|
11893
11897
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
11894
11898
|
i0.ɵɵadvance(2);
|
|
11895
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
11899
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$_, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
11896
11900
|
i0.ɵɵadvance();
|
|
11897
11901
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
11898
11902
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
11899
11903
|
}
|
|
11900
11904
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskCancelledComponent, [{
|
|
11901
11905
|
type: Component,
|
|
11902
|
-
args: [{ selector: 'app-case-event-completion-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n <p>{{'Click Continue to complete the event and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
11906
|
+
args: [{ selector: 'app-case-event-completion-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n <p>{{'Click Continue to complete the event and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
11903
11907
|
}], null, { context: [{
|
|
11904
11908
|
type: Input
|
|
11905
11909
|
}], notifyEventCompletionCancelled: [{
|
|
@@ -11907,7 +11911,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11907
11911
|
}] }); })();
|
|
11908
11912
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionTaskCancelledComponent, { className: "CaseEventCompletionTaskCancelledComponent", filePath: "lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts", lineNumber: 9 }); })();
|
|
11909
11913
|
|
|
11910
|
-
const _c0$
|
|
11914
|
+
const _c0$Z = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
11911
11915
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11912
11916
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11913
11917
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -11960,7 +11964,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
11960
11964
|
i0.ɵɵadvance(4);
|
|
11961
11965
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
11962
11966
|
i0.ɵɵadvance(2);
|
|
11963
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
11967
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$Z, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
11964
11968
|
i0.ɵɵadvance();
|
|
11965
11969
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
11966
11970
|
} }
|
|
@@ -11976,6 +11980,8 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11976
11980
|
subscription;
|
|
11977
11981
|
caseworkerSubscription;
|
|
11978
11982
|
judicialworkerSubscription;
|
|
11983
|
+
jurisdiction;
|
|
11984
|
+
caseType;
|
|
11979
11985
|
constructor(sessionStorageService, judicialworkerService, caseworkerService) {
|
|
11980
11986
|
this.sessionStorageService = sessionStorageService;
|
|
11981
11987
|
this.judicialworkerService = judicialworkerService;
|
|
@@ -11985,6 +11991,8 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11985
11991
|
// Get case id and task from the parent component
|
|
11986
11992
|
this.caseId = this.context.caseId;
|
|
11987
11993
|
const task = this.context.reassignedTask;
|
|
11994
|
+
this.jurisdiction = task.jurisdiction;
|
|
11995
|
+
this.caseType = task.case_type_id;
|
|
11988
11996
|
// Current user is a caseworker?
|
|
11989
11997
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(task.jurisdiction).subscribe(result => {
|
|
11990
11998
|
if (result && result[0].service === task.jurisdiction && result[0].caseworkers) {
|
|
@@ -12040,14 +12048,14 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
12040
12048
|
}
|
|
12041
12049
|
static ɵfac = function CaseEventCompletionTaskReassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskReassignedComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
12042
12050
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskReassignedComponent, selectors: [["app-case-event-completion-task-reassigned"]], inputs: { context: "context" }, outputs: { notifyEventCompletionReassigned: "notifyEventCompletionReassigned" }, decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskReassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12043
|
-
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31,
|
|
12051
|
+
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31, 30, "div", 0);
|
|
12044
12052
|
} if (rf & 2) {
|
|
12045
12053
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
12046
12054
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
12047
12055
|
}
|
|
12048
12056
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskReassignedComponent, [{
|
|
12049
12057
|
type: Component,
|
|
12050
|
-
args: [{ selector: 'app-case-event-completion-task-reassigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task reassigned' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task reassigned' | rpxTranslate}}</h2>\n <p>{{'This task has been reassigned to' | rpxTranslate}} {{assignedUserName}}.</p>\n <p>{{'Click Continue to reassign the task to you and save your progress.' | rpxTranslate}}</p>\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12058
|
+
args: [{ selector: 'app-case-event-completion-task-reassigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task reassigned' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task reassigned' | rpxTranslate}}</h2>\n <p>{{'This task has been reassigned to' | rpxTranslate}} {{assignedUserName}}.</p>\n <p>{{'Click Continue to reassign the task to you and save your progress.' | rpxTranslate}}</p>\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12051
12059
|
}], () => [{ type: SessionStorageService }, { type: JudicialworkerService }, { type: CaseworkerService }], { context: [{
|
|
12052
12060
|
type: Input
|
|
12053
12061
|
}], notifyEventCompletionReassigned: [{
|
|
@@ -12361,7 +12369,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12361
12369
|
}] }); })();
|
|
12362
12370
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 21 }); })();
|
|
12363
12371
|
|
|
12364
|
-
const _c0$
|
|
12372
|
+
const _c0$Y = ["writeComplexFieldComponent"];
|
|
12365
12373
|
const _c1$o = a0 => ({ "form-group-error": a0 });
|
|
12366
12374
|
const _c2$3 = a0 => ({ "govuk-input--error": a0 });
|
|
12367
12375
|
function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -12603,7 +12611,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12603
12611
|
}
|
|
12604
12612
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
12605
12613
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12606
|
-
i0.ɵɵviewQuery(_c0$
|
|
12614
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
12607
12615
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
12608
12616
|
} if (rf & 2) {
|
|
12609
12617
|
let _t;
|
|
@@ -12666,7 +12674,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
12666
12674
|
type: Input
|
|
12667
12675
|
}] }); })();
|
|
12668
12676
|
|
|
12669
|
-
const _c0$
|
|
12677
|
+
const _c0$X = ["journeyChild"];
|
|
12670
12678
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
12671
12679
|
multipageComponentStateService;
|
|
12672
12680
|
journeyStartPageNumber = 0;
|
|
@@ -12741,7 +12749,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12741
12749
|
;
|
|
12742
12750
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12743
12751
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12744
|
-
i0.ɵɵviewQuery(_c0$
|
|
12752
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
12745
12753
|
} if (rf & 2) {
|
|
12746
12754
|
let _t;
|
|
12747
12755
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -12756,7 +12764,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12756
12764
|
args: ['journeyChild']
|
|
12757
12765
|
}] }); })();
|
|
12758
12766
|
|
|
12759
|
-
const _c0$
|
|
12767
|
+
const _c0$W = ["journeyChild"];
|
|
12760
12768
|
class AbstractJourneyComponent {
|
|
12761
12769
|
multipageComponentStateService;
|
|
12762
12770
|
journeyStartPageNumber = 0;
|
|
@@ -12818,7 +12826,7 @@ class AbstractJourneyComponent {
|
|
|
12818
12826
|
onPageChange() { }
|
|
12819
12827
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12820
12828
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12821
|
-
i0.ɵɵviewQuery(_c0$
|
|
12829
|
+
i0.ɵɵviewQuery(_c0$W, 5);
|
|
12822
12830
|
} if (rf & 2) {
|
|
12823
12831
|
let _t;
|
|
12824
12832
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14155,7 +14163,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
14155
14163
|
}], null, null); })();
|
|
14156
14164
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 8 }); })();
|
|
14157
14165
|
|
|
14158
|
-
const _c0$
|
|
14166
|
+
const _c0$V = ["writeComplexFieldComponent"];
|
|
14159
14167
|
const _c1$n = a0 => ({ "form-group-error": a0 });
|
|
14160
14168
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14161
14169
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -14236,7 +14244,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14236
14244
|
}
|
|
14237
14245
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
14238
14246
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14239
|
-
i0.ɵɵviewQuery(_c0$
|
|
14247
|
+
i0.ɵɵviewQuery(_c0$V, 5);
|
|
14240
14248
|
} if (rf & 2) {
|
|
14241
14249
|
let _t;
|
|
14242
14250
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -14270,7 +14278,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14270
14278
|
}] }); })();
|
|
14271
14279
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 11 }); })();
|
|
14272
14280
|
|
|
14273
|
-
const _c0$
|
|
14281
|
+
const _c0$U = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
|
|
14274
14282
|
const _c1$m = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
14275
14283
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
14276
14284
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -14281,7 +14289,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
14281
14289
|
} if (rf & 2) {
|
|
14282
14290
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14283
14291
|
i0.ɵɵadvance(4);
|
|
14284
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(3, _c0$
|
|
14292
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(3, _c0$U, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
|
|
14285
14293
|
} }
|
|
14286
14294
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
14287
14295
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -14400,7 +14408,7 @@ class RemoveDialogComponent {
|
|
|
14400
14408
|
}], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
|
|
14401
14409
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 9 }); })();
|
|
14402
14410
|
|
|
14403
|
-
const _c0$
|
|
14411
|
+
const _c0$T = ["collectionItem"];
|
|
14404
14412
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14405
14413
|
i0.ɵɵelementStart(0, "span", 10);
|
|
14406
14414
|
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
@@ -14787,7 +14795,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14787
14795
|
}
|
|
14788
14796
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
14789
14797
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14790
|
-
i0.ɵɵviewQuery(_c0$
|
|
14798
|
+
i0.ɵɵviewQuery(_c0$T, 5);
|
|
14791
14799
|
} if (rf & 2) {
|
|
14792
14800
|
let _t;
|
|
14793
14801
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -15100,7 +15108,7 @@ class FileUploadStateService {
|
|
|
15100
15108
|
type: Injectable
|
|
15101
15109
|
}], null, null); })();
|
|
15102
15110
|
|
|
15103
|
-
const _c0$
|
|
15111
|
+
const _c0$S = ["fileInput"];
|
|
15104
15112
|
const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
|
|
15105
15113
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
15106
15114
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -15462,7 +15470,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15462
15470
|
}
|
|
15463
15471
|
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
15464
15472
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15465
|
-
i0.ɵɵviewQuery(_c0$
|
|
15473
|
+
i0.ɵɵviewQuery(_c0$S, 5);
|
|
15466
15474
|
} if (rf & 2) {
|
|
15467
15475
|
let _t;
|
|
15468
15476
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -15576,7 +15584,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
15576
15584
|
}], null, null); })();
|
|
15577
15585
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 8 }); })();
|
|
15578
15586
|
|
|
15579
|
-
const _c0$
|
|
15587
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
15580
15588
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
15581
15589
|
i0.ɵɵelementStart(0, "span", 8);
|
|
15582
15590
|
i0.ɵɵtext(1);
|
|
@@ -15664,7 +15672,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15664
15672
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
15665
15673
|
i0.ɵɵelementEnd()();
|
|
15666
15674
|
} if (rf & 2) {
|
|
15667
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
15675
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15668
15676
|
i0.ɵɵadvance();
|
|
15669
15677
|
i0.ɵɵproperty("for", ctx.id());
|
|
15670
15678
|
i0.ɵɵadvance();
|
|
@@ -15842,7 +15850,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
15842
15850
|
}], null, null); })();
|
|
15843
15851
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
15844
15852
|
|
|
15845
|
-
const _c0$
|
|
15853
|
+
const _c0$Q = a0 => ({ "error": a0 });
|
|
15846
15854
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
15847
15855
|
i0.ɵɵelementStart(0, "span", 5);
|
|
15848
15856
|
i0.ɵɵtext(1);
|
|
@@ -15963,7 +15971,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
15963
15971
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 7, "ng-container", 4);
|
|
15964
15972
|
i0.ɵɵelementEnd()();
|
|
15965
15973
|
} if (rf & 2) {
|
|
15966
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
15974
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15967
15975
|
i0.ɵɵadvance(3);
|
|
15968
15976
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15969
15977
|
i0.ɵɵadvance();
|
|
@@ -16041,7 +16049,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16041
16049
|
}], null, null); })();
|
|
16042
16050
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 8 }); })();
|
|
16043
16051
|
|
|
16044
|
-
const _c0$
|
|
16052
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
16045
16053
|
const _c1$k = a0 => ({ selected: a0 });
|
|
16046
16054
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16047
16055
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -16136,7 +16144,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16136
16144
|
i0.ɵɵelementContainerEnd();
|
|
16137
16145
|
i0.ɵɵelementEnd()();
|
|
16138
16146
|
} if (rf & 2) {
|
|
16139
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16147
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
16140
16148
|
i0.ɵɵadvance(3);
|
|
16141
16149
|
i0.ɵɵproperty("for", ctx.id());
|
|
16142
16150
|
i0.ɵɵadvance();
|
|
@@ -16189,7 +16197,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
16189
16197
|
}], null, null); })();
|
|
16190
16198
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 10 }); })();
|
|
16191
16199
|
|
|
16192
|
-
const _c0$
|
|
16200
|
+
const _c0$O = a0 => ({ "form-group-error": a0 });
|
|
16193
16201
|
const _c1$j = a0 => ({ "govuk-input--error": a0 });
|
|
16194
16202
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16195
16203
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16235,7 +16243,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16235
16243
|
i0.ɵɵelement(5, "input", 5);
|
|
16236
16244
|
i0.ɵɵelementEnd();
|
|
16237
16245
|
} if (rf & 2) {
|
|
16238
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16246
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
16239
16247
|
i0.ɵɵadvance();
|
|
16240
16248
|
i0.ɵɵproperty("for", ctx.id());
|
|
16241
16249
|
i0.ɵɵadvance();
|
|
@@ -16276,7 +16284,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16276
16284
|
}], null, null); })();
|
|
16277
16285
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 8 }); })();
|
|
16278
16286
|
|
|
16279
|
-
const _c0$
|
|
16287
|
+
const _c0$N = a0 => ({ "form-group-error": a0 });
|
|
16280
16288
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16281
16289
|
i0.ɵɵelementStart(0, "span", 8);
|
|
16282
16290
|
i0.ɵɵtext(1);
|
|
@@ -16351,7 +16359,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16351
16359
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
16352
16360
|
i0.ɵɵelementEnd()();
|
|
16353
16361
|
} if (rf & 2) {
|
|
16354
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
16362
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
16355
16363
|
i0.ɵɵadvance();
|
|
16356
16364
|
i0.ɵɵproperty("for", ctx.id());
|
|
16357
16365
|
i0.ɵɵadvance();
|
|
@@ -16412,7 +16420,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16412
16420
|
}], null, null); })();
|
|
16413
16421
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 8 }); })();
|
|
16414
16422
|
|
|
16415
|
-
const _c0$
|
|
16423
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
16416
16424
|
const _c1$i = a0 => ({ selected: a0 });
|
|
16417
16425
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16418
16426
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16480,7 +16488,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16480
16488
|
i0.ɵɵelementContainerEnd();
|
|
16481
16489
|
i0.ɵɵelementEnd()();
|
|
16482
16490
|
} if (rf & 2) {
|
|
16483
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
16491
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
16484
16492
|
i0.ɵɵadvance(3);
|
|
16485
16493
|
i0.ɵɵproperty("for", ctx.id());
|
|
16486
16494
|
i0.ɵɵadvance();
|
|
@@ -16556,7 +16564,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
16556
16564
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
16557
16565
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 11 }); })();
|
|
16558
16566
|
|
|
16559
|
-
const _c0$
|
|
16567
|
+
const _c0$L = a0 => ({ "form-group-error": a0 });
|
|
16560
16568
|
const _c1$h = a0 => ({ "hide-autocomplete": a0 });
|
|
16561
16569
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16562
16570
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -16776,7 +16784,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
16776
16784
|
i0.ɵɵelementEnd()();
|
|
16777
16785
|
} if (rf & 2) {
|
|
16778
16786
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
16779
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
16787
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
|
|
16780
16788
|
i0.ɵɵadvance();
|
|
16781
16789
|
i0.ɵɵproperty("for", ctx.id());
|
|
16782
16790
|
i0.ɵɵadvance();
|
|
@@ -16989,7 +16997,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
16989
16997
|
}
|
|
16990
16998
|
}
|
|
16991
16999
|
onBack() {
|
|
16992
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
17000
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
16993
17001
|
}
|
|
16994
17002
|
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
16995
17003
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "link-cases-journey", 4, "ngIf"], ["id", "manage-link-cases-journey", 4, "ngIf"], ["id", "link-cases-journey"], ["id", "manage-link-cases-journey"]], template: function BeforeYouStartComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -17241,7 +17249,7 @@ class ValidatorsUtils {
|
|
|
17241
17249
|
args: [{ providedIn: 'root' }]
|
|
17242
17250
|
}], null, null); })();
|
|
17243
17251
|
|
|
17244
|
-
const _c0$
|
|
17252
|
+
const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
|
|
17245
17253
|
const _c1$g = a0 => ({ "table-group-error": a0 });
|
|
17246
17254
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
17247
17255
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
@@ -17309,7 +17317,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
17309
17317
|
i0.ɵɵelementEnd()();
|
|
17310
17318
|
} if (rf & 2) {
|
|
17311
17319
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
17312
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
17320
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
|
|
17313
17321
|
i0.ɵɵadvance(3);
|
|
17314
17322
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
17315
17323
|
} }
|
|
@@ -17353,11 +17361,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17353
17361
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
17354
17362
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
17355
17363
|
i0.ɵɵadvance();
|
|
17356
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
|
|
17357
17365
|
i0.ɵɵadvance(3);
|
|
17358
17366
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
17359
17367
|
i0.ɵɵadvance(2);
|
|
17360
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
17368
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
|
|
17361
17369
|
i0.ɵɵadvance(5);
|
|
17362
17370
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
17363
17371
|
i0.ɵɵadvance(2);
|
|
@@ -17785,7 +17793,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
17785
17793
|
i0.ɵɵadvance(4);
|
|
17786
17794
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17787
17795
|
i0.ɵɵadvance(4);
|
|
17788
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
17796
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
|
|
17789
17797
|
i0.ɵɵadvance();
|
|
17790
17798
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17791
17799
|
i0.ɵɵadvance(18);
|
|
@@ -17820,7 +17828,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Te
|
|
|
17820
17828
|
} if (rf & 2) {
|
|
17821
17829
|
const case_r3 = i0.ɵɵnextContext(3).$implicit;
|
|
17822
17830
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
17823
|
-
i0.ɵɵ
|
|
17831
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17824
17832
|
i0.ɵɵadvance();
|
|
17825
17833
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseReferenceLink(case_r3.caseReference));
|
|
17826
17834
|
} }
|
|
@@ -17832,7 +17840,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Templa
|
|
|
17832
17840
|
i0.ɵɵtext(1);
|
|
17833
17841
|
i0.ɵɵpipe(2, "ccdLinkCasesFromReasonValue");
|
|
17834
17842
|
i0.ɵɵelementStart(3, "span");
|
|
17835
|
-
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2,
|
|
17843
|
+
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2, 5, "a", 18);
|
|
17836
17844
|
i0.ɵɵelementEnd();
|
|
17837
17845
|
i0.ɵɵtemplate(5, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template, 1, 0, "br", 19);
|
|
17838
17846
|
i0.ɵɵelementEnd();
|
|
@@ -17877,11 +17885,11 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) {
|
|
|
17877
17885
|
} if (rf & 2) {
|
|
17878
17886
|
const case_r3 = ctx.$implicit;
|
|
17879
17887
|
i0.ɵɵadvance(3);
|
|
17880
|
-
i0.ɵɵ
|
|
17888
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17881
17889
|
i0.ɵɵadvance(2);
|
|
17882
17890
|
i0.ɵɵtextInterpolate1("", case_r3.caseNameHmctsInternal, " ");
|
|
17883
17891
|
i0.ɵɵadvance(2);
|
|
17884
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
17892
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r3.caseReference), "");
|
|
17885
17893
|
i0.ɵɵadvance(3);
|
|
17886
17894
|
i0.ɵɵproperty("title", case_r3.ccdCaseTypeDescription);
|
|
17887
17895
|
i0.ɵɵadvance();
|
|
@@ -17902,7 +17910,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template(rf, ctx) {
|
|
|
17902
17910
|
} }
|
|
17903
17911
|
function LinkedCasesFromTableComponent_table_1_tbody_13_Template(rf, ctx) { if (rf & 1) {
|
|
17904
17912
|
i0.ɵɵelementStart(0, "tbody", 8);
|
|
17905
|
-
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19,
|
|
17913
|
+
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19, 14, "tr", 9)(2, LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template, 3, 0, "tr", 10);
|
|
17906
17914
|
i0.ɵɵelementEnd();
|
|
17907
17915
|
} if (rf & 2) {
|
|
17908
17916
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -18030,7 +18038,7 @@ class LinkedCasesFromTableComponent {
|
|
|
18030
18038
|
}
|
|
18031
18039
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
18032
18040
|
type: Component,
|
|
18033
|
-
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
18041
|
+
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
18034
18042
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
18035
18043
|
type: Input
|
|
18036
18044
|
}], notifyAPIFailure: [{
|
|
@@ -18045,7 +18053,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template(rf,
|
|
|
18045
18053
|
} if (rf & 2) {
|
|
18046
18054
|
const case_r1 = i0.ɵɵnextContext(3).$implicit;
|
|
18047
18055
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18048
|
-
i0.ɵɵ
|
|
18056
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18049
18057
|
i0.ɵɵadvance();
|
|
18050
18058
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseRefereneLink(case_r1.caseReference));
|
|
18051
18059
|
} }
|
|
@@ -18057,7 +18065,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_Template(rf, ctx
|
|
|
18057
18065
|
i0.ɵɵtext(1);
|
|
18058
18066
|
i0.ɵɵpipe(2, "ccdLinkCasesReasonValue");
|
|
18059
18067
|
i0.ɵɵelementStart(3, "span");
|
|
18060
|
-
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2,
|
|
18068
|
+
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2, 5, "a", 15);
|
|
18061
18069
|
i0.ɵɵelementEnd();
|
|
18062
18070
|
i0.ɵɵtemplate(5, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_br_5_Template, 1, 0, "br", 13);
|
|
18063
18071
|
i0.ɵɵelementEnd();
|
|
@@ -18102,11 +18110,11 @@ function LinkedCasesToTableComponent_table_2_tr_14_Template(rf, ctx) { if (rf &
|
|
|
18102
18110
|
} if (rf & 2) {
|
|
18103
18111
|
const case_r1 = ctx.$implicit;
|
|
18104
18112
|
i0.ɵɵadvance(3);
|
|
18105
|
-
i0.ɵɵ
|
|
18113
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18106
18114
|
i0.ɵɵadvance(2);
|
|
18107
18115
|
i0.ɵɵtextInterpolate1("", case_r1.caseName, " ");
|
|
18108
18116
|
i0.ɵɵadvance(2);
|
|
18109
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
18117
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r1.caseReference), "");
|
|
18110
18118
|
i0.ɵɵadvance(3);
|
|
18111
18119
|
i0.ɵɵproperty("title", case_r1.caseTypeDescription);
|
|
18112
18120
|
i0.ɵɵadvance();
|
|
@@ -18142,7 +18150,7 @@ function LinkedCasesToTableComponent_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
18142
18150
|
i0.ɵɵtext(12, "Reasons for case link");
|
|
18143
18151
|
i0.ɵɵelementEnd()()();
|
|
18144
18152
|
i0.ɵɵelementStart(13, "tbody", 6);
|
|
18145
|
-
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19,
|
|
18153
|
+
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19, 14, "tr", 7)(15, LinkedCasesToTableComponent_table_2_tr_15_Template, 3, 0, "tr", 8);
|
|
18146
18154
|
i0.ɵɵelementEnd()();
|
|
18147
18155
|
} if (rf & 2) {
|
|
18148
18156
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -18307,7 +18315,7 @@ class LinkedCasesToTableComponent {
|
|
|
18307
18315
|
}
|
|
18308
18316
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesToTableComponent, [{
|
|
18309
18317
|
type: Component,
|
|
18310
|
-
args: [{ selector: 'ccd-linked-cases-to-table', template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-describedby=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n
|
|
18318
|
+
args: [{ selector: 'ccd-linked-cases-to-table', template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-describedby=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.value.Reason)\">{{getCaseRefereneLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"linkedCasesFromResponse.length === 0 && (!isServerError && !isServerReasonCodeError)\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".case-table-column{min-width:20%;max-width:20%}\n"] }]
|
|
18311
18319
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LinkedCasesService }, { type: CasesService }], { caseField: [{
|
|
18312
18320
|
type: Input
|
|
18313
18321
|
}], notifyAPIFailure: [{
|
|
@@ -18349,7 +18357,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18349
18357
|
this.serverLinkedApiError = this.linkedCasesService.serverLinkedApiError;
|
|
18350
18358
|
}
|
|
18351
18359
|
onBack() {
|
|
18352
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18360
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18353
18361
|
}
|
|
18354
18362
|
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18355
18363
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoLinkedCasesComponent, selectors: [["ccd-no-linked-cases"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["noLinkedCases", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], ["class", "govuk-heading-xl", 4, "ngIf"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf", "ngIfElse"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-button-group"], ["type", "button", "id", "back-button", 1, "button", "button-primary", 3, "click"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function NoLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -18378,7 +18386,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18378
18386
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
18379
18387
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 12 }); })();
|
|
18380
18388
|
|
|
18381
|
-
const _c0$
|
|
18389
|
+
const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
|
|
18382
18390
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
18383
18391
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
18384
18392
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -18417,7 +18425,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18417
18425
|
i0.ɵɵelementEnd()();
|
|
18418
18426
|
} if (rf & 2) {
|
|
18419
18427
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
18420
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
18428
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
18421
18429
|
i0.ɵɵadvance();
|
|
18422
18430
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
18423
18431
|
i0.ɵɵadvance(2);
|
|
@@ -18791,7 +18799,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18791
18799
|
};
|
|
18792
18800
|
}
|
|
18793
18801
|
ngAfterViewInit() {
|
|
18794
|
-
this.linkedCasesService.caseFieldValue = this.caseField?.value
|
|
18802
|
+
this.linkedCasesService.caseFieldValue = this.caseField?.value ?? [];
|
|
18795
18803
|
let labelField = document.getElementsByClassName('govuk-heading-l');
|
|
18796
18804
|
if (labelField && labelField.length) {
|
|
18797
18805
|
labelField[0].replaceWith('');
|
|
@@ -18806,7 +18814,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18806
18814
|
}
|
|
18807
18815
|
}
|
|
18808
18816
|
reloadCurrentRoute() {
|
|
18809
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18817
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18810
18818
|
}
|
|
18811
18819
|
getFailureLinkedToNotification(evt) {
|
|
18812
18820
|
this.isServerLinkedToError = true;
|
|
@@ -19346,7 +19354,7 @@ class MoneyGbpInputComponent {
|
|
|
19346
19354
|
}] }); })();
|
|
19347
19355
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 27 }); })();
|
|
19348
19356
|
|
|
19349
|
-
const _c0$
|
|
19357
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
19350
19358
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19351
19359
|
i0.ɵɵelementStart(0, "span", 8);
|
|
19352
19360
|
i0.ɵɵtext(1);
|
|
@@ -19395,7 +19403,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19395
19403
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
19396
19404
|
i0.ɵɵelementEnd()();
|
|
19397
19405
|
} if (rf & 2) {
|
|
19398
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19406
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19399
19407
|
i0.ɵɵadvance();
|
|
19400
19408
|
i0.ɵɵproperty("for", ctx.id());
|
|
19401
19409
|
i0.ɵɵadvance();
|
|
@@ -19454,7 +19462,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
19454
19462
|
}], null, null); })();
|
|
19455
19463
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
19456
19464
|
|
|
19457
|
-
const _c0$
|
|
19465
|
+
const _c0$H = a0 => ({ "error": a0 });
|
|
19458
19466
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
19459
19467
|
i0.ɵɵelementStart(0, "span", 5);
|
|
19460
19468
|
i0.ɵɵtext(1);
|
|
@@ -19555,7 +19563,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19555
19563
|
i0.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2)(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3)(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
|
|
19556
19564
|
i0.ɵɵelementEnd()();
|
|
19557
19565
|
} if (rf & 2) {
|
|
19558
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
19566
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19559
19567
|
i0.ɵɵadvance(3);
|
|
19560
19568
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19561
19569
|
i0.ɵɵadvance();
|
|
@@ -19593,7 +19601,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
19593
19601
|
}], null, null); })();
|
|
19594
19602
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 8 }); })();
|
|
19595
19603
|
|
|
19596
|
-
const _c0$
|
|
19604
|
+
const _c0$G = a0 => ({ "form-group-error": a0 });
|
|
19597
19605
|
const _c1$f = a0 => ({ "govuk-input--error": a0 });
|
|
19598
19606
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19599
19607
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -19631,7 +19639,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19631
19639
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
19632
19640
|
}
|
|
19633
19641
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteNumberFieldComponent_BaseFactory; return function WriteNumberFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteNumberFieldComponent_BaseFactory || (ɵWriteNumberFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent)))(__ngFactoryType__ || WriteNumberFieldComponent); }; })();
|
|
19634
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteNumberFieldComponent, selectors: [["ccd-write-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", "inputmode", "
|
|
19642
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteNumberFieldComponent, selectors: [["ccd-write-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", "inputmode", "decimal", "pattern", "^[-+]?[0-9]+(?:\\.?[0-9]+)?$", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19635
19643
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
19636
19644
|
i0.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
19637
19645
|
i0.ɵɵelementEnd();
|
|
@@ -19639,7 +19647,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19639
19647
|
i0.ɵɵelement(5, "input", 5);
|
|
19640
19648
|
i0.ɵɵelementEnd();
|
|
19641
19649
|
} if (rf & 2) {
|
|
19642
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19650
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19643
19651
|
i0.ɵɵadvance();
|
|
19644
19652
|
i0.ɵɵproperty("for", ctx.id());
|
|
19645
19653
|
i0.ɵɵadvance();
|
|
@@ -19654,7 +19662,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19654
19662
|
}
|
|
19655
19663
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
19656
19664
|
type: Component,
|
|
19657
|
-
args: [{ selector: 'ccd-write-number-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !numberControl.valid && numberControl.dirty}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"numberControl.errors && numberControl.dirty\">\n {{numberControl.errors | ccdFirstError:caseField.label}}\n </span>\n\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': numberControl.errors && numberControl.dirty}\"\n [id]=\"id()\" type=\"text\" inputmode=\"
|
|
19665
|
+
args: [{ selector: 'ccd-write-number-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !numberControl.valid && numberControl.dirty}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"numberControl.errors && numberControl.dirty\">\n {{numberControl.errors | ccdFirstError:caseField.label}}\n </span>\n\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': numberControl.errors && numberControl.dirty}\"\n [id]=\"id()\" type=\"text\" inputmode=\"decimal\" pattern=\"^[-+]?[0-9]+(?:\\.?[0-9]+)?$\" [formControl]=\"numberControl\">\n</div>\n" }]
|
|
19658
19666
|
}], null, null); })();
|
|
19659
19667
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteNumberFieldComponent, { className: "WriteNumberFieldComponent", filePath: "lib/shared/components/palette/number/write-number-field.component.ts", lineNumber: 9 }); })();
|
|
19660
19668
|
|
|
@@ -19818,7 +19826,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
19818
19826
|
}] }); })();
|
|
19819
19827
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 10 }); })();
|
|
19820
19828
|
|
|
19821
|
-
const _c0$
|
|
19829
|
+
const _c0$F = a0 => ({ "scroll-container ": a0 });
|
|
19822
19830
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
19823
19831
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
19824
19832
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -19897,7 +19905,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
19897
19905
|
let tmp_3_0;
|
|
19898
19906
|
let tmp_5_0;
|
|
19899
19907
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
19900
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19908
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$F, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
|
|
19901
19909
|
i0.ɵɵadvance(2);
|
|
19902
19910
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19903
19911
|
i0.ɵɵadvance(2);
|
|
@@ -20276,7 +20284,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
20276
20284
|
}], null, null); })();
|
|
20277
20285
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 8 }); })();
|
|
20278
20286
|
|
|
20279
|
-
const _c0$
|
|
20287
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
20280
20288
|
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
20281
20289
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
20282
20290
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -20322,7 +20330,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20322
20330
|
i0.ɵɵelement(5, "input", 5);
|
|
20323
20331
|
i0.ɵɵelementEnd();
|
|
20324
20332
|
} if (rf & 2) {
|
|
20325
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20333
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20326
20334
|
i0.ɵɵadvance();
|
|
20327
20335
|
i0.ɵɵproperty("for", ctx.id());
|
|
20328
20336
|
i0.ɵɵadvance();
|
|
@@ -20729,6 +20737,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20729
20737
|
questionSelected = new EventEmitter();
|
|
20730
20738
|
qualifyingQuestionsErrorMessage = QualifyingQuestionsErrorMessage;
|
|
20731
20739
|
caseId;
|
|
20740
|
+
jurisdiction;
|
|
20741
|
+
caseType;
|
|
20732
20742
|
constructor(route, router, qualifyingQuestionService) {
|
|
20733
20743
|
this.route = route;
|
|
20734
20744
|
this.router = router;
|
|
@@ -20736,6 +20746,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20736
20746
|
}
|
|
20737
20747
|
ngOnInit() {
|
|
20738
20748
|
this.caseId = this.route.snapshot.params.cid;
|
|
20749
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
20750
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
20739
20751
|
// Check if there's already a selected qualifying question from the service
|
|
20740
20752
|
const savedSelection = this.qualifyingQuestionService.getQualifyingQuestionSelection();
|
|
20741
20753
|
if (savedSelection) {
|
|
@@ -20743,7 +20755,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20743
20755
|
}
|
|
20744
20756
|
}
|
|
20745
20757
|
click() {
|
|
20746
|
-
this.router.navigate(['cases', 'case-details', this.caseId], { fragment: 'Queries' });
|
|
20758
|
+
this.router.navigate(['cases', 'case-details', this.jurisdiction, this.caseType, this.caseId], { fragment: 'Queries' });
|
|
20747
20759
|
}
|
|
20748
20760
|
get displayError() {
|
|
20749
20761
|
return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
|
|
@@ -20857,11 +20869,11 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
20857
20869
|
caseFields;
|
|
20858
20870
|
ngOnInit() {
|
|
20859
20871
|
this.caseTitle = new CaseField();
|
|
20860
|
-
this.caseTitle.label = this.caseDetails
|
|
20872
|
+
this.caseTitle.label = this.caseDetails?.state?.title_display;
|
|
20861
20873
|
this.caseFields = this.getCaseFieldsInfo();
|
|
20862
20874
|
}
|
|
20863
20875
|
getCaseFieldsInfo() {
|
|
20864
|
-
const caseDataFields = this.caseDetails
|
|
20876
|
+
const caseDataFields = this.caseDetails?.tabs?.reduce((acc, tab) => {
|
|
20865
20877
|
return acc.concat(tab.fields);
|
|
20866
20878
|
}, []);
|
|
20867
20879
|
return caseDataFields.concat(this.caseDetails.metadataFields);
|
|
@@ -21336,15 +21348,14 @@ function QueryCheckYourAnswersComponent_div_0_dl_26_Template(rf, ctx) { if (rf &
|
|
|
21336
21348
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
21337
21349
|
i0.ɵɵelementEnd()()()();
|
|
21338
21350
|
} if (rf & 2) {
|
|
21339
|
-
let tmp_3_0;
|
|
21340
21351
|
let tmp_4_0;
|
|
21341
21352
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21342
21353
|
i0.ɵɵadvance(3);
|
|
21343
|
-
i0.ɵɵ
|
|
21354
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, "Closing the query"), " ");
|
|
21344
21355
|
i0.ɵɵadvance(3);
|
|
21345
|
-
i0.ɵɵtextInterpolate1(" ", ((tmp_4_0 = ctx_r2.formGroup.get("closeQuery")) == null ? null : tmp_4_0.value) ? "I want to close this query" : i0.ɵɵpipeBind1(7,
|
|
21356
|
+
i0.ɵɵtextInterpolate1(" ", ((tmp_4_0 = ctx_r2.formGroup.get("closeQuery")) == null ? null : tmp_4_0.value) ? "I want to close this query" : i0.ɵɵpipeBind1(7, 5, "No answer"), " ");
|
|
21346
21357
|
i0.ɵɵadvance(4);
|
|
21347
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11,
|
|
21358
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 7, "Change"), " ");
|
|
21348
21359
|
} }
|
|
21349
21360
|
function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
21350
21361
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -21371,7 +21382,7 @@ function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21371
21382
|
i0.ɵɵtext(22);
|
|
21372
21383
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
21373
21384
|
i0.ɵɵelementEnd()()()();
|
|
21374
|
-
i0.ɵɵtemplate(24, QueryCheckYourAnswersComponent_div_0_dl_24_Template, 14, 9, "dl", 13)(25, QueryCheckYourAnswersComponent_div_0_dl_25_Template, 11, 7, "dl", 13)(26, QueryCheckYourAnswersComponent_div_0_dl_26_Template, 12,
|
|
21385
|
+
i0.ɵɵtemplate(24, QueryCheckYourAnswersComponent_div_0_dl_24_Template, 14, 9, "dl", 13)(25, QueryCheckYourAnswersComponent_div_0_dl_25_Template, 11, 7, "dl", 13)(26, QueryCheckYourAnswersComponent_div_0_dl_26_Template, 12, 9, "dl", 13);
|
|
21375
21386
|
i0.ɵɵelement(27, "br");
|
|
21376
21387
|
i0.ɵɵelementStart(28, "div")(29, "button", 20);
|
|
21377
21388
|
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
@@ -21782,7 +21793,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21782
21793
|
}
|
|
21783
21794
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21784
21795
|
type: Component,
|
|
21785
|
-
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div *ngIf=\"error && (error.details || error.message)\" class=\"error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\" class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n </ul>\n </div>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"callbackErrorsSubject\"></ccd-callback-errors>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Closing the query' | rpxTranslate }}
|
|
21796
|
+
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div *ngIf=\"error && (error.details || error.message)\" class=\"error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\" class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n </ul>\n </div>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"callbackErrorsSubject\"></ccd-callback-errors>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Closing the query' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('closeQuery')?.value ? 'I want to close this query' : 'No answer' | rpxTranslate }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <br>\n\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\"> \n </ccd-query-event-completion>\n</div>\n", styles: [".govuk-summary-list__value--documentAttached{vertical-align:middle}\n"] }]
|
|
21786
21797
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21787
21798
|
type: Input
|
|
21788
21799
|
}], queryItem: [{
|
|
@@ -22567,9 +22578,15 @@ class QueryWriteDateInputComponent {
|
|
|
22567
22578
|
}] }); })();
|
|
22568
22579
|
(() => { (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 }); })();
|
|
22569
22580
|
|
|
22570
|
-
const _c0$
|
|
22581
|
+
const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
|
|
22582
|
+
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
22583
|
+
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
22584
|
+
} if (rf & 2) {
|
|
22585
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
22586
|
+
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails);
|
|
22587
|
+
} }
|
|
22571
22588
|
function QueryWriteRaiseQueryComponent_div_11_p_19_Template(rf, ctx) { if (rf & 1) {
|
|
22572
|
-
i0.ɵɵelementStart(0, "p",
|
|
22589
|
+
i0.ɵɵelementStart(0, "p", 33)(1, "span", 11);
|
|
22573
22590
|
i0.ɵɵtext(2);
|
|
22574
22591
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22575
22592
|
i0.ɵɵelementEnd();
|
|
@@ -22577,14 +22594,14 @@ function QueryWriteRaiseQueryComponent_div_11_p_19_Template(rf, ctx) { if (rf &
|
|
|
22577
22594
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22578
22595
|
i0.ɵɵelementEnd();
|
|
22579
22596
|
} if (rf & 2) {
|
|
22580
|
-
const
|
|
22597
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22581
22598
|
i0.ɵɵadvance(2);
|
|
22582
22599
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
|
|
22583
22600
|
i0.ɵɵadvance(2);
|
|
22584
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4,
|
|
22601
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r0.getSubjectErrorMessage()), " ");
|
|
22585
22602
|
} }
|
|
22586
22603
|
function QueryWriteRaiseQueryComponent_div_11_p_29_Template(rf, ctx) { if (rf & 1) {
|
|
22587
|
-
i0.ɵɵelementStart(0, "p",
|
|
22604
|
+
i0.ɵɵelementStart(0, "p", 34)(1, "span", 11);
|
|
22588
22605
|
i0.ɵɵtext(2);
|
|
22589
22606
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22590
22607
|
i0.ɵɵelementEnd();
|
|
@@ -22592,14 +22609,14 @@ function QueryWriteRaiseQueryComponent_div_11_p_29_Template(rf, ctx) { if (rf &
|
|
|
22592
22609
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22593
22610
|
i0.ɵɵelementEnd();
|
|
22594
22611
|
} if (rf & 2) {
|
|
22595
|
-
const
|
|
22612
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22596
22613
|
i0.ɵɵadvance(2);
|
|
22597
22614
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22598
22615
|
i0.ɵɵadvance(2);
|
|
22599
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4,
|
|
22616
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.QUERY_BODY), " ");
|
|
22600
22617
|
} }
|
|
22601
22618
|
function QueryWriteRaiseQueryComponent_div_11_p_38_Template(rf, ctx) { if (rf & 1) {
|
|
22602
|
-
i0.ɵɵelementStart(0, "p",
|
|
22619
|
+
i0.ɵɵelementStart(0, "p", 35)(1, "span", 11);
|
|
22603
22620
|
i0.ɵɵtext(2);
|
|
22604
22621
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22605
22622
|
i0.ɵɵelementEnd();
|
|
@@ -22607,14 +22624,14 @@ function QueryWriteRaiseQueryComponent_div_11_p_38_Template(rf, ctx) { if (rf &
|
|
|
22607
22624
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22608
22625
|
i0.ɵɵelementEnd();
|
|
22609
22626
|
} if (rf & 2) {
|
|
22610
|
-
const
|
|
22627
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22611
22628
|
i0.ɵɵadvance(2);
|
|
22612
22629
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22613
22630
|
i0.ɵɵadvance(2);
|
|
22614
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4,
|
|
22631
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
|
|
22615
22632
|
} }
|
|
22616
22633
|
function QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template(rf, ctx) { if (rf & 1) {
|
|
22617
|
-
i0.ɵɵelementStart(0, "p",
|
|
22634
|
+
i0.ɵɵelementStart(0, "p", 41)(1, "span", 11);
|
|
22618
22635
|
i0.ɵɵtext(2);
|
|
22619
22636
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22620
22637
|
i0.ɵɵelementEnd();
|
|
@@ -22622,126 +22639,126 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template(rf, c
|
|
|
22622
22639
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22623
22640
|
i0.ɵɵelementEnd();
|
|
22624
22641
|
} if (rf & 2) {
|
|
22625
|
-
const
|
|
22642
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
22626
22643
|
i0.ɵɵadvance(2);
|
|
22627
22644
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22628
22645
|
i0.ɵɵadvance(2);
|
|
22629
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4,
|
|
22646
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
22630
22647
|
} }
|
|
22631
22648
|
function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx) { if (rf & 1) {
|
|
22632
22649
|
i0.ɵɵelementContainerStart(0);
|
|
22633
|
-
i0.ɵɵelementStart(1, "div",
|
|
22650
|
+
i0.ɵɵelementStart(1, "div", 36)(2, "fieldset", 37)(3, "legend")(4, "label", 38);
|
|
22634
22651
|
i0.ɵɵtext(5);
|
|
22635
22652
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
22636
22653
|
i0.ɵɵelementEnd()();
|
|
22637
|
-
i0.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template, 6, 6, "p",
|
|
22638
|
-
i0.ɵɵelement(8, "ccd-query-write-date-input",
|
|
22654
|
+
i0.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template, 6, 6, "p", 39);
|
|
22655
|
+
i0.ɵɵelement(8, "ccd-query-write-date-input", 40);
|
|
22639
22656
|
i0.ɵɵelementEnd()();
|
|
22640
22657
|
i0.ɵɵelementContainerEnd();
|
|
22641
22658
|
} if (rf & 2) {
|
|
22642
|
-
const
|
|
22659
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22643
22660
|
i0.ɵɵadvance();
|
|
22644
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
22661
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
|
|
22645
22662
|
i0.ɵɵadvance(4);
|
|
22646
22663
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
22647
22664
|
i0.ɵɵadvance(2);
|
|
22648
|
-
i0.ɵɵproperty("ngIf",
|
|
22665
|
+
i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null);
|
|
22649
22666
|
} }
|
|
22650
22667
|
function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
22651
|
-
const
|
|
22652
|
-
i0.ɵɵelementStart(0, "div",
|
|
22668
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
22669
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "div", 7)(2, "div")(3, "div", 8)(4, "span", 9);
|
|
22653
22670
|
i0.ɵɵtext(5, "!");
|
|
22654
22671
|
i0.ɵɵelementEnd();
|
|
22655
|
-
i0.ɵɵelementStart(6, "strong",
|
|
22672
|
+
i0.ɵɵelementStart(6, "strong", 10)(7, "span", 11);
|
|
22656
22673
|
i0.ɵɵtext(8, "Warning");
|
|
22657
22674
|
i0.ɵɵelementEnd();
|
|
22658
|
-
i0.ɵɵelement(9, "ccd-markdown",
|
|
22675
|
+
i0.ɵɵelement(9, "ccd-markdown", 12);
|
|
22659
22676
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22660
22677
|
i0.ɵɵelementEnd()();
|
|
22661
|
-
i0.ɵɵelementStart(11, "div",
|
|
22678
|
+
i0.ɵɵelementStart(11, "div", 13)(12, "div", 14)(13, "label", 15);
|
|
22662
22679
|
i0.ɵɵtext(14);
|
|
22663
22680
|
i0.ɵɵpipe(15, "rpxTranslate");
|
|
22664
22681
|
i0.ɵɵelementEnd()();
|
|
22665
|
-
i0.ɵɵelementStart(16, "div",
|
|
22682
|
+
i0.ɵɵelementStart(16, "div", 16);
|
|
22666
22683
|
i0.ɵɵtext(17);
|
|
22667
22684
|
i0.ɵɵpipe(18, "rpxTranslate");
|
|
22668
22685
|
i0.ɵɵelementEnd();
|
|
22669
|
-
i0.ɵɵtemplate(19, QueryWriteRaiseQueryComponent_div_11_p_19_Template, 6, 6, "p",
|
|
22670
|
-
i0.ɵɵelementStart(20, "input",
|
|
22671
|
-
i0.ɵɵlistener("input", function QueryWriteRaiseQueryComponent_div_11_Template_input_input_20_listener() { i0.ɵɵrestoreView(
|
|
22686
|
+
i0.ɵɵtemplate(19, QueryWriteRaiseQueryComponent_div_11_p_19_Template, 6, 6, "p", 17);
|
|
22687
|
+
i0.ɵɵelementStart(20, "input", 18);
|
|
22688
|
+
i0.ɵɵlistener("input", function QueryWriteRaiseQueryComponent_div_11_Template_input_input_20_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onSubjectInput()); });
|
|
22672
22689
|
i0.ɵɵelementEnd()();
|
|
22673
|
-
i0.ɵɵelementStart(21, "div",
|
|
22690
|
+
i0.ɵɵelementStart(21, "div", 13)(22, "div", 14)(23, "label", 19);
|
|
22674
22691
|
i0.ɵɵtext(24);
|
|
22675
22692
|
i0.ɵɵpipe(25, "rpxTranslate");
|
|
22676
22693
|
i0.ɵɵelementEnd()();
|
|
22677
|
-
i0.ɵɵelementStart(26, "div",
|
|
22694
|
+
i0.ɵɵelementStart(26, "div", 20);
|
|
22678
22695
|
i0.ɵɵtext(27);
|
|
22679
22696
|
i0.ɵɵpipe(28, "rpxTranslate");
|
|
22680
22697
|
i0.ɵɵelementEnd();
|
|
22681
|
-
i0.ɵɵtemplate(29, QueryWriteRaiseQueryComponent_div_11_p_29_Template, 6, 6, "p",
|
|
22682
|
-
i0.ɵɵelementStart(30, "textarea",
|
|
22698
|
+
i0.ɵɵtemplate(29, QueryWriteRaiseQueryComponent_div_11_p_29_Template, 6, 6, "p", 21);
|
|
22699
|
+
i0.ɵɵelementStart(30, "textarea", 22);
|
|
22683
22700
|
i0.ɵɵtext(31, " ");
|
|
22684
22701
|
i0.ɵɵelementEnd()();
|
|
22685
|
-
i0.ɵɵelementStart(32, "div",
|
|
22702
|
+
i0.ɵɵelementStart(32, "div", 13)(33, "fieldset", 23)(34, "legend")(35, "label", 24);
|
|
22686
22703
|
i0.ɵɵtext(36);
|
|
22687
22704
|
i0.ɵɵpipe(37, "rpxTranslate");
|
|
22688
22705
|
i0.ɵɵelementEnd()();
|
|
22689
|
-
i0.ɵɵtemplate(38, QueryWriteRaiseQueryComponent_div_11_p_38_Template, 6, 6, "p",
|
|
22690
|
-
i0.ɵɵelementStart(39, "div",
|
|
22691
|
-
i0.ɵɵelement(41, "input",
|
|
22692
|
-
i0.ɵɵelementStart(42, "label",
|
|
22706
|
+
i0.ɵɵtemplate(38, QueryWriteRaiseQueryComponent_div_11_p_38_Template, 6, 6, "p", 25);
|
|
22707
|
+
i0.ɵɵelementStart(39, "div", 26)(40, "div", 27);
|
|
22708
|
+
i0.ɵɵelement(41, "input", 28);
|
|
22709
|
+
i0.ɵɵelementStart(42, "label", 29);
|
|
22693
22710
|
i0.ɵɵtext(43);
|
|
22694
22711
|
i0.ɵɵpipe(44, "rpxTranslate");
|
|
22695
22712
|
i0.ɵɵelementEnd()();
|
|
22696
|
-
i0.ɵɵelementStart(45, "div",
|
|
22697
|
-
i0.ɵɵelement(46, "input",
|
|
22698
|
-
i0.ɵɵelementStart(47, "label",
|
|
22713
|
+
i0.ɵɵelementStart(45, "div", 27);
|
|
22714
|
+
i0.ɵɵelement(46, "input", 30);
|
|
22715
|
+
i0.ɵɵelementStart(47, "label", 31);
|
|
22699
22716
|
i0.ɵɵtext(48);
|
|
22700
22717
|
i0.ɵɵpipe(49, "rpxTranslate");
|
|
22701
22718
|
i0.ɵɵelementEnd()()()();
|
|
22702
|
-
i0.ɵɵtemplate(50, QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template, 9, 7, "ng-container",
|
|
22719
|
+
i0.ɵɵtemplate(50, QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template, 9, 7, "ng-container", 32);
|
|
22703
22720
|
i0.ɵɵelementEnd()()()();
|
|
22704
22721
|
} if (rf & 2) {
|
|
22705
|
-
const
|
|
22722
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
22706
22723
|
i0.ɵɵadvance();
|
|
22707
|
-
i0.ɵɵproperty("formGroup",
|
|
22724
|
+
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
22708
22725
|
i0.ɵɵadvance(8);
|
|
22709
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23,
|
|
22726
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
22710
22727
|
i0.ɵɵadvance(2);
|
|
22711
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
22728
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
22712
22729
|
i0.ɵɵadvance(3);
|
|
22713
22730
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
22714
22731
|
i0.ɵɵadvance(3);
|
|
22715
22732
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 27, "The subject should be a summary of your query"), " ");
|
|
22716
22733
|
i0.ɵɵadvance(2);
|
|
22717
|
-
i0.ɵɵproperty("ngIf",
|
|
22734
|
+
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
22718
22735
|
i0.ɵɵadvance(2);
|
|
22719
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
22736
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
22720
22737
|
i0.ɵɵadvance(3);
|
|
22721
22738
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
22722
22739
|
i0.ɵɵadvance(3);
|
|
22723
22740
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 31, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
22724
22741
|
i0.ɵɵadvance(2);
|
|
22725
|
-
i0.ɵɵproperty("ngIf",
|
|
22742
|
+
i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
22726
22743
|
i0.ɵɵadvance();
|
|
22727
|
-
i0.ɵɵclassProp("govuk-textarea--error",
|
|
22744
|
+
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
22728
22745
|
i0.ɵɵproperty("formControlName", "body");
|
|
22729
22746
|
i0.ɵɵadvance(2);
|
|
22730
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
22747
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
22731
22748
|
i0.ɵɵadvance(4);
|
|
22732
22749
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
22733
22750
|
i0.ɵɵadvance(2);
|
|
22734
|
-
i0.ɵɵproperty("ngIf",
|
|
22751
|
+
i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required"));
|
|
22735
22752
|
i0.ɵɵadvance(3);
|
|
22736
|
-
i0.ɵɵproperty("checked",
|
|
22753
|
+
i0.ɵɵproperty("checked", ctx_r0.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
22737
22754
|
i0.ɵɵadvance(2);
|
|
22738
22755
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 35, "Is the query hearing related?", null, "Yes"), " ");
|
|
22739
22756
|
i0.ɵɵadvance(3);
|
|
22740
|
-
i0.ɵɵproperty("checked",
|
|
22757
|
+
i0.ɵɵproperty("checked", ctx_r0.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
22741
22758
|
i0.ɵɵadvance(2);
|
|
22742
22759
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49, 39, "Is the query hearing related?", null, "No"), " ");
|
|
22743
22760
|
i0.ɵɵadvance(2);
|
|
22744
|
-
i0.ɵɵproperty("ngIf",
|
|
22761
|
+
i0.ɵɵproperty("ngIf", ctx_r0.formGroup.get("isHearingRelated").value);
|
|
22745
22762
|
} }
|
|
22746
22763
|
class QueryWriteRaiseQueryComponent {
|
|
22747
22764
|
formGroup;
|
|
@@ -22768,7 +22785,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22768
22785
|
return '';
|
|
22769
22786
|
}
|
|
22770
22787
|
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRaiseQueryComponent)(); };
|
|
22771
|
-
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) {
|
|
22788
|
+
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", 4, "ngIf"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [3, "caseDetails"], [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) {
|
|
22772
22789
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
22773
22790
|
i0.ɵɵtext(3);
|
|
22774
22791
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22778,7 +22795,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22778
22795
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22779
22796
|
i0.ɵɵelementEnd()();
|
|
22780
22797
|
i0.ɵɵelementStart(8, "div");
|
|
22781
|
-
i0.ɵɵ
|
|
22798
|
+
i0.ɵɵtemplate(9, QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template, 1, 1, "ccd-query-case-details-header", 3);
|
|
22782
22799
|
i0.ɵɵelementEnd();
|
|
22783
22800
|
i0.ɵɵelement(10, "hr");
|
|
22784
22801
|
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51, 49, "div", 4);
|
|
@@ -22789,14 +22806,14 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22789
22806
|
i0.ɵɵadvance(3);
|
|
22790
22807
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "Enter query details"));
|
|
22791
22808
|
i0.ɵɵadvance(3);
|
|
22792
|
-
i0.ɵɵproperty("
|
|
22809
|
+
i0.ɵɵproperty("ngIf", ctx.caseDetails);
|
|
22793
22810
|
i0.ɵɵadvance(2);
|
|
22794
22811
|
i0.ɵɵproperty("ngIf", ctx.showForm);
|
|
22795
22812
|
} }, encapsulation: 2 });
|
|
22796
22813
|
}
|
|
22797
22814
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
22798
22815
|
type: Component,
|
|
22799
|
-
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" }]
|
|
22816
|
+
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\" *ngIf=\"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" }]
|
|
22800
22817
|
}], null, { formGroup: [{
|
|
22801
22818
|
type: Input
|
|
22802
22819
|
}], submitted: [{
|
|
@@ -22810,8 +22827,14 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22810
22827
|
}] }); })();
|
|
22811
22828
|
(() => { (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 }); })();
|
|
22812
22829
|
|
|
22830
|
+
function QueryWriteRespondToQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
22831
|
+
i0.ɵɵelement(0, "ccd-query-case-details-header", 8);
|
|
22832
|
+
} if (rf & 2) {
|
|
22833
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
22834
|
+
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails);
|
|
22835
|
+
} }
|
|
22813
22836
|
function QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template(rf, ctx) { if (rf & 1) {
|
|
22814
|
-
i0.ɵɵelementStart(0, "p",
|
|
22837
|
+
i0.ɵɵelementStart(0, "p", 17)(1, "span", 18);
|
|
22815
22838
|
i0.ɵɵtext(2);
|
|
22816
22839
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22817
22840
|
i0.ɵɵelementEnd();
|
|
@@ -22826,16 +22849,16 @@ function QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template(rf, ctx) {
|
|
|
22826
22849
|
i0.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
|
|
22827
22850
|
} }
|
|
22828
22851
|
function QueryWriteRespondToQueryComponent_div_12_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
22829
|
-
i0.ɵɵelementStart(0, "div")(1, "h1",
|
|
22852
|
+
i0.ɵɵelementStart(0, "div")(1, "h1", 10);
|
|
22830
22853
|
i0.ɵɵtext(2);
|
|
22831
22854
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22832
22855
|
i0.ɵɵelementEnd();
|
|
22833
|
-
i0.ɵɵelementStart(4, "div",
|
|
22856
|
+
i0.ɵɵelementStart(4, "div", 11)(5, "div", 12)(6, "div", 13)(7, "label", 14);
|
|
22834
22857
|
i0.ɵɵtext(8);
|
|
22835
22858
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
22836
22859
|
i0.ɵɵelementEnd()();
|
|
22837
|
-
i0.ɵɵtemplate(10, QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template, 6, 6, "p",
|
|
22838
|
-
i0.ɵɵelementStart(11, "textarea",
|
|
22860
|
+
i0.ɵɵtemplate(10, QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template, 6, 6, "p", 15);
|
|
22861
|
+
i0.ɵɵelementStart(11, "textarea", 16);
|
|
22839
22862
|
i0.ɵɵtext(12, " ");
|
|
22840
22863
|
i0.ɵɵelementEnd()()()();
|
|
22841
22864
|
} if (rf & 2) {
|
|
@@ -22858,7 +22881,7 @@ function QueryWriteRespondToQueryComponent_div_12_div_1_Template(rf, ctx) { if (
|
|
|
22858
22881
|
i0.ɵɵproperty("formControlName", "body");
|
|
22859
22882
|
} }
|
|
22860
22883
|
function QueryWriteRespondToQueryComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
22861
|
-
i0.ɵɵelementStart(0, "div",
|
|
22884
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
22862
22885
|
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_div_12_div_1_Template, 13, 13, "div", 7);
|
|
22863
22886
|
i0.ɵɵelementEnd();
|
|
22864
22887
|
} if (rf & 2) {
|
|
@@ -22867,14 +22890,14 @@ function QueryWriteRespondToQueryComponent_div_12_Template(rf, ctx) { if (rf & 1
|
|
|
22867
22890
|
i0.ɵɵproperty("ngIf", !ctx_r0.hasRespondedToQuery);
|
|
22868
22891
|
} }
|
|
22869
22892
|
function QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template(rf, ctx) { if (rf & 1) {
|
|
22870
|
-
i0.ɵɵelement(0, "ccd-close-query",
|
|
22893
|
+
i0.ɵɵelement(0, "ccd-close-query", 11);
|
|
22871
22894
|
} if (rf & 2) {
|
|
22872
22895
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22873
22896
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
22874
22897
|
} }
|
|
22875
22898
|
function QueryWriteRespondToQueryComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
22876
22899
|
i0.ɵɵelementContainerStart(0);
|
|
22877
|
-
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template, 1, 1, "ccd-close-query",
|
|
22900
|
+
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template, 1, 1, "ccd-close-query", 19);
|
|
22878
22901
|
i0.ɵɵelementContainerEnd();
|
|
22879
22902
|
} if (rf & 2) {
|
|
22880
22903
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22951,7 +22974,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22951
22974
|
this.hasRespondedToQueryTask.emit(value);
|
|
22952
22975
|
}
|
|
22953
22976
|
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22954
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted", caseQueriesCollections: "caseQueriesCollections", showForm: "showForm" }, outputs: { hasRespondedToQueryTask: "hasRespondedToQueryTask" }, features: [i0.ɵɵNgOnChangesFeature], decls: 14, vars: 11, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], [3, "hasResponded", "query", "queryResponseStatus"], ["class", "query-respond", 4, "ngIf"], [4, "ngIf"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["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"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [3, "formGroup", 4, "ngIf"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22977
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted", caseQueriesCollections: "caseQueriesCollections", showForm: "showForm" }, outputs: { hasRespondedToQueryTask: "hasRespondedToQueryTask" }, features: [i0.ɵɵNgOnChangesFeature], decls: 14, vars: 11, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], [3, "hasResponded", "query", "queryResponseStatus"], ["class", "query-respond", 4, "ngIf"], [4, "ngIf"], [3, "caseDetails"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["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"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [3, "formGroup", 4, "ngIf"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22955
22978
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 0)(2, "div", 1);
|
|
22956
22979
|
i0.ɵɵtext(3);
|
|
22957
22980
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22961,7 +22984,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22961
22984
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22962
22985
|
i0.ɵɵelementEnd()();
|
|
22963
22986
|
i0.ɵɵelementStart(8, "div", 3);
|
|
22964
|
-
i0.ɵɵ
|
|
22987
|
+
i0.ɵɵtemplate(9, QueryWriteRespondToQueryComponent_ccd_query_case_details_header_9_Template, 1, 1, "ccd-query-case-details-header", 4);
|
|
22965
22988
|
i0.ɵɵelementEnd();
|
|
22966
22989
|
i0.ɵɵelementStart(10, "div")(11, "ccd-query-details", 5);
|
|
22967
22990
|
i0.ɵɵlistener("hasResponded", function QueryWriteRespondToQueryComponent_Template_ccd_query_details_hasResponded_11_listener($event) { return ctx.hasResponded($event); });
|
|
@@ -22973,7 +22996,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22973
22996
|
i0.ɵɵadvance(3);
|
|
22974
22997
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 9, "Query details"));
|
|
22975
22998
|
i0.ɵɵadvance(3);
|
|
22976
|
-
i0.ɵɵproperty("
|
|
22999
|
+
i0.ɵɵproperty("ngIf", ctx.caseDetails);
|
|
22977
23000
|
i0.ɵɵadvance(2);
|
|
22978
23001
|
i0.ɵɵproperty("query", ctx.queryListData)("queryResponseStatus", ctx.queryResponseStatus);
|
|
22979
23002
|
i0.ɵɵadvance();
|
|
@@ -22984,7 +23007,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22984
23007
|
}
|
|
22985
23008
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
22986
23009
|
type: Component,
|
|
22987
|
-
args: [{ selector: 'ccd-query-write-respond-to-query', template: "<div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Respond to a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-0\">{{ 'Query details' | rpxTranslate }}</h1>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <div>\n <ccd-query-details [query]=\"queryListData\"\n [queryResponseStatus]=\"queryResponseStatus\"\n (hasResponded)=\"hasResponded($event)\"></ccd-query-details>\n </div>\n</div>\n<div class=\"query-respond\" *ngIf=\"showForm\">\n <div *ngIf=\"!hasRespondedToQuery\">\n <h1 class=\"govuk-heading-m\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Respond to a query' : 'Ask a follow-up question' | rpxTranslate }}\n </h1>\n\n <div [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group body-textarea\"\n [class.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 {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query Body' | rpxTranslate }}\n </label>\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>{{ queryCreateContext === queryCreateContextEnum.RESPOND ? raiseQueryErrorMessages.RESPOND_QUERY_BODY : raiseQueryErrorMessages.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\" class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body')?.hasError('required')\" id=\"body\"\n name=\"body\" rows=\"5\" aria-describedby=\"body-hint body-error\">\n </textarea>\n </div>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <ccd-close-query *ngIf=\"!hasRespondedToQuery\"\n [formGroup]=\"formGroup\">\n </ccd-close-query>\n</ng-container>", styles: [".query-respond{width:100%;max-width:720px}\n"] }]
|
|
23010
|
+
args: [{ selector: 'ccd-query-write-respond-to-query', template: "<div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Respond to a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-0\">{{ 'Query details' | rpxTranslate }}</h1>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <div>\n <ccd-query-details [query]=\"queryListData\"\n [queryResponseStatus]=\"queryResponseStatus\"\n (hasResponded)=\"hasResponded($event)\"></ccd-query-details>\n </div>\n</div>\n<div class=\"query-respond\" *ngIf=\"showForm\">\n <div *ngIf=\"!hasRespondedToQuery\">\n <h1 class=\"govuk-heading-m\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Respond to a query' : 'Ask a follow-up question' | rpxTranslate }}\n </h1>\n\n <div [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group body-textarea\"\n [class.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 {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query Body' | rpxTranslate }}\n </label>\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>{{ queryCreateContext === queryCreateContextEnum.RESPOND ? raiseQueryErrorMessages.RESPOND_QUERY_BODY : raiseQueryErrorMessages.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\" class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body')?.hasError('required')\" id=\"body\"\n name=\"body\" rows=\"5\" aria-describedby=\"body-hint body-error\">\n </textarea>\n </div>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <ccd-close-query *ngIf=\"!hasRespondedToQuery\"\n [formGroup]=\"formGroup\">\n </ccd-close-query>\n</ng-container>", styles: [".query-respond{width:100%;max-width:720px}\n"] }]
|
|
22988
23011
|
}], () => [{ type: CaseNotifier }, { type: i1$1.ActivatedRoute }], { queryItem: [{
|
|
22989
23012
|
type: Input
|
|
22990
23013
|
}], formGroup: [{
|
|
@@ -23033,21 +23056,21 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
23033
23056
|
} if (rf & 2) {
|
|
23034
23057
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23035
23058
|
i0.ɵɵadvance(3);
|
|
23036
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23059
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Query submitted"));
|
|
23037
23060
|
i0.ɵɵadvance(3);
|
|
23038
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7,
|
|
23061
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 13, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
23039
23062
|
i0.ɵɵadvance(4);
|
|
23040
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
23063
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "What happens next"));
|
|
23041
23064
|
i0.ɵɵadvance(2);
|
|
23042
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13,
|
|
23065
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 17, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
23043
23066
|
i0.ɵɵadvance(3);
|
|
23044
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16,
|
|
23067
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 19, "When the response is available it will be added to the 'Queries' section."));
|
|
23045
23068
|
i0.ɵɵadvance(3);
|
|
23046
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19,
|
|
23069
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 21, "You can"), " ");
|
|
23047
23070
|
i0.ɵɵadvance(2);
|
|
23048
|
-
i0.ɵɵ
|
|
23071
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23049
23072
|
i0.ɵɵadvance();
|
|
23050
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22,
|
|
23073
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 23, "Go back to the case"));
|
|
23051
23074
|
} }
|
|
23052
23075
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
23053
23076
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23075,23 +23098,23 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
23075
23098
|
} if (rf & 2) {
|
|
23076
23099
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23077
23100
|
i0.ɵɵadvance(3);
|
|
23078
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23101
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 13, "Query response submitted"));
|
|
23079
23102
|
i0.ɵɵadvance(3);
|
|
23080
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7,
|
|
23103
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 15, "This query response has been added to the case"));
|
|
23081
23104
|
i0.ɵɵadvance(3);
|
|
23082
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10,
|
|
23105
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 17, "You can"), " ");
|
|
23083
23106
|
i0.ɵɵadvance(2);
|
|
23084
|
-
i0.ɵɵ
|
|
23107
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "/tasks");
|
|
23085
23108
|
i0.ɵɵadvance();
|
|
23086
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13,
|
|
23109
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "return to tasks"));
|
|
23087
23110
|
i0.ɵɵadvance(3);
|
|
23088
|
-
i0.ɵɵ
|
|
23111
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23089
23112
|
i0.ɵɵadvance();
|
|
23090
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17,
|
|
23113
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
|
|
23091
23114
|
} }
|
|
23092
23115
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
23093
23116
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
23094
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23,
|
|
23117
|
+
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23, 25, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 23, "ng-container", 4);
|
|
23095
23118
|
i0.ɵɵelementEnd()()();
|
|
23096
23119
|
} if (rf & 2) {
|
|
23097
23120
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -23105,12 +23128,16 @@ class QueryConfirmationComponent {
|
|
|
23105
23128
|
queryCreateContext;
|
|
23106
23129
|
callbackConfirmationMessageText = {};
|
|
23107
23130
|
caseId = '';
|
|
23131
|
+
jurisdiction = '';
|
|
23132
|
+
caseType = '';
|
|
23108
23133
|
queryCreateContextEnum = QueryCreateContext;
|
|
23109
23134
|
constructor(route) {
|
|
23110
23135
|
this.route = route;
|
|
23111
23136
|
}
|
|
23112
23137
|
ngOnInit() {
|
|
23113
23138
|
this.caseId = this.route.snapshot.params.cid;
|
|
23139
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
23140
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
23114
23141
|
}
|
|
23115
23142
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
23116
23143
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__body"], ["id", "tasks-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -23121,7 +23148,7 @@ class QueryConfirmationComponent {
|
|
|
23121
23148
|
}
|
|
23122
23149
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
23123
23150
|
type: Component,
|
|
23124
|
-
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}/tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
|
|
23151
|
+
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}/tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
|
|
23125
23152
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
23126
23153
|
type: Input
|
|
23127
23154
|
}], callbackConfirmationMessageText: [{
|
|
@@ -23173,7 +23200,7 @@ class CloseQueryComponent {
|
|
|
23173
23200
|
}] }); })();
|
|
23174
23201
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 8 }); })();
|
|
23175
23202
|
|
|
23176
|
-
const _c0$
|
|
23203
|
+
const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
23177
23204
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
23178
23205
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23179
23206
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-query-list", 6);
|
|
@@ -23212,7 +23239,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
23212
23239
|
} if (rf & 2) {
|
|
23213
23240
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
23214
23241
|
i0.ɵɵadvance();
|
|
23215
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
23242
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
|
|
23216
23243
|
i0.ɵɵadvance();
|
|
23217
23244
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
23218
23245
|
} }
|
|
@@ -23360,7 +23387,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
23360
23387
|
}], null, null); })();
|
|
23361
23388
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 8 }); })();
|
|
23362
23389
|
|
|
23363
|
-
const _c0$
|
|
23390
|
+
const _c0$B = a0 => ({ "form-group-error": a0 });
|
|
23364
23391
|
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
23365
23392
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23366
23393
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23419,7 +23446,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23419
23446
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
23420
23447
|
i0.ɵɵelementEnd()();
|
|
23421
23448
|
} if (rf & 2) {
|
|
23422
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23449
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
23423
23450
|
i0.ɵɵadvance();
|
|
23424
23451
|
i0.ɵɵproperty("for", ctx.id());
|
|
23425
23452
|
i0.ɵɵadvance();
|
|
@@ -23458,7 +23485,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
23458
23485
|
}], null, null); })();
|
|
23459
23486
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 8 }); })();
|
|
23460
23487
|
|
|
23461
|
-
const _c0$
|
|
23488
|
+
const _c0$A = a0 => ({ "form-group-error": a0 });
|
|
23462
23489
|
const _c1$c = a0 => ({ "govuk-input--error": a0 });
|
|
23463
23490
|
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23464
23491
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23508,7 +23535,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23508
23535
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
23509
23536
|
i0.ɵɵelementEnd()();
|
|
23510
23537
|
} if (rf & 2) {
|
|
23511
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23538
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
23512
23539
|
i0.ɵɵadvance();
|
|
23513
23540
|
i0.ɵɵproperty("for", ctx.id());
|
|
23514
23541
|
i0.ɵɵadvance();
|
|
@@ -23649,7 +23676,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
23649
23676
|
}], () => [{ type: YesNoService }], null); })();
|
|
23650
23677
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 9 }); })();
|
|
23651
23678
|
|
|
23652
|
-
const _c0$
|
|
23679
|
+
const _c0$z = a0 => ({ "form-group-error": a0 });
|
|
23653
23680
|
const _c1$b = a0 => ({ selected: a0 });
|
|
23654
23681
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
23655
23682
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -23721,7 +23748,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23721
23748
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
23722
23749
|
i0.ɵɵelementEnd()()();
|
|
23723
23750
|
} if (rf & 2) {
|
|
23724
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
23751
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
23725
23752
|
i0.ɵɵadvance(3);
|
|
23726
23753
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
23727
23754
|
i0.ɵɵadvance();
|
|
@@ -23838,7 +23865,7 @@ class PaletteService {
|
|
|
23838
23865
|
type: Injectable
|
|
23839
23866
|
}], null, null); })();
|
|
23840
23867
|
|
|
23841
|
-
const _c0$
|
|
23868
|
+
const _c0$y = ["fieldContainer"];
|
|
23842
23869
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23843
23870
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
23844
23871
|
resolver;
|
|
@@ -23887,7 +23914,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23887
23914
|
}
|
|
23888
23915
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23889
23916
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23890
|
-
i0.ɵɵviewQuery(_c0$
|
|
23917
|
+
i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
|
|
23891
23918
|
} if (rf & 2) {
|
|
23892
23919
|
let _t;
|
|
23893
23920
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -23916,7 +23943,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23916
23943
|
}] }); })();
|
|
23917
23944
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
23918
23945
|
|
|
23919
|
-
const _c0$
|
|
23946
|
+
const _c0$x = ["fieldContainer"];
|
|
23920
23947
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23921
23948
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
23922
23949
|
resolver;
|
|
@@ -23962,7 +23989,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23962
23989
|
}
|
|
23963
23990
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23964
23991
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23965
|
-
i0.ɵɵviewQuery(_c0$
|
|
23992
|
+
i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
|
|
23966
23993
|
} if (rf & 2) {
|
|
23967
23994
|
let _t;
|
|
23968
23995
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -23986,7 +24013,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23986
24013
|
}] }); })();
|
|
23987
24014
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 16 }); })();
|
|
23988
24015
|
|
|
23989
|
-
const _c0$
|
|
24016
|
+
const _c0$w = ["*"];
|
|
23990
24017
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
23991
24018
|
i0.ɵɵelementContainer(0);
|
|
23992
24019
|
} }
|
|
@@ -24040,7 +24067,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24040
24067
|
}
|
|
24041
24068
|
}
|
|
24042
24069
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
24043
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
24070
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$w, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24044
24071
|
i0.ɵɵprojectionDef();
|
|
24045
24072
|
i0.ɵɵelementStart(0, "div", 1);
|
|
24046
24073
|
i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -24061,7 +24088,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24061
24088
|
}] }); })();
|
|
24062
24089
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 14 }); })();
|
|
24063
24090
|
|
|
24064
|
-
const _c0$
|
|
24091
|
+
const _c0$v = a0 => ({ cat: a0, level: 1 });
|
|
24065
24092
|
const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
|
|
24066
24093
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24067
24094
|
i0.ɵɵelementContainer(0);
|
|
@@ -24075,7 +24102,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
24075
24102
|
i0.ɵɵnextContext();
|
|
24076
24103
|
const folder_r3 = i0.ɵɵreference(13);
|
|
24077
24104
|
i0.ɵɵadvance();
|
|
24078
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
24105
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
|
|
24079
24106
|
} }
|
|
24080
24107
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24081
24108
|
i0.ɵɵelementContainer(0);
|
|
@@ -24214,7 +24241,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
24214
24241
|
}] }], null); })();
|
|
24215
24242
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSelectorComponent, { className: "CaseFileViewFolderSelectorComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.ts", lineNumber: 12 }); })();
|
|
24216
24243
|
|
|
24217
|
-
const _c0$
|
|
24244
|
+
const _c0$u = [[["", "trigger", ""]]];
|
|
24218
24245
|
const _c1$9 = ["[trigger]"];
|
|
24219
24246
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24220
24247
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -24289,7 +24316,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24289
24316
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
24290
24317
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$9, decls: 5, vars: 4, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24291
24318
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24292
|
-
i0.ɵɵprojectionDef(_c0$
|
|
24319
|
+
i0.ɵɵprojectionDef(_c0$u);
|
|
24293
24320
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
24294
24321
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
24295
24322
|
i0.ɵɵprojection(3);
|
|
@@ -24958,7 +24985,7 @@ class CaseFileViewFolderComponent {
|
|
|
24958
24985
|
}] }); })();
|
|
24959
24986
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 27 }); })();
|
|
24960
24987
|
|
|
24961
|
-
const _c0$
|
|
24988
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
24962
24989
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
24963
24990
|
i0.ɵɵelementStart(0, "span");
|
|
24964
24991
|
i0.ɵɵtext(1);
|
|
@@ -25112,7 +25139,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
25112
25139
|
} if (rf & 2) {
|
|
25113
25140
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25114
25141
|
i0.ɵɵadvance(2);
|
|
25115
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
25142
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
|
|
25116
25143
|
i0.ɵɵadvance(2);
|
|
25117
25144
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
25118
25145
|
i0.ɵɵadvance();
|
|
@@ -25646,7 +25673,7 @@ class CaseFlagTableComponent {
|
|
|
25646
25673
|
}] }); })();
|
|
25647
25674
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 10 }); })();
|
|
25648
25675
|
|
|
25649
|
-
const _c0$
|
|
25676
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
25650
25677
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
25651
25678
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
25652
25679
|
i0.ɵɵtext(2);
|
|
@@ -25957,7 +25984,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
25957
25984
|
} if (rf & 2) {
|
|
25958
25985
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25959
25986
|
i0.ɵɵadvance();
|
|
25960
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
25987
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
25961
25988
|
i0.ɵɵadvance(4);
|
|
25962
25989
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
25963
25990
|
i0.ɵɵadvance(2);
|
|
@@ -26043,7 +26070,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
26043
26070
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
26044
26071
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
26045
26072
|
|
|
26046
|
-
const _c0$
|
|
26073
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
26047
26074
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
26048
26075
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
26049
26076
|
i0.ɵɵtext(2);
|
|
@@ -26135,7 +26162,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
26135
26162
|
} if (rf & 2) {
|
|
26136
26163
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
26137
26164
|
i0.ɵɵadvance();
|
|
26138
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26165
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
26139
26166
|
i0.ɵɵadvance(2);
|
|
26140
26167
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
26141
26168
|
i0.ɵɵadvance(2);
|
|
@@ -26309,7 +26336,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26309
26336
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
26310
26337
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26311
26338
|
i0.ɵɵadvance();
|
|
26312
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
26339
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$r, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
26313
26340
|
i0.ɵɵadvance(2);
|
|
26314
26341
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
26315
26342
|
i0.ɵɵadvance();
|
|
@@ -26346,7 +26373,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26346
26373
|
}] }); })();
|
|
26347
26374
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchLanguageInterpreterComponent, { className: "SearchLanguageInterpreterComponent", filePath: "lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.ts", lineNumber: 20 }); })();
|
|
26348
26375
|
|
|
26349
|
-
const _c0$
|
|
26376
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
26350
26377
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
26351
26378
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
26352
26379
|
i0.ɵɵtext(2);
|
|
@@ -26522,7 +26549,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26522
26549
|
} if (rf & 2) {
|
|
26523
26550
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26524
26551
|
i0.ɵɵadvance();
|
|
26525
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
26552
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx.errorMessages.length > 0));
|
|
26526
26553
|
i0.ɵɵadvance(4);
|
|
26527
26554
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
26528
26555
|
i0.ɵɵadvance(2);
|
|
@@ -26545,7 +26572,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26545
26572
|
}] }); })();
|
|
26546
26573
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagLocationComponent, { className: "SelectFlagLocationComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.ts", lineNumber: 12 }); })();
|
|
26547
26574
|
|
|
26548
|
-
const _c0$
|
|
26575
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
26549
26576
|
const _c1$8 = a0 => ({ "govuk-input--error": a0 });
|
|
26550
26577
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
26551
26578
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -26641,7 +26668,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
26641
26668
|
} if (rf & 2) {
|
|
26642
26669
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
26643
26670
|
i0.ɵɵadvance();
|
|
26644
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
26671
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$p, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
26645
26672
|
i0.ɵɵadvance(2);
|
|
26646
26673
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.isDisplayContextParameterExternal ? i0.ɵɵpipeBind1(4, 7, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION_EXTERNAL) : i0.ɵɵpipeBind1(5, 9, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION), " ");
|
|
26647
26674
|
i0.ɵɵadvance(3);
|
|
@@ -26666,7 +26693,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
26666
26693
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
26667
26694
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
26668
26695
|
i0.ɵɵadvance();
|
|
26669
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26696
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
26670
26697
|
i0.ɵɵadvance(4);
|
|
26671
26698
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
26672
26699
|
i0.ɵɵadvance(3);
|
|
@@ -26993,7 +27020,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
26993
27020
|
}] }); })();
|
|
26994
27021
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagTypeComponent, { className: "SelectFlagTypeComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.ts", lineNumber: 19 }); })();
|
|
26995
27022
|
|
|
26996
|
-
const _c0$
|
|
27023
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
26997
27024
|
const _c1$7 = a0 => ({ "govuk-tag--grey": a0 });
|
|
26998
27025
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
26999
27026
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -27479,7 +27506,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27479
27506
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
27480
27507
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27481
27508
|
i0.ɵɵadvance(2);
|
|
27482
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
27509
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$o, ctx.errorMessages.length > 0));
|
|
27483
27510
|
i0.ɵɵadvance(3);
|
|
27484
27511
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
27485
27512
|
i0.ɵɵadvance(2);
|
|
@@ -27512,7 +27539,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27512
27539
|
}] }); })();
|
|
27513
27540
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagComponent, { className: "UpdateFlagComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.ts", lineNumber: 22 }); })();
|
|
27514
27541
|
|
|
27515
|
-
const _c0$
|
|
27542
|
+
const _c0$n = a0 => ({ "form-group-error": a0 });
|
|
27516
27543
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
27517
27544
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
27518
27545
|
i0.ɵɵtext(2);
|
|
@@ -27720,7 +27747,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27720
27747
|
} if (rf & 2) {
|
|
27721
27748
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27722
27749
|
i0.ɵɵadvance(2);
|
|
27723
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
27750
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$n, ctx.errorMessages.length > 0));
|
|
27724
27751
|
i0.ɵɵadvance(3);
|
|
27725
27752
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
27726
27753
|
i0.ɵɵadvance(3);
|
|
@@ -27777,7 +27804,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27777
27804
|
}] }); })();
|
|
27778
27805
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagAddTranslationFormComponent, { className: "UpdateFlagAddTranslationFormComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.ts", lineNumber: 18 }); })();
|
|
27779
27806
|
|
|
27780
|
-
const _c0$
|
|
27807
|
+
const _c0$m = a0 => ({ "form-group-error": a0 });
|
|
27781
27808
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
27782
27809
|
i0.ɵɵelementStart(0, "div", 13);
|
|
27783
27810
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -27912,7 +27939,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
27912
27939
|
} if (rf & 2) {
|
|
27913
27940
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27914
27941
|
i0.ɵɵadvance(2);
|
|
27915
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
27942
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$m, ctx.errorMessages.length > 0));
|
|
27916
27943
|
i0.ɵɵadvance(4);
|
|
27917
27944
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
27918
27945
|
i0.ɵɵadvance(3);
|
|
@@ -28192,7 +28219,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
28192
28219
|
}]
|
|
28193
28220
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
28194
28221
|
|
|
28195
|
-
const _c0$
|
|
28222
|
+
const _c0$l = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
28196
28223
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28197
28224
|
i0.ɵɵelementContainerStart(0);
|
|
28198
28225
|
i0.ɵɵelementStart(1, "dt", 2)(2, "span", 3);
|
|
@@ -28229,7 +28256,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28229
28256
|
i0.ɵɵelementEnd();
|
|
28230
28257
|
} if (rf & 2) {
|
|
28231
28258
|
i0.ɵɵadvance();
|
|
28232
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
28259
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
28233
28260
|
} }, styles: ["dl.complex-raw[_ngcontent-%COMP%]{list-style-type:none;margin:5px 0 10px}dl.complex-raw[_ngcontent-%COMP%] dl.complex-raw[_ngcontent-%COMP%]{padding-left:2ch}dl.complex-raw[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:700}"] });
|
|
28234
28261
|
}
|
|
28235
28262
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -28240,7 +28267,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28240
28267
|
}] }); })();
|
|
28241
28268
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 16 }); })();
|
|
28242
28269
|
|
|
28243
|
-
const _c0$
|
|
28270
|
+
const _c0$k = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
28244
28271
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28245
28272
|
i0.ɵɵelementContainerStart(0);
|
|
28246
28273
|
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
|
|
@@ -28318,7 +28345,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
28318
28345
|
i0.ɵɵadvance(4);
|
|
28319
28346
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
28320
28347
|
i0.ɵɵadvance(5);
|
|
28321
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
28348
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
28322
28349
|
} }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
28323
28350
|
}
|
|
28324
28351
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -28703,7 +28730,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28703
28730
|
}], null, null); })();
|
|
28704
28731
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 12 }); })();
|
|
28705
28732
|
|
|
28706
|
-
const _c0$
|
|
28733
|
+
const _c0$j = a0 => ({ "form-group-error": a0 });
|
|
28707
28734
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
28708
28735
|
i0.ɵɵelementStart(0, "span", 5);
|
|
28709
28736
|
i0.ɵɵtext(1);
|
|
@@ -28755,7 +28782,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
28755
28782
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
28756
28783
|
i0.ɵɵelementEnd()();
|
|
28757
28784
|
} if (rf & 2) {
|
|
28758
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
28785
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$j, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
28759
28786
|
i0.ɵɵadvance(3);
|
|
28760
28787
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
28761
28788
|
i0.ɵɵadvance();
|
|
@@ -28784,7 +28811,7 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
28784
28811
|
},
|
|
28785
28812
|
};
|
|
28786
28813
|
|
|
28787
|
-
const _c0$
|
|
28814
|
+
const _c0$i = ["picker"];
|
|
28788
28815
|
const _c1$6 = ["input"];
|
|
28789
28816
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
28790
28817
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29002,7 +29029,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
29002
29029
|
}
|
|
29003
29030
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
29004
29031
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29005
|
-
i0.ɵɵviewQuery(_c0$
|
|
29032
|
+
i0.ɵɵviewQuery(_c0$i, 5);
|
|
29006
29033
|
i0.ɵɵviewQuery(_c1$6, 5);
|
|
29007
29034
|
} if (rf & 2) {
|
|
29008
29035
|
let _t;
|
|
@@ -29190,7 +29217,7 @@ class EventLogDetailsComponent {
|
|
|
29190
29217
|
}] }); })();
|
|
29191
29218
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 9 }); })();
|
|
29192
29219
|
|
|
29193
|
-
const _c0$
|
|
29220
|
+
const _c0$h = a0 => ({ "EventLogTable-Selected": a0 });
|
|
29194
29221
|
const _c1$5 = a0 => ["./", "event", a0, "history"];
|
|
29195
29222
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
29196
29223
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -29320,7 +29347,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
29320
29347
|
} if (rf & 2) {
|
|
29321
29348
|
const event_r2 = ctx.$implicit;
|
|
29322
29349
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
29323
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
29350
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$h, ctx_r2.selected === event_r2));
|
|
29324
29351
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
29325
29352
|
i0.ɵɵadvance(2);
|
|
29326
29353
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -29515,11 +29542,11 @@ class EventLogComponent {
|
|
|
29515
29542
|
}] }); })();
|
|
29516
29543
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 9 }); })();
|
|
29517
29544
|
|
|
29518
|
-
const _c0$
|
|
29545
|
+
const _c0$g = ["*"];
|
|
29519
29546
|
class RouterLinkComponent {
|
|
29520
29547
|
link;
|
|
29521
29548
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
29522
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$
|
|
29549
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$g, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29523
29550
|
i0.ɵɵprojectionDef();
|
|
29524
29551
|
i0.ɵɵelementStart(0, "a", 0);
|
|
29525
29552
|
i0.ɵɵprojection(1);
|
|
@@ -30041,7 +30068,7 @@ class OrderSummary {
|
|
|
30041
30068
|
PaymentTotal;
|
|
30042
30069
|
}
|
|
30043
30070
|
|
|
30044
|
-
const _c0$
|
|
30071
|
+
const _c0$f = ["ccdReadOrderSummaryRow", ""];
|
|
30045
30072
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
30046
30073
|
feeValue;
|
|
30047
30074
|
ngOnInit() {
|
|
@@ -30054,7 +30081,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
30054
30081
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
30055
30082
|
}
|
|
30056
30083
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
30057
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
30084
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$f, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
30058
30085
|
i0.ɵɵelementStart(0, "td");
|
|
30059
30086
|
i0.ɵɵtext(1);
|
|
30060
30087
|
i0.ɵɵelementEnd();
|
|
@@ -31115,7 +31142,7 @@ var CaseEditSubmitTitles;
|
|
|
31115
31142
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
31116
31143
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
31117
31144
|
|
|
31118
|
-
const _c0$
|
|
31145
|
+
const _c0$e = (a0, a1) => [a0, false, undefined, true, a1];
|
|
31119
31146
|
const _c1$4 = a0 => ({ "form-group-error": a0 });
|
|
31120
31147
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
31121
31148
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -31237,7 +31264,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
31237
31264
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
31238
31265
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
31239
31266
|
i0.ɵɵadvance();
|
|
31240
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
31267
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$e, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
|
|
31241
31268
|
} }
|
|
31242
31269
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
31243
31270
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -32477,7 +32504,7 @@ class PaginationComponent {
|
|
|
32477
32504
|
}] }); })();
|
|
32478
32505
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 12 }); })();
|
|
32479
32506
|
|
|
32480
|
-
const _c0$
|
|
32507
|
+
const _c0$d = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
32481
32508
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
32482
32509
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
32483
32510
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -32786,7 +32813,7 @@ class CaseListComponent {
|
|
|
32786
32813
|
i0.ɵɵadvance();
|
|
32787
32814
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
32788
32815
|
i0.ɵɵadvance(2);
|
|
32789
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$
|
|
32816
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$d, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32790
32817
|
i0.ɵɵadvance(2);
|
|
32791
32818
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32792
32819
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
@@ -34248,6 +34275,7 @@ class EventTriggerResolver {
|
|
|
34248
34275
|
const cid = route.parent.paramMap.get(EventTriggerResolver.PARAM_CASE_ID);
|
|
34249
34276
|
// tslint:disable-next-line: prefer-const
|
|
34250
34277
|
let caseTypeId;
|
|
34278
|
+
const jurisdiction = route.parent.paramMap.get('jurisdiction');
|
|
34251
34279
|
const eventTriggerId = route.paramMap.get(EventTriggerResolver.PARAM_EVENT_ID);
|
|
34252
34280
|
let ignoreWarning = route.queryParamMap.get(EventTriggerResolver.IGNORE_WARNING);
|
|
34253
34281
|
if (-1 === EventTriggerResolver.IGNORE_WARNING_VALUES.indexOf(ignoreWarning)) {
|
|
@@ -34269,7 +34297,8 @@ class EventTriggerResolver {
|
|
|
34269
34297
|
this.alertService.setPreserveAlerts(true);
|
|
34270
34298
|
this.alertService.error(error.message);
|
|
34271
34299
|
this.errorNotifier.announceError(error);
|
|
34272
|
-
|
|
34300
|
+
caseTypeId = route.parent.paramMap.get('caseType');
|
|
34301
|
+
this.router.navigate([`/cases/case-details/${jurisdiction}/${caseTypeId}/${cid}/tasks`]);
|
|
34273
34302
|
return throwError(error);
|
|
34274
34303
|
})).toPromise();
|
|
34275
34304
|
}
|
|
@@ -34409,9 +34438,21 @@ class CaseEventTriggerComponent {
|
|
|
34409
34438
|
}
|
|
34410
34439
|
});
|
|
34411
34440
|
}
|
|
34441
|
+
// replace the old link with the new one with jurisdiction and case type id
|
|
34442
|
+
getNavigationUrl(url) {
|
|
34443
|
+
const urlRegex = /\/case-details\/(\d+)/;
|
|
34444
|
+
const match = url.match(urlRegex);
|
|
34445
|
+
if (match && /^\d+$/.test(match[1]) && this.caseDetails?.case_type) {
|
|
34446
|
+
const jurisdiction = this.caseDetails.case_type.jurisdiction.id;
|
|
34447
|
+
const id = this.caseDetails.case_type.id;
|
|
34448
|
+
return url.replace(urlRegex, `/case-details/${jurisdiction}/${id}/${match[1]}`);
|
|
34449
|
+
}
|
|
34450
|
+
return url;
|
|
34451
|
+
}
|
|
34412
34452
|
cancel() {
|
|
34413
|
-
|
|
34453
|
+
let previousUrl = this.routerCurrentNavigation?.previousNavigation?.finalUrl?.toString();
|
|
34414
34454
|
if (previousUrl) {
|
|
34455
|
+
previousUrl = this.getNavigationUrl(previousUrl);
|
|
34415
34456
|
if (previousUrl.indexOf('#') > -1) {
|
|
34416
34457
|
const url = previousUrl.split('#')[0];
|
|
34417
34458
|
const fragment = previousUrl.split('#')[1].replace(/%20/g, ' ');
|
|
@@ -34422,7 +34463,8 @@ class CaseEventTriggerComponent {
|
|
|
34422
34463
|
}
|
|
34423
34464
|
}
|
|
34424
34465
|
else {
|
|
34425
|
-
|
|
34466
|
+
const updatedUrl = this.getNavigationUrl(this.parentUrl);
|
|
34467
|
+
return this.router.navigate([updatedUrl]);
|
|
34426
34468
|
}
|
|
34427
34469
|
}
|
|
34428
34470
|
isDataLoaded() {
|
|
@@ -34866,7 +34908,7 @@ class DialogsModule {
|
|
|
34866
34908
|
SaveOrDiscardDialogComponent,
|
|
34867
34909
|
RemoveDialogComponent] }); })();
|
|
34868
34910
|
|
|
34869
|
-
const _c0$
|
|
34911
|
+
const _c0$c = ["tabGroup"];
|
|
34870
34912
|
const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
|
|
34871
34913
|
function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
34872
34914
|
i0.ɵɵelementStart(0, "div", 12)(1, "h1", 13);
|
|
@@ -35332,7 +35374,7 @@ class CaseFullAccessViewComponent {
|
|
|
35332
35374
|
}
|
|
35333
35375
|
// found tasks or hearing tab
|
|
35334
35376
|
if (foundTab) {
|
|
35335
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35377
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35336
35378
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === foundTab.label);
|
|
35337
35379
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35338
35380
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35347,7 +35389,7 @@ class CaseFullAccessViewComponent {
|
|
|
35347
35389
|
this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
|
|
35348
35390
|
// select the first tab checking if the tab is visible
|
|
35349
35391
|
const preSelectTab = this.findPreSelectedActiveTab();
|
|
35350
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
35392
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
35351
35393
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === preSelectTab.label);
|
|
35352
35394
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35353
35395
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35394,14 +35436,21 @@ class CaseFullAccessViewComponent {
|
|
|
35394
35436
|
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
35395
35437
|
const tab = matTab['_viewContainerRef'];
|
|
35396
35438
|
const id = tab.element.nativeElement.id;
|
|
35397
|
-
// cases/case-details/:caseId/hearings
|
|
35398
|
-
// cases/case-details/:caseId/roles-and-access
|
|
35399
|
-
this.router.navigate([
|
|
35439
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/hearings
|
|
35440
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/roles-and-access
|
|
35441
|
+
this.router.navigate([
|
|
35442
|
+
'cases',
|
|
35443
|
+
'case-details',
|
|
35444
|
+
this.caseDetails.case_type.jurisdiction.id,
|
|
35445
|
+
this.caseDetails.case_type.id,
|
|
35446
|
+
this.caseDetails.case_id,
|
|
35447
|
+
id
|
|
35448
|
+
], { relativeTo: this.route.root });
|
|
35400
35449
|
}
|
|
35401
35450
|
else {
|
|
35402
35451
|
// Routing here is based on tab label, not ideal
|
|
35403
|
-
// cases/case-details/:caseId#tabLabel
|
|
35404
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: tabLabel });
|
|
35452
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId#tabLabel
|
|
35453
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: tabLabel });
|
|
35405
35454
|
}
|
|
35406
35455
|
}
|
|
35407
35456
|
onLinkClicked(triggerOutputEventText) {
|
|
@@ -35504,7 +35553,7 @@ class CaseFullAccessViewComponent {
|
|
|
35504
35553
|
}
|
|
35505
35554
|
static ɵfac = function CaseFullAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i5.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1.RpxTranslatePipe), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
35506
35555
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
35507
|
-
i0.ɵɵviewQuery(_c0$
|
|
35556
|
+
i0.ɵɵviewQuery(_c0$c, 5);
|
|
35508
35557
|
} if (rf & 2) {
|
|
35509
35558
|
let _t;
|
|
35510
35559
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
@@ -35920,15 +35969,19 @@ class EventMessageModule {
|
|
|
35920
35969
|
RouterModule,
|
|
35921
35970
|
ActivityModule, i1.RpxTranslationModule], exports: [ErrorMessageComponent] }); })();
|
|
35922
35971
|
|
|
35923
|
-
const _c0$
|
|
35972
|
+
const _c0$b = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
35924
35973
|
class MultipleTasksExistComponent {
|
|
35925
35974
|
route;
|
|
35926
35975
|
loadingService;
|
|
35927
35976
|
caseId;
|
|
35977
|
+
jurisdiction;
|
|
35978
|
+
caseType;
|
|
35928
35979
|
constructor(route, loadingService) {
|
|
35929
35980
|
this.route = route;
|
|
35930
35981
|
this.loadingService = loadingService;
|
|
35931
35982
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
35983
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
35984
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
35932
35985
|
}
|
|
35933
35986
|
ngOnInit() {
|
|
35934
35987
|
// Check if the loading service has a shared spinner
|
|
@@ -35937,7 +35990,7 @@ class MultipleTasksExistComponent {
|
|
|
35937
35990
|
}
|
|
35938
35991
|
}
|
|
35939
35992
|
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
35940
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars:
|
|
35993
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars: 23, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function MultipleTasksExistComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35941
35994
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35942
35995
|
i0.ɵɵtext(3);
|
|
35943
35996
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -35974,27 +36027,31 @@ class MultipleTasksExistComponent {
|
|
|
35974
36027
|
i0.ɵɵadvance(3);
|
|
35975
36028
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "Return to tasks tab and start the event from there."));
|
|
35976
36029
|
i0.ɵɵadvance(2);
|
|
35977
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36030
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(19, _c0$b, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
35978
36031
|
i0.ɵɵadvance();
|
|
35979
36032
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
35980
36033
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
35981
36034
|
}
|
|
35982
36035
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
|
|
35983
36036
|
type: Component,
|
|
35984
|
-
args: [{ selector: 'app-multiple-tasks-exist', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Multiple tasks exist' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">\n {{'Multiple tasks exist' | rpxTranslate}}\n </h2>\n <p>{{\"You're starting work which could complete more than one of the active tasks for this case.\" | rpxTranslate}}</p>\n <p>{{'Return to tasks tab and start the event from there.' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
36037
|
+
args: [{ selector: 'app-multiple-tasks-exist', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Multiple tasks exist' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">\n {{'Multiple tasks exist' | rpxTranslate}}\n </h2>\n <p>{{\"You're starting work which could complete more than one of the active tasks for this case.\" | rpxTranslate}}</p>\n <p>{{'Return to tasks tab and start the event from there.' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
35985
36038
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LoadingService }], null); })();
|
|
35986
36039
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultipleTasksExistComponent, { className: "MultipleTasksExistComponent", filePath: "lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.ts", lineNumber: 9 }); })();
|
|
35987
36040
|
|
|
35988
|
-
const _c0$
|
|
36041
|
+
const _c0$a = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
35989
36042
|
class NoTasksAvailableComponent {
|
|
35990
36043
|
route;
|
|
35991
36044
|
caseId;
|
|
36045
|
+
jurisdiction;
|
|
36046
|
+
caseType;
|
|
35992
36047
|
constructor(route) {
|
|
35993
36048
|
this.route = route;
|
|
35994
36049
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36050
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36051
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
35995
36052
|
}
|
|
35996
36053
|
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
35997
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars:
|
|
36054
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function NoTasksAvailableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35998
36055
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35999
36056
|
i0.ɵɵtext(3);
|
|
36000
36057
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36025,18 +36082,18 @@ class NoTasksAvailableComponent {
|
|
|
36025
36082
|
i0.ɵɵadvance(3);
|
|
36026
36083
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You should have an assigned task for this event, but something has gone wrong."));
|
|
36027
36084
|
i0.ɵɵadvance(2);
|
|
36028
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36085
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$a, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36029
36086
|
i0.ɵɵadvance();
|
|
36030
36087
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 14, "Return to tasks tab"));
|
|
36031
36088
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36032
36089
|
}
|
|
36033
36090
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoTasksAvailableComponent, [{
|
|
36034
36091
|
type: Component,
|
|
36035
|
-
args: [{ selector: 'app-no-tasks-available', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'No task available' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'No task available' | rpxTranslate}}</h2>\n <p>{{'You should have an assigned task for this event, but something has gone wrong.' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
36092
|
+
args: [{ selector: 'app-no-tasks-available', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'No task available' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'No task available' | rpxTranslate}}</h2>\n <p>{{'You should have an assigned task for this event, but something has gone wrong.' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
36036
36093
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36037
36094
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoTasksAvailableComponent, { className: "NoTasksAvailableComponent", filePath: "lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.ts", lineNumber: 8 }); })();
|
|
36038
36095
|
|
|
36039
|
-
const _c0$
|
|
36096
|
+
const _c0$9 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36040
36097
|
function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
36041
36098
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
36042
36099
|
i0.ɵɵtext(3);
|
|
@@ -36070,7 +36127,7 @@ function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36070
36127
|
i0.ɵɵadvance(3);
|
|
36071
36128
|
i0.ɵɵtextInterpolate3("", i0.ɵɵpipeBind1(17, 14, "This task is assigned to"), " ", ctx_r0.assignedUserName, ". ", i0.ɵɵpipeBind1(18, 16, "You must assign it to yourself to continue."), "");
|
|
36072
36129
|
i0.ɵɵadvance(3);
|
|
36073
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36130
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(20, _c0$9, ctx_r0.jurisdiction, ctx_r0.caseType, ctx_r0.caseId));
|
|
36074
36131
|
i0.ɵɵadvance();
|
|
36075
36132
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 18, "Return to tasks tab"), " ");
|
|
36076
36133
|
} }
|
|
@@ -36080,6 +36137,8 @@ class TaskAssignedComponent {
|
|
|
36080
36137
|
caseworkerService;
|
|
36081
36138
|
task = null;
|
|
36082
36139
|
caseId;
|
|
36140
|
+
jurisdiction;
|
|
36141
|
+
caseType;
|
|
36083
36142
|
assignedUserName;
|
|
36084
36143
|
caseworkerSubscription;
|
|
36085
36144
|
judicialworkerSubscription;
|
|
@@ -36092,6 +36151,8 @@ class TaskAssignedComponent {
|
|
|
36092
36151
|
}
|
|
36093
36152
|
ngOnInit() {
|
|
36094
36153
|
// Current user is a caseworker?
|
|
36154
|
+
this.jurisdiction = this.task.jurisdiction;
|
|
36155
|
+
this.caseType = this.task.case_type_id;
|
|
36095
36156
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(this.task.jurisdiction).subscribe(result => {
|
|
36096
36157
|
if (result && result[0].service === this.task.jurisdiction && result[0].caseworkers) {
|
|
36097
36158
|
const caseworker = result[0].caseworkers.find(x => x.idamId === this.task.assignee);
|
|
@@ -36127,18 +36188,18 @@ class TaskAssignedComponent {
|
|
|
36127
36188
|
}
|
|
36128
36189
|
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
36129
36190
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskAssignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36130
|
-
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22,
|
|
36191
|
+
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 24, "div", 0);
|
|
36131
36192
|
} if (rf & 2) {
|
|
36132
36193
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
36133
36194
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36134
36195
|
}
|
|
36135
36196
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
|
|
36136
36197
|
type: Component,
|
|
36137
|
-
args: [{ selector: 'app-task-assigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">\n {{'Return to tasks tab' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
36198
|
+
args: [{ selector: 'app-task-assigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
36138
36199
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: JudicialworkerService }, { type: CaseworkerService }], null); })();
|
|
36139
36200
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskAssignedComponent, { className: "TaskAssignedComponent", filePath: "lib/shared/components/event-start/components/task-assigned/task-assigned.component.ts", lineNumber: 12 }); })();
|
|
36140
36201
|
|
|
36141
|
-
const _c0$
|
|
36202
|
+
const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36142
36203
|
class TaskCancelledComponent {
|
|
36143
36204
|
caseId;
|
|
36144
36205
|
static ɵfac = function TaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskCancelledComponent)(); };
|
|
@@ -36191,7 +36252,7 @@ class TaskCancelledComponent {
|
|
|
36191
36252
|
i0.ɵɵadvance(4);
|
|
36192
36253
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 21, "Continue"));
|
|
36193
36254
|
i0.ɵɵadvance(2);
|
|
36194
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$
|
|
36255
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$8, ctx.caseId));
|
|
36195
36256
|
i0.ɵɵadvance();
|
|
36196
36257
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
|
|
36197
36258
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36204,7 +36265,7 @@ class TaskCancelledComponent {
|
|
|
36204
36265
|
}] }); })();
|
|
36205
36266
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskCancelledComponent, { className: "TaskCancelledComponent", filePath: "lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.ts", lineNumber: 7 }); })();
|
|
36206
36267
|
|
|
36207
|
-
const _c0$
|
|
36268
|
+
const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36208
36269
|
class TaskConflictComponent {
|
|
36209
36270
|
task;
|
|
36210
36271
|
caseId;
|
|
@@ -36246,7 +36307,7 @@ class TaskConflictComponent {
|
|
|
36246
36307
|
i0.ɵɵadvance(3);
|
|
36247
36308
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "If the problem persists, contact William Priest"));
|
|
36248
36309
|
i0.ɵɵadvance(2);
|
|
36249
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$
|
|
36310
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$7, ctx.caseId));
|
|
36250
36311
|
i0.ɵɵadvance();
|
|
36251
36312
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
36252
36313
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36261,16 +36322,20 @@ class TaskConflictComponent {
|
|
|
36261
36322
|
}] }); })();
|
|
36262
36323
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskConflictComponent, { className: "TaskConflictComponent", filePath: "lib/shared/components/event-start/components/task-conflict/task-conflict.component.ts", lineNumber: 8 }); })();
|
|
36263
36324
|
|
|
36264
|
-
const _c0$
|
|
36325
|
+
const _c0$6 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36265
36326
|
class TaskUnassignedComponent {
|
|
36266
36327
|
route;
|
|
36267
36328
|
caseId;
|
|
36329
|
+
jurisdiction;
|
|
36330
|
+
caseType;
|
|
36268
36331
|
constructor(route) {
|
|
36269
36332
|
this.route = route;
|
|
36270
36333
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36334
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36335
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36271
36336
|
}
|
|
36272
36337
|
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36273
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars:
|
|
36338
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskUnassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36274
36339
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36275
36340
|
i0.ɵɵtext(3);
|
|
36276
36341
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36301,14 +36366,14 @@ class TaskUnassignedComponent {
|
|
|
36301
36366
|
i0.ɵɵadvance(3);
|
|
36302
36367
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You must assign one of the available tasks from the task tab to continue with your work."));
|
|
36303
36368
|
i0.ɵɵadvance(2);
|
|
36304
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36369
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$6, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36305
36370
|
i0.ɵɵadvance();
|
|
36306
36371
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
|
|
36307
36372
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36308
36373
|
}
|
|
36309
36374
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
|
|
36310
36375
|
type: Component,
|
|
36311
|
-
args: [{ selector: 'app-task-unassigned', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">\n {{'Return to tasks tab to assign a task' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
36376
|
+
args: [{ selector: 'app-task-unassigned', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab to assign a task' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
36312
36377
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36313
36378
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskUnassignedComponent, { className: "TaskUnassignedComponent", filePath: "lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.ts", lineNumber: 8 }); })();
|
|
36314
36379
|
|
|
@@ -36417,7 +36482,7 @@ class EventStartGuard {
|
|
|
36417
36482
|
}
|
|
36418
36483
|
else if (tasksAssignedToUser.length > 1 && !taskId) {
|
|
36419
36484
|
// if more than one task assigned to the user then give multiple tasks error
|
|
36420
|
-
this.router.navigate([`/cases/case-details/${caseId}/multiple-tasks-exist`]);
|
|
36485
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/multiple-tasks-exist`]);
|
|
36421
36486
|
return false;
|
|
36422
36487
|
}
|
|
36423
36488
|
else {
|
|
@@ -36450,7 +36515,7 @@ class EventStartGuard {
|
|
|
36450
36515
|
if (this.router && this.router.url && this.router.url.includes('event-start')) {
|
|
36451
36516
|
return of(true);
|
|
36452
36517
|
}
|
|
36453
|
-
this.router.navigate([`/cases/case-details/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36518
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36454
36519
|
return of(false);
|
|
36455
36520
|
}
|
|
36456
36521
|
else {
|
|
@@ -36566,7 +36631,7 @@ class EventStartStateMachineService {
|
|
|
36566
36631
|
// Trigger final state to complete processing of state machine
|
|
36567
36632
|
state.trigger(EventStartStates.FINAL);
|
|
36568
36633
|
// Navigate to no tasks available error page
|
|
36569
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36634
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36570
36635
|
}
|
|
36571
36636
|
entryActionForStateOneOrMoreTasks(state, context) {
|
|
36572
36637
|
state.trigger(EventStartStates.TASK_ASSIGNED_TO_USER);
|
|
@@ -36608,12 +36673,12 @@ class EventStartStateMachineService {
|
|
|
36608
36673
|
let theQueryParams = {};
|
|
36609
36674
|
if (context.tasks[0].assignee) {
|
|
36610
36675
|
// Task is assigned to some other user, navigate to task assigned error page
|
|
36611
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-assigned`;
|
|
36676
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-assigned`;
|
|
36612
36677
|
theQueryParams = context.tasks[0];
|
|
36613
36678
|
}
|
|
36614
36679
|
else {
|
|
36615
36680
|
// Task is unassigned, navigate to task unassigned error page
|
|
36616
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-unassigned`;
|
|
36681
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-unassigned`;
|
|
36617
36682
|
}
|
|
36618
36683
|
// Trigger final state to complete processing of state machine
|
|
36619
36684
|
state.trigger(EventStartStates.FINAL);
|
|
@@ -36660,13 +36725,13 @@ class EventStartStateMachineService {
|
|
|
36660
36725
|
// EXUI-2668 - Only add client context when taskEventCompletionInfo is set - stops auto completing incorrect tasks
|
|
36661
36726
|
context.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(clientContext));
|
|
36662
36727
|
// Allow user to perform the event
|
|
36663
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36728
|
+
context.router.navigate([`/cases/case-details/${task.jurisdiction}/${task.case_type_id}/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36664
36729
|
}
|
|
36665
36730
|
entryActionForStateMultipleTasksAssignedToUser(state, context) {
|
|
36666
36731
|
// Trigger final state to complete processing of state machine
|
|
36667
36732
|
state.trigger(EventStartStates.FINAL);
|
|
36668
36733
|
// Navigate to multiple tasks exist error page
|
|
36669
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36734
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36670
36735
|
}
|
|
36671
36736
|
finalAction(state) {
|
|
36672
36737
|
// Final actions can be performed here, the state machine finished running
|
|
@@ -36845,7 +36910,7 @@ class EventStartModule {
|
|
|
36845
36910
|
TaskAssignedComponent,
|
|
36846
36911
|
TaskUnassignedComponent] }); })();
|
|
36847
36912
|
|
|
36848
|
-
const _c0$
|
|
36913
|
+
const _c0$5 = a0 => ({ "EventTrigger-empty": a0 });
|
|
36849
36914
|
function EventTriggerComponent_form_0_option_6_Template(rf, ctx) { if (rf & 1) {
|
|
36850
36915
|
i0.ɵɵelementStart(0, "option", 8);
|
|
36851
36916
|
i0.ɵɵtext(1);
|
|
@@ -36888,7 +36953,7 @@ function EventTriggerComponent_form_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36888
36953
|
i0.ɵɵadvance(3);
|
|
36889
36954
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, "Next step"));
|
|
36890
36955
|
i0.ɵɵadvance(2);
|
|
36891
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
36956
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$5, !ctx_r1.triggerForm.value["trigger"]))("compareWith", ctx_r1.compareFn);
|
|
36892
36957
|
i0.ɵɵadvance();
|
|
36893
36958
|
i0.ɵɵproperty("ngIf", 1 !== ctx_r1.triggers.length);
|
|
36894
36959
|
i0.ɵɵadvance();
|
|
@@ -37022,7 +37087,7 @@ var ChallengedAccessRequestErrors;
|
|
|
37022
37087
|
ChallengedAccessRequestErrors["NO_REASON"] = "Enter a reason";
|
|
37023
37088
|
})(ChallengedAccessRequestErrors || (ChallengedAccessRequestErrors = {}));
|
|
37024
37089
|
|
|
37025
|
-
const _c0$
|
|
37090
|
+
const _c0$4 = a0 => ({ "form-group-error": a0 });
|
|
37026
37091
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
37027
37092
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
37028
37093
|
function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -37284,7 +37349,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37284
37349
|
i0.ɵɵadvance(2);
|
|
37285
37350
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
37286
37351
|
i0.ɵɵadvance();
|
|
37287
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$
|
|
37352
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
|
|
37288
37353
|
i0.ɵɵadvance(4);
|
|
37289
37354
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 28, ctx.title), " ");
|
|
37290
37355
|
i0.ɵɵadvance(3);
|
|
@@ -37323,17 +37388,22 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37323
37388
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
37324
37389
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessRequestComponent, { className: "CaseChallengedAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.ts", lineNumber: 14 }); })();
|
|
37325
37390
|
|
|
37391
|
+
const _c0$3 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2];
|
|
37326
37392
|
class CaseChallengedAccessSuccessComponent {
|
|
37327
37393
|
route;
|
|
37328
37394
|
caseId;
|
|
37395
|
+
jurisdiction;
|
|
37396
|
+
caseType;
|
|
37329
37397
|
constructor(route) {
|
|
37330
37398
|
this.route = route;
|
|
37331
37399
|
}
|
|
37332
37400
|
ngOnInit() {
|
|
37333
37401
|
this.caseId = this.route.snapshot.params.cid;
|
|
37402
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
37403
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
37334
37404
|
}
|
|
37335
37405
|
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37336
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars:
|
|
37406
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars: 27, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], [3, "routerLink"]], template: function CaseChallengedAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37337
37407
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
37338
37408
|
i0.ɵɵtext(5);
|
|
37339
37409
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
@@ -37382,20 +37452,22 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
37382
37452
|
i0.ɵɵadvance(3);
|
|
37383
37453
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 19, "Your request will be logged for auditing purposes."), " ");
|
|
37384
37454
|
i0.ɵɵadvance(3);
|
|
37385
|
-
i0.ɵɵproperty("routerLink",
|
|
37455
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(23, _c0$3, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
37386
37456
|
i0.ɵɵadvance();
|
|
37387
37457
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 21, "View case file"));
|
|
37388
37458
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37389
37459
|
}
|
|
37390
37460
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessSuccessComponent, [{
|
|
37391
37461
|
type: Component,
|
|
37392
|
-
args: [{ selector: 'ccd-case-challenged-access-success', template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Access successful' | rpxTranslate}}<br><br>\n <div class=\"govuk-panel__body\">\n {{'Case reference:' | rpxTranslate}}<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'You can access this case file until midnight tonight.' | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"You'll need to request access again once this expires.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"Your request will be logged for auditing purposes.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\"><a [routerLink]=\"'/cases
|
|
37462
|
+
args: [{ selector: 'ccd-case-challenged-access-success', template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Access successful' | rpxTranslate}}<br><br>\n <div class=\"govuk-panel__body\">\n {{'Case reference:' | rpxTranslate}}<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'You can access this case file until midnight tonight.' | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"You'll need to request access again once this expires.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"Your request will be logged for auditing purposes.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\"><a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId]\">{{\"View case file\" | rpxTranslate}}</a>.</p>\n </div>\n </div>\n</div>\n" }]
|
|
37393
37463
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37394
37464
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessSuccessComponent, { className: "CaseChallengedAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.ts", lineNumber: 8 }); })();
|
|
37395
37465
|
|
|
37396
37466
|
class CaseReviewSpecificAccessRejectComponent {
|
|
37397
37467
|
route;
|
|
37398
37468
|
caseId;
|
|
37469
|
+
jurisdiction;
|
|
37470
|
+
caseType;
|
|
37399
37471
|
retunToTask = 'Return to the Tasks tab for this case';
|
|
37400
37472
|
returnToMyTask = 'Return to My tasks';
|
|
37401
37473
|
constructor(route) {
|
|
@@ -37403,9 +37475,11 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37403
37475
|
}
|
|
37404
37476
|
ngOnInit() {
|
|
37405
37477
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
37478
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
37479
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
37406
37480
|
}
|
|
37407
37481
|
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37408
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars:
|
|
37482
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars: 19, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-heading-m"], [1, "govuk-body"], [1, "form-group", "form-group-related"], ["button", "", "href", "tasks/list", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "cancel"], [3, "href"]], template: function CaseReviewSpecificAccessRejectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37409
37483
|
i0.ɵɵelement(0, "p");
|
|
37410
37484
|
i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
|
|
37411
37485
|
i0.ɵɵtext(6);
|
|
@@ -37430,22 +37504,22 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37430
37504
|
i0.ɵɵelementEnd()()();
|
|
37431
37505
|
} if (rf & 2) {
|
|
37432
37506
|
i0.ɵɵadvance(6);
|
|
37433
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7,
|
|
37507
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "Request for access denied"), "");
|
|
37434
37508
|
i0.ɵɵadvance(4);
|
|
37435
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
37509
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 11, "What happens next"));
|
|
37436
37510
|
i0.ɵɵadvance(3);
|
|
37437
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14,
|
|
37511
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "The requester has been denied access to this case."), " ");
|
|
37438
37512
|
i0.ɵɵadvance(5);
|
|
37439
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
37513
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 15, ctx.returnToMyTask));
|
|
37440
37514
|
i0.ɵɵadvance(3);
|
|
37441
|
-
i0.ɵɵ
|
|
37515
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", ctx.jurisdiction, "/", ctx.caseType, "/", ctx.caseId, "", i0.ɵɵsanitizeUrl);
|
|
37442
37516
|
i0.ɵɵadvance();
|
|
37443
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23,
|
|
37517
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, ctx.retunToTask));
|
|
37444
37518
|
} }, dependencies: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37445
37519
|
}
|
|
37446
37520
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRejectComponent, [{
|
|
37447
37521
|
type: Component,
|
|
37448
|
-
args: [{ selector: 'case-review-specific-access-reject', template: "<p></p>\n<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Request for access denied' | rpxTranslate}}<br>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'The requester has been denied access to this case.' | rpxTranslate}}\n </p>\n </div>\n </div>\n <div class=\"form-group form-group-related\">\n <p>\n <a button class=\"govuk-button govuk-!-margin-right-3\" href=\"tasks/list\" >{{returnToMyTask | rpxTranslate}}</a>\n </p>\n </div>\n <p class=\"cancel\"><a href=\"cases/case-details/{{caseId}}\" >{{retunToTask | rpxTranslate}}</a></p>\n</div>\n" }]
|
|
37522
|
+
args: [{ selector: 'case-review-specific-access-reject', template: "<p></p>\n<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Request for access denied' | rpxTranslate}}<br>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'The requester has been denied access to this case.' | rpxTranslate}}\n </p>\n </div>\n </div>\n <div class=\"form-group form-group-related\">\n <p>\n <a button class=\"govuk-button govuk-!-margin-right-3\" href=\"tasks/list\" >{{returnToMyTask | rpxTranslate}}</a>\n </p>\n </div>\n <p class=\"cancel\"><a href=\"cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\" >{{retunToTask | rpxTranslate}}</a></p>\n</div>\n" }]
|
|
37449
37523
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37450
37524
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRejectComponent, { className: "CaseReviewSpecificAccessRejectComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.ts", lineNumber: 8 }); })();
|
|
37451
37525
|
|