@hmcts/ccd-case-ui-toolkit 7.2.20--extra-text → 7.2.20-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/document/write-document-field.component.mjs +11 -11
- 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/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 +7 -6
- 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 +58 -64
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +13 -19
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +371 -319
- 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,20 +15108,20 @@ 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
|
-
i0.ɵɵelementStart(0, "span", 12)
|
|
15107
|
-
i0.ɵɵ
|
|
15108
|
-
i0.ɵɵpipe(
|
|
15109
|
-
i0.ɵɵelementEnd()
|
|
15114
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
15115
|
+
i0.ɵɵelement(1, "markdown", 13);
|
|
15116
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
15117
|
+
i0.ɵɵelementEnd();
|
|
15110
15118
|
} if (rf & 2) {
|
|
15111
15119
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
15112
|
-
i0.ɵɵadvance(
|
|
15113
|
-
i0.ɵɵ
|
|
15120
|
+
i0.ɵɵadvance();
|
|
15121
|
+
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
|
|
15114
15122
|
} }
|
|
15115
15123
|
function WriteDocumentFieldComponent_ccd_read_document_field_11_Template(rf, ctx) { if (rf & 1) {
|
|
15116
|
-
i0.ɵɵelement(0, "ccd-read-document-field",
|
|
15124
|
+
i0.ɵɵelement(0, "ccd-read-document-field", 14);
|
|
15117
15125
|
} if (rf & 2) {
|
|
15118
15126
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
15119
15127
|
i0.ɵɵproperty("caseField", ctx_r1.caseField);
|
|
@@ -15457,18 +15465,18 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15457
15465
|
}
|
|
15458
15466
|
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)); };
|
|
15459
15467
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15460
|
-
i0.ɵɵviewQuery(_c0$
|
|
15468
|
+
i0.ɵɵviewQuery(_c0$S, 5);
|
|
15461
15469
|
} if (rf & 2) {
|
|
15462
15470
|
let _t;
|
|
15463
15471
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
15464
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 23, consts: [["fileInput", ""], [1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["role", "alert", "tabindex", "0", 1, "error-message", 3, "hidden"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "click", "keyup", "id"], ["type", "file", 1, "form-control", "bottom-30", 3, "keydown.Tab", "change", "id", "accept"], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "click", "disabled"], [1, "form-hint"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15472
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 23, consts: [["fileInput", ""], [1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["role", "alert", "tabindex", "0", 1, "error-message", 3, "hidden"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "click", "keyup", "id"], ["type", "file", 1, "form-control", "bottom-30", 3, "keydown.Tab", "change", "id", "accept"], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "click", "disabled"], [1, "form-hint"], [3, "data"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15465
15473
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
15466
15474
|
i0.ɵɵelementStart(0, "div", 1)(1, "label", 2)(2, "span", 3);
|
|
15467
15475
|
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
15468
15476
|
i0.ɵɵtext(4);
|
|
15469
15477
|
i0.ɵɵpipe(5, "ccdFieldLabel");
|
|
15470
15478
|
i0.ɵɵelementEnd()();
|
|
15471
|
-
i0.ɵɵtemplate(6, WriteDocumentFieldComponent_span_6_Template,
|
|
15479
|
+
i0.ɵɵtemplate(6, WriteDocumentFieldComponent_span_6_Template, 3, 3, "span", 4);
|
|
15472
15480
|
i0.ɵɵelementStart(7, "span", 5);
|
|
15473
15481
|
i0.ɵɵtext(8);
|
|
15474
15482
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
@@ -15516,7 +15524,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15516
15524
|
}
|
|
15517
15525
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDocumentFieldComponent, [{
|
|
15518
15526
|
type: Component,
|
|
15519
|
-
args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n <markdown
|
|
15527
|
+
args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n <markdown [data]=\"caseField.hint_text | rpxTranslate\"></markdown>\n </span>\n <span class=\"error-message\"\n role=\"alert\"\n tabindex=\"0\"\n [hidden]=\"!(fileUploadMessages && !valid)\">\n {{ fileUploadMessages | rpxTranslate }}\n </span>\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style='position:relative'>\n <div [id]=\"createElementId('fileInputWrapper')\" (click)=\"fileSelectEvent()\" (keyup)=\"fileSelectEvent()\"></div>\n <input class=\"form-control bottom-30\" [id]=\"id()\" type=\"file\" (keydown.Tab)=\"fileValidationsOnTab()\" (change)=\"fileChangeEvent($event, caseField.field_type.regular_expression)\"\n accept=\"{{caseField.field_type.regular_expression}}\" #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button class=\"button button-secondary\" type=\"button\" aria-label=\"Cancel upload\" (click)=\"cancelUpload()\" [disabled]=\"!isUploadInProgress()\">{{'Cancel upload' | rpxTranslate}}</button>\n</div>\n" }]
|
|
15520
15528
|
}], () => [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }], { fileInput: [{
|
|
15521
15529
|
type: ViewChild,
|
|
15522
15530
|
args: ['fileInput', { static: false }]
|
|
@@ -15571,7 +15579,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
15571
15579
|
}], null, null); })();
|
|
15572
15580
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 8 }); })();
|
|
15573
15581
|
|
|
15574
|
-
const _c0$
|
|
15582
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
15575
15583
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
15576
15584
|
i0.ɵɵelementStart(0, "span", 8);
|
|
15577
15585
|
i0.ɵɵtext(1);
|
|
@@ -15659,7 +15667,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15659
15667
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
15660
15668
|
i0.ɵɵelementEnd()();
|
|
15661
15669
|
} if (rf & 2) {
|
|
15662
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
15670
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15663
15671
|
i0.ɵɵadvance();
|
|
15664
15672
|
i0.ɵɵproperty("for", ctx.id());
|
|
15665
15673
|
i0.ɵɵadvance();
|
|
@@ -15837,7 +15845,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
15837
15845
|
}], null, null); })();
|
|
15838
15846
|
(() => { (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 }); })();
|
|
15839
15847
|
|
|
15840
|
-
const _c0$
|
|
15848
|
+
const _c0$Q = a0 => ({ "error": a0 });
|
|
15841
15849
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
15842
15850
|
i0.ɵɵelementStart(0, "span", 5);
|
|
15843
15851
|
i0.ɵɵtext(1);
|
|
@@ -15958,7 +15966,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
15958
15966
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 7, "ng-container", 4);
|
|
15959
15967
|
i0.ɵɵelementEnd()();
|
|
15960
15968
|
} if (rf & 2) {
|
|
15961
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
15969
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15962
15970
|
i0.ɵɵadvance(3);
|
|
15963
15971
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15964
15972
|
i0.ɵɵadvance();
|
|
@@ -16036,7 +16044,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16036
16044
|
}], null, null); })();
|
|
16037
16045
|
(() => { (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 }); })();
|
|
16038
16046
|
|
|
16039
|
-
const _c0$
|
|
16047
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
16040
16048
|
const _c1$k = a0 => ({ selected: a0 });
|
|
16041
16049
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16042
16050
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -16131,7 +16139,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16131
16139
|
i0.ɵɵelementContainerEnd();
|
|
16132
16140
|
i0.ɵɵelementEnd()();
|
|
16133
16141
|
} if (rf & 2) {
|
|
16134
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16142
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
16135
16143
|
i0.ɵɵadvance(3);
|
|
16136
16144
|
i0.ɵɵproperty("for", ctx.id());
|
|
16137
16145
|
i0.ɵɵadvance();
|
|
@@ -16184,7 +16192,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
16184
16192
|
}], null, null); })();
|
|
16185
16193
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 10 }); })();
|
|
16186
16194
|
|
|
16187
|
-
const _c0$
|
|
16195
|
+
const _c0$O = a0 => ({ "form-group-error": a0 });
|
|
16188
16196
|
const _c1$j = a0 => ({ "govuk-input--error": a0 });
|
|
16189
16197
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16190
16198
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16230,7 +16238,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16230
16238
|
i0.ɵɵelement(5, "input", 5);
|
|
16231
16239
|
i0.ɵɵelementEnd();
|
|
16232
16240
|
} if (rf & 2) {
|
|
16233
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16241
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
16234
16242
|
i0.ɵɵadvance();
|
|
16235
16243
|
i0.ɵɵproperty("for", ctx.id());
|
|
16236
16244
|
i0.ɵɵadvance();
|
|
@@ -16271,7 +16279,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16271
16279
|
}], null, null); })();
|
|
16272
16280
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 8 }); })();
|
|
16273
16281
|
|
|
16274
|
-
const _c0$
|
|
16282
|
+
const _c0$N = a0 => ({ "form-group-error": a0 });
|
|
16275
16283
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16276
16284
|
i0.ɵɵelementStart(0, "span", 8);
|
|
16277
16285
|
i0.ɵɵtext(1);
|
|
@@ -16346,7 +16354,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16346
16354
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
16347
16355
|
i0.ɵɵelementEnd()();
|
|
16348
16356
|
} if (rf & 2) {
|
|
16349
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
16357
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
16350
16358
|
i0.ɵɵadvance();
|
|
16351
16359
|
i0.ɵɵproperty("for", ctx.id());
|
|
16352
16360
|
i0.ɵɵadvance();
|
|
@@ -16407,7 +16415,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16407
16415
|
}], null, null); })();
|
|
16408
16416
|
(() => { (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 }); })();
|
|
16409
16417
|
|
|
16410
|
-
const _c0$
|
|
16418
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
16411
16419
|
const _c1$i = a0 => ({ selected: a0 });
|
|
16412
16420
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16413
16421
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16475,7 +16483,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16475
16483
|
i0.ɵɵelementContainerEnd();
|
|
16476
16484
|
i0.ɵɵelementEnd()();
|
|
16477
16485
|
} if (rf & 2) {
|
|
16478
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
16486
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
16479
16487
|
i0.ɵɵadvance(3);
|
|
16480
16488
|
i0.ɵɵproperty("for", ctx.id());
|
|
16481
16489
|
i0.ɵɵadvance();
|
|
@@ -16551,7 +16559,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
16551
16559
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
16552
16560
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 11 }); })();
|
|
16553
16561
|
|
|
16554
|
-
const _c0$
|
|
16562
|
+
const _c0$L = a0 => ({ "form-group-error": a0 });
|
|
16555
16563
|
const _c1$h = a0 => ({ "hide-autocomplete": a0 });
|
|
16556
16564
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16557
16565
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -16771,7 +16779,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
16771
16779
|
i0.ɵɵelementEnd()();
|
|
16772
16780
|
} if (rf & 2) {
|
|
16773
16781
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
16774
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
16782
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
|
|
16775
16783
|
i0.ɵɵadvance();
|
|
16776
16784
|
i0.ɵɵproperty("for", ctx.id());
|
|
16777
16785
|
i0.ɵɵadvance();
|
|
@@ -16984,7 +16992,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
16984
16992
|
}
|
|
16985
16993
|
}
|
|
16986
16994
|
onBack() {
|
|
16987
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
16995
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
16988
16996
|
}
|
|
16989
16997
|
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
16990
16998
|
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) {
|
|
@@ -17236,7 +17244,7 @@ class ValidatorsUtils {
|
|
|
17236
17244
|
args: [{ providedIn: 'root' }]
|
|
17237
17245
|
}], null, null); })();
|
|
17238
17246
|
|
|
17239
|
-
const _c0$
|
|
17247
|
+
const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
|
|
17240
17248
|
const _c1$g = a0 => ({ "table-group-error": a0 });
|
|
17241
17249
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
17242
17250
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
@@ -17304,7 +17312,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
17304
17312
|
i0.ɵɵelementEnd()();
|
|
17305
17313
|
} if (rf & 2) {
|
|
17306
17314
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
17307
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
17315
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
|
|
17308
17316
|
i0.ɵɵadvance(3);
|
|
17309
17317
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
17310
17318
|
} }
|
|
@@ -17348,11 +17356,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17348
17356
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
17349
17357
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
17350
17358
|
i0.ɵɵadvance();
|
|
17351
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17359
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
|
|
17352
17360
|
i0.ɵɵadvance(3);
|
|
17353
17361
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
17354
17362
|
i0.ɵɵadvance(2);
|
|
17355
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
17363
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
|
|
17356
17364
|
i0.ɵɵadvance(5);
|
|
17357
17365
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
17358
17366
|
i0.ɵɵadvance(2);
|
|
@@ -17780,7 +17788,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
17780
17788
|
i0.ɵɵadvance(4);
|
|
17781
17789
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17782
17790
|
i0.ɵɵadvance(4);
|
|
17783
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
17791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
|
|
17784
17792
|
i0.ɵɵadvance();
|
|
17785
17793
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17786
17794
|
i0.ɵɵadvance(18);
|
|
@@ -17815,7 +17823,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Te
|
|
|
17815
17823
|
} if (rf & 2) {
|
|
17816
17824
|
const case_r3 = i0.ɵɵnextContext(3).$implicit;
|
|
17817
17825
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
17818
|
-
i0.ɵɵ
|
|
17826
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17819
17827
|
i0.ɵɵadvance();
|
|
17820
17828
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseReferenceLink(case_r3.caseReference));
|
|
17821
17829
|
} }
|
|
@@ -17827,7 +17835,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Templa
|
|
|
17827
17835
|
i0.ɵɵtext(1);
|
|
17828
17836
|
i0.ɵɵpipe(2, "ccdLinkCasesFromReasonValue");
|
|
17829
17837
|
i0.ɵɵelementStart(3, "span");
|
|
17830
|
-
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2,
|
|
17838
|
+
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2, 5, "a", 18);
|
|
17831
17839
|
i0.ɵɵelementEnd();
|
|
17832
17840
|
i0.ɵɵtemplate(5, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template, 1, 0, "br", 19);
|
|
17833
17841
|
i0.ɵɵelementEnd();
|
|
@@ -17872,11 +17880,11 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) {
|
|
|
17872
17880
|
} if (rf & 2) {
|
|
17873
17881
|
const case_r3 = ctx.$implicit;
|
|
17874
17882
|
i0.ɵɵadvance(3);
|
|
17875
|
-
i0.ɵɵ
|
|
17883
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17876
17884
|
i0.ɵɵadvance(2);
|
|
17877
17885
|
i0.ɵɵtextInterpolate1("", case_r3.caseNameHmctsInternal, " ");
|
|
17878
17886
|
i0.ɵɵadvance(2);
|
|
17879
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
17887
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r3.caseReference), "");
|
|
17880
17888
|
i0.ɵɵadvance(3);
|
|
17881
17889
|
i0.ɵɵproperty("title", case_r3.ccdCaseTypeDescription);
|
|
17882
17890
|
i0.ɵɵadvance();
|
|
@@ -17897,7 +17905,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template(rf, ctx) {
|
|
|
17897
17905
|
} }
|
|
17898
17906
|
function LinkedCasesFromTableComponent_table_1_tbody_13_Template(rf, ctx) { if (rf & 1) {
|
|
17899
17907
|
i0.ɵɵelementStart(0, "tbody", 8);
|
|
17900
|
-
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19,
|
|
17908
|
+
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);
|
|
17901
17909
|
i0.ɵɵelementEnd();
|
|
17902
17910
|
} if (rf & 2) {
|
|
17903
17911
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -18025,7 +18033,7 @@ class LinkedCasesFromTableComponent {
|
|
|
18025
18033
|
}
|
|
18026
18034
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
18027
18035
|
type: Component,
|
|
18028
|
-
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"] }]
|
|
18036
|
+
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"] }]
|
|
18029
18037
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
18030
18038
|
type: Input
|
|
18031
18039
|
}], notifyAPIFailure: [{
|
|
@@ -18040,7 +18048,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template(rf,
|
|
|
18040
18048
|
} if (rf & 2) {
|
|
18041
18049
|
const case_r1 = i0.ɵɵnextContext(3).$implicit;
|
|
18042
18050
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18043
|
-
i0.ɵɵ
|
|
18051
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18044
18052
|
i0.ɵɵadvance();
|
|
18045
18053
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseRefereneLink(case_r1.caseReference));
|
|
18046
18054
|
} }
|
|
@@ -18052,7 +18060,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_Template(rf, ctx
|
|
|
18052
18060
|
i0.ɵɵtext(1);
|
|
18053
18061
|
i0.ɵɵpipe(2, "ccdLinkCasesReasonValue");
|
|
18054
18062
|
i0.ɵɵelementStart(3, "span");
|
|
18055
|
-
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2,
|
|
18063
|
+
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2, 5, "a", 15);
|
|
18056
18064
|
i0.ɵɵelementEnd();
|
|
18057
18065
|
i0.ɵɵtemplate(5, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_br_5_Template, 1, 0, "br", 13);
|
|
18058
18066
|
i0.ɵɵelementEnd();
|
|
@@ -18097,11 +18105,11 @@ function LinkedCasesToTableComponent_table_2_tr_14_Template(rf, ctx) { if (rf &
|
|
|
18097
18105
|
} if (rf & 2) {
|
|
18098
18106
|
const case_r1 = ctx.$implicit;
|
|
18099
18107
|
i0.ɵɵadvance(3);
|
|
18100
|
-
i0.ɵɵ
|
|
18108
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18101
18109
|
i0.ɵɵadvance(2);
|
|
18102
18110
|
i0.ɵɵtextInterpolate1("", case_r1.caseName, " ");
|
|
18103
18111
|
i0.ɵɵadvance(2);
|
|
18104
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
18112
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r1.caseReference), "");
|
|
18105
18113
|
i0.ɵɵadvance(3);
|
|
18106
18114
|
i0.ɵɵproperty("title", case_r1.caseTypeDescription);
|
|
18107
18115
|
i0.ɵɵadvance();
|
|
@@ -18137,7 +18145,7 @@ function LinkedCasesToTableComponent_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
18137
18145
|
i0.ɵɵtext(12, "Reasons for case link");
|
|
18138
18146
|
i0.ɵɵelementEnd()()();
|
|
18139
18147
|
i0.ɵɵelementStart(13, "tbody", 6);
|
|
18140
|
-
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19,
|
|
18148
|
+
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19, 14, "tr", 7)(15, LinkedCasesToTableComponent_table_2_tr_15_Template, 3, 0, "tr", 8);
|
|
18141
18149
|
i0.ɵɵelementEnd()();
|
|
18142
18150
|
} if (rf & 2) {
|
|
18143
18151
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -18302,7 +18310,7 @@ class LinkedCasesToTableComponent {
|
|
|
18302
18310
|
}
|
|
18303
18311
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesToTableComponent, [{
|
|
18304
18312
|
type: Component,
|
|
18305
|
-
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
|
|
18313
|
+
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"] }]
|
|
18306
18314
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LinkedCasesService }, { type: CasesService }], { caseField: [{
|
|
18307
18315
|
type: Input
|
|
18308
18316
|
}], notifyAPIFailure: [{
|
|
@@ -18344,7 +18352,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18344
18352
|
this.serverLinkedApiError = this.linkedCasesService.serverLinkedApiError;
|
|
18345
18353
|
}
|
|
18346
18354
|
onBack() {
|
|
18347
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18355
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18348
18356
|
}
|
|
18349
18357
|
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18350
18358
|
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) {
|
|
@@ -18373,7 +18381,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18373
18381
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
18374
18382
|
(() => { (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 }); })();
|
|
18375
18383
|
|
|
18376
|
-
const _c0$
|
|
18384
|
+
const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
|
|
18377
18385
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
18378
18386
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
18379
18387
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -18412,7 +18420,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18412
18420
|
i0.ɵɵelementEnd()();
|
|
18413
18421
|
} if (rf & 2) {
|
|
18414
18422
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
18415
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
18423
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
18416
18424
|
i0.ɵɵadvance();
|
|
18417
18425
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
18418
18426
|
i0.ɵɵadvance(2);
|
|
@@ -18786,7 +18794,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18786
18794
|
};
|
|
18787
18795
|
}
|
|
18788
18796
|
ngAfterViewInit() {
|
|
18789
|
-
this.linkedCasesService.caseFieldValue = this.caseField?.value
|
|
18797
|
+
this.linkedCasesService.caseFieldValue = this.caseField?.value ?? [];
|
|
18790
18798
|
let labelField = document.getElementsByClassName('govuk-heading-l');
|
|
18791
18799
|
if (labelField && labelField.length) {
|
|
18792
18800
|
labelField[0].replaceWith('');
|
|
@@ -18801,7 +18809,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18801
18809
|
}
|
|
18802
18810
|
}
|
|
18803
18811
|
reloadCurrentRoute() {
|
|
18804
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18812
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18805
18813
|
}
|
|
18806
18814
|
getFailureLinkedToNotification(evt) {
|
|
18807
18815
|
this.isServerLinkedToError = true;
|
|
@@ -19341,7 +19349,7 @@ class MoneyGbpInputComponent {
|
|
|
19341
19349
|
}] }); })();
|
|
19342
19350
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 27 }); })();
|
|
19343
19351
|
|
|
19344
|
-
const _c0$
|
|
19352
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
19345
19353
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19346
19354
|
i0.ɵɵelementStart(0, "span", 8);
|
|
19347
19355
|
i0.ɵɵtext(1);
|
|
@@ -19390,7 +19398,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19390
19398
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
19391
19399
|
i0.ɵɵelementEnd()();
|
|
19392
19400
|
} if (rf & 2) {
|
|
19393
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19401
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19394
19402
|
i0.ɵɵadvance();
|
|
19395
19403
|
i0.ɵɵproperty("for", ctx.id());
|
|
19396
19404
|
i0.ɵɵadvance();
|
|
@@ -19449,7 +19457,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
19449
19457
|
}], null, null); })();
|
|
19450
19458
|
(() => { (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 }); })();
|
|
19451
19459
|
|
|
19452
|
-
const _c0$
|
|
19460
|
+
const _c0$H = a0 => ({ "error": a0 });
|
|
19453
19461
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
19454
19462
|
i0.ɵɵelementStart(0, "span", 5);
|
|
19455
19463
|
i0.ɵɵtext(1);
|
|
@@ -19550,7 +19558,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19550
19558
|
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);
|
|
19551
19559
|
i0.ɵɵelementEnd()();
|
|
19552
19560
|
} if (rf & 2) {
|
|
19553
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
19561
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19554
19562
|
i0.ɵɵadvance(3);
|
|
19555
19563
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19556
19564
|
i0.ɵɵadvance();
|
|
@@ -19588,7 +19596,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
19588
19596
|
}], null, null); })();
|
|
19589
19597
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 8 }); })();
|
|
19590
19598
|
|
|
19591
|
-
const _c0$
|
|
19599
|
+
const _c0$G = a0 => ({ "form-group-error": a0 });
|
|
19592
19600
|
const _c1$f = a0 => ({ "govuk-input--error": a0 });
|
|
19593
19601
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19594
19602
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -19634,7 +19642,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19634
19642
|
i0.ɵɵelement(5, "input", 5);
|
|
19635
19643
|
i0.ɵɵelementEnd();
|
|
19636
19644
|
} if (rf & 2) {
|
|
19637
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19645
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19638
19646
|
i0.ɵɵadvance();
|
|
19639
19647
|
i0.ɵɵproperty("for", ctx.id());
|
|
19640
19648
|
i0.ɵɵadvance();
|
|
@@ -19813,7 +19821,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
19813
19821
|
}] }); })();
|
|
19814
19822
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 10 }); })();
|
|
19815
19823
|
|
|
19816
|
-
const _c0$
|
|
19824
|
+
const _c0$F = a0 => ({ "scroll-container ": a0 });
|
|
19817
19825
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
19818
19826
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
19819
19827
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -19892,7 +19900,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
19892
19900
|
let tmp_3_0;
|
|
19893
19901
|
let tmp_5_0;
|
|
19894
19902
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
19895
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19903
|
+
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));
|
|
19896
19904
|
i0.ɵɵadvance(2);
|
|
19897
19905
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19898
19906
|
i0.ɵɵadvance(2);
|
|
@@ -20271,7 +20279,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
20271
20279
|
}], null, null); })();
|
|
20272
20280
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 8 }); })();
|
|
20273
20281
|
|
|
20274
|
-
const _c0$
|
|
20282
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
20275
20283
|
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
20276
20284
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
20277
20285
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -20317,7 +20325,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20317
20325
|
i0.ɵɵelement(5, "input", 5);
|
|
20318
20326
|
i0.ɵɵelementEnd();
|
|
20319
20327
|
} if (rf & 2) {
|
|
20320
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20328
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20321
20329
|
i0.ɵɵadvance();
|
|
20322
20330
|
i0.ɵɵproperty("for", ctx.id());
|
|
20323
20331
|
i0.ɵɵadvance();
|
|
@@ -20724,6 +20732,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20724
20732
|
questionSelected = new EventEmitter();
|
|
20725
20733
|
qualifyingQuestionsErrorMessage = QualifyingQuestionsErrorMessage;
|
|
20726
20734
|
caseId;
|
|
20735
|
+
jurisdiction;
|
|
20736
|
+
caseType;
|
|
20727
20737
|
constructor(route, router, qualifyingQuestionService) {
|
|
20728
20738
|
this.route = route;
|
|
20729
20739
|
this.router = router;
|
|
@@ -20731,6 +20741,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20731
20741
|
}
|
|
20732
20742
|
ngOnInit() {
|
|
20733
20743
|
this.caseId = this.route.snapshot.params.cid;
|
|
20744
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
20745
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
20734
20746
|
// Check if there's already a selected qualifying question from the service
|
|
20735
20747
|
const savedSelection = this.qualifyingQuestionService.getQualifyingQuestionSelection();
|
|
20736
20748
|
if (savedSelection) {
|
|
@@ -20738,7 +20750,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20738
20750
|
}
|
|
20739
20751
|
}
|
|
20740
20752
|
click() {
|
|
20741
|
-
this.router.navigate(['cases', 'case-details', this.caseId], { fragment: 'Queries' });
|
|
20753
|
+
this.router.navigate(['cases', 'case-details', this.jurisdiction, this.caseType, this.caseId], { fragment: 'Queries' });
|
|
20742
20754
|
}
|
|
20743
20755
|
get displayError() {
|
|
20744
20756
|
return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
|
|
@@ -20852,11 +20864,11 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
20852
20864
|
caseFields;
|
|
20853
20865
|
ngOnInit() {
|
|
20854
20866
|
this.caseTitle = new CaseField();
|
|
20855
|
-
this.caseTitle.label = this.caseDetails
|
|
20867
|
+
this.caseTitle.label = this.caseDetails.state.title_display;
|
|
20856
20868
|
this.caseFields = this.getCaseFieldsInfo();
|
|
20857
20869
|
}
|
|
20858
20870
|
getCaseFieldsInfo() {
|
|
20859
|
-
const caseDataFields = this.caseDetails
|
|
20871
|
+
const caseDataFields = this.caseDetails.tabs.reduce((acc, tab) => {
|
|
20860
20872
|
return acc.concat(tab.fields);
|
|
20861
20873
|
}, []);
|
|
20862
20874
|
return caseDataFields.concat(this.caseDetails.metadataFields);
|
|
@@ -21331,14 +21343,15 @@ function QueryCheckYourAnswersComponent_div_0_dl_26_Template(rf, ctx) { if (rf &
|
|
|
21331
21343
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
21332
21344
|
i0.ɵɵelementEnd()()()();
|
|
21333
21345
|
} if (rf & 2) {
|
|
21346
|
+
let tmp_3_0;
|
|
21334
21347
|
let tmp_4_0;
|
|
21335
21348
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21336
21349
|
i0.ɵɵadvance(3);
|
|
21337
|
-
i0.ɵɵ
|
|
21350
|
+
i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(4, 4, "Closing the query"), " ", (tmp_3_0 = ctx_r2.formGroup.get("closeQuery")) == null ? null : tmp_3_0.value, " ");
|
|
21338
21351
|
i0.ɵɵadvance(3);
|
|
21339
|
-
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,
|
|
21352
|
+
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, 6, "No answer"), " ");
|
|
21340
21353
|
i0.ɵɵadvance(4);
|
|
21341
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11,
|
|
21354
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 8, "Change"), " ");
|
|
21342
21355
|
} }
|
|
21343
21356
|
function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
21344
21357
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -21365,7 +21378,7 @@ function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21365
21378
|
i0.ɵɵtext(22);
|
|
21366
21379
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
21367
21380
|
i0.ɵɵelementEnd()()()();
|
|
21368
|
-
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,
|
|
21381
|
+
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, 10, "dl", 13);
|
|
21369
21382
|
i0.ɵɵelement(27, "br");
|
|
21370
21383
|
i0.ɵɵelementStart(28, "div")(29, "button", 20);
|
|
21371
21384
|
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()); });
|
|
@@ -21776,7 +21789,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21776
21789
|
}
|
|
21777
21790
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21778
21791
|
type: Component,
|
|
21779
|
-
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"] }]
|
|
21792
|
+
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 }} {{formGroup.get('closeQuery')?.value }}\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"] }]
|
|
21780
21793
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21781
21794
|
type: Input
|
|
21782
21795
|
}], queryItem: [{
|
|
@@ -22561,15 +22574,9 @@ class QueryWriteDateInputComponent {
|
|
|
22561
22574
|
}] }); })();
|
|
22562
22575
|
(() => { (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 }); })();
|
|
22563
22576
|
|
|
22564
|
-
const _c0$
|
|
22565
|
-
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
22566
|
-
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
22567
|
-
} if (rf & 2) {
|
|
22568
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
22569
|
-
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails);
|
|
22570
|
-
} }
|
|
22577
|
+
const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
|
|
22571
22578
|
function QueryWriteRaiseQueryComponent_div_11_p_19_Template(rf, ctx) { if (rf & 1) {
|
|
22572
|
-
i0.ɵɵelementStart(0, "p",
|
|
22579
|
+
i0.ɵɵelementStart(0, "p", 32)(1, "span", 10);
|
|
22573
22580
|
i0.ɵɵtext(2);
|
|
22574
22581
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22575
22582
|
i0.ɵɵelementEnd();
|
|
@@ -22577,14 +22584,14 @@ function QueryWriteRaiseQueryComponent_div_11_p_19_Template(rf, ctx) { if (rf &
|
|
|
22577
22584
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22578
22585
|
i0.ɵɵelementEnd();
|
|
22579
22586
|
} if (rf & 2) {
|
|
22580
|
-
const
|
|
22587
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
22581
22588
|
i0.ɵɵadvance(2);
|
|
22582
22589
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
|
|
22583
22590
|
i0.ɵɵadvance(2);
|
|
22584
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4,
|
|
22591
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r1.getSubjectErrorMessage()), " ");
|
|
22585
22592
|
} }
|
|
22586
22593
|
function QueryWriteRaiseQueryComponent_div_11_p_29_Template(rf, ctx) { if (rf & 1) {
|
|
22587
|
-
i0.ɵɵelementStart(0, "p",
|
|
22594
|
+
i0.ɵɵelementStart(0, "p", 33)(1, "span", 10);
|
|
22588
22595
|
i0.ɵɵtext(2);
|
|
22589
22596
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22590
22597
|
i0.ɵɵelementEnd();
|
|
@@ -22592,14 +22599,14 @@ function QueryWriteRaiseQueryComponent_div_11_p_29_Template(rf, ctx) { if (rf &
|
|
|
22592
22599
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22593
22600
|
i0.ɵɵelementEnd();
|
|
22594
22601
|
} if (rf & 2) {
|
|
22595
|
-
const
|
|
22602
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
22596
22603
|
i0.ɵɵadvance(2);
|
|
22597
22604
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22598
22605
|
i0.ɵɵadvance(2);
|
|
22599
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4,
|
|
22606
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_BODY), " ");
|
|
22600
22607
|
} }
|
|
22601
22608
|
function QueryWriteRaiseQueryComponent_div_11_p_38_Template(rf, ctx) { if (rf & 1) {
|
|
22602
|
-
i0.ɵɵelementStart(0, "p",
|
|
22609
|
+
i0.ɵɵelementStart(0, "p", 34)(1, "span", 10);
|
|
22603
22610
|
i0.ɵɵtext(2);
|
|
22604
22611
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22605
22612
|
i0.ɵɵelementEnd();
|
|
@@ -22607,14 +22614,14 @@ function QueryWriteRaiseQueryComponent_div_11_p_38_Template(rf, ctx) { if (rf &
|
|
|
22607
22614
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22608
22615
|
i0.ɵɵelementEnd();
|
|
22609
22616
|
} if (rf & 2) {
|
|
22610
|
-
const
|
|
22617
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
22611
22618
|
i0.ɵɵadvance(2);
|
|
22612
22619
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22613
22620
|
i0.ɵɵadvance(2);
|
|
22614
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4,
|
|
22621
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
|
|
22615
22622
|
} }
|
|
22616
22623
|
function QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template(rf, ctx) { if (rf & 1) {
|
|
22617
|
-
i0.ɵɵelementStart(0, "p",
|
|
22624
|
+
i0.ɵɵelementStart(0, "p", 40)(1, "span", 10);
|
|
22618
22625
|
i0.ɵɵtext(2);
|
|
22619
22626
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22620
22627
|
i0.ɵɵelementEnd();
|
|
@@ -22622,126 +22629,126 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template(rf, c
|
|
|
22622
22629
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
22623
22630
|
i0.ɵɵelementEnd();
|
|
22624
22631
|
} if (rf & 2) {
|
|
22625
|
-
const
|
|
22632
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
22626
22633
|
i0.ɵɵadvance(2);
|
|
22627
22634
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22628
22635
|
i0.ɵɵadvance(2);
|
|
22629
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4,
|
|
22636
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
22630
22637
|
} }
|
|
22631
22638
|
function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx) { if (rf & 1) {
|
|
22632
22639
|
i0.ɵɵelementContainerStart(0);
|
|
22633
|
-
i0.ɵɵelementStart(1, "div",
|
|
22640
|
+
i0.ɵɵelementStart(1, "div", 35)(2, "fieldset", 36)(3, "legend")(4, "label", 37);
|
|
22634
22641
|
i0.ɵɵtext(5);
|
|
22635
22642
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
22636
22643
|
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",
|
|
22644
|
+
i0.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_div_11_ng_container_50_p_7_Template, 6, 6, "p", 38);
|
|
22645
|
+
i0.ɵɵelement(8, "ccd-query-write-date-input", 39);
|
|
22639
22646
|
i0.ɵɵelementEnd()();
|
|
22640
22647
|
i0.ɵɵelementContainerEnd();
|
|
22641
22648
|
} if (rf & 2) {
|
|
22642
|
-
const
|
|
22649
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
22643
22650
|
i0.ɵɵadvance();
|
|
22644
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
22651
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").value === true && ctx_r1.formGroup.get("hearingDate").value === null));
|
|
22645
22652
|
i0.ɵɵadvance(4);
|
|
22646
22653
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
22647
22654
|
i0.ɵɵadvance(2);
|
|
22648
|
-
i0.ɵɵproperty("ngIf",
|
|
22655
|
+
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").value === true && ctx_r1.formGroup.get("hearingDate").value === null);
|
|
22649
22656
|
} }
|
|
22650
22657
|
function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
22651
|
-
const
|
|
22652
|
-
i0.ɵɵelementStart(0, "div",
|
|
22658
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
22659
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "div")(3, "div", 7)(4, "span", 8);
|
|
22653
22660
|
i0.ɵɵtext(5, "!");
|
|
22654
22661
|
i0.ɵɵelementEnd();
|
|
22655
|
-
i0.ɵɵelementStart(6, "strong",
|
|
22662
|
+
i0.ɵɵelementStart(6, "strong", 9)(7, "span", 10);
|
|
22656
22663
|
i0.ɵɵtext(8, "Warning");
|
|
22657
22664
|
i0.ɵɵelementEnd();
|
|
22658
|
-
i0.ɵɵelement(9, "ccd-markdown",
|
|
22665
|
+
i0.ɵɵelement(9, "ccd-markdown", 11);
|
|
22659
22666
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22660
22667
|
i0.ɵɵelementEnd()();
|
|
22661
|
-
i0.ɵɵelementStart(11, "div",
|
|
22668
|
+
i0.ɵɵelementStart(11, "div", 12)(12, "div", 13)(13, "label", 14);
|
|
22662
22669
|
i0.ɵɵtext(14);
|
|
22663
22670
|
i0.ɵɵpipe(15, "rpxTranslate");
|
|
22664
22671
|
i0.ɵɵelementEnd()();
|
|
22665
|
-
i0.ɵɵelementStart(16, "div",
|
|
22672
|
+
i0.ɵɵelementStart(16, "div", 15);
|
|
22666
22673
|
i0.ɵɵtext(17);
|
|
22667
22674
|
i0.ɵɵpipe(18, "rpxTranslate");
|
|
22668
22675
|
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(
|
|
22676
|
+
i0.ɵɵtemplate(19, QueryWriteRaiseQueryComponent_div_11_p_19_Template, 6, 6, "p", 16);
|
|
22677
|
+
i0.ɵɵelementStart(20, "input", 17);
|
|
22678
|
+
i0.ɵɵlistener("input", function QueryWriteRaiseQueryComponent_div_11_Template_input_input_20_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSubjectInput()); });
|
|
22672
22679
|
i0.ɵɵelementEnd()();
|
|
22673
|
-
i0.ɵɵelementStart(21, "div",
|
|
22680
|
+
i0.ɵɵelementStart(21, "div", 12)(22, "div", 13)(23, "label", 18);
|
|
22674
22681
|
i0.ɵɵtext(24);
|
|
22675
22682
|
i0.ɵɵpipe(25, "rpxTranslate");
|
|
22676
22683
|
i0.ɵɵelementEnd()();
|
|
22677
|
-
i0.ɵɵelementStart(26, "div",
|
|
22684
|
+
i0.ɵɵelementStart(26, "div", 19);
|
|
22678
22685
|
i0.ɵɵtext(27);
|
|
22679
22686
|
i0.ɵɵpipe(28, "rpxTranslate");
|
|
22680
22687
|
i0.ɵɵelementEnd();
|
|
22681
|
-
i0.ɵɵtemplate(29, QueryWriteRaiseQueryComponent_div_11_p_29_Template, 6, 6, "p",
|
|
22682
|
-
i0.ɵɵelementStart(30, "textarea",
|
|
22688
|
+
i0.ɵɵtemplate(29, QueryWriteRaiseQueryComponent_div_11_p_29_Template, 6, 6, "p", 20);
|
|
22689
|
+
i0.ɵɵelementStart(30, "textarea", 21);
|
|
22683
22690
|
i0.ɵɵtext(31, " ");
|
|
22684
22691
|
i0.ɵɵelementEnd()();
|
|
22685
|
-
i0.ɵɵelementStart(32, "div",
|
|
22692
|
+
i0.ɵɵelementStart(32, "div", 12)(33, "fieldset", 22)(34, "legend")(35, "label", 23);
|
|
22686
22693
|
i0.ɵɵtext(36);
|
|
22687
22694
|
i0.ɵɵpipe(37, "rpxTranslate");
|
|
22688
22695
|
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",
|
|
22696
|
+
i0.ɵɵtemplate(38, QueryWriteRaiseQueryComponent_div_11_p_38_Template, 6, 6, "p", 24);
|
|
22697
|
+
i0.ɵɵelementStart(39, "div", 25)(40, "div", 26);
|
|
22698
|
+
i0.ɵɵelement(41, "input", 27);
|
|
22699
|
+
i0.ɵɵelementStart(42, "label", 28);
|
|
22693
22700
|
i0.ɵɵtext(43);
|
|
22694
22701
|
i0.ɵɵpipe(44, "rpxTranslate");
|
|
22695
22702
|
i0.ɵɵelementEnd()();
|
|
22696
|
-
i0.ɵɵelementStart(45, "div",
|
|
22697
|
-
i0.ɵɵelement(46, "input",
|
|
22698
|
-
i0.ɵɵelementStart(47, "label",
|
|
22703
|
+
i0.ɵɵelementStart(45, "div", 26);
|
|
22704
|
+
i0.ɵɵelement(46, "input", 29);
|
|
22705
|
+
i0.ɵɵelementStart(47, "label", 30);
|
|
22699
22706
|
i0.ɵɵtext(48);
|
|
22700
22707
|
i0.ɵɵpipe(49, "rpxTranslate");
|
|
22701
22708
|
i0.ɵɵelementEnd()()()();
|
|
22702
|
-
i0.ɵɵtemplate(50, QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template, 9, 7, "ng-container",
|
|
22709
|
+
i0.ɵɵtemplate(50, QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template, 9, 7, "ng-container", 31);
|
|
22703
22710
|
i0.ɵɵelementEnd()()()();
|
|
22704
22711
|
} if (rf & 2) {
|
|
22705
|
-
const
|
|
22712
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
22706
22713
|
i0.ɵɵadvance();
|
|
22707
|
-
i0.ɵɵproperty("formGroup",
|
|
22714
|
+
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
22708
22715
|
i0.ɵɵadvance(8);
|
|
22709
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23,
|
|
22716
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r1.serviceMessage));
|
|
22710
22717
|
i0.ɵɵadvance(2);
|
|
22711
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
22718
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r1.submitted && ctx_r1.formGroup.get("subject").hasError("required")));
|
|
22712
22719
|
i0.ɵɵadvance(3);
|
|
22713
22720
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
22714
22721
|
i0.ɵɵadvance(3);
|
|
22715
22722
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 27, "The subject should be a summary of your query"), " ");
|
|
22716
22723
|
i0.ɵɵadvance(2);
|
|
22717
|
-
i0.ɵɵproperty("ngIf",
|
|
22724
|
+
i0.ɵɵproperty("ngIf", ctx_r1.submitted && (ctx_r1.formGroup.get("subject").hasError("required") || ctx_r1.formGroup.get("subject").hasError("maxlength")));
|
|
22718
22725
|
i0.ɵɵadvance(2);
|
|
22719
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
22726
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required")));
|
|
22720
22727
|
i0.ɵɵadvance(3);
|
|
22721
22728
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
22722
22729
|
i0.ɵɵadvance(3);
|
|
22723
22730
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 31, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
22724
22731
|
i0.ɵɵadvance(2);
|
|
22725
|
-
i0.ɵɵproperty("ngIf",
|
|
22732
|
+
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required"));
|
|
22726
22733
|
i0.ɵɵadvance();
|
|
22727
|
-
i0.ɵɵclassProp("govuk-textarea--error",
|
|
22734
|
+
i0.ɵɵclassProp("govuk-textarea--error", ctx_r1.submitted && ctx_r1.formGroup.get("body").hasError("required"));
|
|
22728
22735
|
i0.ɵɵproperty("formControlName", "body");
|
|
22729
22736
|
i0.ɵɵadvance(2);
|
|
22730
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
22737
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").hasError("required")));
|
|
22731
22738
|
i0.ɵɵadvance(4);
|
|
22732
22739
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
22733
22740
|
i0.ɵɵadvance(2);
|
|
22734
|
-
i0.ɵɵproperty("ngIf",
|
|
22741
|
+
i0.ɵɵproperty("ngIf", ctx_r1.submitted && ctx_r1.formGroup.get("isHearingRelated").hasError("required"));
|
|
22735
22742
|
i0.ɵɵadvance(3);
|
|
22736
|
-
i0.ɵɵproperty("checked",
|
|
22743
|
+
i0.ɵɵproperty("checked", ctx_r1.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
22737
22744
|
i0.ɵɵadvance(2);
|
|
22738
22745
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 35, "Is the query hearing related?", null, "Yes"), " ");
|
|
22739
22746
|
i0.ɵɵadvance(3);
|
|
22740
|
-
i0.ɵɵproperty("checked",
|
|
22747
|
+
i0.ɵɵproperty("checked", ctx_r1.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
22741
22748
|
i0.ɵɵadvance(2);
|
|
22742
22749
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49, 39, "Is the query hearing related?", null, "No"), " ");
|
|
22743
22750
|
i0.ɵɵadvance(2);
|
|
22744
|
-
i0.ɵɵproperty("ngIf",
|
|
22751
|
+
i0.ɵɵproperty("ngIf", ctx_r1.formGroup.get("isHearingRelated").value);
|
|
22745
22752
|
} }
|
|
22746
22753
|
class QueryWriteRaiseQueryComponent {
|
|
22747
22754
|
formGroup;
|
|
@@ -22768,7 +22775,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22768
22775
|
return '';
|
|
22769
22776
|
}
|
|
22770
22777
|
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"
|
|
22778
|
+
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) {
|
|
22772
22779
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
22773
22780
|
i0.ɵɵtext(3);
|
|
22774
22781
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22778,7 +22785,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22778
22785
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22779
22786
|
i0.ɵɵelementEnd()();
|
|
22780
22787
|
i0.ɵɵelementStart(8, "div");
|
|
22781
|
-
i0.ɵɵ
|
|
22788
|
+
i0.ɵɵelement(9, "ccd-query-case-details-header", 3);
|
|
22782
22789
|
i0.ɵɵelementEnd();
|
|
22783
22790
|
i0.ɵɵelement(10, "hr");
|
|
22784
22791
|
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51, 49, "div", 4);
|
|
@@ -22789,14 +22796,14 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22789
22796
|
i0.ɵɵadvance(3);
|
|
22790
22797
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "Enter query details"));
|
|
22791
22798
|
i0.ɵɵadvance(3);
|
|
22792
|
-
i0.ɵɵproperty("
|
|
22799
|
+
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
22793
22800
|
i0.ɵɵadvance(2);
|
|
22794
22801
|
i0.ɵɵproperty("ngIf", ctx.showForm);
|
|
22795
22802
|
} }, encapsulation: 2 });
|
|
22796
22803
|
}
|
|
22797
22804
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
22798
22805
|
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\"
|
|
22806
|
+
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" }]
|
|
22800
22807
|
}], null, { formGroup: [{
|
|
22801
22808
|
type: Input
|
|
22802
22809
|
}], submitted: [{
|
|
@@ -22810,14 +22817,8 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22810
22817
|
}] }); })();
|
|
22811
22818
|
(() => { (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
22819
|
|
|
22813
|
-
function QueryWriteRespondToQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
22814
|
-
i0.ɵɵelement(0, "ccd-query-case-details-header", 8);
|
|
22815
|
-
} if (rf & 2) {
|
|
22816
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
22817
|
-
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails);
|
|
22818
|
-
} }
|
|
22819
22820
|
function QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template(rf, ctx) { if (rf & 1) {
|
|
22820
|
-
i0.ɵɵelementStart(0, "p",
|
|
22821
|
+
i0.ɵɵelementStart(0, "p", 16)(1, "span", 17);
|
|
22821
22822
|
i0.ɵɵtext(2);
|
|
22822
22823
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22823
22824
|
i0.ɵɵelementEnd();
|
|
@@ -22832,16 +22833,16 @@ function QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template(rf, ctx) {
|
|
|
22832
22833
|
i0.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
|
|
22833
22834
|
} }
|
|
22834
22835
|
function QueryWriteRespondToQueryComponent_div_12_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
22835
|
-
i0.ɵɵelementStart(0, "div")(1, "h1",
|
|
22836
|
+
i0.ɵɵelementStart(0, "div")(1, "h1", 9);
|
|
22836
22837
|
i0.ɵɵtext(2);
|
|
22837
22838
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
22838
22839
|
i0.ɵɵelementEnd();
|
|
22839
|
-
i0.ɵɵelementStart(4, "div",
|
|
22840
|
+
i0.ɵɵelementStart(4, "div", 10)(5, "div", 11)(6, "div", 12)(7, "label", 13);
|
|
22840
22841
|
i0.ɵɵtext(8);
|
|
22841
22842
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
22842
22843
|
i0.ɵɵelementEnd()();
|
|
22843
|
-
i0.ɵɵtemplate(10, QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template, 6, 6, "p",
|
|
22844
|
-
i0.ɵɵelementStart(11, "textarea",
|
|
22844
|
+
i0.ɵɵtemplate(10, QueryWriteRespondToQueryComponent_div_12_div_1_p_10_Template, 6, 6, "p", 14);
|
|
22845
|
+
i0.ɵɵelementStart(11, "textarea", 15);
|
|
22845
22846
|
i0.ɵɵtext(12, " ");
|
|
22846
22847
|
i0.ɵɵelementEnd()()()();
|
|
22847
22848
|
} if (rf & 2) {
|
|
@@ -22864,7 +22865,7 @@ function QueryWriteRespondToQueryComponent_div_12_div_1_Template(rf, ctx) { if (
|
|
|
22864
22865
|
i0.ɵɵproperty("formControlName", "body");
|
|
22865
22866
|
} }
|
|
22866
22867
|
function QueryWriteRespondToQueryComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
22867
|
-
i0.ɵɵelementStart(0, "div",
|
|
22868
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
22868
22869
|
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_div_12_div_1_Template, 13, 13, "div", 7);
|
|
22869
22870
|
i0.ɵɵelementEnd();
|
|
22870
22871
|
} if (rf & 2) {
|
|
@@ -22873,14 +22874,14 @@ function QueryWriteRespondToQueryComponent_div_12_Template(rf, ctx) { if (rf & 1
|
|
|
22873
22874
|
i0.ɵɵproperty("ngIf", !ctx_r0.hasRespondedToQuery);
|
|
22874
22875
|
} }
|
|
22875
22876
|
function QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template(rf, ctx) { if (rf & 1) {
|
|
22876
|
-
i0.ɵɵelement(0, "ccd-close-query",
|
|
22877
|
+
i0.ɵɵelement(0, "ccd-close-query", 10);
|
|
22877
22878
|
} if (rf & 2) {
|
|
22878
22879
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22879
22880
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
22880
22881
|
} }
|
|
22881
22882
|
function QueryWriteRespondToQueryComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
22882
22883
|
i0.ɵɵelementContainerStart(0);
|
|
22883
|
-
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template, 1, 1, "ccd-close-query",
|
|
22884
|
+
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template, 1, 1, "ccd-close-query", 18);
|
|
22884
22885
|
i0.ɵɵelementContainerEnd();
|
|
22885
22886
|
} if (rf & 2) {
|
|
22886
22887
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22957,7 +22958,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22957
22958
|
this.hasRespondedToQueryTask.emit(value);
|
|
22958
22959
|
}
|
|
22959
22960
|
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22960
|
-
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"
|
|
22961
|
+
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) {
|
|
22961
22962
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 0)(2, "div", 1);
|
|
22962
22963
|
i0.ɵɵtext(3);
|
|
22963
22964
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22967,7 +22968,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22967
22968
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22968
22969
|
i0.ɵɵelementEnd()();
|
|
22969
22970
|
i0.ɵɵelementStart(8, "div", 3);
|
|
22970
|
-
i0.ɵɵ
|
|
22971
|
+
i0.ɵɵelement(9, "ccd-query-case-details-header", 4);
|
|
22971
22972
|
i0.ɵɵelementEnd();
|
|
22972
22973
|
i0.ɵɵelementStart(10, "div")(11, "ccd-query-details", 5);
|
|
22973
22974
|
i0.ɵɵlistener("hasResponded", function QueryWriteRespondToQueryComponent_Template_ccd_query_details_hasResponded_11_listener($event) { return ctx.hasResponded($event); });
|
|
@@ -22979,7 +22980,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22979
22980
|
i0.ɵɵadvance(3);
|
|
22980
22981
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 9, "Query details"));
|
|
22981
22982
|
i0.ɵɵadvance(3);
|
|
22982
|
-
i0.ɵɵproperty("
|
|
22983
|
+
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
22983
22984
|
i0.ɵɵadvance(2);
|
|
22984
22985
|
i0.ɵɵproperty("query", ctx.queryListData)("queryResponseStatus", ctx.queryResponseStatus);
|
|
22985
22986
|
i0.ɵɵadvance();
|
|
@@ -22990,7 +22991,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22990
22991
|
}
|
|
22991
22992
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
22992
22993
|
type: Component,
|
|
22993
|
-
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\"
|
|
22994
|
+
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"] }]
|
|
22994
22995
|
}], () => [{ type: CaseNotifier }, { type: i1$1.ActivatedRoute }], { queryItem: [{
|
|
22995
22996
|
type: Input
|
|
22996
22997
|
}], formGroup: [{
|
|
@@ -23039,21 +23040,21 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
23039
23040
|
} if (rf & 2) {
|
|
23040
23041
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23041
23042
|
i0.ɵɵadvance(3);
|
|
23042
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23043
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Query submitted"));
|
|
23043
23044
|
i0.ɵɵadvance(3);
|
|
23044
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7,
|
|
23045
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 13, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
23045
23046
|
i0.ɵɵadvance(4);
|
|
23046
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
23047
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "What happens next"));
|
|
23047
23048
|
i0.ɵɵadvance(2);
|
|
23048
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13,
|
|
23049
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 17, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
23049
23050
|
i0.ɵɵadvance(3);
|
|
23050
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16,
|
|
23051
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 19, "When the response is available it will be added to the 'Queries' section."));
|
|
23051
23052
|
i0.ɵɵadvance(3);
|
|
23052
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19,
|
|
23053
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 21, "You can"), " ");
|
|
23053
23054
|
i0.ɵɵadvance(2);
|
|
23054
|
-
i0.ɵɵ
|
|
23055
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23055
23056
|
i0.ɵɵadvance();
|
|
23056
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22,
|
|
23057
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 23, "Go back to the case"));
|
|
23057
23058
|
} }
|
|
23058
23059
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
23059
23060
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23081,23 +23082,23 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
23081
23082
|
} if (rf & 2) {
|
|
23082
23083
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23083
23084
|
i0.ɵɵadvance(3);
|
|
23084
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23085
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 13, "Query response submitted"));
|
|
23085
23086
|
i0.ɵɵadvance(3);
|
|
23086
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7,
|
|
23087
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 15, "This query response has been added to the case"));
|
|
23087
23088
|
i0.ɵɵadvance(3);
|
|
23088
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10,
|
|
23089
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 17, "You can"), " ");
|
|
23089
23090
|
i0.ɵɵadvance(2);
|
|
23090
|
-
i0.ɵɵ
|
|
23091
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "/tasks");
|
|
23091
23092
|
i0.ɵɵadvance();
|
|
23092
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13,
|
|
23093
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "return to tasks"));
|
|
23093
23094
|
i0.ɵɵadvance(3);
|
|
23094
|
-
i0.ɵɵ
|
|
23095
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23095
23096
|
i0.ɵɵadvance();
|
|
23096
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17,
|
|
23097
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
|
|
23097
23098
|
} }
|
|
23098
23099
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
23099
23100
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
23100
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23,
|
|
23101
|
+
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);
|
|
23101
23102
|
i0.ɵɵelementEnd()()();
|
|
23102
23103
|
} if (rf & 2) {
|
|
23103
23104
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -23111,12 +23112,16 @@ class QueryConfirmationComponent {
|
|
|
23111
23112
|
queryCreateContext;
|
|
23112
23113
|
callbackConfirmationMessageText = {};
|
|
23113
23114
|
caseId = '';
|
|
23115
|
+
jurisdiction = '';
|
|
23116
|
+
caseType = '';
|
|
23114
23117
|
queryCreateContextEnum = QueryCreateContext;
|
|
23115
23118
|
constructor(route) {
|
|
23116
23119
|
this.route = route;
|
|
23117
23120
|
}
|
|
23118
23121
|
ngOnInit() {
|
|
23119
23122
|
this.caseId = this.route.snapshot.params.cid;
|
|
23123
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
23124
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
23120
23125
|
}
|
|
23121
23126
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
23122
23127
|
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) {
|
|
@@ -23127,7 +23132,7 @@ class QueryConfirmationComponent {
|
|
|
23127
23132
|
}
|
|
23128
23133
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
23129
23134
|
type: Component,
|
|
23130
|
-
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" }]
|
|
23135
|
+
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" }]
|
|
23131
23136
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
23132
23137
|
type: Input
|
|
23133
23138
|
}], callbackConfirmationMessageText: [{
|
|
@@ -23179,7 +23184,7 @@ class CloseQueryComponent {
|
|
|
23179
23184
|
}] }); })();
|
|
23180
23185
|
(() => { (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 }); })();
|
|
23181
23186
|
|
|
23182
|
-
const _c0$
|
|
23187
|
+
const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
23183
23188
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
23184
23189
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23185
23190
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-query-list", 6);
|
|
@@ -23218,7 +23223,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
23218
23223
|
} if (rf & 2) {
|
|
23219
23224
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
23220
23225
|
i0.ɵɵadvance();
|
|
23221
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
23226
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
|
|
23222
23227
|
i0.ɵɵadvance();
|
|
23223
23228
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
23224
23229
|
} }
|
|
@@ -23366,7 +23371,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
23366
23371
|
}], null, null); })();
|
|
23367
23372
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 8 }); })();
|
|
23368
23373
|
|
|
23369
|
-
const _c0$
|
|
23374
|
+
const _c0$B = a0 => ({ "form-group-error": a0 });
|
|
23370
23375
|
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
23371
23376
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23372
23377
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23425,7 +23430,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23425
23430
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
23426
23431
|
i0.ɵɵelementEnd()();
|
|
23427
23432
|
} if (rf & 2) {
|
|
23428
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23433
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
23429
23434
|
i0.ɵɵadvance();
|
|
23430
23435
|
i0.ɵɵproperty("for", ctx.id());
|
|
23431
23436
|
i0.ɵɵadvance();
|
|
@@ -23464,7 +23469,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
23464
23469
|
}], null, null); })();
|
|
23465
23470
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 8 }); })();
|
|
23466
23471
|
|
|
23467
|
-
const _c0$
|
|
23472
|
+
const _c0$A = a0 => ({ "form-group-error": a0 });
|
|
23468
23473
|
const _c1$c = a0 => ({ "govuk-input--error": a0 });
|
|
23469
23474
|
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23470
23475
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23514,7 +23519,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23514
23519
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
23515
23520
|
i0.ɵɵelementEnd()();
|
|
23516
23521
|
} if (rf & 2) {
|
|
23517
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23522
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
23518
23523
|
i0.ɵɵadvance();
|
|
23519
23524
|
i0.ɵɵproperty("for", ctx.id());
|
|
23520
23525
|
i0.ɵɵadvance();
|
|
@@ -23655,7 +23660,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
23655
23660
|
}], () => [{ type: YesNoService }], null); })();
|
|
23656
23661
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 9 }); })();
|
|
23657
23662
|
|
|
23658
|
-
const _c0$
|
|
23663
|
+
const _c0$z = a0 => ({ "form-group-error": a0 });
|
|
23659
23664
|
const _c1$b = a0 => ({ selected: a0 });
|
|
23660
23665
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
23661
23666
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -23727,7 +23732,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23727
23732
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
23728
23733
|
i0.ɵɵelementEnd()()();
|
|
23729
23734
|
} if (rf & 2) {
|
|
23730
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
23735
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
23731
23736
|
i0.ɵɵadvance(3);
|
|
23732
23737
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
23733
23738
|
i0.ɵɵadvance();
|
|
@@ -23844,7 +23849,7 @@ class PaletteService {
|
|
|
23844
23849
|
type: Injectable
|
|
23845
23850
|
}], null, null); })();
|
|
23846
23851
|
|
|
23847
|
-
const _c0$
|
|
23852
|
+
const _c0$y = ["fieldContainer"];
|
|
23848
23853
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23849
23854
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
23850
23855
|
resolver;
|
|
@@ -23893,7 +23898,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23893
23898
|
}
|
|
23894
23899
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23895
23900
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23896
|
-
i0.ɵɵviewQuery(_c0$
|
|
23901
|
+
i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
|
|
23897
23902
|
} if (rf & 2) {
|
|
23898
23903
|
let _t;
|
|
23899
23904
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -23922,7 +23927,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23922
23927
|
}] }); })();
|
|
23923
23928
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
23924
23929
|
|
|
23925
|
-
const _c0$
|
|
23930
|
+
const _c0$x = ["fieldContainer"];
|
|
23926
23931
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23927
23932
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
23928
23933
|
resolver;
|
|
@@ -23968,7 +23973,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23968
23973
|
}
|
|
23969
23974
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23970
23975
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23971
|
-
i0.ɵɵviewQuery(_c0$
|
|
23976
|
+
i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
|
|
23972
23977
|
} if (rf & 2) {
|
|
23973
23978
|
let _t;
|
|
23974
23979
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -23992,7 +23997,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23992
23997
|
}] }); })();
|
|
23993
23998
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 16 }); })();
|
|
23994
23999
|
|
|
23995
|
-
const _c0$
|
|
24000
|
+
const _c0$w = ["*"];
|
|
23996
24001
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
23997
24002
|
i0.ɵɵelementContainer(0);
|
|
23998
24003
|
} }
|
|
@@ -24046,7 +24051,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24046
24051
|
}
|
|
24047
24052
|
}
|
|
24048
24053
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
24049
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
24054
|
+
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) {
|
|
24050
24055
|
i0.ɵɵprojectionDef();
|
|
24051
24056
|
i0.ɵɵelementStart(0, "div", 1);
|
|
24052
24057
|
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);
|
|
@@ -24067,7 +24072,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24067
24072
|
}] }); })();
|
|
24068
24073
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 14 }); })();
|
|
24069
24074
|
|
|
24070
|
-
const _c0$
|
|
24075
|
+
const _c0$v = a0 => ({ cat: a0, level: 1 });
|
|
24071
24076
|
const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
|
|
24072
24077
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24073
24078
|
i0.ɵɵelementContainer(0);
|
|
@@ -24081,7 +24086,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
24081
24086
|
i0.ɵɵnextContext();
|
|
24082
24087
|
const folder_r3 = i0.ɵɵreference(13);
|
|
24083
24088
|
i0.ɵɵadvance();
|
|
24084
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
24089
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
|
|
24085
24090
|
} }
|
|
24086
24091
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24087
24092
|
i0.ɵɵelementContainer(0);
|
|
@@ -24220,7 +24225,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
24220
24225
|
}] }], null); })();
|
|
24221
24226
|
(() => { (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 }); })();
|
|
24222
24227
|
|
|
24223
|
-
const _c0$
|
|
24228
|
+
const _c0$u = [[["", "trigger", ""]]];
|
|
24224
24229
|
const _c1$9 = ["[trigger]"];
|
|
24225
24230
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24226
24231
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -24295,7 +24300,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24295
24300
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
24296
24301
|
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) {
|
|
24297
24302
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24298
|
-
i0.ɵɵprojectionDef(_c0$
|
|
24303
|
+
i0.ɵɵprojectionDef(_c0$u);
|
|
24299
24304
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
24300
24305
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
24301
24306
|
i0.ɵɵprojection(3);
|
|
@@ -24964,7 +24969,7 @@ class CaseFileViewFolderComponent {
|
|
|
24964
24969
|
}] }); })();
|
|
24965
24970
|
(() => { (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 }); })();
|
|
24966
24971
|
|
|
24967
|
-
const _c0$
|
|
24972
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
24968
24973
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
24969
24974
|
i0.ɵɵelementStart(0, "span");
|
|
24970
24975
|
i0.ɵɵtext(1);
|
|
@@ -25118,7 +25123,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
25118
25123
|
} if (rf & 2) {
|
|
25119
25124
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25120
25125
|
i0.ɵɵadvance(2);
|
|
25121
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
25126
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
|
|
25122
25127
|
i0.ɵɵadvance(2);
|
|
25123
25128
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
25124
25129
|
i0.ɵɵadvance();
|
|
@@ -25652,7 +25657,7 @@ class CaseFlagTableComponent {
|
|
|
25652
25657
|
}] }); })();
|
|
25653
25658
|
(() => { (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 }); })();
|
|
25654
25659
|
|
|
25655
|
-
const _c0$
|
|
25660
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
25656
25661
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
25657
25662
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
25658
25663
|
i0.ɵɵtext(2);
|
|
@@ -25963,7 +25968,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
25963
25968
|
} if (rf & 2) {
|
|
25964
25969
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25965
25970
|
i0.ɵɵadvance();
|
|
25966
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
25971
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
25967
25972
|
i0.ɵɵadvance(4);
|
|
25968
25973
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
25969
25974
|
i0.ɵɵadvance(2);
|
|
@@ -26049,7 +26054,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
26049
26054
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
26050
26055
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
26051
26056
|
|
|
26052
|
-
const _c0$
|
|
26057
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
26053
26058
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
26054
26059
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
26055
26060
|
i0.ɵɵtext(2);
|
|
@@ -26141,7 +26146,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
26141
26146
|
} if (rf & 2) {
|
|
26142
26147
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
26143
26148
|
i0.ɵɵadvance();
|
|
26144
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26149
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
26145
26150
|
i0.ɵɵadvance(2);
|
|
26146
26151
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
26147
26152
|
i0.ɵɵadvance(2);
|
|
@@ -26315,7 +26320,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26315
26320
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
26316
26321
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26317
26322
|
i0.ɵɵadvance();
|
|
26318
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
26323
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$r, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
26319
26324
|
i0.ɵɵadvance(2);
|
|
26320
26325
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
26321
26326
|
i0.ɵɵadvance();
|
|
@@ -26352,7 +26357,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26352
26357
|
}] }); })();
|
|
26353
26358
|
(() => { (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 }); })();
|
|
26354
26359
|
|
|
26355
|
-
const _c0$
|
|
26360
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
26356
26361
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
26357
26362
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
26358
26363
|
i0.ɵɵtext(2);
|
|
@@ -26528,7 +26533,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26528
26533
|
} if (rf & 2) {
|
|
26529
26534
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26530
26535
|
i0.ɵɵadvance();
|
|
26531
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
26536
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx.errorMessages.length > 0));
|
|
26532
26537
|
i0.ɵɵadvance(4);
|
|
26533
26538
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
26534
26539
|
i0.ɵɵadvance(2);
|
|
@@ -26551,7 +26556,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26551
26556
|
}] }); })();
|
|
26552
26557
|
(() => { (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 }); })();
|
|
26553
26558
|
|
|
26554
|
-
const _c0$
|
|
26559
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
26555
26560
|
const _c1$8 = a0 => ({ "govuk-input--error": a0 });
|
|
26556
26561
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
26557
26562
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -26647,7 +26652,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
26647
26652
|
} if (rf & 2) {
|
|
26648
26653
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
26649
26654
|
i0.ɵɵadvance();
|
|
26650
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
26655
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$p, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
26651
26656
|
i0.ɵɵadvance(2);
|
|
26652
26657
|
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), " ");
|
|
26653
26658
|
i0.ɵɵadvance(3);
|
|
@@ -26672,7 +26677,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
26672
26677
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
26673
26678
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
26674
26679
|
i0.ɵɵadvance();
|
|
26675
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26680
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
26676
26681
|
i0.ɵɵadvance(4);
|
|
26677
26682
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
26678
26683
|
i0.ɵɵadvance(3);
|
|
@@ -26999,7 +27004,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
26999
27004
|
}] }); })();
|
|
27000
27005
|
(() => { (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 }); })();
|
|
27001
27006
|
|
|
27002
|
-
const _c0$
|
|
27007
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
27003
27008
|
const _c1$7 = a0 => ({ "govuk-tag--grey": a0 });
|
|
27004
27009
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
27005
27010
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -27485,7 +27490,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27485
27490
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
27486
27491
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27487
27492
|
i0.ɵɵadvance(2);
|
|
27488
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
27493
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$o, ctx.errorMessages.length > 0));
|
|
27489
27494
|
i0.ɵɵadvance(3);
|
|
27490
27495
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
27491
27496
|
i0.ɵɵadvance(2);
|
|
@@ -27518,7 +27523,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27518
27523
|
}] }); })();
|
|
27519
27524
|
(() => { (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 }); })();
|
|
27520
27525
|
|
|
27521
|
-
const _c0$
|
|
27526
|
+
const _c0$n = a0 => ({ "form-group-error": a0 });
|
|
27522
27527
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
27523
27528
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
27524
27529
|
i0.ɵɵtext(2);
|
|
@@ -27726,7 +27731,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27726
27731
|
} if (rf & 2) {
|
|
27727
27732
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27728
27733
|
i0.ɵɵadvance(2);
|
|
27729
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
27734
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$n, ctx.errorMessages.length > 0));
|
|
27730
27735
|
i0.ɵɵadvance(3);
|
|
27731
27736
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
27732
27737
|
i0.ɵɵadvance(3);
|
|
@@ -27783,7 +27788,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27783
27788
|
}] }); })();
|
|
27784
27789
|
(() => { (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 }); })();
|
|
27785
27790
|
|
|
27786
|
-
const _c0$
|
|
27791
|
+
const _c0$m = a0 => ({ "form-group-error": a0 });
|
|
27787
27792
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
27788
27793
|
i0.ɵɵelementStart(0, "div", 13);
|
|
27789
27794
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -27918,7 +27923,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
27918
27923
|
} if (rf & 2) {
|
|
27919
27924
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27920
27925
|
i0.ɵɵadvance(2);
|
|
27921
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
27926
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$m, ctx.errorMessages.length > 0));
|
|
27922
27927
|
i0.ɵɵadvance(4);
|
|
27923
27928
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
27924
27929
|
i0.ɵɵadvance(3);
|
|
@@ -28198,7 +28203,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
28198
28203
|
}]
|
|
28199
28204
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
28200
28205
|
|
|
28201
|
-
const _c0$
|
|
28206
|
+
const _c0$l = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
28202
28207
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28203
28208
|
i0.ɵɵelementContainerStart(0);
|
|
28204
28209
|
i0.ɵɵelementStart(1, "dt", 2)(2, "span", 3);
|
|
@@ -28235,7 +28240,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28235
28240
|
i0.ɵɵelementEnd();
|
|
28236
28241
|
} if (rf & 2) {
|
|
28237
28242
|
i0.ɵɵadvance();
|
|
28238
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
28243
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
28239
28244
|
} }, 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}"] });
|
|
28240
28245
|
}
|
|
28241
28246
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -28246,7 +28251,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28246
28251
|
}] }); })();
|
|
28247
28252
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 16 }); })();
|
|
28248
28253
|
|
|
28249
|
-
const _c0$
|
|
28254
|
+
const _c0$k = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
28250
28255
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28251
28256
|
i0.ɵɵelementContainerStart(0);
|
|
28252
28257
|
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
|
|
@@ -28324,7 +28329,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
28324
28329
|
i0.ɵɵadvance(4);
|
|
28325
28330
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
28326
28331
|
i0.ɵɵadvance(5);
|
|
28327
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
28332
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
28328
28333
|
} }, 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}"] });
|
|
28329
28334
|
}
|
|
28330
28335
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -28709,7 +28714,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28709
28714
|
}], null, null); })();
|
|
28710
28715
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 12 }); })();
|
|
28711
28716
|
|
|
28712
|
-
const _c0$
|
|
28717
|
+
const _c0$j = a0 => ({ "form-group-error": a0 });
|
|
28713
28718
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
28714
28719
|
i0.ɵɵelementStart(0, "span", 5);
|
|
28715
28720
|
i0.ɵɵtext(1);
|
|
@@ -28761,7 +28766,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
28761
28766
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
28762
28767
|
i0.ɵɵelementEnd()();
|
|
28763
28768
|
} if (rf & 2) {
|
|
28764
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
28769
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$j, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
28765
28770
|
i0.ɵɵadvance(3);
|
|
28766
28771
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
28767
28772
|
i0.ɵɵadvance();
|
|
@@ -28790,7 +28795,7 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
28790
28795
|
},
|
|
28791
28796
|
};
|
|
28792
28797
|
|
|
28793
|
-
const _c0$
|
|
28798
|
+
const _c0$i = ["picker"];
|
|
28794
28799
|
const _c1$6 = ["input"];
|
|
28795
28800
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
28796
28801
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29008,7 +29013,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
29008
29013
|
}
|
|
29009
29014
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
29010
29015
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29011
|
-
i0.ɵɵviewQuery(_c0$
|
|
29016
|
+
i0.ɵɵviewQuery(_c0$i, 5);
|
|
29012
29017
|
i0.ɵɵviewQuery(_c1$6, 5);
|
|
29013
29018
|
} if (rf & 2) {
|
|
29014
29019
|
let _t;
|
|
@@ -29196,7 +29201,7 @@ class EventLogDetailsComponent {
|
|
|
29196
29201
|
}] }); })();
|
|
29197
29202
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 9 }); })();
|
|
29198
29203
|
|
|
29199
|
-
const _c0$
|
|
29204
|
+
const _c0$h = a0 => ({ "EventLogTable-Selected": a0 });
|
|
29200
29205
|
const _c1$5 = a0 => ["./", "event", a0, "history"];
|
|
29201
29206
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
29202
29207
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -29326,7 +29331,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
29326
29331
|
} if (rf & 2) {
|
|
29327
29332
|
const event_r2 = ctx.$implicit;
|
|
29328
29333
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
29329
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
29334
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$h, ctx_r2.selected === event_r2));
|
|
29330
29335
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
29331
29336
|
i0.ɵɵadvance(2);
|
|
29332
29337
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -29521,11 +29526,11 @@ class EventLogComponent {
|
|
|
29521
29526
|
}] }); })();
|
|
29522
29527
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 9 }); })();
|
|
29523
29528
|
|
|
29524
|
-
const _c0$
|
|
29529
|
+
const _c0$g = ["*"];
|
|
29525
29530
|
class RouterLinkComponent {
|
|
29526
29531
|
link;
|
|
29527
29532
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
29528
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$
|
|
29533
|
+
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) {
|
|
29529
29534
|
i0.ɵɵprojectionDef();
|
|
29530
29535
|
i0.ɵɵelementStart(0, "a", 0);
|
|
29531
29536
|
i0.ɵɵprojection(1);
|
|
@@ -30047,7 +30052,7 @@ class OrderSummary {
|
|
|
30047
30052
|
PaymentTotal;
|
|
30048
30053
|
}
|
|
30049
30054
|
|
|
30050
|
-
const _c0$
|
|
30055
|
+
const _c0$f = ["ccdReadOrderSummaryRow", ""];
|
|
30051
30056
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
30052
30057
|
feeValue;
|
|
30053
30058
|
ngOnInit() {
|
|
@@ -30060,7 +30065,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
30060
30065
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
30061
30066
|
}
|
|
30062
30067
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
30063
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
30068
|
+
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) {
|
|
30064
30069
|
i0.ɵɵelementStart(0, "td");
|
|
30065
30070
|
i0.ɵɵtext(1);
|
|
30066
30071
|
i0.ɵɵelementEnd();
|
|
@@ -31121,7 +31126,7 @@ var CaseEditSubmitTitles;
|
|
|
31121
31126
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
31122
31127
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
31123
31128
|
|
|
31124
|
-
const _c0$
|
|
31129
|
+
const _c0$e = (a0, a1) => [a0, false, undefined, true, a1];
|
|
31125
31130
|
const _c1$4 = a0 => ({ "form-group-error": a0 });
|
|
31126
31131
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
31127
31132
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -31243,7 +31248,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
31243
31248
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
31244
31249
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
31245
31250
|
i0.ɵɵadvance();
|
|
31246
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
31251
|
+
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))));
|
|
31247
31252
|
} }
|
|
31248
31253
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
31249
31254
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -32483,7 +32488,7 @@ class PaginationComponent {
|
|
|
32483
32488
|
}] }); })();
|
|
32484
32489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 12 }); })();
|
|
32485
32490
|
|
|
32486
|
-
const _c0$
|
|
32491
|
+
const _c0$d = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
32487
32492
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
32488
32493
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
32489
32494
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -32792,7 +32797,7 @@ class CaseListComponent {
|
|
|
32792
32797
|
i0.ɵɵadvance();
|
|
32793
32798
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
32794
32799
|
i0.ɵɵadvance(2);
|
|
32795
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$
|
|
32800
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$d, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32796
32801
|
i0.ɵɵadvance(2);
|
|
32797
32802
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32798
32803
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
@@ -34254,6 +34259,7 @@ class EventTriggerResolver {
|
|
|
34254
34259
|
const cid = route.parent.paramMap.get(EventTriggerResolver.PARAM_CASE_ID);
|
|
34255
34260
|
// tslint:disable-next-line: prefer-const
|
|
34256
34261
|
let caseTypeId;
|
|
34262
|
+
const jurisdiction = route.parent.paramMap.get('jurisdiction');
|
|
34257
34263
|
const eventTriggerId = route.paramMap.get(EventTriggerResolver.PARAM_EVENT_ID);
|
|
34258
34264
|
let ignoreWarning = route.queryParamMap.get(EventTriggerResolver.IGNORE_WARNING);
|
|
34259
34265
|
if (-1 === EventTriggerResolver.IGNORE_WARNING_VALUES.indexOf(ignoreWarning)) {
|
|
@@ -34275,7 +34281,8 @@ class EventTriggerResolver {
|
|
|
34275
34281
|
this.alertService.setPreserveAlerts(true);
|
|
34276
34282
|
this.alertService.error(error.message);
|
|
34277
34283
|
this.errorNotifier.announceError(error);
|
|
34278
|
-
|
|
34284
|
+
caseTypeId = route.parent.paramMap.get('caseType');
|
|
34285
|
+
this.router.navigate([`/cases/case-details/${jurisdiction}/${caseTypeId}/${cid}/tasks`]);
|
|
34279
34286
|
return throwError(error);
|
|
34280
34287
|
})).toPromise();
|
|
34281
34288
|
}
|
|
@@ -34415,9 +34422,21 @@ class CaseEventTriggerComponent {
|
|
|
34415
34422
|
}
|
|
34416
34423
|
});
|
|
34417
34424
|
}
|
|
34425
|
+
// replace the old link with the new one with jurisdiction and case type id
|
|
34426
|
+
getNavigationUrl(url) {
|
|
34427
|
+
const urlRegex = /\/case-details\/(\d+)/;
|
|
34428
|
+
const match = url.match(urlRegex);
|
|
34429
|
+
if (match && /^\d+$/.test(match[1]) && this.caseDetails?.case_type) {
|
|
34430
|
+
const jurisdiction = this.caseDetails.case_type.jurisdiction.id;
|
|
34431
|
+
const id = this.caseDetails.case_type.id;
|
|
34432
|
+
return url.replace(urlRegex, `/case-details/${jurisdiction}/${id}/${match[1]}`);
|
|
34433
|
+
}
|
|
34434
|
+
return url;
|
|
34435
|
+
}
|
|
34418
34436
|
cancel() {
|
|
34419
|
-
|
|
34437
|
+
let previousUrl = this.routerCurrentNavigation?.previousNavigation?.finalUrl?.toString();
|
|
34420
34438
|
if (previousUrl) {
|
|
34439
|
+
previousUrl = this.getNavigationUrl(previousUrl);
|
|
34421
34440
|
if (previousUrl.indexOf('#') > -1) {
|
|
34422
34441
|
const url = previousUrl.split('#')[0];
|
|
34423
34442
|
const fragment = previousUrl.split('#')[1].replace(/%20/g, ' ');
|
|
@@ -34428,7 +34447,8 @@ class CaseEventTriggerComponent {
|
|
|
34428
34447
|
}
|
|
34429
34448
|
}
|
|
34430
34449
|
else {
|
|
34431
|
-
|
|
34450
|
+
const updatedUrl = this.getNavigationUrl(this.parentUrl);
|
|
34451
|
+
return this.router.navigate([updatedUrl]);
|
|
34432
34452
|
}
|
|
34433
34453
|
}
|
|
34434
34454
|
isDataLoaded() {
|
|
@@ -34872,7 +34892,7 @@ class DialogsModule {
|
|
|
34872
34892
|
SaveOrDiscardDialogComponent,
|
|
34873
34893
|
RemoveDialogComponent] }); })();
|
|
34874
34894
|
|
|
34875
|
-
const _c0$
|
|
34895
|
+
const _c0$c = ["tabGroup"];
|
|
34876
34896
|
const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
|
|
34877
34897
|
function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
34878
34898
|
i0.ɵɵelementStart(0, "div", 12)(1, "h1", 13);
|
|
@@ -35338,7 +35358,7 @@ class CaseFullAccessViewComponent {
|
|
|
35338
35358
|
}
|
|
35339
35359
|
// found tasks or hearing tab
|
|
35340
35360
|
if (foundTab) {
|
|
35341
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35361
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35342
35362
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === foundTab.label);
|
|
35343
35363
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35344
35364
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35353,7 +35373,7 @@ class CaseFullAccessViewComponent {
|
|
|
35353
35373
|
this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
|
|
35354
35374
|
// select the first tab checking if the tab is visible
|
|
35355
35375
|
const preSelectTab = this.findPreSelectedActiveTab();
|
|
35356
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
35376
|
+
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(() => {
|
|
35357
35377
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === preSelectTab.label);
|
|
35358
35378
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35359
35379
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35400,14 +35420,21 @@ class CaseFullAccessViewComponent {
|
|
|
35400
35420
|
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
35401
35421
|
const tab = matTab['_viewContainerRef'];
|
|
35402
35422
|
const id = tab.element.nativeElement.id;
|
|
35403
|
-
// cases/case-details/:caseId/hearings
|
|
35404
|
-
// cases/case-details/:caseId/roles-and-access
|
|
35405
|
-
this.router.navigate([
|
|
35423
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/hearings
|
|
35424
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/roles-and-access
|
|
35425
|
+
this.router.navigate([
|
|
35426
|
+
'cases',
|
|
35427
|
+
'case-details',
|
|
35428
|
+
this.caseDetails.case_type.jurisdiction.id,
|
|
35429
|
+
this.caseDetails.case_type.id,
|
|
35430
|
+
this.caseDetails.case_id,
|
|
35431
|
+
id
|
|
35432
|
+
], { relativeTo: this.route.root });
|
|
35406
35433
|
}
|
|
35407
35434
|
else {
|
|
35408
35435
|
// Routing here is based on tab label, not ideal
|
|
35409
|
-
// cases/case-details/:caseId#tabLabel
|
|
35410
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: tabLabel });
|
|
35436
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId#tabLabel
|
|
35437
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: tabLabel });
|
|
35411
35438
|
}
|
|
35412
35439
|
}
|
|
35413
35440
|
onLinkClicked(triggerOutputEventText) {
|
|
@@ -35510,7 +35537,7 @@ class CaseFullAccessViewComponent {
|
|
|
35510
35537
|
}
|
|
35511
35538
|
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)); };
|
|
35512
35539
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
35513
|
-
i0.ɵɵviewQuery(_c0$
|
|
35540
|
+
i0.ɵɵviewQuery(_c0$c, 5);
|
|
35514
35541
|
} if (rf & 2) {
|
|
35515
35542
|
let _t;
|
|
35516
35543
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
@@ -35926,15 +35953,19 @@ class EventMessageModule {
|
|
|
35926
35953
|
RouterModule,
|
|
35927
35954
|
ActivityModule, i1.RpxTranslationModule], exports: [ErrorMessageComponent] }); })();
|
|
35928
35955
|
|
|
35929
|
-
const _c0$
|
|
35956
|
+
const _c0$b = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
35930
35957
|
class MultipleTasksExistComponent {
|
|
35931
35958
|
route;
|
|
35932
35959
|
loadingService;
|
|
35933
35960
|
caseId;
|
|
35961
|
+
jurisdiction;
|
|
35962
|
+
caseType;
|
|
35934
35963
|
constructor(route, loadingService) {
|
|
35935
35964
|
this.route = route;
|
|
35936
35965
|
this.loadingService = loadingService;
|
|
35937
35966
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
35967
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
35968
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
35938
35969
|
}
|
|
35939
35970
|
ngOnInit() {
|
|
35940
35971
|
// Check if the loading service has a shared spinner
|
|
@@ -35943,7 +35974,7 @@ class MultipleTasksExistComponent {
|
|
|
35943
35974
|
}
|
|
35944
35975
|
}
|
|
35945
35976
|
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
35946
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars:
|
|
35977
|
+
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) {
|
|
35947
35978
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35948
35979
|
i0.ɵɵtext(3);
|
|
35949
35980
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -35980,27 +36011,31 @@ class MultipleTasksExistComponent {
|
|
|
35980
36011
|
i0.ɵɵadvance(3);
|
|
35981
36012
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "Return to tasks tab and start the event from there."));
|
|
35982
36013
|
i0.ɵɵadvance(2);
|
|
35983
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36014
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(19, _c0$b, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
35984
36015
|
i0.ɵɵadvance();
|
|
35985
36016
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
35986
36017
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
35987
36018
|
}
|
|
35988
36019
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
|
|
35989
36020
|
type: Component,
|
|
35990
|
-
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" }]
|
|
36021
|
+
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" }]
|
|
35991
36022
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LoadingService }], null); })();
|
|
35992
36023
|
(() => { (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 }); })();
|
|
35993
36024
|
|
|
35994
|
-
const _c0$
|
|
36025
|
+
const _c0$a = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
35995
36026
|
class NoTasksAvailableComponent {
|
|
35996
36027
|
route;
|
|
35997
36028
|
caseId;
|
|
36029
|
+
jurisdiction;
|
|
36030
|
+
caseType;
|
|
35998
36031
|
constructor(route) {
|
|
35999
36032
|
this.route = route;
|
|
36000
36033
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36034
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36035
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36001
36036
|
}
|
|
36002
36037
|
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36003
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars:
|
|
36038
|
+
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) {
|
|
36004
36039
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36005
36040
|
i0.ɵɵtext(3);
|
|
36006
36041
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36031,18 +36066,18 @@ class NoTasksAvailableComponent {
|
|
|
36031
36066
|
i0.ɵɵadvance(3);
|
|
36032
36067
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You should have an assigned task for this event, but something has gone wrong."));
|
|
36033
36068
|
i0.ɵɵadvance(2);
|
|
36034
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36069
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$a, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36035
36070
|
i0.ɵɵadvance();
|
|
36036
36071
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 14, "Return to tasks tab"));
|
|
36037
36072
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36038
36073
|
}
|
|
36039
36074
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoTasksAvailableComponent, [{
|
|
36040
36075
|
type: Component,
|
|
36041
|
-
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" }]
|
|
36076
|
+
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" }]
|
|
36042
36077
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36043
36078
|
(() => { (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 }); })();
|
|
36044
36079
|
|
|
36045
|
-
const _c0$
|
|
36080
|
+
const _c0$9 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36046
36081
|
function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
36047
36082
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
36048
36083
|
i0.ɵɵtext(3);
|
|
@@ -36076,7 +36111,7 @@ function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36076
36111
|
i0.ɵɵadvance(3);
|
|
36077
36112
|
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."), "");
|
|
36078
36113
|
i0.ɵɵadvance(3);
|
|
36079
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36114
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(20, _c0$9, ctx_r0.jurisdiction, ctx_r0.caseType, ctx_r0.caseId));
|
|
36080
36115
|
i0.ɵɵadvance();
|
|
36081
36116
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 18, "Return to tasks tab"), " ");
|
|
36082
36117
|
} }
|
|
@@ -36086,6 +36121,8 @@ class TaskAssignedComponent {
|
|
|
36086
36121
|
caseworkerService;
|
|
36087
36122
|
task = null;
|
|
36088
36123
|
caseId;
|
|
36124
|
+
jurisdiction;
|
|
36125
|
+
caseType;
|
|
36089
36126
|
assignedUserName;
|
|
36090
36127
|
caseworkerSubscription;
|
|
36091
36128
|
judicialworkerSubscription;
|
|
@@ -36098,6 +36135,8 @@ class TaskAssignedComponent {
|
|
|
36098
36135
|
}
|
|
36099
36136
|
ngOnInit() {
|
|
36100
36137
|
// Current user is a caseworker?
|
|
36138
|
+
this.jurisdiction = this.task.jurisdiction;
|
|
36139
|
+
this.caseType = this.task.case_type_id;
|
|
36101
36140
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(this.task.jurisdiction).subscribe(result => {
|
|
36102
36141
|
if (result && result[0].service === this.task.jurisdiction && result[0].caseworkers) {
|
|
36103
36142
|
const caseworker = result[0].caseworkers.find(x => x.idamId === this.task.assignee);
|
|
@@ -36133,18 +36172,18 @@ class TaskAssignedComponent {
|
|
|
36133
36172
|
}
|
|
36134
36173
|
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
36135
36174
|
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) {
|
|
36136
|
-
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22,
|
|
36175
|
+
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 24, "div", 0);
|
|
36137
36176
|
} if (rf & 2) {
|
|
36138
36177
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
36139
36178
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36140
36179
|
}
|
|
36141
36180
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
|
|
36142
36181
|
type: Component,
|
|
36143
|
-
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" }]
|
|
36182
|
+
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" }]
|
|
36144
36183
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: JudicialworkerService }, { type: CaseworkerService }], null); })();
|
|
36145
36184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskAssignedComponent, { className: "TaskAssignedComponent", filePath: "lib/shared/components/event-start/components/task-assigned/task-assigned.component.ts", lineNumber: 12 }); })();
|
|
36146
36185
|
|
|
36147
|
-
const _c0$
|
|
36186
|
+
const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36148
36187
|
class TaskCancelledComponent {
|
|
36149
36188
|
caseId;
|
|
36150
36189
|
static ɵfac = function TaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskCancelledComponent)(); };
|
|
@@ -36197,7 +36236,7 @@ class TaskCancelledComponent {
|
|
|
36197
36236
|
i0.ɵɵadvance(4);
|
|
36198
36237
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 21, "Continue"));
|
|
36199
36238
|
i0.ɵɵadvance(2);
|
|
36200
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$
|
|
36239
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$8, ctx.caseId));
|
|
36201
36240
|
i0.ɵɵadvance();
|
|
36202
36241
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
|
|
36203
36242
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36210,7 +36249,7 @@ class TaskCancelledComponent {
|
|
|
36210
36249
|
}] }); })();
|
|
36211
36250
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskCancelledComponent, { className: "TaskCancelledComponent", filePath: "lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.ts", lineNumber: 7 }); })();
|
|
36212
36251
|
|
|
36213
|
-
const _c0$
|
|
36252
|
+
const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36214
36253
|
class TaskConflictComponent {
|
|
36215
36254
|
task;
|
|
36216
36255
|
caseId;
|
|
@@ -36252,7 +36291,7 @@ class TaskConflictComponent {
|
|
|
36252
36291
|
i0.ɵɵadvance(3);
|
|
36253
36292
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "If the problem persists, contact William Priest"));
|
|
36254
36293
|
i0.ɵɵadvance(2);
|
|
36255
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$
|
|
36294
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$7, ctx.caseId));
|
|
36256
36295
|
i0.ɵɵadvance();
|
|
36257
36296
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
36258
36297
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36267,16 +36306,20 @@ class TaskConflictComponent {
|
|
|
36267
36306
|
}] }); })();
|
|
36268
36307
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskConflictComponent, { className: "TaskConflictComponent", filePath: "lib/shared/components/event-start/components/task-conflict/task-conflict.component.ts", lineNumber: 8 }); })();
|
|
36269
36308
|
|
|
36270
|
-
const _c0$
|
|
36309
|
+
const _c0$6 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36271
36310
|
class TaskUnassignedComponent {
|
|
36272
36311
|
route;
|
|
36273
36312
|
caseId;
|
|
36313
|
+
jurisdiction;
|
|
36314
|
+
caseType;
|
|
36274
36315
|
constructor(route) {
|
|
36275
36316
|
this.route = route;
|
|
36276
36317
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36318
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36319
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36277
36320
|
}
|
|
36278
36321
|
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36279
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars:
|
|
36322
|
+
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) {
|
|
36280
36323
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36281
36324
|
i0.ɵɵtext(3);
|
|
36282
36325
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36307,14 +36350,14 @@ class TaskUnassignedComponent {
|
|
|
36307
36350
|
i0.ɵɵadvance(3);
|
|
36308
36351
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You must assign one of the available tasks from the task tab to continue with your work."));
|
|
36309
36352
|
i0.ɵɵadvance(2);
|
|
36310
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36353
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$6, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36311
36354
|
i0.ɵɵadvance();
|
|
36312
36355
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
|
|
36313
36356
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36314
36357
|
}
|
|
36315
36358
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
|
|
36316
36359
|
type: Component,
|
|
36317
|
-
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" }]
|
|
36360
|
+
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" }]
|
|
36318
36361
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36319
36362
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskUnassignedComponent, { className: "TaskUnassignedComponent", filePath: "lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.ts", lineNumber: 8 }); })();
|
|
36320
36363
|
|
|
@@ -36423,7 +36466,7 @@ class EventStartGuard {
|
|
|
36423
36466
|
}
|
|
36424
36467
|
else if (tasksAssignedToUser.length > 1 && !taskId) {
|
|
36425
36468
|
// if more than one task assigned to the user then give multiple tasks error
|
|
36426
|
-
this.router.navigate([`/cases/case-details/${caseId}/multiple-tasks-exist`]);
|
|
36469
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/multiple-tasks-exist`]);
|
|
36427
36470
|
return false;
|
|
36428
36471
|
}
|
|
36429
36472
|
else {
|
|
@@ -36456,7 +36499,7 @@ class EventStartGuard {
|
|
|
36456
36499
|
if (this.router && this.router.url && this.router.url.includes('event-start')) {
|
|
36457
36500
|
return of(true);
|
|
36458
36501
|
}
|
|
36459
|
-
this.router.navigate([`/cases/case-details/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36502
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36460
36503
|
return of(false);
|
|
36461
36504
|
}
|
|
36462
36505
|
else {
|
|
@@ -36572,7 +36615,7 @@ class EventStartStateMachineService {
|
|
|
36572
36615
|
// Trigger final state to complete processing of state machine
|
|
36573
36616
|
state.trigger(EventStartStates.FINAL);
|
|
36574
36617
|
// Navigate to no tasks available error page
|
|
36575
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36618
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36576
36619
|
}
|
|
36577
36620
|
entryActionForStateOneOrMoreTasks(state, context) {
|
|
36578
36621
|
state.trigger(EventStartStates.TASK_ASSIGNED_TO_USER);
|
|
@@ -36614,12 +36657,12 @@ class EventStartStateMachineService {
|
|
|
36614
36657
|
let theQueryParams = {};
|
|
36615
36658
|
if (context.tasks[0].assignee) {
|
|
36616
36659
|
// Task is assigned to some other user, navigate to task assigned error page
|
|
36617
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-assigned`;
|
|
36660
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-assigned`;
|
|
36618
36661
|
theQueryParams = context.tasks[0];
|
|
36619
36662
|
}
|
|
36620
36663
|
else {
|
|
36621
36664
|
// Task is unassigned, navigate to task unassigned error page
|
|
36622
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-unassigned`;
|
|
36665
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-unassigned`;
|
|
36623
36666
|
}
|
|
36624
36667
|
// Trigger final state to complete processing of state machine
|
|
36625
36668
|
state.trigger(EventStartStates.FINAL);
|
|
@@ -36666,13 +36709,13 @@ class EventStartStateMachineService {
|
|
|
36666
36709
|
// EXUI-2668 - Only add client context when taskEventCompletionInfo is set - stops auto completing incorrect tasks
|
|
36667
36710
|
context.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(clientContext));
|
|
36668
36711
|
// Allow user to perform the event
|
|
36669
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36712
|
+
context.router.navigate([`/cases/case-details/${task.jurisdiction}/${task.case_type_id}/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36670
36713
|
}
|
|
36671
36714
|
entryActionForStateMultipleTasksAssignedToUser(state, context) {
|
|
36672
36715
|
// Trigger final state to complete processing of state machine
|
|
36673
36716
|
state.trigger(EventStartStates.FINAL);
|
|
36674
36717
|
// Navigate to multiple tasks exist error page
|
|
36675
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36718
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36676
36719
|
}
|
|
36677
36720
|
finalAction(state) {
|
|
36678
36721
|
// Final actions can be performed here, the state machine finished running
|
|
@@ -36851,7 +36894,7 @@ class EventStartModule {
|
|
|
36851
36894
|
TaskAssignedComponent,
|
|
36852
36895
|
TaskUnassignedComponent] }); })();
|
|
36853
36896
|
|
|
36854
|
-
const _c0$
|
|
36897
|
+
const _c0$5 = a0 => ({ "EventTrigger-empty": a0 });
|
|
36855
36898
|
function EventTriggerComponent_form_0_option_6_Template(rf, ctx) { if (rf & 1) {
|
|
36856
36899
|
i0.ɵɵelementStart(0, "option", 8);
|
|
36857
36900
|
i0.ɵɵtext(1);
|
|
@@ -36894,7 +36937,7 @@ function EventTriggerComponent_form_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36894
36937
|
i0.ɵɵadvance(3);
|
|
36895
36938
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, "Next step"));
|
|
36896
36939
|
i0.ɵɵadvance(2);
|
|
36897
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
36940
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$5, !ctx_r1.triggerForm.value["trigger"]))("compareWith", ctx_r1.compareFn);
|
|
36898
36941
|
i0.ɵɵadvance();
|
|
36899
36942
|
i0.ɵɵproperty("ngIf", 1 !== ctx_r1.triggers.length);
|
|
36900
36943
|
i0.ɵɵadvance();
|
|
@@ -37028,7 +37071,7 @@ var ChallengedAccessRequestErrors;
|
|
|
37028
37071
|
ChallengedAccessRequestErrors["NO_REASON"] = "Enter a reason";
|
|
37029
37072
|
})(ChallengedAccessRequestErrors || (ChallengedAccessRequestErrors = {}));
|
|
37030
37073
|
|
|
37031
|
-
const _c0$
|
|
37074
|
+
const _c0$4 = a0 => ({ "form-group-error": a0 });
|
|
37032
37075
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
37033
37076
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
37034
37077
|
function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -37290,7 +37333,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37290
37333
|
i0.ɵɵadvance(2);
|
|
37291
37334
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
37292
37335
|
i0.ɵɵadvance();
|
|
37293
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$
|
|
37336
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
|
|
37294
37337
|
i0.ɵɵadvance(4);
|
|
37295
37338
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 28, ctx.title), " ");
|
|
37296
37339
|
i0.ɵɵadvance(3);
|
|
@@ -37329,17 +37372,22 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37329
37372
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
37330
37373
|
(() => { (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 }); })();
|
|
37331
37374
|
|
|
37375
|
+
const _c0$3 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2];
|
|
37332
37376
|
class CaseChallengedAccessSuccessComponent {
|
|
37333
37377
|
route;
|
|
37334
37378
|
caseId;
|
|
37379
|
+
jurisdiction;
|
|
37380
|
+
caseType;
|
|
37335
37381
|
constructor(route) {
|
|
37336
37382
|
this.route = route;
|
|
37337
37383
|
}
|
|
37338
37384
|
ngOnInit() {
|
|
37339
37385
|
this.caseId = this.route.snapshot.params.cid;
|
|
37386
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
37387
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
37340
37388
|
}
|
|
37341
37389
|
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37342
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars:
|
|
37390
|
+
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) {
|
|
37343
37391
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
37344
37392
|
i0.ɵɵtext(5);
|
|
37345
37393
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
@@ -37388,20 +37436,22 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
37388
37436
|
i0.ɵɵadvance(3);
|
|
37389
37437
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 19, "Your request will be logged for auditing purposes."), " ");
|
|
37390
37438
|
i0.ɵɵadvance(3);
|
|
37391
|
-
i0.ɵɵproperty("routerLink",
|
|
37439
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(23, _c0$3, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
37392
37440
|
i0.ɵɵadvance();
|
|
37393
37441
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 21, "View case file"));
|
|
37394
37442
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37395
37443
|
}
|
|
37396
37444
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessSuccessComponent, [{
|
|
37397
37445
|
type: Component,
|
|
37398
|
-
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
|
|
37446
|
+
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" }]
|
|
37399
37447
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37400
37448
|
(() => { (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 }); })();
|
|
37401
37449
|
|
|
37402
37450
|
class CaseReviewSpecificAccessRejectComponent {
|
|
37403
37451
|
route;
|
|
37404
37452
|
caseId;
|
|
37453
|
+
jurisdiction;
|
|
37454
|
+
caseType;
|
|
37405
37455
|
retunToTask = 'Return to the Tasks tab for this case';
|
|
37406
37456
|
returnToMyTask = 'Return to My tasks';
|
|
37407
37457
|
constructor(route) {
|
|
@@ -37409,9 +37459,11 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37409
37459
|
}
|
|
37410
37460
|
ngOnInit() {
|
|
37411
37461
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
37462
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
37463
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
37412
37464
|
}
|
|
37413
37465
|
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37414
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars:
|
|
37466
|
+
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) {
|
|
37415
37467
|
i0.ɵɵelement(0, "p");
|
|
37416
37468
|
i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
|
|
37417
37469
|
i0.ɵɵtext(6);
|
|
@@ -37436,22 +37488,22 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37436
37488
|
i0.ɵɵelementEnd()()();
|
|
37437
37489
|
} if (rf & 2) {
|
|
37438
37490
|
i0.ɵɵadvance(6);
|
|
37439
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7,
|
|
37491
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "Request for access denied"), "");
|
|
37440
37492
|
i0.ɵɵadvance(4);
|
|
37441
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
37493
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 11, "What happens next"));
|
|
37442
37494
|
i0.ɵɵadvance(3);
|
|
37443
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14,
|
|
37495
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "The requester has been denied access to this case."), " ");
|
|
37444
37496
|
i0.ɵɵadvance(5);
|
|
37445
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
37497
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 15, ctx.returnToMyTask));
|
|
37446
37498
|
i0.ɵɵadvance(3);
|
|
37447
|
-
i0.ɵɵ
|
|
37499
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", ctx.jurisdiction, "/", ctx.caseType, "/", ctx.caseId, "", i0.ɵɵsanitizeUrl);
|
|
37448
37500
|
i0.ɵɵadvance();
|
|
37449
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23,
|
|
37501
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, ctx.retunToTask));
|
|
37450
37502
|
} }, dependencies: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37451
37503
|
}
|
|
37452
37504
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRejectComponent, [{
|
|
37453
37505
|
type: Component,
|
|
37454
|
-
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" }]
|
|
37506
|
+
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" }]
|
|
37455
37507
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37456
37508
|
(() => { (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 }); })();
|
|
37457
37509
|
|