@hmcts/ccd-case-ui-toolkit 7.2.22 → 7.2.23-exui-2761-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +3 -3
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +9 -4
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +16 -3
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +15 -8
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +13 -9
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +4 -2
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +3 -3
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +6 -6
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +22 -18
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +2 -9
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +291 -235
- 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/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ import * as i10 from '@angular/material/legacy-tabs';
|
|
|
59
59
|
import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
|
|
60
60
|
import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
|
|
61
61
|
|
|
62
|
-
const _c0$
|
|
62
|
+
const _c0$17 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
63
63
|
const _c1$u = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
64
64
|
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
65
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
@@ -137,7 +137,7 @@ class FooterComponent {
|
|
|
137
137
|
workhours;
|
|
138
138
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
139
139
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$u, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
140
|
-
i0.ɵɵprojectionDef(_c0$
|
|
140
|
+
i0.ɵɵprojectionDef(_c0$17);
|
|
141
141
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
142
142
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
|
|
143
143
|
i0.ɵɵelementEnd()();
|
|
@@ -164,7 +164,7 @@ class FooterComponent {
|
|
|
164
164
|
}] }); })();
|
|
165
165
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 8 }); })();
|
|
166
166
|
|
|
167
|
-
const _c0$
|
|
167
|
+
const _c0$16 = [[["", "headerNavigation", ""]]];
|
|
168
168
|
const _c1$t = ["[headerNavigation]"];
|
|
169
169
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
170
170
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
@@ -207,7 +207,7 @@ class HeaderBarComponent {
|
|
|
207
207
|
}
|
|
208
208
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
|
|
209
209
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$t, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
210
|
-
i0.ɵɵprojectionDef(_c0$
|
|
210
|
+
i0.ɵɵprojectionDef(_c0$16);
|
|
211
211
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
212
212
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
213
213
|
i0.ɵɵelementEnd();
|
|
@@ -257,13 +257,13 @@ class HeaderBarComponent {
|
|
|
257
257
|
}] }); })();
|
|
258
258
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 8 }); })();
|
|
259
259
|
|
|
260
|
-
const _c0$
|
|
260
|
+
const _c0$15 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
261
261
|
const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
262
262
|
class NavigationComponent {
|
|
263
263
|
isSolicitor;
|
|
264
264
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
265
265
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
-
i0.ɵɵprojectionDef(_c0$
|
|
266
|
+
i0.ɵɵprojectionDef(_c0$15);
|
|
267
267
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
268
268
|
i0.ɵɵprojection(2);
|
|
269
269
|
i0.ɵɵprojection(3, 1);
|
|
@@ -382,12 +382,12 @@ class HeadersModule {
|
|
|
382
382
|
}], null, null); })();
|
|
383
383
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
384
384
|
|
|
385
|
-
const _c0$
|
|
385
|
+
const _c0$14 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
386
386
|
const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
387
387
|
class BodyComponent {
|
|
388
388
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
389
389
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
390
|
-
i0.ɵɵprojectionDef(_c0$
|
|
390
|
+
i0.ɵɵprojectionDef(_c0$14);
|
|
391
391
|
i0.ɵɵelementStart(0, "div", 0);
|
|
392
392
|
i0.ɵɵprojection(1);
|
|
393
393
|
i0.ɵɵprojection(2, 1);
|
|
@@ -401,7 +401,7 @@ class BodyComponent {
|
|
|
401
401
|
}], null, null); })();
|
|
402
402
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 9 }); })();
|
|
403
403
|
|
|
404
|
-
const _c0$
|
|
404
|
+
const _c0$13 = a0 => ({ "govuk-input--error": a0 });
|
|
405
405
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
406
406
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
407
407
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -418,7 +418,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
418
418
|
i0.ɵɵadvance();
|
|
419
419
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
420
420
|
i0.ɵɵadvance(2);
|
|
421
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
421
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
422
422
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
423
423
|
} }
|
|
424
424
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -437,7 +437,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
437
437
|
i0.ɵɵadvance();
|
|
438
438
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
439
439
|
i0.ɵɵadvance(2);
|
|
440
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
440
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
441
441
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
442
442
|
} }
|
|
443
443
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -456,7 +456,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
456
456
|
i0.ɵɵadvance();
|
|
457
457
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
458
458
|
i0.ɵɵadvance(2);
|
|
459
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
459
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
460
460
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
461
461
|
} }
|
|
462
462
|
class DateInputComponent {
|
|
@@ -692,21 +692,21 @@ class DateInputComponent {
|
|
|
692
692
|
i0.ɵɵadvance();
|
|
693
693
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
694
694
|
i0.ɵɵadvance(2);
|
|
695
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
695
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$13, ctx.isInvalid));
|
|
696
696
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
697
697
|
i0.ɵɵadvance(3);
|
|
698
698
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
699
699
|
i0.ɵɵadvance();
|
|
700
700
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
701
701
|
i0.ɵɵadvance(2);
|
|
702
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
702
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$13, ctx.isInvalid));
|
|
703
703
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
704
704
|
i0.ɵɵadvance(3);
|
|
705
705
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
706
706
|
i0.ɵɵadvance();
|
|
707
707
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
708
708
|
i0.ɵɵadvance(2);
|
|
709
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
709
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$13, ctx.isInvalid));
|
|
710
710
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
711
711
|
i0.ɵɵadvance(2);
|
|
712
712
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -743,7 +743,7 @@ class DateInputComponent {
|
|
|
743
743
|
}] }); })();
|
|
744
744
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 20 }); })();
|
|
745
745
|
|
|
746
|
-
const _c0$
|
|
746
|
+
const _c0$12 = ["*"];
|
|
747
747
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
748
748
|
i0.ɵɵelementContainerStart(0);
|
|
749
749
|
i0.ɵɵnamespaceSVG();
|
|
@@ -793,7 +793,7 @@ class AlertComponent {
|
|
|
793
793
|
showIcon = true;
|
|
794
794
|
alertMessageType = AlertMessageType;
|
|
795
795
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
796
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
796
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$12, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
797
797
|
i0.ɵɵprojectionDef();
|
|
798
798
|
i0.ɵɵelementStart(0, "div", 0);
|
|
799
799
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1006,14 +1006,14 @@ class NotificationBannerComponent {
|
|
|
1006
1006
|
}] }); })();
|
|
1007
1007
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 10 }); })();
|
|
1008
1008
|
|
|
1009
|
-
const _c0$
|
|
1009
|
+
const _c0$11 = ["*"];
|
|
1010
1010
|
const _c1$q = a0 => ({ "js-hidden": a0 });
|
|
1011
1011
|
class TabComponent {
|
|
1012
1012
|
id;
|
|
1013
1013
|
title;
|
|
1014
1014
|
selected;
|
|
1015
1015
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1016
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$
|
|
1016
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$11, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1017
1017
|
i0.ɵɵprojectionDef();
|
|
1018
1018
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1019
1019
|
i0.ɵɵprojection(1);
|
|
@@ -1035,7 +1035,7 @@ class TabComponent {
|
|
|
1035
1035
|
}] }); })();
|
|
1036
1036
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 10 }); })();
|
|
1037
1037
|
|
|
1038
|
-
const _c0
|
|
1038
|
+
const _c0$10 = ["tab"];
|
|
1039
1039
|
const _c1$p = ["*"];
|
|
1040
1040
|
const _c2$4 = () => ["."];
|
|
1041
1041
|
const _c3 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
@@ -1082,7 +1082,7 @@ class TabsComponent {
|
|
|
1082
1082
|
let _t;
|
|
1083
1083
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1084
1084
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1085
|
-
i0.ɵɵviewQuery(_c0
|
|
1085
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
1086
1086
|
} if (rf & 2) {
|
|
1087
1087
|
let _t;
|
|
1088
1088
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1141,7 +1141,7 @@ class TabsModule {
|
|
|
1141
1141
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1142
1142
|
TabComponent] }); })();
|
|
1143
1143
|
|
|
1144
|
-
const _c0
|
|
1144
|
+
const _c0$$ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1145
1145
|
class ActivityBannerComponent {
|
|
1146
1146
|
bannerType;
|
|
1147
1147
|
description;
|
|
@@ -1160,7 +1160,7 @@ class ActivityBannerComponent {
|
|
|
1160
1160
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1161
1161
|
i0.ɵɵelementEnd()();
|
|
1162
1162
|
} if (rf & 2) {
|
|
1163
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0
|
|
1163
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$$, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1164
1164
|
i0.ɵɵadvance(2);
|
|
1165
1165
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1166
1166
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -9292,7 +9292,7 @@ class CaseEditComponent {
|
|
|
9292
9292
|
this.cancelled.emit();
|
|
9293
9293
|
}
|
|
9294
9294
|
emitSubmitted(response) {
|
|
9295
|
-
this.submitted.emit({ caseId: response['id'], status: this.getStatus(response) });
|
|
9295
|
+
this.submitted.emit({ caseId: response['id'], jurisdiction: response['jurisdiction'], caseType: response['case_type'], status: this.getStatus(response) });
|
|
9296
9296
|
}
|
|
9297
9297
|
getNextPage({ wizard, currentPageId, eventTrigger, form }) {
|
|
9298
9298
|
return wizard.nextPage(currentPageId, this.fieldsUtils.buildCanShowPredicate(eventTrigger, form));
|
|
@@ -9620,7 +9620,7 @@ class CaseEditComponent {
|
|
|
9620
9620
|
}
|
|
9621
9621
|
else {
|
|
9622
9622
|
// Navigate to tasks tab on case details page
|
|
9623
|
-
this.router.navigate([`/cases/case-details/${this.getCaseId(caseDetails)}/tasks`], { relativeTo: this.route });
|
|
9623
|
+
this.router.navigate([`/cases/case-details/${this.caseDetails.case_type.jurisdiction.id}/${this.caseDetails.case_type.id}/${this.getCaseId(caseDetails)}/tasks`], { relativeTo: this.route });
|
|
9624
9624
|
}
|
|
9625
9625
|
}
|
|
9626
9626
|
getStatus(response) {
|
|
@@ -11827,13 +11827,17 @@ class CaseEventCompletionComponent {
|
|
|
11827
11827
|
}] }); })();
|
|
11828
11828
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionComponent, { className: "CaseEventCompletionComponent", filePath: "lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts", lineNumber: 20 }); })();
|
|
11829
11829
|
|
|
11830
|
-
const _c0$
|
|
11830
|
+
const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
11831
11831
|
class CaseEventCompletionTaskCancelledComponent {
|
|
11832
11832
|
context;
|
|
11833
11833
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
11834
11834
|
caseId;
|
|
11835
|
+
jurisdiction;
|
|
11836
|
+
caseType;
|
|
11835
11837
|
ngOnInit() {
|
|
11836
11838
|
this.caseId = this.context.caseId;
|
|
11839
|
+
this.jurisdiction = this.context.task.jurisdiction;
|
|
11840
|
+
this.caseType = this.context.task.case_type_id;
|
|
11837
11841
|
}
|
|
11838
11842
|
onContinue() {
|
|
11839
11843
|
// Removes task to complete so event completes without task
|
|
@@ -11842,7 +11846,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11842
11846
|
this.notifyEventCompletionCancelled.emit(true);
|
|
11843
11847
|
}
|
|
11844
11848
|
static ɵfac = function CaseEventCompletionTaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskCancelledComponent)(); };
|
|
11845
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars:
|
|
11849
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars: 29, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskCancelledComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11846
11850
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
11847
11851
|
i0.ɵɵtext(3);
|
|
11848
11852
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -11892,14 +11896,14 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11892
11896
|
i0.ɵɵadvance(4);
|
|
11893
11897
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
11894
11898
|
i0.ɵɵadvance(2);
|
|
11895
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
11899
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$_, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
11896
11900
|
i0.ɵɵadvance();
|
|
11897
11901
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
11898
11902
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
11899
11903
|
}
|
|
11900
11904
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskCancelledComponent, [{
|
|
11901
11905
|
type: Component,
|
|
11902
|
-
args: [{ selector: 'app-case-event-completion-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n <p>{{'Click Continue to complete the event and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
11906
|
+
args: [{ selector: 'app-case-event-completion-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n <p>{{'Click Continue to complete the event and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
11903
11907
|
}], null, { context: [{
|
|
11904
11908
|
type: Input
|
|
11905
11909
|
}], notifyEventCompletionCancelled: [{
|
|
@@ -11907,7 +11911,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11907
11911
|
}] }); })();
|
|
11908
11912
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionTaskCancelledComponent, { className: "CaseEventCompletionTaskCancelledComponent", filePath: "lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts", lineNumber: 9 }); })();
|
|
11909
11913
|
|
|
11910
|
-
const _c0$
|
|
11914
|
+
const _c0$Z = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
11911
11915
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11912
11916
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11913
11917
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -11960,7 +11964,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
11960
11964
|
i0.ɵɵadvance(4);
|
|
11961
11965
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
11962
11966
|
i0.ɵɵadvance(2);
|
|
11963
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
11967
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$Z, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
11964
11968
|
i0.ɵɵadvance();
|
|
11965
11969
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
11966
11970
|
} }
|
|
@@ -11976,6 +11980,8 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11976
11980
|
subscription;
|
|
11977
11981
|
caseworkerSubscription;
|
|
11978
11982
|
judicialworkerSubscription;
|
|
11983
|
+
jurisdiction;
|
|
11984
|
+
caseType;
|
|
11979
11985
|
constructor(sessionStorageService, judicialworkerService, caseworkerService) {
|
|
11980
11986
|
this.sessionStorageService = sessionStorageService;
|
|
11981
11987
|
this.judicialworkerService = judicialworkerService;
|
|
@@ -11985,6 +11991,8 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11985
11991
|
// Get case id and task from the parent component
|
|
11986
11992
|
this.caseId = this.context.caseId;
|
|
11987
11993
|
const task = this.context.reassignedTask;
|
|
11994
|
+
this.jurisdiction = task.jurisdiction;
|
|
11995
|
+
this.caseType = task.case_type_id;
|
|
11988
11996
|
// Current user is a caseworker?
|
|
11989
11997
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(task.jurisdiction).subscribe(result => {
|
|
11990
11998
|
if (result && result[0].service === task.jurisdiction && result[0].caseworkers) {
|
|
@@ -12040,14 +12048,14 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
12040
12048
|
}
|
|
12041
12049
|
static ɵfac = function CaseEventCompletionTaskReassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskReassignedComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
12042
12050
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskReassignedComponent, selectors: [["app-case-event-completion-task-reassigned"]], inputs: { context: "context" }, outputs: { notifyEventCompletionReassigned: "notifyEventCompletionReassigned" }, decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskReassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12043
|
-
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31,
|
|
12051
|
+
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31, 30, "div", 0);
|
|
12044
12052
|
} if (rf & 2) {
|
|
12045
12053
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
12046
12054
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
12047
12055
|
}
|
|
12048
12056
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskReassignedComponent, [{
|
|
12049
12057
|
type: Component,
|
|
12050
|
-
args: [{ selector: 'app-case-event-completion-task-reassigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task reassigned' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task reassigned' | rpxTranslate}}</h2>\n <p>{{'This task has been reassigned to' | rpxTranslate}} {{assignedUserName}}.</p>\n <p>{{'Click Continue to reassign the task to you and save your progress.' | rpxTranslate}}</p>\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12058
|
+
args: [{ selector: 'app-case-event-completion-task-reassigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task reassigned' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task reassigned' | rpxTranslate}}</h2>\n <p>{{'This task has been reassigned to' | rpxTranslate}} {{assignedUserName}}.</p>\n <p>{{'Click Continue to reassign the task to you and save your progress.' | rpxTranslate}}</p>\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12051
12059
|
}], () => [{ type: SessionStorageService }, { type: JudicialworkerService }, { type: CaseworkerService }], { context: [{
|
|
12052
12060
|
type: Input
|
|
12053
12061
|
}], notifyEventCompletionReassigned: [{
|
|
@@ -12361,7 +12369,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12361
12369
|
}] }); })();
|
|
12362
12370
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 21 }); })();
|
|
12363
12371
|
|
|
12364
|
-
const _c0$
|
|
12372
|
+
const _c0$Y = ["writeComplexFieldComponent"];
|
|
12365
12373
|
const _c1$o = a0 => ({ "form-group-error": a0 });
|
|
12366
12374
|
const _c2$3 = a0 => ({ "govuk-input--error": a0 });
|
|
12367
12375
|
function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -12603,7 +12611,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12603
12611
|
}
|
|
12604
12612
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
12605
12613
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12606
|
-
i0.ɵɵviewQuery(_c0$
|
|
12614
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
12607
12615
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
12608
12616
|
} if (rf & 2) {
|
|
12609
12617
|
let _t;
|
|
@@ -12666,7 +12674,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
12666
12674
|
type: Input
|
|
12667
12675
|
}] }); })();
|
|
12668
12676
|
|
|
12669
|
-
const _c0$
|
|
12677
|
+
const _c0$X = ["journeyChild"];
|
|
12670
12678
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
12671
12679
|
multipageComponentStateService;
|
|
12672
12680
|
journeyStartPageNumber = 0;
|
|
@@ -12741,7 +12749,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12741
12749
|
;
|
|
12742
12750
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12743
12751
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12744
|
-
i0.ɵɵviewQuery(_c0$
|
|
12752
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
12745
12753
|
} if (rf & 2) {
|
|
12746
12754
|
let _t;
|
|
12747
12755
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -12756,7 +12764,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12756
12764
|
args: ['journeyChild']
|
|
12757
12765
|
}] }); })();
|
|
12758
12766
|
|
|
12759
|
-
const _c0$
|
|
12767
|
+
const _c0$W = ["journeyChild"];
|
|
12760
12768
|
class AbstractJourneyComponent {
|
|
12761
12769
|
multipageComponentStateService;
|
|
12762
12770
|
journeyStartPageNumber = 0;
|
|
@@ -12818,7 +12826,7 @@ class AbstractJourneyComponent {
|
|
|
12818
12826
|
onPageChange() { }
|
|
12819
12827
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12820
12828
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12821
|
-
i0.ɵɵviewQuery(_c0$
|
|
12829
|
+
i0.ɵɵviewQuery(_c0$W, 5);
|
|
12822
12830
|
} if (rf & 2) {
|
|
12823
12831
|
let _t;
|
|
12824
12832
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14155,7 +14163,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
14155
14163
|
}], null, null); })();
|
|
14156
14164
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 8 }); })();
|
|
14157
14165
|
|
|
14158
|
-
const _c0$
|
|
14166
|
+
const _c0$V = ["writeComplexFieldComponent"];
|
|
14159
14167
|
const _c1$n = a0 => ({ "form-group-error": a0 });
|
|
14160
14168
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14161
14169
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -14236,7 +14244,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14236
14244
|
}
|
|
14237
14245
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
14238
14246
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14239
|
-
i0.ɵɵviewQuery(_c0$
|
|
14247
|
+
i0.ɵɵviewQuery(_c0$V, 5);
|
|
14240
14248
|
} if (rf & 2) {
|
|
14241
14249
|
let _t;
|
|
14242
14250
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -14270,7 +14278,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14270
14278
|
}] }); })();
|
|
14271
14279
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 11 }); })();
|
|
14272
14280
|
|
|
14273
|
-
const _c0$
|
|
14281
|
+
const _c0$U = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
|
|
14274
14282
|
const _c1$m = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
14275
14283
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
14276
14284
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -14281,7 +14289,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
14281
14289
|
} if (rf & 2) {
|
|
14282
14290
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14283
14291
|
i0.ɵɵadvance(4);
|
|
14284
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(3, _c0$
|
|
14292
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(3, _c0$U, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
|
|
14285
14293
|
} }
|
|
14286
14294
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
14287
14295
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -14400,7 +14408,7 @@ class RemoveDialogComponent {
|
|
|
14400
14408
|
}], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
|
|
14401
14409
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 9 }); })();
|
|
14402
14410
|
|
|
14403
|
-
const _c0$
|
|
14411
|
+
const _c0$T = ["collectionItem"];
|
|
14404
14412
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14405
14413
|
i0.ɵɵelementStart(0, "span", 10);
|
|
14406
14414
|
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
@@ -14787,7 +14795,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14787
14795
|
}
|
|
14788
14796
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
14789
14797
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14790
|
-
i0.ɵɵviewQuery(_c0$
|
|
14798
|
+
i0.ɵɵviewQuery(_c0$T, 5);
|
|
14791
14799
|
} if (rf & 2) {
|
|
14792
14800
|
let _t;
|
|
14793
14801
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -15100,7 +15108,7 @@ class FileUploadStateService {
|
|
|
15100
15108
|
type: Injectable
|
|
15101
15109
|
}], null, null); })();
|
|
15102
15110
|
|
|
15103
|
-
const _c0$
|
|
15111
|
+
const _c0$S = ["fileInput"];
|
|
15104
15112
|
const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
|
|
15105
15113
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
15106
15114
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -15462,7 +15470,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15462
15470
|
}
|
|
15463
15471
|
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
15464
15472
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15465
|
-
i0.ɵɵviewQuery(_c0$
|
|
15473
|
+
i0.ɵɵviewQuery(_c0$S, 5);
|
|
15466
15474
|
} if (rf & 2) {
|
|
15467
15475
|
let _t;
|
|
15468
15476
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -15576,7 +15584,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
15576
15584
|
}], null, null); })();
|
|
15577
15585
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 8 }); })();
|
|
15578
15586
|
|
|
15579
|
-
const _c0$
|
|
15587
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
15580
15588
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
15581
15589
|
i0.ɵɵelementStart(0, "span", 8);
|
|
15582
15590
|
i0.ɵɵtext(1);
|
|
@@ -15664,7 +15672,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15664
15672
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
15665
15673
|
i0.ɵɵelementEnd()();
|
|
15666
15674
|
} if (rf & 2) {
|
|
15667
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
15675
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15668
15676
|
i0.ɵɵadvance();
|
|
15669
15677
|
i0.ɵɵproperty("for", ctx.id());
|
|
15670
15678
|
i0.ɵɵadvance();
|
|
@@ -15842,7 +15850,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
15842
15850
|
}], null, null); })();
|
|
15843
15851
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
15844
15852
|
|
|
15845
|
-
const _c0$
|
|
15853
|
+
const _c0$Q = a0 => ({ "error": a0 });
|
|
15846
15854
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
15847
15855
|
i0.ɵɵelementStart(0, "span", 5);
|
|
15848
15856
|
i0.ɵɵtext(1);
|
|
@@ -15963,7 +15971,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
15963
15971
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 7, "ng-container", 4);
|
|
15964
15972
|
i0.ɵɵelementEnd()();
|
|
15965
15973
|
} if (rf & 2) {
|
|
15966
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
15974
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15967
15975
|
i0.ɵɵadvance(3);
|
|
15968
15976
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15969
15977
|
i0.ɵɵadvance();
|
|
@@ -16041,7 +16049,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16041
16049
|
}], null, null); })();
|
|
16042
16050
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 8 }); })();
|
|
16043
16051
|
|
|
16044
|
-
const _c0$
|
|
16052
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
16045
16053
|
const _c1$k = a0 => ({ selected: a0 });
|
|
16046
16054
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16047
16055
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -16136,7 +16144,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16136
16144
|
i0.ɵɵelementContainerEnd();
|
|
16137
16145
|
i0.ɵɵelementEnd()();
|
|
16138
16146
|
} if (rf & 2) {
|
|
16139
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16147
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
16140
16148
|
i0.ɵɵadvance(3);
|
|
16141
16149
|
i0.ɵɵproperty("for", ctx.id());
|
|
16142
16150
|
i0.ɵɵadvance();
|
|
@@ -16189,7 +16197,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
16189
16197
|
}], null, null); })();
|
|
16190
16198
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 10 }); })();
|
|
16191
16199
|
|
|
16192
|
-
const _c0$
|
|
16200
|
+
const _c0$O = a0 => ({ "form-group-error": a0 });
|
|
16193
16201
|
const _c1$j = a0 => ({ "govuk-input--error": a0 });
|
|
16194
16202
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16195
16203
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16235,7 +16243,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16235
16243
|
i0.ɵɵelement(5, "input", 5);
|
|
16236
16244
|
i0.ɵɵelementEnd();
|
|
16237
16245
|
} if (rf & 2) {
|
|
16238
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16246
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
16239
16247
|
i0.ɵɵadvance();
|
|
16240
16248
|
i0.ɵɵproperty("for", ctx.id());
|
|
16241
16249
|
i0.ɵɵadvance();
|
|
@@ -16276,7 +16284,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16276
16284
|
}], null, null); })();
|
|
16277
16285
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 8 }); })();
|
|
16278
16286
|
|
|
16279
|
-
const _c0$
|
|
16287
|
+
const _c0$N = a0 => ({ "form-group-error": a0 });
|
|
16280
16288
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16281
16289
|
i0.ɵɵelementStart(0, "span", 8);
|
|
16282
16290
|
i0.ɵɵtext(1);
|
|
@@ -16351,7 +16359,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16351
16359
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
16352
16360
|
i0.ɵɵelementEnd()();
|
|
16353
16361
|
} if (rf & 2) {
|
|
16354
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
16362
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
16355
16363
|
i0.ɵɵadvance();
|
|
16356
16364
|
i0.ɵɵproperty("for", ctx.id());
|
|
16357
16365
|
i0.ɵɵadvance();
|
|
@@ -16412,7 +16420,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16412
16420
|
}], null, null); })();
|
|
16413
16421
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 8 }); })();
|
|
16414
16422
|
|
|
16415
|
-
const _c0$
|
|
16423
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
16416
16424
|
const _c1$i = a0 => ({ selected: a0 });
|
|
16417
16425
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16418
16426
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16480,7 +16488,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16480
16488
|
i0.ɵɵelementContainerEnd();
|
|
16481
16489
|
i0.ɵɵelementEnd()();
|
|
16482
16490
|
} if (rf & 2) {
|
|
16483
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
16491
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
16484
16492
|
i0.ɵɵadvance(3);
|
|
16485
16493
|
i0.ɵɵproperty("for", ctx.id());
|
|
16486
16494
|
i0.ɵɵadvance();
|
|
@@ -16556,7 +16564,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
16556
16564
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
16557
16565
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 11 }); })();
|
|
16558
16566
|
|
|
16559
|
-
const _c0$
|
|
16567
|
+
const _c0$L = a0 => ({ "form-group-error": a0 });
|
|
16560
16568
|
const _c1$h = a0 => ({ "hide-autocomplete": a0 });
|
|
16561
16569
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16562
16570
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -16776,7 +16784,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
16776
16784
|
i0.ɵɵelementEnd()();
|
|
16777
16785
|
} if (rf & 2) {
|
|
16778
16786
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
16779
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
16787
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
|
|
16780
16788
|
i0.ɵɵadvance();
|
|
16781
16789
|
i0.ɵɵproperty("for", ctx.id());
|
|
16782
16790
|
i0.ɵɵadvance();
|
|
@@ -16989,7 +16997,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
16989
16997
|
}
|
|
16990
16998
|
}
|
|
16991
16999
|
onBack() {
|
|
16992
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
17000
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
16993
17001
|
}
|
|
16994
17002
|
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
16995
17003
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "link-cases-journey", 4, "ngIf"], ["id", "manage-link-cases-journey", 4, "ngIf"], ["id", "link-cases-journey"], ["id", "manage-link-cases-journey"]], template: function BeforeYouStartComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -17241,7 +17249,7 @@ class ValidatorsUtils {
|
|
|
17241
17249
|
args: [{ providedIn: 'root' }]
|
|
17242
17250
|
}], null, null); })();
|
|
17243
17251
|
|
|
17244
|
-
const _c0$
|
|
17252
|
+
const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
|
|
17245
17253
|
const _c1$g = a0 => ({ "table-group-error": a0 });
|
|
17246
17254
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
17247
17255
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
@@ -17309,7 +17317,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
17309
17317
|
i0.ɵɵelementEnd()();
|
|
17310
17318
|
} if (rf & 2) {
|
|
17311
17319
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
17312
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
17320
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
|
|
17313
17321
|
i0.ɵɵadvance(3);
|
|
17314
17322
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
17315
17323
|
} }
|
|
@@ -17353,11 +17361,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17353
17361
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
17354
17362
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
17355
17363
|
i0.ɵɵadvance();
|
|
17356
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
|
|
17357
17365
|
i0.ɵɵadvance(3);
|
|
17358
17366
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
17359
17367
|
i0.ɵɵadvance(2);
|
|
17360
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
17368
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
|
|
17361
17369
|
i0.ɵɵadvance(5);
|
|
17362
17370
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
17363
17371
|
i0.ɵɵadvance(2);
|
|
@@ -17785,7 +17793,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
17785
17793
|
i0.ɵɵadvance(4);
|
|
17786
17794
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17787
17795
|
i0.ɵɵadvance(4);
|
|
17788
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
17796
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
|
|
17789
17797
|
i0.ɵɵadvance();
|
|
17790
17798
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17791
17799
|
i0.ɵɵadvance(18);
|
|
@@ -17820,7 +17828,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Te
|
|
|
17820
17828
|
} if (rf & 2) {
|
|
17821
17829
|
const case_r3 = i0.ɵɵnextContext(3).$implicit;
|
|
17822
17830
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
17823
|
-
i0.ɵɵ
|
|
17831
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17824
17832
|
i0.ɵɵadvance();
|
|
17825
17833
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseReferenceLink(case_r3.caseReference));
|
|
17826
17834
|
} }
|
|
@@ -17832,7 +17840,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Templa
|
|
|
17832
17840
|
i0.ɵɵtext(1);
|
|
17833
17841
|
i0.ɵɵpipe(2, "ccdLinkCasesFromReasonValue");
|
|
17834
17842
|
i0.ɵɵelementStart(3, "span");
|
|
17835
|
-
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2,
|
|
17843
|
+
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2, 5, "a", 18);
|
|
17836
17844
|
i0.ɵɵelementEnd();
|
|
17837
17845
|
i0.ɵɵtemplate(5, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template, 1, 0, "br", 19);
|
|
17838
17846
|
i0.ɵɵelementEnd();
|
|
@@ -17877,11 +17885,11 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) {
|
|
|
17877
17885
|
} if (rf & 2) {
|
|
17878
17886
|
const case_r3 = ctx.$implicit;
|
|
17879
17887
|
i0.ɵɵadvance(3);
|
|
17880
|
-
i0.ɵɵ
|
|
17888
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17881
17889
|
i0.ɵɵadvance(2);
|
|
17882
17890
|
i0.ɵɵtextInterpolate1("", case_r3.caseNameHmctsInternal, " ");
|
|
17883
17891
|
i0.ɵɵadvance(2);
|
|
17884
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
17892
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r3.caseReference), "");
|
|
17885
17893
|
i0.ɵɵadvance(3);
|
|
17886
17894
|
i0.ɵɵproperty("title", case_r3.ccdCaseTypeDescription);
|
|
17887
17895
|
i0.ɵɵadvance();
|
|
@@ -17902,7 +17910,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template(rf, ctx) {
|
|
|
17902
17910
|
} }
|
|
17903
17911
|
function LinkedCasesFromTableComponent_table_1_tbody_13_Template(rf, ctx) { if (rf & 1) {
|
|
17904
17912
|
i0.ɵɵelementStart(0, "tbody", 8);
|
|
17905
|
-
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19,
|
|
17913
|
+
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19, 14, "tr", 9)(2, LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template, 3, 0, "tr", 10);
|
|
17906
17914
|
i0.ɵɵelementEnd();
|
|
17907
17915
|
} if (rf & 2) {
|
|
17908
17916
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -18030,7 +18038,7 @@ class LinkedCasesFromTableComponent {
|
|
|
18030
18038
|
}
|
|
18031
18039
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
18032
18040
|
type: Component,
|
|
18033
|
-
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
18041
|
+
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
18034
18042
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
18035
18043
|
type: Input
|
|
18036
18044
|
}], notifyAPIFailure: [{
|
|
@@ -18045,7 +18053,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template(rf,
|
|
|
18045
18053
|
} if (rf & 2) {
|
|
18046
18054
|
const case_r1 = i0.ɵɵnextContext(3).$implicit;
|
|
18047
18055
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18048
|
-
i0.ɵɵ
|
|
18056
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18049
18057
|
i0.ɵɵadvance();
|
|
18050
18058
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseRefereneLink(case_r1.caseReference));
|
|
18051
18059
|
} }
|
|
@@ -18057,7 +18065,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_Template(rf, ctx
|
|
|
18057
18065
|
i0.ɵɵtext(1);
|
|
18058
18066
|
i0.ɵɵpipe(2, "ccdLinkCasesReasonValue");
|
|
18059
18067
|
i0.ɵɵelementStart(3, "span");
|
|
18060
|
-
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2,
|
|
18068
|
+
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2, 5, "a", 15);
|
|
18061
18069
|
i0.ɵɵelementEnd();
|
|
18062
18070
|
i0.ɵɵtemplate(5, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_br_5_Template, 1, 0, "br", 13);
|
|
18063
18071
|
i0.ɵɵelementEnd();
|
|
@@ -18102,11 +18110,11 @@ function LinkedCasesToTableComponent_table_2_tr_14_Template(rf, ctx) { if (rf &
|
|
|
18102
18110
|
} if (rf & 2) {
|
|
18103
18111
|
const case_r1 = ctx.$implicit;
|
|
18104
18112
|
i0.ɵɵadvance(3);
|
|
18105
|
-
i0.ɵɵ
|
|
18113
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18106
18114
|
i0.ɵɵadvance(2);
|
|
18107
18115
|
i0.ɵɵtextInterpolate1("", case_r1.caseName, " ");
|
|
18108
18116
|
i0.ɵɵadvance(2);
|
|
18109
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
18117
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r1.caseReference), "");
|
|
18110
18118
|
i0.ɵɵadvance(3);
|
|
18111
18119
|
i0.ɵɵproperty("title", case_r1.caseTypeDescription);
|
|
18112
18120
|
i0.ɵɵadvance();
|
|
@@ -18142,7 +18150,7 @@ function LinkedCasesToTableComponent_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
18142
18150
|
i0.ɵɵtext(12, "Reasons for case link");
|
|
18143
18151
|
i0.ɵɵelementEnd()()();
|
|
18144
18152
|
i0.ɵɵelementStart(13, "tbody", 6);
|
|
18145
|
-
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19,
|
|
18153
|
+
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19, 14, "tr", 7)(15, LinkedCasesToTableComponent_table_2_tr_15_Template, 3, 0, "tr", 8);
|
|
18146
18154
|
i0.ɵɵelementEnd()();
|
|
18147
18155
|
} if (rf & 2) {
|
|
18148
18156
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -18307,7 +18315,7 @@ class LinkedCasesToTableComponent {
|
|
|
18307
18315
|
}
|
|
18308
18316
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesToTableComponent, [{
|
|
18309
18317
|
type: Component,
|
|
18310
|
-
args: [{ selector: 'ccd-linked-cases-to-table', template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-describedby=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n
|
|
18318
|
+
args: [{ selector: 'ccd-linked-cases-to-table', template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-describedby=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.value.Reason)\">{{getCaseRefereneLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"linkedCasesFromResponse.length === 0 && (!isServerError && !isServerReasonCodeError)\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".case-table-column{min-width:20%;max-width:20%}\n"] }]
|
|
18311
18319
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LinkedCasesService }, { type: CasesService }], { caseField: [{
|
|
18312
18320
|
type: Input
|
|
18313
18321
|
}], notifyAPIFailure: [{
|
|
@@ -18349,7 +18357,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18349
18357
|
this.serverLinkedApiError = this.linkedCasesService.serverLinkedApiError;
|
|
18350
18358
|
}
|
|
18351
18359
|
onBack() {
|
|
18352
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18360
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18353
18361
|
}
|
|
18354
18362
|
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18355
18363
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoLinkedCasesComponent, selectors: [["ccd-no-linked-cases"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["noLinkedCases", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], ["class", "govuk-heading-xl", 4, "ngIf"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf", "ngIfElse"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-button-group"], ["type", "button", "id", "back-button", 1, "button", "button-primary", 3, "click"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function NoLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -18378,7 +18386,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18378
18386
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
18379
18387
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 12 }); })();
|
|
18380
18388
|
|
|
18381
|
-
const _c0$
|
|
18389
|
+
const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
|
|
18382
18390
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
18383
18391
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
18384
18392
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -18417,7 +18425,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18417
18425
|
i0.ɵɵelementEnd()();
|
|
18418
18426
|
} if (rf & 2) {
|
|
18419
18427
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
18420
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
18428
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
18421
18429
|
i0.ɵɵadvance();
|
|
18422
18430
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
18423
18431
|
i0.ɵɵadvance(2);
|
|
@@ -18791,7 +18799,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18791
18799
|
};
|
|
18792
18800
|
}
|
|
18793
18801
|
ngAfterViewInit() {
|
|
18794
|
-
this.linkedCasesService.caseFieldValue = this.caseField?.value
|
|
18802
|
+
this.linkedCasesService.caseFieldValue = this.caseField?.value ?? [];
|
|
18795
18803
|
let labelField = document.getElementsByClassName('govuk-heading-l');
|
|
18796
18804
|
if (labelField && labelField.length) {
|
|
18797
18805
|
labelField[0].replaceWith('');
|
|
@@ -18806,7 +18814,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18806
18814
|
}
|
|
18807
18815
|
}
|
|
18808
18816
|
reloadCurrentRoute() {
|
|
18809
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18817
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18810
18818
|
}
|
|
18811
18819
|
getFailureLinkedToNotification(evt) {
|
|
18812
18820
|
this.isServerLinkedToError = true;
|
|
@@ -19346,7 +19354,7 @@ class MoneyGbpInputComponent {
|
|
|
19346
19354
|
}] }); })();
|
|
19347
19355
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 27 }); })();
|
|
19348
19356
|
|
|
19349
|
-
const _c0$
|
|
19357
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
19350
19358
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19351
19359
|
i0.ɵɵelementStart(0, "span", 8);
|
|
19352
19360
|
i0.ɵɵtext(1);
|
|
@@ -19395,7 +19403,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19395
19403
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
19396
19404
|
i0.ɵɵelementEnd()();
|
|
19397
19405
|
} if (rf & 2) {
|
|
19398
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19406
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19399
19407
|
i0.ɵɵadvance();
|
|
19400
19408
|
i0.ɵɵproperty("for", ctx.id());
|
|
19401
19409
|
i0.ɵɵadvance();
|
|
@@ -19454,7 +19462,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
19454
19462
|
}], null, null); })();
|
|
19455
19463
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
19456
19464
|
|
|
19457
|
-
const _c0$
|
|
19465
|
+
const _c0$H = a0 => ({ "error": a0 });
|
|
19458
19466
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
19459
19467
|
i0.ɵɵelementStart(0, "span", 5);
|
|
19460
19468
|
i0.ɵɵtext(1);
|
|
@@ -19555,7 +19563,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19555
19563
|
i0.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2)(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3)(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
|
|
19556
19564
|
i0.ɵɵelementEnd()();
|
|
19557
19565
|
} if (rf & 2) {
|
|
19558
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
19566
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19559
19567
|
i0.ɵɵadvance(3);
|
|
19560
19568
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19561
19569
|
i0.ɵɵadvance();
|
|
@@ -19593,7 +19601,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
19593
19601
|
}], null, null); })();
|
|
19594
19602
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 8 }); })();
|
|
19595
19603
|
|
|
19596
|
-
const _c0$
|
|
19604
|
+
const _c0$G = a0 => ({ "form-group-error": a0 });
|
|
19597
19605
|
const _c1$f = a0 => ({ "govuk-input--error": a0 });
|
|
19598
19606
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19599
19607
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -19631,7 +19639,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19631
19639
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
19632
19640
|
}
|
|
19633
19641
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteNumberFieldComponent_BaseFactory; return function WriteNumberFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteNumberFieldComponent_BaseFactory || (ɵWriteNumberFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent)))(__ngFactoryType__ || WriteNumberFieldComponent); }; })();
|
|
19634
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteNumberFieldComponent, selectors: [["ccd-write-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", "inputmode", "
|
|
19642
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteNumberFieldComponent, selectors: [["ccd-write-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", "inputmode", "decimal", "pattern", "^[-+]?[0-9]+(?:\\.?[0-9]+)?$", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19635
19643
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
19636
19644
|
i0.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
19637
19645
|
i0.ɵɵelementEnd();
|
|
@@ -19639,7 +19647,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19639
19647
|
i0.ɵɵelement(5, "input", 5);
|
|
19640
19648
|
i0.ɵɵelementEnd();
|
|
19641
19649
|
} if (rf & 2) {
|
|
19642
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19650
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19643
19651
|
i0.ɵɵadvance();
|
|
19644
19652
|
i0.ɵɵproperty("for", ctx.id());
|
|
19645
19653
|
i0.ɵɵadvance();
|
|
@@ -19654,7 +19662,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19654
19662
|
}
|
|
19655
19663
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
19656
19664
|
type: Component,
|
|
19657
|
-
args: [{ selector: 'ccd-write-number-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !numberControl.valid && numberControl.dirty}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"numberControl.errors && numberControl.dirty\">\n {{numberControl.errors | ccdFirstError:caseField.label}}\n </span>\n\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': numberControl.errors && numberControl.dirty}\"\n [id]=\"id()\" type=\"text\" inputmode=\"
|
|
19665
|
+
args: [{ selector: 'ccd-write-number-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !numberControl.valid && numberControl.dirty}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"numberControl.errors && numberControl.dirty\">\n {{numberControl.errors | ccdFirstError:caseField.label}}\n </span>\n\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': numberControl.errors && numberControl.dirty}\"\n [id]=\"id()\" type=\"text\" inputmode=\"decimal\" pattern=\"^[-+]?[0-9]+(?:\\.?[0-9]+)?$\" [formControl]=\"numberControl\">\n</div>\n" }]
|
|
19658
19666
|
}], null, null); })();
|
|
19659
19667
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteNumberFieldComponent, { className: "WriteNumberFieldComponent", filePath: "lib/shared/components/palette/number/write-number-field.component.ts", lineNumber: 9 }); })();
|
|
19660
19668
|
|
|
@@ -19818,7 +19826,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
19818
19826
|
}] }); })();
|
|
19819
19827
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 10 }); })();
|
|
19820
19828
|
|
|
19821
|
-
const _c0$
|
|
19829
|
+
const _c0$F = a0 => ({ "scroll-container ": a0 });
|
|
19822
19830
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
19823
19831
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
19824
19832
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -19897,7 +19905,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
19897
19905
|
let tmp_3_0;
|
|
19898
19906
|
let tmp_5_0;
|
|
19899
19907
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
19900
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19908
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$F, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
|
|
19901
19909
|
i0.ɵɵadvance(2);
|
|
19902
19910
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19903
19911
|
i0.ɵɵadvance(2);
|
|
@@ -20276,7 +20284,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
20276
20284
|
}], null, null); })();
|
|
20277
20285
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 8 }); })();
|
|
20278
20286
|
|
|
20279
|
-
const _c0$
|
|
20287
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
20280
20288
|
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
20281
20289
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
20282
20290
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -20322,7 +20330,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20322
20330
|
i0.ɵɵelement(5, "input", 5);
|
|
20323
20331
|
i0.ɵɵelementEnd();
|
|
20324
20332
|
} if (rf & 2) {
|
|
20325
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20333
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20326
20334
|
i0.ɵɵadvance();
|
|
20327
20335
|
i0.ɵɵproperty("for", ctx.id());
|
|
20328
20336
|
i0.ɵɵadvance();
|
|
@@ -20729,6 +20737,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20729
20737
|
questionSelected = new EventEmitter();
|
|
20730
20738
|
qualifyingQuestionsErrorMessage = QualifyingQuestionsErrorMessage;
|
|
20731
20739
|
caseId;
|
|
20740
|
+
jurisdiction;
|
|
20741
|
+
caseType;
|
|
20732
20742
|
constructor(route, router, qualifyingQuestionService) {
|
|
20733
20743
|
this.route = route;
|
|
20734
20744
|
this.router = router;
|
|
@@ -20736,6 +20746,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20736
20746
|
}
|
|
20737
20747
|
ngOnInit() {
|
|
20738
20748
|
this.caseId = this.route.snapshot.params.cid;
|
|
20749
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
20750
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
20739
20751
|
// Check if there's already a selected qualifying question from the service
|
|
20740
20752
|
const savedSelection = this.qualifyingQuestionService.getQualifyingQuestionSelection();
|
|
20741
20753
|
if (savedSelection) {
|
|
@@ -20743,7 +20755,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20743
20755
|
}
|
|
20744
20756
|
}
|
|
20745
20757
|
click() {
|
|
20746
|
-
this.router.navigate(['cases', 'case-details', this.caseId], { fragment: 'Queries' });
|
|
20758
|
+
this.router.navigate(['cases', 'case-details', this.jurisdiction, this.caseType, this.caseId], { fragment: 'Queries' });
|
|
20747
20759
|
}
|
|
20748
20760
|
get displayError() {
|
|
20749
20761
|
return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
|
|
@@ -20926,14 +20938,7 @@ class QueryListItem {
|
|
|
20926
20938
|
if (childrenCount === 0) {
|
|
20927
20939
|
return this.lastSubmittedMessage.name;
|
|
20928
20940
|
}
|
|
20929
|
-
|
|
20930
|
-
if (childrenCount === 1) {
|
|
20931
|
-
index = 0;
|
|
20932
|
-
}
|
|
20933
|
-
else {
|
|
20934
|
-
index = childrenCount % 2 === 1 ? childrenCount - 1 : childrenCount - 2;
|
|
20935
|
-
}
|
|
20936
|
-
return this.children[index].name;
|
|
20941
|
+
return this.children[childrenCount - 1].name;
|
|
20937
20942
|
}
|
|
20938
20943
|
get lastSubmittedDate() {
|
|
20939
20944
|
const childrenCount = this.children.length;
|
|
@@ -22566,7 +22571,7 @@ class QueryWriteDateInputComponent {
|
|
|
22566
22571
|
}] }); })();
|
|
22567
22572
|
(() => { (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 }); })();
|
|
22568
22573
|
|
|
22569
|
-
const _c0$
|
|
22574
|
+
const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
|
|
22570
22575
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
22571
22576
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
22572
22577
|
} if (rf & 2) {
|
|
@@ -22646,7 +22651,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
22646
22651
|
} if (rf & 2) {
|
|
22647
22652
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22648
22653
|
i0.ɵɵadvance();
|
|
22649
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
22654
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
|
|
22650
22655
|
i0.ɵɵadvance(4);
|
|
22651
22656
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
22652
22657
|
i0.ɵɵadvance(2);
|
|
@@ -22713,7 +22718,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
22713
22718
|
i0.ɵɵadvance(8);
|
|
22714
22719
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
22715
22720
|
i0.ɵɵadvance(2);
|
|
22716
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
22721
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
22717
22722
|
i0.ɵɵadvance(3);
|
|
22718
22723
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
22719
22724
|
i0.ɵɵadvance(3);
|
|
@@ -22721,7 +22726,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
22721
22726
|
i0.ɵɵadvance(2);
|
|
22722
22727
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
22723
22728
|
i0.ɵɵadvance(2);
|
|
22724
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
22729
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
22725
22730
|
i0.ɵɵadvance(3);
|
|
22726
22731
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
22727
22732
|
i0.ɵɵadvance(3);
|
|
@@ -22732,7 +22737,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
22732
22737
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
22733
22738
|
i0.ɵɵproperty("formControlName", "body");
|
|
22734
22739
|
i0.ɵɵadvance(2);
|
|
22735
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
22740
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
22736
22741
|
i0.ɵɵadvance(4);
|
|
22737
22742
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
22738
22743
|
i0.ɵɵadvance(2);
|
|
@@ -23044,21 +23049,21 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
23044
23049
|
} if (rf & 2) {
|
|
23045
23050
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23046
23051
|
i0.ɵɵadvance(3);
|
|
23047
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23052
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Query submitted"));
|
|
23048
23053
|
i0.ɵɵadvance(3);
|
|
23049
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7,
|
|
23054
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 13, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
23050
23055
|
i0.ɵɵadvance(4);
|
|
23051
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
23056
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "What happens next"));
|
|
23052
23057
|
i0.ɵɵadvance(2);
|
|
23053
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13,
|
|
23058
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 17, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
23054
23059
|
i0.ɵɵadvance(3);
|
|
23055
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16,
|
|
23060
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 19, "When the response is available it will be added to the 'Queries' section."));
|
|
23056
23061
|
i0.ɵɵadvance(3);
|
|
23057
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19,
|
|
23062
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 21, "You can"), " ");
|
|
23058
23063
|
i0.ɵɵadvance(2);
|
|
23059
|
-
i0.ɵɵ
|
|
23064
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23060
23065
|
i0.ɵɵadvance();
|
|
23061
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22,
|
|
23066
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 23, "Go back to the case"));
|
|
23062
23067
|
} }
|
|
23063
23068
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
23064
23069
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23086,23 +23091,23 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
23086
23091
|
} if (rf & 2) {
|
|
23087
23092
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23088
23093
|
i0.ɵɵadvance(3);
|
|
23089
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23094
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 13, "Query response submitted"));
|
|
23090
23095
|
i0.ɵɵadvance(3);
|
|
23091
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7,
|
|
23096
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 15, "This query response has been added to the case"));
|
|
23092
23097
|
i0.ɵɵadvance(3);
|
|
23093
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10,
|
|
23098
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 17, "You can"), " ");
|
|
23094
23099
|
i0.ɵɵadvance(2);
|
|
23095
|
-
i0.ɵɵ
|
|
23100
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "/tasks");
|
|
23096
23101
|
i0.ɵɵadvance();
|
|
23097
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13,
|
|
23102
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "return to tasks"));
|
|
23098
23103
|
i0.ɵɵadvance(3);
|
|
23099
|
-
i0.ɵɵ
|
|
23104
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23100
23105
|
i0.ɵɵadvance();
|
|
23101
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17,
|
|
23106
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
|
|
23102
23107
|
} }
|
|
23103
23108
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
23104
23109
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
23105
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23,
|
|
23110
|
+
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);
|
|
23106
23111
|
i0.ɵɵelementEnd()()();
|
|
23107
23112
|
} if (rf & 2) {
|
|
23108
23113
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -23116,12 +23121,16 @@ class QueryConfirmationComponent {
|
|
|
23116
23121
|
queryCreateContext;
|
|
23117
23122
|
callbackConfirmationMessageText = {};
|
|
23118
23123
|
caseId = '';
|
|
23124
|
+
jurisdiction = '';
|
|
23125
|
+
caseType = '';
|
|
23119
23126
|
queryCreateContextEnum = QueryCreateContext;
|
|
23120
23127
|
constructor(route) {
|
|
23121
23128
|
this.route = route;
|
|
23122
23129
|
}
|
|
23123
23130
|
ngOnInit() {
|
|
23124
23131
|
this.caseId = this.route.snapshot.params.cid;
|
|
23132
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
23133
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
23125
23134
|
}
|
|
23126
23135
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
23127
23136
|
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) {
|
|
@@ -23132,7 +23141,7 @@ class QueryConfirmationComponent {
|
|
|
23132
23141
|
}
|
|
23133
23142
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
23134
23143
|
type: Component,
|
|
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/{{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" }]
|
|
23144
|
+
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" }]
|
|
23136
23145
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
23137
23146
|
type: Input
|
|
23138
23147
|
}], callbackConfirmationMessageText: [{
|
|
@@ -23184,7 +23193,7 @@ class CloseQueryComponent {
|
|
|
23184
23193
|
}] }); })();
|
|
23185
23194
|
(() => { (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 }); })();
|
|
23186
23195
|
|
|
23187
|
-
const _c0$
|
|
23196
|
+
const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
23188
23197
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
23189
23198
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23190
23199
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-query-list", 6);
|
|
@@ -23223,7 +23232,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
23223
23232
|
} if (rf & 2) {
|
|
23224
23233
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
23225
23234
|
i0.ɵɵadvance();
|
|
23226
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
23235
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
|
|
23227
23236
|
i0.ɵɵadvance();
|
|
23228
23237
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
23229
23238
|
} }
|
|
@@ -23371,7 +23380,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
23371
23380
|
}], null, null); })();
|
|
23372
23381
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 8 }); })();
|
|
23373
23382
|
|
|
23374
|
-
const _c0$
|
|
23383
|
+
const _c0$B = a0 => ({ "form-group-error": a0 });
|
|
23375
23384
|
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
23376
23385
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23377
23386
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23430,7 +23439,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23430
23439
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
23431
23440
|
i0.ɵɵelementEnd()();
|
|
23432
23441
|
} if (rf & 2) {
|
|
23433
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23442
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
23434
23443
|
i0.ɵɵadvance();
|
|
23435
23444
|
i0.ɵɵproperty("for", ctx.id());
|
|
23436
23445
|
i0.ɵɵadvance();
|
|
@@ -23469,7 +23478,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
23469
23478
|
}], null, null); })();
|
|
23470
23479
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 8 }); })();
|
|
23471
23480
|
|
|
23472
|
-
const _c0$
|
|
23481
|
+
const _c0$A = a0 => ({ "form-group-error": a0 });
|
|
23473
23482
|
const _c1$c = a0 => ({ "govuk-input--error": a0 });
|
|
23474
23483
|
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23475
23484
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23519,7 +23528,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23519
23528
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
23520
23529
|
i0.ɵɵelementEnd()();
|
|
23521
23530
|
} if (rf & 2) {
|
|
23522
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23531
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
23523
23532
|
i0.ɵɵadvance();
|
|
23524
23533
|
i0.ɵɵproperty("for", ctx.id());
|
|
23525
23534
|
i0.ɵɵadvance();
|
|
@@ -23660,7 +23669,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
23660
23669
|
}], () => [{ type: YesNoService }], null); })();
|
|
23661
23670
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 9 }); })();
|
|
23662
23671
|
|
|
23663
|
-
const _c0$
|
|
23672
|
+
const _c0$z = a0 => ({ "form-group-error": a0 });
|
|
23664
23673
|
const _c1$b = a0 => ({ selected: a0 });
|
|
23665
23674
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
23666
23675
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -23732,7 +23741,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23732
23741
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
23733
23742
|
i0.ɵɵelementEnd()()();
|
|
23734
23743
|
} if (rf & 2) {
|
|
23735
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
23744
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
23736
23745
|
i0.ɵɵadvance(3);
|
|
23737
23746
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
23738
23747
|
i0.ɵɵadvance();
|
|
@@ -23849,7 +23858,7 @@ class PaletteService {
|
|
|
23849
23858
|
type: Injectable
|
|
23850
23859
|
}], null, null); })();
|
|
23851
23860
|
|
|
23852
|
-
const _c0$
|
|
23861
|
+
const _c0$y = ["fieldContainer"];
|
|
23853
23862
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23854
23863
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
23855
23864
|
resolver;
|
|
@@ -23898,7 +23907,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23898
23907
|
}
|
|
23899
23908
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23900
23909
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23901
|
-
i0.ɵɵviewQuery(_c0$
|
|
23910
|
+
i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
|
|
23902
23911
|
} if (rf & 2) {
|
|
23903
23912
|
let _t;
|
|
23904
23913
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -23927,7 +23936,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23927
23936
|
}] }); })();
|
|
23928
23937
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
23929
23938
|
|
|
23930
|
-
const _c0$
|
|
23939
|
+
const _c0$x = ["fieldContainer"];
|
|
23931
23940
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23932
23941
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
23933
23942
|
resolver;
|
|
@@ -23973,7 +23982,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23973
23982
|
}
|
|
23974
23983
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23975
23984
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23976
|
-
i0.ɵɵviewQuery(_c0$
|
|
23985
|
+
i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
|
|
23977
23986
|
} if (rf & 2) {
|
|
23978
23987
|
let _t;
|
|
23979
23988
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -23997,7 +24006,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23997
24006
|
}] }); })();
|
|
23998
24007
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 16 }); })();
|
|
23999
24008
|
|
|
24000
|
-
const _c0$
|
|
24009
|
+
const _c0$w = ["*"];
|
|
24001
24010
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
24002
24011
|
i0.ɵɵelementContainer(0);
|
|
24003
24012
|
} }
|
|
@@ -24051,7 +24060,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24051
24060
|
}
|
|
24052
24061
|
}
|
|
24053
24062
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
24054
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
24063
|
+
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) {
|
|
24055
24064
|
i0.ɵɵprojectionDef();
|
|
24056
24065
|
i0.ɵɵelementStart(0, "div", 1);
|
|
24057
24066
|
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);
|
|
@@ -24072,7 +24081,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24072
24081
|
}] }); })();
|
|
24073
24082
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 14 }); })();
|
|
24074
24083
|
|
|
24075
|
-
const _c0$
|
|
24084
|
+
const _c0$v = a0 => ({ cat: a0, level: 1 });
|
|
24076
24085
|
const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
|
|
24077
24086
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24078
24087
|
i0.ɵɵelementContainer(0);
|
|
@@ -24086,7 +24095,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
24086
24095
|
i0.ɵɵnextContext();
|
|
24087
24096
|
const folder_r3 = i0.ɵɵreference(13);
|
|
24088
24097
|
i0.ɵɵadvance();
|
|
24089
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
24098
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
|
|
24090
24099
|
} }
|
|
24091
24100
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24092
24101
|
i0.ɵɵelementContainer(0);
|
|
@@ -24225,7 +24234,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
24225
24234
|
}] }], null); })();
|
|
24226
24235
|
(() => { (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 }); })();
|
|
24227
24236
|
|
|
24228
|
-
const _c0$
|
|
24237
|
+
const _c0$u = [[["", "trigger", ""]]];
|
|
24229
24238
|
const _c1$9 = ["[trigger]"];
|
|
24230
24239
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24231
24240
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -24300,7 +24309,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24300
24309
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
24301
24310
|
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) {
|
|
24302
24311
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24303
|
-
i0.ɵɵprojectionDef(_c0$
|
|
24312
|
+
i0.ɵɵprojectionDef(_c0$u);
|
|
24304
24313
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
24305
24314
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
24306
24315
|
i0.ɵɵprojection(3);
|
|
@@ -24969,7 +24978,7 @@ class CaseFileViewFolderComponent {
|
|
|
24969
24978
|
}] }); })();
|
|
24970
24979
|
(() => { (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 }); })();
|
|
24971
24980
|
|
|
24972
|
-
const _c0$
|
|
24981
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
24973
24982
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
24974
24983
|
i0.ɵɵelementStart(0, "span");
|
|
24975
24984
|
i0.ɵɵtext(1);
|
|
@@ -25123,7 +25132,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
25123
25132
|
} if (rf & 2) {
|
|
25124
25133
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25125
25134
|
i0.ɵɵadvance(2);
|
|
25126
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
25135
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
|
|
25127
25136
|
i0.ɵɵadvance(2);
|
|
25128
25137
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
25129
25138
|
i0.ɵɵadvance();
|
|
@@ -25657,7 +25666,7 @@ class CaseFlagTableComponent {
|
|
|
25657
25666
|
}] }); })();
|
|
25658
25667
|
(() => { (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 }); })();
|
|
25659
25668
|
|
|
25660
|
-
const _c0$
|
|
25669
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
25661
25670
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
25662
25671
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
25663
25672
|
i0.ɵɵtext(2);
|
|
@@ -25968,7 +25977,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
25968
25977
|
} if (rf & 2) {
|
|
25969
25978
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25970
25979
|
i0.ɵɵadvance();
|
|
25971
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
25980
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
25972
25981
|
i0.ɵɵadvance(4);
|
|
25973
25982
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
25974
25983
|
i0.ɵɵadvance(2);
|
|
@@ -26054,7 +26063,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
26054
26063
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
26055
26064
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
26056
26065
|
|
|
26057
|
-
const _c0$
|
|
26066
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
26058
26067
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
26059
26068
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
26060
26069
|
i0.ɵɵtext(2);
|
|
@@ -26146,7 +26155,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
26146
26155
|
} if (rf & 2) {
|
|
26147
26156
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
26148
26157
|
i0.ɵɵadvance();
|
|
26149
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26158
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
26150
26159
|
i0.ɵɵadvance(2);
|
|
26151
26160
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
26152
26161
|
i0.ɵɵadvance(2);
|
|
@@ -26320,7 +26329,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26320
26329
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
26321
26330
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26322
26331
|
i0.ɵɵadvance();
|
|
26323
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
26332
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$r, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
26324
26333
|
i0.ɵɵadvance(2);
|
|
26325
26334
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
26326
26335
|
i0.ɵɵadvance();
|
|
@@ -26357,7 +26366,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26357
26366
|
}] }); })();
|
|
26358
26367
|
(() => { (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 }); })();
|
|
26359
26368
|
|
|
26360
|
-
const _c0$
|
|
26369
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
26361
26370
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
26362
26371
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
26363
26372
|
i0.ɵɵtext(2);
|
|
@@ -26533,7 +26542,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26533
26542
|
} if (rf & 2) {
|
|
26534
26543
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26535
26544
|
i0.ɵɵadvance();
|
|
26536
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
26545
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx.errorMessages.length > 0));
|
|
26537
26546
|
i0.ɵɵadvance(4);
|
|
26538
26547
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
26539
26548
|
i0.ɵɵadvance(2);
|
|
@@ -26556,7 +26565,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26556
26565
|
}] }); })();
|
|
26557
26566
|
(() => { (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 }); })();
|
|
26558
26567
|
|
|
26559
|
-
const _c0$
|
|
26568
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
26560
26569
|
const _c1$8 = a0 => ({ "govuk-input--error": a0 });
|
|
26561
26570
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
26562
26571
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -26652,7 +26661,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
26652
26661
|
} if (rf & 2) {
|
|
26653
26662
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
26654
26663
|
i0.ɵɵadvance();
|
|
26655
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
26664
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$p, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
26656
26665
|
i0.ɵɵadvance(2);
|
|
26657
26666
|
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), " ");
|
|
26658
26667
|
i0.ɵɵadvance(3);
|
|
@@ -26677,7 +26686,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
26677
26686
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
26678
26687
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
26679
26688
|
i0.ɵɵadvance();
|
|
26680
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26689
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
26681
26690
|
i0.ɵɵadvance(4);
|
|
26682
26691
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
26683
26692
|
i0.ɵɵadvance(3);
|
|
@@ -27004,7 +27013,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
27004
27013
|
}] }); })();
|
|
27005
27014
|
(() => { (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 }); })();
|
|
27006
27015
|
|
|
27007
|
-
const _c0$
|
|
27016
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
27008
27017
|
const _c1$7 = a0 => ({ "govuk-tag--grey": a0 });
|
|
27009
27018
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
27010
27019
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -27490,7 +27499,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27490
27499
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
27491
27500
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27492
27501
|
i0.ɵɵadvance(2);
|
|
27493
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
27502
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$o, ctx.errorMessages.length > 0));
|
|
27494
27503
|
i0.ɵɵadvance(3);
|
|
27495
27504
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
27496
27505
|
i0.ɵɵadvance(2);
|
|
@@ -27523,7 +27532,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27523
27532
|
}] }); })();
|
|
27524
27533
|
(() => { (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 }); })();
|
|
27525
27534
|
|
|
27526
|
-
const _c0$
|
|
27535
|
+
const _c0$n = a0 => ({ "form-group-error": a0 });
|
|
27527
27536
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
27528
27537
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
27529
27538
|
i0.ɵɵtext(2);
|
|
@@ -27731,7 +27740,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27731
27740
|
} if (rf & 2) {
|
|
27732
27741
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27733
27742
|
i0.ɵɵadvance(2);
|
|
27734
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
27743
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$n, ctx.errorMessages.length > 0));
|
|
27735
27744
|
i0.ɵɵadvance(3);
|
|
27736
27745
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
27737
27746
|
i0.ɵɵadvance(3);
|
|
@@ -27788,7 +27797,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27788
27797
|
}] }); })();
|
|
27789
27798
|
(() => { (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 }); })();
|
|
27790
27799
|
|
|
27791
|
-
const _c0$
|
|
27800
|
+
const _c0$m = a0 => ({ "form-group-error": a0 });
|
|
27792
27801
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
27793
27802
|
i0.ɵɵelementStart(0, "div", 13);
|
|
27794
27803
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -27923,7 +27932,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
27923
27932
|
} if (rf & 2) {
|
|
27924
27933
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27925
27934
|
i0.ɵɵadvance(2);
|
|
27926
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
27935
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$m, ctx.errorMessages.length > 0));
|
|
27927
27936
|
i0.ɵɵadvance(4);
|
|
27928
27937
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
27929
27938
|
i0.ɵɵadvance(3);
|
|
@@ -28203,7 +28212,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
28203
28212
|
}]
|
|
28204
28213
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
28205
28214
|
|
|
28206
|
-
const _c0$
|
|
28215
|
+
const _c0$l = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
28207
28216
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28208
28217
|
i0.ɵɵelementContainerStart(0);
|
|
28209
28218
|
i0.ɵɵelementStart(1, "dt", 2)(2, "span", 3);
|
|
@@ -28240,7 +28249,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28240
28249
|
i0.ɵɵelementEnd();
|
|
28241
28250
|
} if (rf & 2) {
|
|
28242
28251
|
i0.ɵɵadvance();
|
|
28243
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
28252
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
28244
28253
|
} }, 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}"] });
|
|
28245
28254
|
}
|
|
28246
28255
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -28251,7 +28260,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28251
28260
|
}] }); })();
|
|
28252
28261
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 16 }); })();
|
|
28253
28262
|
|
|
28254
|
-
const _c0$
|
|
28263
|
+
const _c0$k = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
28255
28264
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28256
28265
|
i0.ɵɵelementContainerStart(0);
|
|
28257
28266
|
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
|
|
@@ -28329,7 +28338,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
28329
28338
|
i0.ɵɵadvance(4);
|
|
28330
28339
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
28331
28340
|
i0.ɵɵadvance(5);
|
|
28332
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
28341
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
28333
28342
|
} }, 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}"] });
|
|
28334
28343
|
}
|
|
28335
28344
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -28714,7 +28723,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28714
28723
|
}], null, null); })();
|
|
28715
28724
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 12 }); })();
|
|
28716
28725
|
|
|
28717
|
-
const _c0$
|
|
28726
|
+
const _c0$j = a0 => ({ "form-group-error": a0 });
|
|
28718
28727
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
28719
28728
|
i0.ɵɵelementStart(0, "span", 5);
|
|
28720
28729
|
i0.ɵɵtext(1);
|
|
@@ -28766,7 +28775,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
28766
28775
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
28767
28776
|
i0.ɵɵelementEnd()();
|
|
28768
28777
|
} if (rf & 2) {
|
|
28769
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
28778
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$j, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
28770
28779
|
i0.ɵɵadvance(3);
|
|
28771
28780
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
28772
28781
|
i0.ɵɵadvance();
|
|
@@ -28795,7 +28804,7 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
28795
28804
|
},
|
|
28796
28805
|
};
|
|
28797
28806
|
|
|
28798
|
-
const _c0$
|
|
28807
|
+
const _c0$i = ["picker"];
|
|
28799
28808
|
const _c1$6 = ["input"];
|
|
28800
28809
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
28801
28810
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29013,7 +29022,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
29013
29022
|
}
|
|
29014
29023
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
29015
29024
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29016
|
-
i0.ɵɵviewQuery(_c0$
|
|
29025
|
+
i0.ɵɵviewQuery(_c0$i, 5);
|
|
29017
29026
|
i0.ɵɵviewQuery(_c1$6, 5);
|
|
29018
29027
|
} if (rf & 2) {
|
|
29019
29028
|
let _t;
|
|
@@ -29201,7 +29210,7 @@ class EventLogDetailsComponent {
|
|
|
29201
29210
|
}] }); })();
|
|
29202
29211
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 9 }); })();
|
|
29203
29212
|
|
|
29204
|
-
const _c0$
|
|
29213
|
+
const _c0$h = a0 => ({ "EventLogTable-Selected": a0 });
|
|
29205
29214
|
const _c1$5 = a0 => ["./", "event", a0, "history"];
|
|
29206
29215
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
29207
29216
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -29331,7 +29340,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
29331
29340
|
} if (rf & 2) {
|
|
29332
29341
|
const event_r2 = ctx.$implicit;
|
|
29333
29342
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
29334
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
29343
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$h, ctx_r2.selected === event_r2));
|
|
29335
29344
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
29336
29345
|
i0.ɵɵadvance(2);
|
|
29337
29346
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -29526,11 +29535,11 @@ class EventLogComponent {
|
|
|
29526
29535
|
}] }); })();
|
|
29527
29536
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 9 }); })();
|
|
29528
29537
|
|
|
29529
|
-
const _c0$
|
|
29538
|
+
const _c0$g = ["*"];
|
|
29530
29539
|
class RouterLinkComponent {
|
|
29531
29540
|
link;
|
|
29532
29541
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
29533
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$
|
|
29542
|
+
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) {
|
|
29534
29543
|
i0.ɵɵprojectionDef();
|
|
29535
29544
|
i0.ɵɵelementStart(0, "a", 0);
|
|
29536
29545
|
i0.ɵɵprojection(1);
|
|
@@ -30052,7 +30061,7 @@ class OrderSummary {
|
|
|
30052
30061
|
PaymentTotal;
|
|
30053
30062
|
}
|
|
30054
30063
|
|
|
30055
|
-
const _c0$
|
|
30064
|
+
const _c0$f = ["ccdReadOrderSummaryRow", ""];
|
|
30056
30065
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
30057
30066
|
feeValue;
|
|
30058
30067
|
ngOnInit() {
|
|
@@ -30065,7 +30074,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
30065
30074
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
30066
30075
|
}
|
|
30067
30076
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
30068
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
30077
|
+
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) {
|
|
30069
30078
|
i0.ɵɵelementStart(0, "td");
|
|
30070
30079
|
i0.ɵɵtext(1);
|
|
30071
30080
|
i0.ɵɵelementEnd();
|
|
@@ -31126,7 +31135,7 @@ var CaseEditSubmitTitles;
|
|
|
31126
31135
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
31127
31136
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
31128
31137
|
|
|
31129
|
-
const _c0$
|
|
31138
|
+
const _c0$e = (a0, a1) => [a0, false, undefined, true, a1];
|
|
31130
31139
|
const _c1$4 = a0 => ({ "form-group-error": a0 });
|
|
31131
31140
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
31132
31141
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -31248,7 +31257,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
31248
31257
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
31249
31258
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
31250
31259
|
i0.ɵɵadvance();
|
|
31251
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
31260
|
+
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))));
|
|
31252
31261
|
} }
|
|
31253
31262
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
31254
31263
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -32488,7 +32497,7 @@ class PaginationComponent {
|
|
|
32488
32497
|
}] }); })();
|
|
32489
32498
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 12 }); })();
|
|
32490
32499
|
|
|
32491
|
-
const _c0$
|
|
32500
|
+
const _c0$d = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
32492
32501
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
32493
32502
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
32494
32503
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -32797,7 +32806,7 @@ class CaseListComponent {
|
|
|
32797
32806
|
i0.ɵɵadvance();
|
|
32798
32807
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
32799
32808
|
i0.ɵɵadvance(2);
|
|
32800
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$
|
|
32809
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$d, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32801
32810
|
i0.ɵɵadvance(2);
|
|
32802
32811
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32803
32812
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
@@ -34259,6 +34268,7 @@ class EventTriggerResolver {
|
|
|
34259
34268
|
const cid = route.parent.paramMap.get(EventTriggerResolver.PARAM_CASE_ID);
|
|
34260
34269
|
// tslint:disable-next-line: prefer-const
|
|
34261
34270
|
let caseTypeId;
|
|
34271
|
+
const jurisdiction = route.parent.paramMap.get('jurisdiction');
|
|
34262
34272
|
const eventTriggerId = route.paramMap.get(EventTriggerResolver.PARAM_EVENT_ID);
|
|
34263
34273
|
let ignoreWarning = route.queryParamMap.get(EventTriggerResolver.IGNORE_WARNING);
|
|
34264
34274
|
if (-1 === EventTriggerResolver.IGNORE_WARNING_VALUES.indexOf(ignoreWarning)) {
|
|
@@ -34280,7 +34290,8 @@ class EventTriggerResolver {
|
|
|
34280
34290
|
this.alertService.setPreserveAlerts(true);
|
|
34281
34291
|
this.alertService.error(error.message);
|
|
34282
34292
|
this.errorNotifier.announceError(error);
|
|
34283
|
-
|
|
34293
|
+
caseTypeId = route.parent.paramMap.get('caseType');
|
|
34294
|
+
this.router.navigate([`/cases/case-details/${jurisdiction}/${caseTypeId}/${cid}/tasks`]);
|
|
34284
34295
|
return throwError(error);
|
|
34285
34296
|
})).toPromise();
|
|
34286
34297
|
}
|
|
@@ -34420,9 +34431,21 @@ class CaseEventTriggerComponent {
|
|
|
34420
34431
|
}
|
|
34421
34432
|
});
|
|
34422
34433
|
}
|
|
34434
|
+
// replace the old link with the new one with jurisdiction and case type id
|
|
34435
|
+
getNavigationUrl(url) {
|
|
34436
|
+
const urlRegex = /\/case-details\/(\d+)/;
|
|
34437
|
+
const match = url.match(urlRegex);
|
|
34438
|
+
if (match && /^\d+$/.test(match[1]) && this.caseDetails?.case_type) {
|
|
34439
|
+
const jurisdiction = this.caseDetails.case_type.jurisdiction.id;
|
|
34440
|
+
const id = this.caseDetails.case_type.id;
|
|
34441
|
+
return url.replace(urlRegex, `/case-details/${jurisdiction}/${id}/${match[1]}`);
|
|
34442
|
+
}
|
|
34443
|
+
return url;
|
|
34444
|
+
}
|
|
34423
34445
|
cancel() {
|
|
34424
|
-
|
|
34446
|
+
let previousUrl = this.routerCurrentNavigation?.previousNavigation?.finalUrl?.toString();
|
|
34425
34447
|
if (previousUrl) {
|
|
34448
|
+
previousUrl = this.getNavigationUrl(previousUrl);
|
|
34426
34449
|
if (previousUrl.indexOf('#') > -1) {
|
|
34427
34450
|
const url = previousUrl.split('#')[0];
|
|
34428
34451
|
const fragment = previousUrl.split('#')[1].replace(/%20/g, ' ');
|
|
@@ -34433,7 +34456,8 @@ class CaseEventTriggerComponent {
|
|
|
34433
34456
|
}
|
|
34434
34457
|
}
|
|
34435
34458
|
else {
|
|
34436
|
-
|
|
34459
|
+
const updatedUrl = this.getNavigationUrl(this.parentUrl);
|
|
34460
|
+
return this.router.navigate([updatedUrl]);
|
|
34437
34461
|
}
|
|
34438
34462
|
}
|
|
34439
34463
|
isDataLoaded() {
|
|
@@ -34877,7 +34901,7 @@ class DialogsModule {
|
|
|
34877
34901
|
SaveOrDiscardDialogComponent,
|
|
34878
34902
|
RemoveDialogComponent] }); })();
|
|
34879
34903
|
|
|
34880
|
-
const _c0$
|
|
34904
|
+
const _c0$c = ["tabGroup"];
|
|
34881
34905
|
const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
|
|
34882
34906
|
function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
34883
34907
|
i0.ɵɵelementStart(0, "div", 12)(1, "h1", 13);
|
|
@@ -35343,7 +35367,7 @@ class CaseFullAccessViewComponent {
|
|
|
35343
35367
|
}
|
|
35344
35368
|
// found tasks or hearing tab
|
|
35345
35369
|
if (foundTab) {
|
|
35346
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35370
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35347
35371
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === foundTab.label);
|
|
35348
35372
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35349
35373
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35358,7 +35382,7 @@ class CaseFullAccessViewComponent {
|
|
|
35358
35382
|
this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
|
|
35359
35383
|
// select the first tab checking if the tab is visible
|
|
35360
35384
|
const preSelectTab = this.findPreSelectedActiveTab();
|
|
35361
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
35385
|
+
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(() => {
|
|
35362
35386
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === preSelectTab.label);
|
|
35363
35387
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35364
35388
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35405,14 +35429,21 @@ class CaseFullAccessViewComponent {
|
|
|
35405
35429
|
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
35406
35430
|
const tab = matTab['_viewContainerRef'];
|
|
35407
35431
|
const id = tab.element.nativeElement.id;
|
|
35408
|
-
// cases/case-details/:caseId/hearings
|
|
35409
|
-
// cases/case-details/:caseId/roles-and-access
|
|
35410
|
-
this.router.navigate([
|
|
35432
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/hearings
|
|
35433
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/roles-and-access
|
|
35434
|
+
this.router.navigate([
|
|
35435
|
+
'cases',
|
|
35436
|
+
'case-details',
|
|
35437
|
+
this.caseDetails.case_type.jurisdiction.id,
|
|
35438
|
+
this.caseDetails.case_type.id,
|
|
35439
|
+
this.caseDetails.case_id,
|
|
35440
|
+
id
|
|
35441
|
+
], { relativeTo: this.route.root });
|
|
35411
35442
|
}
|
|
35412
35443
|
else {
|
|
35413
35444
|
// Routing here is based on tab label, not ideal
|
|
35414
|
-
// cases/case-details/:caseId#tabLabel
|
|
35415
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: tabLabel });
|
|
35445
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId#tabLabel
|
|
35446
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: tabLabel });
|
|
35416
35447
|
}
|
|
35417
35448
|
}
|
|
35418
35449
|
onLinkClicked(triggerOutputEventText) {
|
|
@@ -35515,7 +35546,7 @@ class CaseFullAccessViewComponent {
|
|
|
35515
35546
|
}
|
|
35516
35547
|
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)); };
|
|
35517
35548
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
35518
|
-
i0.ɵɵviewQuery(_c0$
|
|
35549
|
+
i0.ɵɵviewQuery(_c0$c, 5);
|
|
35519
35550
|
} if (rf & 2) {
|
|
35520
35551
|
let _t;
|
|
35521
35552
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
@@ -35931,15 +35962,19 @@ class EventMessageModule {
|
|
|
35931
35962
|
RouterModule,
|
|
35932
35963
|
ActivityModule, i1.RpxTranslationModule], exports: [ErrorMessageComponent] }); })();
|
|
35933
35964
|
|
|
35934
|
-
const _c0$
|
|
35965
|
+
const _c0$b = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
35935
35966
|
class MultipleTasksExistComponent {
|
|
35936
35967
|
route;
|
|
35937
35968
|
loadingService;
|
|
35938
35969
|
caseId;
|
|
35970
|
+
jurisdiction;
|
|
35971
|
+
caseType;
|
|
35939
35972
|
constructor(route, loadingService) {
|
|
35940
35973
|
this.route = route;
|
|
35941
35974
|
this.loadingService = loadingService;
|
|
35942
35975
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
35976
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
35977
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
35943
35978
|
}
|
|
35944
35979
|
ngOnInit() {
|
|
35945
35980
|
// Check if the loading service has a shared spinner
|
|
@@ -35948,7 +35983,7 @@ class MultipleTasksExistComponent {
|
|
|
35948
35983
|
}
|
|
35949
35984
|
}
|
|
35950
35985
|
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
35951
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars:
|
|
35986
|
+
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) {
|
|
35952
35987
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35953
35988
|
i0.ɵɵtext(3);
|
|
35954
35989
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -35985,27 +36020,31 @@ class MultipleTasksExistComponent {
|
|
|
35985
36020
|
i0.ɵɵadvance(3);
|
|
35986
36021
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "Return to tasks tab and start the event from there."));
|
|
35987
36022
|
i0.ɵɵadvance(2);
|
|
35988
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36023
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(19, _c0$b, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
35989
36024
|
i0.ɵɵadvance();
|
|
35990
36025
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
35991
36026
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
35992
36027
|
}
|
|
35993
36028
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
|
|
35994
36029
|
type: Component,
|
|
35995
|
-
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" }]
|
|
36030
|
+
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" }]
|
|
35996
36031
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LoadingService }], null); })();
|
|
35997
36032
|
(() => { (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 }); })();
|
|
35998
36033
|
|
|
35999
|
-
const _c0$
|
|
36034
|
+
const _c0$a = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36000
36035
|
class NoTasksAvailableComponent {
|
|
36001
36036
|
route;
|
|
36002
36037
|
caseId;
|
|
36038
|
+
jurisdiction;
|
|
36039
|
+
caseType;
|
|
36003
36040
|
constructor(route) {
|
|
36004
36041
|
this.route = route;
|
|
36005
36042
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36043
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36044
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36006
36045
|
}
|
|
36007
36046
|
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36008
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars:
|
|
36047
|
+
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) {
|
|
36009
36048
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36010
36049
|
i0.ɵɵtext(3);
|
|
36011
36050
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36036,18 +36075,18 @@ class NoTasksAvailableComponent {
|
|
|
36036
36075
|
i0.ɵɵadvance(3);
|
|
36037
36076
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You should have an assigned task for this event, but something has gone wrong."));
|
|
36038
36077
|
i0.ɵɵadvance(2);
|
|
36039
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36078
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$a, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36040
36079
|
i0.ɵɵadvance();
|
|
36041
36080
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 14, "Return to tasks tab"));
|
|
36042
36081
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36043
36082
|
}
|
|
36044
36083
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoTasksAvailableComponent, [{
|
|
36045
36084
|
type: Component,
|
|
36046
|
-
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" }]
|
|
36085
|
+
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" }]
|
|
36047
36086
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36048
36087
|
(() => { (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 }); })();
|
|
36049
36088
|
|
|
36050
|
-
const _c0$
|
|
36089
|
+
const _c0$9 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36051
36090
|
function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
36052
36091
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
36053
36092
|
i0.ɵɵtext(3);
|
|
@@ -36081,7 +36120,7 @@ function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36081
36120
|
i0.ɵɵadvance(3);
|
|
36082
36121
|
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."), "");
|
|
36083
36122
|
i0.ɵɵadvance(3);
|
|
36084
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36123
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(20, _c0$9, ctx_r0.jurisdiction, ctx_r0.caseType, ctx_r0.caseId));
|
|
36085
36124
|
i0.ɵɵadvance();
|
|
36086
36125
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 18, "Return to tasks tab"), " ");
|
|
36087
36126
|
} }
|
|
@@ -36091,6 +36130,8 @@ class TaskAssignedComponent {
|
|
|
36091
36130
|
caseworkerService;
|
|
36092
36131
|
task = null;
|
|
36093
36132
|
caseId;
|
|
36133
|
+
jurisdiction;
|
|
36134
|
+
caseType;
|
|
36094
36135
|
assignedUserName;
|
|
36095
36136
|
caseworkerSubscription;
|
|
36096
36137
|
judicialworkerSubscription;
|
|
@@ -36103,6 +36144,8 @@ class TaskAssignedComponent {
|
|
|
36103
36144
|
}
|
|
36104
36145
|
ngOnInit() {
|
|
36105
36146
|
// Current user is a caseworker?
|
|
36147
|
+
this.jurisdiction = this.task.jurisdiction;
|
|
36148
|
+
this.caseType = this.task.case_type_id;
|
|
36106
36149
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(this.task.jurisdiction).subscribe(result => {
|
|
36107
36150
|
if (result && result[0].service === this.task.jurisdiction && result[0].caseworkers) {
|
|
36108
36151
|
const caseworker = result[0].caseworkers.find(x => x.idamId === this.task.assignee);
|
|
@@ -36138,18 +36181,18 @@ class TaskAssignedComponent {
|
|
|
36138
36181
|
}
|
|
36139
36182
|
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
36140
36183
|
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) {
|
|
36141
|
-
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22,
|
|
36184
|
+
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 24, "div", 0);
|
|
36142
36185
|
} if (rf & 2) {
|
|
36143
36186
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
36144
36187
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36145
36188
|
}
|
|
36146
36189
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
|
|
36147
36190
|
type: Component,
|
|
36148
|
-
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" }]
|
|
36191
|
+
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" }]
|
|
36149
36192
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: JudicialworkerService }, { type: CaseworkerService }], null); })();
|
|
36150
36193
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskAssignedComponent, { className: "TaskAssignedComponent", filePath: "lib/shared/components/event-start/components/task-assigned/task-assigned.component.ts", lineNumber: 12 }); })();
|
|
36151
36194
|
|
|
36152
|
-
const _c0$
|
|
36195
|
+
const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36153
36196
|
class TaskCancelledComponent {
|
|
36154
36197
|
caseId;
|
|
36155
36198
|
static ɵfac = function TaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskCancelledComponent)(); };
|
|
@@ -36202,7 +36245,7 @@ class TaskCancelledComponent {
|
|
|
36202
36245
|
i0.ɵɵadvance(4);
|
|
36203
36246
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 21, "Continue"));
|
|
36204
36247
|
i0.ɵɵadvance(2);
|
|
36205
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$
|
|
36248
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$8, ctx.caseId));
|
|
36206
36249
|
i0.ɵɵadvance();
|
|
36207
36250
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
|
|
36208
36251
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36215,7 +36258,7 @@ class TaskCancelledComponent {
|
|
|
36215
36258
|
}] }); })();
|
|
36216
36259
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskCancelledComponent, { className: "TaskCancelledComponent", filePath: "lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.ts", lineNumber: 7 }); })();
|
|
36217
36260
|
|
|
36218
|
-
const _c0$
|
|
36261
|
+
const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36219
36262
|
class TaskConflictComponent {
|
|
36220
36263
|
task;
|
|
36221
36264
|
caseId;
|
|
@@ -36257,7 +36300,7 @@ class TaskConflictComponent {
|
|
|
36257
36300
|
i0.ɵɵadvance(3);
|
|
36258
36301
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "If the problem persists, contact William Priest"));
|
|
36259
36302
|
i0.ɵɵadvance(2);
|
|
36260
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$
|
|
36303
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$7, ctx.caseId));
|
|
36261
36304
|
i0.ɵɵadvance();
|
|
36262
36305
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
36263
36306
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36272,16 +36315,20 @@ class TaskConflictComponent {
|
|
|
36272
36315
|
}] }); })();
|
|
36273
36316
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskConflictComponent, { className: "TaskConflictComponent", filePath: "lib/shared/components/event-start/components/task-conflict/task-conflict.component.ts", lineNumber: 8 }); })();
|
|
36274
36317
|
|
|
36275
|
-
const _c0$
|
|
36318
|
+
const _c0$6 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36276
36319
|
class TaskUnassignedComponent {
|
|
36277
36320
|
route;
|
|
36278
36321
|
caseId;
|
|
36322
|
+
jurisdiction;
|
|
36323
|
+
caseType;
|
|
36279
36324
|
constructor(route) {
|
|
36280
36325
|
this.route = route;
|
|
36281
36326
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36327
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36328
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36282
36329
|
}
|
|
36283
36330
|
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36284
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars:
|
|
36331
|
+
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) {
|
|
36285
36332
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36286
36333
|
i0.ɵɵtext(3);
|
|
36287
36334
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36312,14 +36359,14 @@ class TaskUnassignedComponent {
|
|
|
36312
36359
|
i0.ɵɵadvance(3);
|
|
36313
36360
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You must assign one of the available tasks from the task tab to continue with your work."));
|
|
36314
36361
|
i0.ɵɵadvance(2);
|
|
36315
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36362
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$6, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36316
36363
|
i0.ɵɵadvance();
|
|
36317
36364
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
|
|
36318
36365
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36319
36366
|
}
|
|
36320
36367
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
|
|
36321
36368
|
type: Component,
|
|
36322
|
-
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" }]
|
|
36369
|
+
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" }]
|
|
36323
36370
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36324
36371
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskUnassignedComponent, { className: "TaskUnassignedComponent", filePath: "lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.ts", lineNumber: 8 }); })();
|
|
36325
36372
|
|
|
@@ -36428,7 +36475,7 @@ class EventStartGuard {
|
|
|
36428
36475
|
}
|
|
36429
36476
|
else if (tasksAssignedToUser.length > 1 && !taskId) {
|
|
36430
36477
|
// if more than one task assigned to the user then give multiple tasks error
|
|
36431
|
-
this.router.navigate([`/cases/case-details/${caseId}/multiple-tasks-exist`]);
|
|
36478
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/multiple-tasks-exist`]);
|
|
36432
36479
|
return false;
|
|
36433
36480
|
}
|
|
36434
36481
|
else {
|
|
@@ -36461,7 +36508,7 @@ class EventStartGuard {
|
|
|
36461
36508
|
if (this.router && this.router.url && this.router.url.includes('event-start')) {
|
|
36462
36509
|
return of(true);
|
|
36463
36510
|
}
|
|
36464
|
-
this.router.navigate([`/cases/case-details/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36511
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36465
36512
|
return of(false);
|
|
36466
36513
|
}
|
|
36467
36514
|
else {
|
|
@@ -36577,7 +36624,7 @@ class EventStartStateMachineService {
|
|
|
36577
36624
|
// Trigger final state to complete processing of state machine
|
|
36578
36625
|
state.trigger(EventStartStates.FINAL);
|
|
36579
36626
|
// Navigate to no tasks available error page
|
|
36580
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36627
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36581
36628
|
}
|
|
36582
36629
|
entryActionForStateOneOrMoreTasks(state, context) {
|
|
36583
36630
|
state.trigger(EventStartStates.TASK_ASSIGNED_TO_USER);
|
|
@@ -36619,12 +36666,12 @@ class EventStartStateMachineService {
|
|
|
36619
36666
|
let theQueryParams = {};
|
|
36620
36667
|
if (context.tasks[0].assignee) {
|
|
36621
36668
|
// Task is assigned to some other user, navigate to task assigned error page
|
|
36622
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-assigned`;
|
|
36669
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-assigned`;
|
|
36623
36670
|
theQueryParams = context.tasks[0];
|
|
36624
36671
|
}
|
|
36625
36672
|
else {
|
|
36626
36673
|
// Task is unassigned, navigate to task unassigned error page
|
|
36627
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-unassigned`;
|
|
36674
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-unassigned`;
|
|
36628
36675
|
}
|
|
36629
36676
|
// Trigger final state to complete processing of state machine
|
|
36630
36677
|
state.trigger(EventStartStates.FINAL);
|
|
@@ -36671,13 +36718,13 @@ class EventStartStateMachineService {
|
|
|
36671
36718
|
// EXUI-2668 - Only add client context when taskEventCompletionInfo is set - stops auto completing incorrect tasks
|
|
36672
36719
|
context.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(clientContext));
|
|
36673
36720
|
// Allow user to perform the event
|
|
36674
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36721
|
+
context.router.navigate([`/cases/case-details/${task.jurisdiction}/${task.case_type_id}/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36675
36722
|
}
|
|
36676
36723
|
entryActionForStateMultipleTasksAssignedToUser(state, context) {
|
|
36677
36724
|
// Trigger final state to complete processing of state machine
|
|
36678
36725
|
state.trigger(EventStartStates.FINAL);
|
|
36679
36726
|
// Navigate to multiple tasks exist error page
|
|
36680
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36727
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36681
36728
|
}
|
|
36682
36729
|
finalAction(state) {
|
|
36683
36730
|
// Final actions can be performed here, the state machine finished running
|
|
@@ -36856,7 +36903,7 @@ class EventStartModule {
|
|
|
36856
36903
|
TaskAssignedComponent,
|
|
36857
36904
|
TaskUnassignedComponent] }); })();
|
|
36858
36905
|
|
|
36859
|
-
const _c0$
|
|
36906
|
+
const _c0$5 = a0 => ({ "EventTrigger-empty": a0 });
|
|
36860
36907
|
function EventTriggerComponent_form_0_option_6_Template(rf, ctx) { if (rf & 1) {
|
|
36861
36908
|
i0.ɵɵelementStart(0, "option", 8);
|
|
36862
36909
|
i0.ɵɵtext(1);
|
|
@@ -36899,7 +36946,7 @@ function EventTriggerComponent_form_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36899
36946
|
i0.ɵɵadvance(3);
|
|
36900
36947
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, "Next step"));
|
|
36901
36948
|
i0.ɵɵadvance(2);
|
|
36902
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
36949
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$5, !ctx_r1.triggerForm.value["trigger"]))("compareWith", ctx_r1.compareFn);
|
|
36903
36950
|
i0.ɵɵadvance();
|
|
36904
36951
|
i0.ɵɵproperty("ngIf", 1 !== ctx_r1.triggers.length);
|
|
36905
36952
|
i0.ɵɵadvance();
|
|
@@ -37033,7 +37080,7 @@ var ChallengedAccessRequestErrors;
|
|
|
37033
37080
|
ChallengedAccessRequestErrors["NO_REASON"] = "Enter a reason";
|
|
37034
37081
|
})(ChallengedAccessRequestErrors || (ChallengedAccessRequestErrors = {}));
|
|
37035
37082
|
|
|
37036
|
-
const _c0$
|
|
37083
|
+
const _c0$4 = a0 => ({ "form-group-error": a0 });
|
|
37037
37084
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
37038
37085
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
37039
37086
|
function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -37295,7 +37342,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37295
37342
|
i0.ɵɵadvance(2);
|
|
37296
37343
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
37297
37344
|
i0.ɵɵadvance();
|
|
37298
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$
|
|
37345
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
|
|
37299
37346
|
i0.ɵɵadvance(4);
|
|
37300
37347
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 28, ctx.title), " ");
|
|
37301
37348
|
i0.ɵɵadvance(3);
|
|
@@ -37334,17 +37381,22 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37334
37381
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
37335
37382
|
(() => { (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 }); })();
|
|
37336
37383
|
|
|
37384
|
+
const _c0$3 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2];
|
|
37337
37385
|
class CaseChallengedAccessSuccessComponent {
|
|
37338
37386
|
route;
|
|
37339
37387
|
caseId;
|
|
37388
|
+
jurisdiction;
|
|
37389
|
+
caseType;
|
|
37340
37390
|
constructor(route) {
|
|
37341
37391
|
this.route = route;
|
|
37342
37392
|
}
|
|
37343
37393
|
ngOnInit() {
|
|
37344
37394
|
this.caseId = this.route.snapshot.params.cid;
|
|
37395
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
37396
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
37345
37397
|
}
|
|
37346
37398
|
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37347
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars:
|
|
37399
|
+
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) {
|
|
37348
37400
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
37349
37401
|
i0.ɵɵtext(5);
|
|
37350
37402
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
@@ -37393,20 +37445,22 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
37393
37445
|
i0.ɵɵadvance(3);
|
|
37394
37446
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 19, "Your request will be logged for auditing purposes."), " ");
|
|
37395
37447
|
i0.ɵɵadvance(3);
|
|
37396
|
-
i0.ɵɵproperty("routerLink",
|
|
37448
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(23, _c0$3, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
37397
37449
|
i0.ɵɵadvance();
|
|
37398
37450
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 21, "View case file"));
|
|
37399
37451
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37400
37452
|
}
|
|
37401
37453
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessSuccessComponent, [{
|
|
37402
37454
|
type: Component,
|
|
37403
|
-
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
|
|
37455
|
+
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" }]
|
|
37404
37456
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37405
37457
|
(() => { (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 }); })();
|
|
37406
37458
|
|
|
37407
37459
|
class CaseReviewSpecificAccessRejectComponent {
|
|
37408
37460
|
route;
|
|
37409
37461
|
caseId;
|
|
37462
|
+
jurisdiction;
|
|
37463
|
+
caseType;
|
|
37410
37464
|
retunToTask = 'Return to the Tasks tab for this case';
|
|
37411
37465
|
returnToMyTask = 'Return to My tasks';
|
|
37412
37466
|
constructor(route) {
|
|
@@ -37414,9 +37468,11 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37414
37468
|
}
|
|
37415
37469
|
ngOnInit() {
|
|
37416
37470
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
37471
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
37472
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
37417
37473
|
}
|
|
37418
37474
|
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37419
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars:
|
|
37475
|
+
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) {
|
|
37420
37476
|
i0.ɵɵelement(0, "p");
|
|
37421
37477
|
i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
|
|
37422
37478
|
i0.ɵɵtext(6);
|
|
@@ -37441,22 +37497,22 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37441
37497
|
i0.ɵɵelementEnd()()();
|
|
37442
37498
|
} if (rf & 2) {
|
|
37443
37499
|
i0.ɵɵadvance(6);
|
|
37444
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7,
|
|
37500
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "Request for access denied"), "");
|
|
37445
37501
|
i0.ɵɵadvance(4);
|
|
37446
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
37502
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 11, "What happens next"));
|
|
37447
37503
|
i0.ɵɵadvance(3);
|
|
37448
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14,
|
|
37504
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "The requester has been denied access to this case."), " ");
|
|
37449
37505
|
i0.ɵɵadvance(5);
|
|
37450
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
37506
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 15, ctx.returnToMyTask));
|
|
37451
37507
|
i0.ɵɵadvance(3);
|
|
37452
|
-
i0.ɵɵ
|
|
37508
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", ctx.jurisdiction, "/", ctx.caseType, "/", ctx.caseId, "", i0.ɵɵsanitizeUrl);
|
|
37453
37509
|
i0.ɵɵadvance();
|
|
37454
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23,
|
|
37510
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, ctx.retunToTask));
|
|
37455
37511
|
} }, dependencies: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37456
37512
|
}
|
|
37457
37513
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRejectComponent, [{
|
|
37458
37514
|
type: Component,
|
|
37459
|
-
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" }]
|
|
37515
|
+
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" }]
|
|
37460
37516
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37461
37517
|
(() => { (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 }); })();
|
|
37462
37518
|
|