@hmcts/ccd-case-ui-toolkit 7.2.22 → 7.2.23-exui-2761-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +3 -3
  2. 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
  3. 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
  4. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +9 -4
  5. package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +16 -3
  6. package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +15 -8
  7. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +13 -9
  8. package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +4 -2
  9. package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +9 -5
  10. package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +9 -5
  11. package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +9 -5
  12. package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +9 -5
  13. package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +3 -3
  14. package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +6 -6
  15. package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +2 -2
  16. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +7 -7
  17. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +7 -7
  18. package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +2 -2
  19. package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +3 -3
  20. package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +3 -3
  21. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +6 -2
  22. package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +22 -18
  23. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +290 -227
  24. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  25. 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
  26. 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
  27. 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
  28. 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
  29. package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts +2 -0
  30. package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts.map +1 -1
  31. package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +1 -0
  32. package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
  33. package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
  34. package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts +2 -0
  35. package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts.map +1 -1
  36. package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -1
  37. package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts +2 -0
  38. package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts.map +1 -1
  39. package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts +2 -0
  40. package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts.map +1 -1
  41. package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts +2 -0
  42. package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts.map +1 -1
  43. package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts +2 -0
  44. package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts.map +1 -1
  45. package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +2 -2
  46. package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
  47. package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts.map +1 -1
  48. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +2 -0
  49. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts.map +1 -1
  50. package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts +2 -0
  51. package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts.map +1 -1
  52. 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$16 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
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$16);
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$15 = [[["", "headerNavigation", ""]]];
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$15);
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$14 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
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$14);
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$13 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
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$13);
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$12 = a0 => ({ "govuk-input--error": a0 });
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$12, ctx_r6.isInvalid));
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$12, ctx_r6.isInvalid));
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$12, ctx_r6.isInvalid));
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$12, ctx.isInvalid));
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$12, ctx.isInvalid));
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$12, ctx.isInvalid));
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$11 = ["*"];
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$11, 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) {
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$10 = ["*"];
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$10, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
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$$ = ["tab"];
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$$, 5);
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$_ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
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$_, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
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$Z = a0 => ["/", "cases", "case-details", a0, "tasks"];
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: 27, 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) {
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.ɵɵpureFunction1(25, _c0$Z, ctx.caseId));
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$Y = a0 => ["/", "cases", "case-details", a0, "tasks"];
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.ɵɵpureFunction1(26, _c0$Y, ctx_r1.caseId));
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, 28, "div", 0);
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$X = ["writeComplexFieldComponent"];
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$X, 5);
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$W = ["journeyChild"];
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$W, 5);
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$V = ["journeyChild"];
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$V, 5);
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$U = ["writeComplexFieldComponent"];
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$U, 5);
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$T = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
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$T, 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);
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$S = ["collectionItem"];
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$S, 5);
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$R = ["fileInput"];
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$R, 5);
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$Q = a0 => ({ "form-group-error": a0 });
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$Q, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
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$P = a0 => ({ "error": a0 });
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$P, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
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$O = a0 => ({ "form-group-error": a0 });
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$O, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
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$N = a0 => ({ "form-group-error": a0 });
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$N, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
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$M = a0 => ({ "form-group-error": a0 });
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$M, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
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$L = a0 => ({ "form-group-error": a0 });
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$L, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
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$K = a0 => ({ "form-group-error": a0 });
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$K, !!ctx.judicialUserControl && ctx.errors));
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$J = a0 => ({ "govuk-form-group--error": a0 });
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$J, !!ctx_r1.caseReasonCommentsError));
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$J, !!ctx_r1.caseNumberError));
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$J, !!ctx_r1.caseReasonError));
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$J, !!ctx.noSelectedCaseError));
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.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
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, 3, "a", 18);
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.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
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, 10, case_r3.caseReference), "");
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, 12, "tr", 9)(2, LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template, 3, 0, "tr", 10);
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.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
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, 3, "a", 15);
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.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
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, 10, case_r1.caseReference), "");
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, 12, "tr", 7)(15, LinkedCasesToTableComponent_table_2_tr_15_Template, 3, 0, "tr", 8);
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 href=\"cases/case-details/{{ 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"] }]
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$I = a0 => ({ "govuk-form-group--error": a0 });
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$I, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
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$H = a0 => ({ "form-group-error": a0 });
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$H, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
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$G = a0 => ({ "error": a0 });
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$G, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
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$F = a0 => ({ "form-group-error": a0 });
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", "numeric", "pattern", "[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) {
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$F, !ctx.numberControl.valid && ctx.numberControl.dirty));
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=\"numeric\" pattern=\"[0-9]*\" [formControl]=\"numberControl\">\n</div>\n" }]
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$E = a0 => ({ "scroll-container ": a0 });
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$E, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
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$D = a0 => ({ "form-group-error": a0 });
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$D, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
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');
@@ -22566,7 +22578,7 @@ class QueryWriteDateInputComponent {
22566
22578
  }] }); })();
22567
22579
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteDateInputComponent, { className: "QueryWriteDateInputComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.ts", lineNumber: 15 }); })();
22568
22580
 
22569
- const _c0$C = a0 => ({ "govuk-form-group--error": a0 });
22581
+ const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
22570
22582
  function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
22571
22583
  i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
22572
22584
  } if (rf & 2) {
@@ -22646,7 +22658,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
22646
22658
  } if (rf & 2) {
22647
22659
  const ctx_r0 = i0.ɵɵnextContext(2);
22648
22660
  i0.ɵɵadvance();
22649
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$C, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
22661
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
22650
22662
  i0.ɵɵadvance(4);
22651
22663
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
22652
22664
  i0.ɵɵadvance(2);
@@ -22713,7 +22725,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
22713
22725
  i0.ɵɵadvance(8);
22714
22726
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
22715
22727
  i0.ɵɵadvance(2);
22716
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$C, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
22728
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
22717
22729
  i0.ɵɵadvance(3);
22718
22730
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
22719
22731
  i0.ɵɵadvance(3);
@@ -22721,7 +22733,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
22721
22733
  i0.ɵɵadvance(2);
22722
22734
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
22723
22735
  i0.ɵɵadvance(2);
22724
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$C, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
22736
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
22725
22737
  i0.ɵɵadvance(3);
22726
22738
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
22727
22739
  i0.ɵɵadvance(3);
@@ -22732,7 +22744,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
22732
22744
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
22733
22745
  i0.ɵɵproperty("formControlName", "body");
22734
22746
  i0.ɵɵadvance(2);
22735
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$C, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
22747
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
22736
22748
  i0.ɵɵadvance(4);
22737
22749
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
22738
22750
  i0.ɵɵadvance(2);
@@ -23044,21 +23056,21 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
23044
23056
  } if (rf & 2) {
23045
23057
  const ctx_r0 = i0.ɵɵnextContext(2);
23046
23058
  i0.ɵɵadvance(3);
23047
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query submitted"));
23059
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Query submitted"));
23048
23060
  i0.ɵɵadvance(3);
23049
- i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 11, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
23061
+ i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 13, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
23050
23062
  i0.ɵɵadvance(4);
23051
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "What happens next"));
23063
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "What happens next"));
23052
23064
  i0.ɵɵadvance(2);
23053
- i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 15, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
23065
+ i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 17, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
23054
23066
  i0.ɵɵadvance(3);
23055
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 17, "When the response is available it will be added to the 'Queries' section."));
23067
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 19, "When the response is available it will be added to the 'Queries' section."));
23056
23068
  i0.ɵɵadvance(3);
23057
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 19, "You can"), " ");
23069
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 21, "You can"), " ");
23058
23070
  i0.ɵɵadvance(2);
23059
- i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
23071
+ i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
23060
23072
  i0.ɵɵadvance();
23061
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 21, "Go back to the case"));
23073
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 23, "Go back to the case"));
23062
23074
  } }
23063
23075
  function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
23064
23076
  i0.ɵɵelementContainerStart(0);
@@ -23086,23 +23098,23 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
23086
23098
  } if (rf & 2) {
23087
23099
  const ctx_r0 = i0.ɵɵnextContext(2);
23088
23100
  i0.ɵɵadvance(3);
23089
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query response submitted"));
23101
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 13, "Query response submitted"));
23090
23102
  i0.ɵɵadvance(3);
23091
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 11, "This query response has been added to the case"));
23103
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 15, "This query response has been added to the case"));
23092
23104
  i0.ɵɵadvance(3);
23093
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 13, "You can"), " ");
23105
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 17, "You can"), " ");
23094
23106
  i0.ɵɵadvance(2);
23095
- i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "/tasks");
23107
+ i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "/tasks");
23096
23108
  i0.ɵɵadvance();
23097
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 15, "return to tasks"));
23109
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "return to tasks"));
23098
23110
  i0.ɵɵadvance(3);
23099
- i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
23111
+ i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
23100
23112
  i0.ɵɵadvance();
23101
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "Go back to the case"));
23113
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
23102
23114
  } }
23103
23115
  function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
23104
23116
  i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
23105
- i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23, 23, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 19, "ng-container", 4);
23117
+ i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23, 25, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 23, "ng-container", 4);
23106
23118
  i0.ɵɵelementEnd()()();
23107
23119
  } if (rf & 2) {
23108
23120
  const ctx_r0 = i0.ɵɵnextContext();
@@ -23116,12 +23128,16 @@ class QueryConfirmationComponent {
23116
23128
  queryCreateContext;
23117
23129
  callbackConfirmationMessageText = {};
23118
23130
  caseId = '';
23131
+ jurisdiction = '';
23132
+ caseType = '';
23119
23133
  queryCreateContextEnum = QueryCreateContext;
23120
23134
  constructor(route) {
23121
23135
  this.route = route;
23122
23136
  }
23123
23137
  ngOnInit() {
23124
23138
  this.caseId = this.route.snapshot.params.cid;
23139
+ this.jurisdiction = this.route.snapshot.params.jurisdiction;
23140
+ this.caseType = this.route.snapshot.params.caseType;
23125
23141
  }
23126
23142
  static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
23127
23143
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__body"], ["id", "tasks-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
@@ -23132,7 +23148,7 @@ class QueryConfirmationComponent {
23132
23148
  }
23133
23149
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
23134
23150
  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" }]
23151
+ args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}/tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
23136
23152
  }], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
23137
23153
  type: Input
23138
23154
  }], callbackConfirmationMessageText: [{
@@ -23184,7 +23200,7 @@ class CloseQueryComponent {
23184
23200
  }] }); })();
23185
23201
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 8 }); })();
23186
23202
 
23187
- const _c0$B = (a0, a1) => ["/query-management", "query", a0, "4", a1];
23203
+ const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
23188
23204
  function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
23189
23205
  const _r1 = i0.ɵɵgetCurrentView();
23190
23206
  i0.ɵɵelementStart(0, "div", 5)(1, "ccd-query-list", 6);
@@ -23223,7 +23239,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
23223
23239
  } if (rf & 2) {
23224
23240
  const ctx_r1 = i0.ɵɵnextContext(3);
23225
23241
  i0.ɵɵadvance();
23226
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$B, ctx_r1.caseId, ctx_r1.query.id));
23242
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
23227
23243
  i0.ɵɵadvance();
23228
23244
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
23229
23245
  } }
@@ -23371,7 +23387,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
23371
23387
  }], null, null); })();
23372
23388
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 8 }); })();
23373
23389
 
23374
- const _c0$A = a0 => ({ "form-group-error": a0 });
23390
+ const _c0$B = a0 => ({ "form-group-error": a0 });
23375
23391
  const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
23376
23392
  function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
23377
23393
  i0.ɵɵelementStart(0, "span", 6);
@@ -23430,7 +23446,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
23430
23446
  i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
23431
23447
  i0.ɵɵelementEnd()();
23432
23448
  } if (rf & 2) {
23433
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
23449
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
23434
23450
  i0.ɵɵadvance();
23435
23451
  i0.ɵɵproperty("for", ctx.id());
23436
23452
  i0.ɵɵadvance();
@@ -23469,7 +23485,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
23469
23485
  }], null, null); })();
23470
23486
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 8 }); })();
23471
23487
 
23472
- const _c0$z = a0 => ({ "form-group-error": a0 });
23488
+ const _c0$A = a0 => ({ "form-group-error": a0 });
23473
23489
  const _c1$c = a0 => ({ "govuk-input--error": a0 });
23474
23490
  function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
23475
23491
  i0.ɵɵelementStart(0, "span", 6);
@@ -23519,7 +23535,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
23519
23535
  i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
23520
23536
  i0.ɵɵelementEnd()();
23521
23537
  } if (rf & 2) {
23522
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
23538
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
23523
23539
  i0.ɵɵadvance();
23524
23540
  i0.ɵɵproperty("for", ctx.id());
23525
23541
  i0.ɵɵadvance();
@@ -23660,7 +23676,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
23660
23676
  }], () => [{ type: YesNoService }], null); })();
23661
23677
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 9 }); })();
23662
23678
 
23663
- const _c0$y = a0 => ({ "form-group-error": a0 });
23679
+ const _c0$z = a0 => ({ "form-group-error": a0 });
23664
23680
  const _c1$b = a0 => ({ selected: a0 });
23665
23681
  function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
23666
23682
  i0.ɵɵelementStart(0, "span", 7);
@@ -23732,7 +23748,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
23732
23748
  i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
23733
23749
  i0.ɵɵelementEnd()()();
23734
23750
  } if (rf & 2) {
23735
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$y, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
23751
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
23736
23752
  i0.ɵɵadvance(3);
23737
23753
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
23738
23754
  i0.ɵɵadvance();
@@ -23849,7 +23865,7 @@ class PaletteService {
23849
23865
  type: Injectable
23850
23866
  }], null, null); })();
23851
23867
 
23852
- const _c0$x = ["fieldContainer"];
23868
+ const _c0$y = ["fieldContainer"];
23853
23869
  const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
23854
23870
  class FieldReadComponent extends AbstractFieldReadComponent {
23855
23871
  resolver;
@@ -23898,7 +23914,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
23898
23914
  }
23899
23915
  static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
23900
23916
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
23901
- i0.ɵɵviewQuery(_c0$x, 5, ViewContainerRef);
23917
+ i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
23902
23918
  } if (rf & 2) {
23903
23919
  let _t;
23904
23920
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -23927,7 +23943,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
23927
23943
  }] }); })();
23928
23944
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
23929
23945
 
23930
- const _c0$w = ["fieldContainer"];
23946
+ const _c0$x = ["fieldContainer"];
23931
23947
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
23932
23948
  class FieldWriteComponent extends AbstractFieldWriteComponent {
23933
23949
  resolver;
@@ -23973,7 +23989,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
23973
23989
  }
23974
23990
  static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
23975
23991
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
23976
- i0.ɵɵviewQuery(_c0$w, 7, ViewContainerRef);
23992
+ i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
23977
23993
  } if (rf & 2) {
23978
23994
  let _t;
23979
23995
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -23997,7 +24013,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
23997
24013
  }] }); })();
23998
24014
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 16 }); })();
23999
24015
 
24000
- const _c0$v = ["*"];
24016
+ const _c0$w = ["*"];
24001
24017
  function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
24002
24018
  i0.ɵɵelementContainer(0);
24003
24019
  } }
@@ -24051,7 +24067,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
24051
24067
  }
24052
24068
  }
24053
24069
  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$v, 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) {
24070
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$w, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
24055
24071
  i0.ɵɵprojectionDef();
24056
24072
  i0.ɵɵelementStart(0, "div", 1);
24057
24073
  i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
@@ -24072,7 +24088,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
24072
24088
  }] }); })();
24073
24089
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 14 }); })();
24074
24090
 
24075
- const _c0$u = a0 => ({ cat: a0, level: 1 });
24091
+ const _c0$v = a0 => ({ cat: a0, level: 1 });
24076
24092
  const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
24077
24093
  function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
24078
24094
  i0.ɵɵelementContainer(0);
@@ -24086,7 +24102,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
24086
24102
  i0.ɵɵnextContext();
24087
24103
  const folder_r3 = i0.ɵɵreference(13);
24088
24104
  i0.ɵɵadvance();
24089
- i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$u, cat_r2));
24105
+ i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
24090
24106
  } }
24091
24107
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
24092
24108
  i0.ɵɵelementContainer(0);
@@ -24225,7 +24241,7 @@ class CaseFileViewFolderSelectorComponent {
24225
24241
  }] }], null); })();
24226
24242
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSelectorComponent, { className: "CaseFileViewFolderSelectorComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.ts", lineNumber: 12 }); })();
24227
24243
 
24228
- const _c0$t = [[["", "trigger", ""]]];
24244
+ const _c0$u = [[["", "trigger", ""]]];
24229
24245
  const _c1$9 = ["[trigger]"];
24230
24246
  function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
24231
24247
  i0.ɵɵelementContainerStart(0);
@@ -24300,7 +24316,7 @@ class CaseFileViewOverlayMenuComponent {
24300
24316
  static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
24301
24317
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$9, decls: 5, vars: 4, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
24302
24318
  const _r1 = i0.ɵɵgetCurrentView();
24303
- i0.ɵɵprojectionDef(_c0$t);
24319
+ i0.ɵɵprojectionDef(_c0$u);
24304
24320
  i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
24305
24321
  i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
24306
24322
  i0.ɵɵprojection(3);
@@ -24969,7 +24985,7 @@ class CaseFileViewFolderComponent {
24969
24985
  }] }); })();
24970
24986
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 27 }); })();
24971
24987
 
24972
- const _c0$s = a0 => ({ "form-group-error": a0 });
24988
+ const _c0$t = a0 => ({ "form-group-error": a0 });
24973
24989
  function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
24974
24990
  i0.ɵɵelementStart(0, "span");
24975
24991
  i0.ɵɵtext(1);
@@ -25123,7 +25139,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
25123
25139
  } if (rf & 2) {
25124
25140
  i0.ɵɵproperty("formGroup", ctx.formGroup);
25125
25141
  i0.ɵɵadvance(2);
25126
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$s, ctx.errorMessages.length > 0));
25142
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
25127
25143
  i0.ɵɵadvance(2);
25128
25144
  i0.ɵɵproperty("for", ctx.flagCommentsControlName);
25129
25145
  i0.ɵɵadvance();
@@ -25657,7 +25673,7 @@ class CaseFlagTableComponent {
25657
25673
  }] }); })();
25658
25674
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 10 }); })();
25659
25675
 
25660
- const _c0$r = a0 => ({ "form-group-error": a0 });
25676
+ const _c0$s = a0 => ({ "form-group-error": a0 });
25661
25677
  function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
25662
25678
  i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
25663
25679
  i0.ɵɵtext(2);
@@ -25968,7 +25984,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
25968
25984
  } if (rf & 2) {
25969
25985
  i0.ɵɵproperty("formGroup", ctx.formGroup);
25970
25986
  i0.ɵɵadvance();
25971
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$r, ctx.errorMessages.length > 0));
25987
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
25972
25988
  i0.ɵɵadvance(4);
25973
25989
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
25974
25990
  i0.ɵɵadvance(2);
@@ -26054,7 +26070,7 @@ var SearchLanguageInterpreterControlNames;
26054
26070
  SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
26055
26071
  })(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
26056
26072
 
26057
- const _c0$q = a0 => ({ "form-group-error": a0 });
26073
+ const _c0$r = a0 => ({ "form-group-error": a0 });
26058
26074
  function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
26059
26075
  i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
26060
26076
  i0.ɵɵtext(2);
@@ -26146,7 +26162,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
26146
26162
  } if (rf & 2) {
26147
26163
  const ctx_r1 = i0.ɵɵnextContext();
26148
26164
  i0.ɵɵadvance();
26149
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$q, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
26165
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
26150
26166
  i0.ɵɵadvance(2);
26151
26167
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
26152
26168
  i0.ɵɵadvance(2);
@@ -26320,7 +26336,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
26320
26336
  const autoSearchLanguage_r4 = i0.ɵɵreference(14);
26321
26337
  i0.ɵɵproperty("formGroup", ctx.formGroup);
26322
26338
  i0.ɵɵadvance();
26323
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$q, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
26339
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$r, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
26324
26340
  i0.ɵɵadvance(2);
26325
26341
  i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
26326
26342
  i0.ɵɵadvance();
@@ -26357,7 +26373,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
26357
26373
  }] }); })();
26358
26374
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchLanguageInterpreterComponent, { className: "SearchLanguageInterpreterComponent", filePath: "lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.ts", lineNumber: 20 }); })();
26359
26375
 
26360
- const _c0$p = a0 => ({ "form-group-error": a0 });
26376
+ const _c0$q = a0 => ({ "form-group-error": a0 });
26361
26377
  function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
26362
26378
  i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
26363
26379
  i0.ɵɵtext(2);
@@ -26533,7 +26549,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
26533
26549
  } if (rf & 2) {
26534
26550
  i0.ɵɵproperty("formGroup", ctx.formGroup);
26535
26551
  i0.ɵɵadvance();
26536
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$p, ctx.errorMessages.length > 0));
26552
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx.errorMessages.length > 0));
26537
26553
  i0.ɵɵadvance(4);
26538
26554
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
26539
26555
  i0.ɵɵadvance(2);
@@ -26556,7 +26572,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
26556
26572
  }] }); })();
26557
26573
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagLocationComponent, { className: "SelectFlagLocationComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.ts", lineNumber: 12 }); })();
26558
26574
 
26559
- const _c0$o = a0 => ({ "form-group-error": a0 });
26575
+ const _c0$p = a0 => ({ "form-group-error": a0 });
26560
26576
  const _c1$8 = a0 => ({ "govuk-input--error": a0 });
26561
26577
  function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
26562
26578
  i0.ɵɵelementContainerStart(0);
@@ -26652,7 +26668,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
26652
26668
  } if (rf & 2) {
26653
26669
  const ctx_r0 = i0.ɵɵnextContext(2);
26654
26670
  i0.ɵɵadvance();
26655
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$o, ctx_r0.flagTypeErrorMessage.length > 0));
26671
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$p, ctx_r0.flagTypeErrorMessage.length > 0));
26656
26672
  i0.ɵɵadvance(2);
26657
26673
  i0.ɵɵtextInterpolate1(" ", ctx_r0.isDisplayContextParameterExternal ? i0.ɵɵpipeBind1(4, 7, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION_EXTERNAL) : i0.ɵɵpipeBind1(5, 9, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION), " ");
26658
26674
  i0.ɵɵadvance(3);
@@ -26677,7 +26693,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
26677
26693
  const ctx_r0 = i0.ɵɵnextContext();
26678
26694
  i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
26679
26695
  i0.ɵɵadvance();
26680
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$o, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
26696
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
26681
26697
  i0.ɵɵadvance(4);
26682
26698
  i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
26683
26699
  i0.ɵɵadvance(3);
@@ -27004,7 +27020,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
27004
27020
  }] }); })();
27005
27021
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagTypeComponent, { className: "SelectFlagTypeComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.ts", lineNumber: 19 }); })();
27006
27022
 
27007
- const _c0$n = a0 => ({ "form-group-error": a0 });
27023
+ const _c0$o = a0 => ({ "form-group-error": a0 });
27008
27024
  const _c1$7 = a0 => ({ "govuk-tag--grey": a0 });
27009
27025
  function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
27010
27026
  i0.ɵɵelementStart(0, "div", 15);
@@ -27490,7 +27506,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
27490
27506
  const externalUser_r5 = i0.ɵɵreference(17);
27491
27507
  i0.ɵɵproperty("formGroup", ctx.formGroup);
27492
27508
  i0.ɵɵadvance(2);
27493
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$n, ctx.errorMessages.length > 0));
27509
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$o, ctx.errorMessages.length > 0));
27494
27510
  i0.ɵɵadvance(3);
27495
27511
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
27496
27512
  i0.ɵɵadvance(2);
@@ -27523,7 +27539,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
27523
27539
  }] }); })();
27524
27540
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagComponent, { className: "UpdateFlagComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.ts", lineNumber: 22 }); })();
27525
27541
 
27526
- const _c0$m = a0 => ({ "form-group-error": a0 });
27542
+ const _c0$n = a0 => ({ "form-group-error": a0 });
27527
27543
  function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
27528
27544
  i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
27529
27545
  i0.ɵɵtext(2);
@@ -27731,7 +27747,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
27731
27747
  } if (rf & 2) {
27732
27748
  i0.ɵɵproperty("formGroup", ctx.formGroup);
27733
27749
  i0.ɵɵadvance(2);
27734
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$m, ctx.errorMessages.length > 0));
27750
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$n, ctx.errorMessages.length > 0));
27735
27751
  i0.ɵɵadvance(3);
27736
27752
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
27737
27753
  i0.ɵɵadvance(3);
@@ -27788,7 +27804,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
27788
27804
  }] }); })();
27789
27805
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagAddTranslationFormComponent, { className: "UpdateFlagAddTranslationFormComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.ts", lineNumber: 18 }); })();
27790
27806
 
27791
- const _c0$l = a0 => ({ "form-group-error": a0 });
27807
+ const _c0$m = a0 => ({ "form-group-error": a0 });
27792
27808
  function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
27793
27809
  i0.ɵɵelementStart(0, "div", 13);
27794
27810
  i0.ɵɵelement(1, "input", 14);
@@ -27923,7 +27939,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
27923
27939
  } if (rf & 2) {
27924
27940
  i0.ɵɵproperty("formGroup", ctx.formGroup);
27925
27941
  i0.ɵɵadvance(2);
27926
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$l, ctx.errorMessages.length > 0));
27942
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$m, ctx.errorMessages.length > 0));
27927
27943
  i0.ɵɵadvance(4);
27928
27944
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
27929
27945
  i0.ɵɵadvance(3);
@@ -28203,7 +28219,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
28203
28219
  }]
28204
28220
  }], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
28205
28221
 
28206
- const _c0$k = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
28222
+ const _c0$l = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
28207
28223
  function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
28208
28224
  i0.ɵɵelementContainerStart(0);
28209
28225
  i0.ɵɵelementStart(1, "dt", 2)(2, "span", 3);
@@ -28240,7 +28256,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
28240
28256
  i0.ɵɵelementEnd();
28241
28257
  } if (rf & 2) {
28242
28258
  i0.ɵɵadvance();
28243
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
28259
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
28244
28260
  } }, styles: ["dl.complex-raw[_ngcontent-%COMP%]{list-style-type:none;margin:5px 0 10px}dl.complex-raw[_ngcontent-%COMP%] dl.complex-raw[_ngcontent-%COMP%]{padding-left:2ch}dl.complex-raw[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:700}"] });
28245
28261
  }
28246
28262
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
@@ -28251,7 +28267,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
28251
28267
  }] }); })();
28252
28268
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 16 }); })();
28253
28269
 
28254
- const _c0$j = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
28270
+ const _c0$k = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
28255
28271
  function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
28256
28272
  i0.ɵɵelementContainerStart(0);
28257
28273
  i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
@@ -28329,7 +28345,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
28329
28345
  i0.ɵɵadvance(4);
28330
28346
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
28331
28347
  i0.ɵɵadvance(5);
28332
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$j, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
28348
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
28333
28349
  } }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
28334
28350
  }
28335
28351
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
@@ -28714,7 +28730,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
28714
28730
  }], null, null); })();
28715
28731
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 12 }); })();
28716
28732
 
28717
- const _c0$i = a0 => ({ "form-group-error": a0 });
28733
+ const _c0$j = a0 => ({ "form-group-error": a0 });
28718
28734
  function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
28719
28735
  i0.ɵɵelementStart(0, "span", 5);
28720
28736
  i0.ɵɵtext(1);
@@ -28766,7 +28782,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
28766
28782
  i0.ɵɵpipe(7, "ccdIsMandatory");
28767
28783
  i0.ɵɵelementEnd()();
28768
28784
  } if (rf & 2) {
28769
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$i, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
28785
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$j, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
28770
28786
  i0.ɵɵadvance(3);
28771
28787
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
28772
28788
  i0.ɵɵadvance();
@@ -28795,7 +28811,7 @@ const CUSTOM_MOMENT_FORMATS = {
28795
28811
  },
28796
28812
  };
28797
28813
 
28798
- const _c0$h = ["picker"];
28814
+ const _c0$i = ["picker"];
28799
28815
  const _c1$6 = ["input"];
28800
28816
  const _c2$2 = a0 => ({ "form-group-error": a0 });
28801
28817
  function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
@@ -29013,7 +29029,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
29013
29029
  }
29014
29030
  static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
29015
29031
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
29016
- i0.ɵɵviewQuery(_c0$h, 5);
29032
+ i0.ɵɵviewQuery(_c0$i, 5);
29017
29033
  i0.ɵɵviewQuery(_c1$6, 5);
29018
29034
  } if (rf & 2) {
29019
29035
  let _t;
@@ -29201,7 +29217,7 @@ class EventLogDetailsComponent {
29201
29217
  }] }); })();
29202
29218
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 9 }); })();
29203
29219
 
29204
- const _c0$g = a0 => ({ "EventLogTable-Selected": a0 });
29220
+ const _c0$h = a0 => ({ "EventLogTable-Selected": a0 });
29205
29221
  const _c1$5 = a0 => ["./", "event", a0, "history"];
29206
29222
  function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
29207
29223
  const _r4 = i0.ɵɵgetCurrentView();
@@ -29331,7 +29347,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
29331
29347
  } if (rf & 2) {
29332
29348
  const event_r2 = ctx.$implicit;
29333
29349
  const ctx_r2 = i0.ɵɵnextContext();
29334
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$g, ctx_r2.selected === event_r2));
29350
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$h, ctx_r2.selected === event_r2));
29335
29351
  i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
29336
29352
  i0.ɵɵadvance(2);
29337
29353
  i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
@@ -29526,11 +29542,11 @@ class EventLogComponent {
29526
29542
  }] }); })();
29527
29543
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 9 }); })();
29528
29544
 
29529
- const _c0$f = ["*"];
29545
+ const _c0$g = ["*"];
29530
29546
  class RouterLinkComponent {
29531
29547
  link;
29532
29548
  static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
29533
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$f, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
29549
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$g, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
29534
29550
  i0.ɵɵprojectionDef();
29535
29551
  i0.ɵɵelementStart(0, "a", 0);
29536
29552
  i0.ɵɵprojection(1);
@@ -30052,7 +30068,7 @@ class OrderSummary {
30052
30068
  PaymentTotal;
30053
30069
  }
30054
30070
 
30055
- const _c0$e = ["ccdReadOrderSummaryRow", ""];
30071
+ const _c0$f = ["ccdReadOrderSummaryRow", ""];
30056
30072
  class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
30057
30073
  feeValue;
30058
30074
  ngOnInit() {
@@ -30065,7 +30081,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
30065
30081
  return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
30066
30082
  }
30067
30083
  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$e, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
30084
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$f, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
30069
30085
  i0.ɵɵelementStart(0, "td");
30070
30086
  i0.ɵɵtext(1);
30071
30087
  i0.ɵɵelementEnd();
@@ -31126,7 +31142,7 @@ var CaseEditSubmitTitles;
31126
31142
  CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
31127
31143
  })(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
31128
31144
 
31129
- const _c0$d = (a0, a1) => [a0, false, undefined, true, a1];
31145
+ const _c0$e = (a0, a1) => [a0, false, undefined, true, a1];
31130
31146
  const _c1$4 = a0 => ({ "form-group-error": a0 });
31131
31147
  const _c2$1 = a0 => ({ "govuk-input--error": a0 });
31132
31148
  function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
@@ -31248,7 +31264,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
31248
31264
  const page_r5 = i0.ɵɵnextContext().$implicit;
31249
31265
  const ctx_r1 = i0.ɵɵnextContext(3);
31250
31266
  i0.ɵɵadvance();
31251
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$d, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
31267
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$e, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
31252
31268
  } }
31253
31269
  function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
31254
31270
  i0.ɵɵelementContainerStart(0);
@@ -32488,7 +32504,7 @@ class PaginationComponent {
32488
32504
  }] }); })();
32489
32505
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 12 }); })();
32490
32506
 
32491
- const _c0$c = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
32507
+ const _c0$d = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
32492
32508
  function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
32493
32509
  const _r1 = i0.ɵɵgetCurrentView();
32494
32510
  i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
@@ -32797,7 +32813,7 @@ class CaseListComponent {
32797
32813
  i0.ɵɵadvance();
32798
32814
  i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
32799
32815
  i0.ɵɵadvance(2);
32800
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
32816
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$d, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
32801
32817
  i0.ɵɵadvance(2);
32802
32818
  i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
32803
32819
  } }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
@@ -34259,6 +34275,7 @@ class EventTriggerResolver {
34259
34275
  const cid = route.parent.paramMap.get(EventTriggerResolver.PARAM_CASE_ID);
34260
34276
  // tslint:disable-next-line: prefer-const
34261
34277
  let caseTypeId;
34278
+ const jurisdiction = route.parent.paramMap.get('jurisdiction');
34262
34279
  const eventTriggerId = route.paramMap.get(EventTriggerResolver.PARAM_EVENT_ID);
34263
34280
  let ignoreWarning = route.queryParamMap.get(EventTriggerResolver.IGNORE_WARNING);
34264
34281
  if (-1 === EventTriggerResolver.IGNORE_WARNING_VALUES.indexOf(ignoreWarning)) {
@@ -34280,7 +34297,8 @@ class EventTriggerResolver {
34280
34297
  this.alertService.setPreserveAlerts(true);
34281
34298
  this.alertService.error(error.message);
34282
34299
  this.errorNotifier.announceError(error);
34283
- this.router.navigate([`/cases/case-details/${cid}/tasks`]);
34300
+ caseTypeId = route.parent.paramMap.get('caseType');
34301
+ this.router.navigate([`/cases/case-details/${jurisdiction}/${caseTypeId}/${cid}/tasks`]);
34284
34302
  return throwError(error);
34285
34303
  })).toPromise();
34286
34304
  }
@@ -34420,9 +34438,21 @@ class CaseEventTriggerComponent {
34420
34438
  }
34421
34439
  });
34422
34440
  }
34441
+ // replace the old link with the new one with jurisdiction and case type id
34442
+ getNavigationUrl(url) {
34443
+ const urlRegex = /\/case-details\/(\d+)/;
34444
+ const match = url.match(urlRegex);
34445
+ if (match && /^\d+$/.test(match[1]) && this.caseDetails?.case_type) {
34446
+ const jurisdiction = this.caseDetails.case_type.jurisdiction.id;
34447
+ const id = this.caseDetails.case_type.id;
34448
+ return url.replace(urlRegex, `/case-details/${jurisdiction}/${id}/${match[1]}`);
34449
+ }
34450
+ return url;
34451
+ }
34423
34452
  cancel() {
34424
- const previousUrl = this.routerCurrentNavigation?.previousNavigation?.finalUrl?.toString();
34453
+ let previousUrl = this.routerCurrentNavigation?.previousNavigation?.finalUrl?.toString();
34425
34454
  if (previousUrl) {
34455
+ previousUrl = this.getNavigationUrl(previousUrl);
34426
34456
  if (previousUrl.indexOf('#') > -1) {
34427
34457
  const url = previousUrl.split('#')[0];
34428
34458
  const fragment = previousUrl.split('#')[1].replace(/%20/g, ' ');
@@ -34433,7 +34463,8 @@ class CaseEventTriggerComponent {
34433
34463
  }
34434
34464
  }
34435
34465
  else {
34436
- return this.router.navigate([this.parentUrl]);
34466
+ const updatedUrl = this.getNavigationUrl(this.parentUrl);
34467
+ return this.router.navigate([updatedUrl]);
34437
34468
  }
34438
34469
  }
34439
34470
  isDataLoaded() {
@@ -34877,7 +34908,7 @@ class DialogsModule {
34877
34908
  SaveOrDiscardDialogComponent,
34878
34909
  RemoveDialogComponent] }); })();
34879
34910
 
34880
- const _c0$b = ["tabGroup"];
34911
+ const _c0$c = ["tabGroup"];
34881
34912
  const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
34882
34913
  function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
34883
34914
  i0.ɵɵelementStart(0, "div", 12)(1, "h1", 13);
@@ -35343,7 +35374,7 @@ class CaseFullAccessViewComponent {
35343
35374
  }
35344
35375
  // found tasks or hearing tab
35345
35376
  if (foundTab) {
35346
- this.router.navigate(['cases', 'case-details', this.caseDetails.case_id, foundTab.id]).then(() => {
35377
+ this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id, foundTab.id]).then(() => {
35347
35378
  matTab = this.tabGroup._tabs.find((x) => x.textLabel === foundTab.label);
35348
35379
  // Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
35349
35380
  // matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
@@ -35358,7 +35389,7 @@ class CaseFullAccessViewComponent {
35358
35389
  this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
35359
35390
  // select the first tab checking if the tab is visible
35360
35391
  const preSelectTab = this.findPreSelectedActiveTab();
35361
- this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
35392
+ this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
35362
35393
  matTab = this.tabGroup._tabs.find((x) => x.textLabel === preSelectTab.label);
35363
35394
  // Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
35364
35395
  // matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
@@ -35405,14 +35436,21 @@ class CaseFullAccessViewComponent {
35405
35436
  // Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
35406
35437
  const tab = matTab['_viewContainerRef'];
35407
35438
  const id = tab.element.nativeElement.id;
35408
- // cases/case-details/:caseId/hearings
35409
- // cases/case-details/:caseId/roles-and-access
35410
- this.router.navigate([id], { relativeTo: this.route });
35439
+ // cases/case-details/:jurisdiction/:caseType/:caseId/hearings
35440
+ // cases/case-details/:jurisdiction/:caseType/:caseId/roles-and-access
35441
+ this.router.navigate([
35442
+ 'cases',
35443
+ 'case-details',
35444
+ this.caseDetails.case_type.jurisdiction.id,
35445
+ this.caseDetails.case_type.id,
35446
+ this.caseDetails.case_id,
35447
+ id
35448
+ ], { relativeTo: this.route.root });
35411
35449
  }
35412
35450
  else {
35413
35451
  // 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 });
35452
+ // cases/case-details/:jurisdiction/:caseType/:caseId#tabLabel
35453
+ this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: tabLabel });
35416
35454
  }
35417
35455
  }
35418
35456
  onLinkClicked(triggerOutputEventText) {
@@ -35515,7 +35553,7 @@ class CaseFullAccessViewComponent {
35515
35553
  }
35516
35554
  static ɵfac = function CaseFullAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i5.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1.RpxTranslatePipe), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
35517
35555
  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$b, 5);
35556
+ i0.ɵɵviewQuery(_c0$c, 5);
35519
35557
  } if (rf & 2) {
35520
35558
  let _t;
35521
35559
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
@@ -35931,15 +35969,19 @@ class EventMessageModule {
35931
35969
  RouterModule,
35932
35970
  ActivityModule, i1.RpxTranslationModule], exports: [ErrorMessageComponent] }); })();
35933
35971
 
35934
- const _c0$a = a0 => ["/", "cases", "case-details", a0, "tasks"];
35972
+ const _c0$b = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
35935
35973
  class MultipleTasksExistComponent {
35936
35974
  route;
35937
35975
  loadingService;
35938
35976
  caseId;
35977
+ jurisdiction;
35978
+ caseType;
35939
35979
  constructor(route, loadingService) {
35940
35980
  this.route = route;
35941
35981
  this.loadingService = loadingService;
35942
35982
  this.caseId = this.route.snapshot.data.case.case_id;
35983
+ this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
35984
+ this.caseType = this.route.snapshot.data.case.case_type.id;
35943
35985
  }
35944
35986
  ngOnInit() {
35945
35987
  // Check if the loading service has a shared spinner
@@ -35948,7 +35990,7 @@ class MultipleTasksExistComponent {
35948
35990
  }
35949
35991
  }
35950
35992
  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: 21, 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) {
35993
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars: 23, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function MultipleTasksExistComponent_Template(rf, ctx) { if (rf & 1) {
35952
35994
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
35953
35995
  i0.ɵɵtext(3);
35954
35996
  i0.ɵɵpipe(4, "rpxTranslate");
@@ -35985,27 +36027,31 @@ class MultipleTasksExistComponent {
35985
36027
  i0.ɵɵadvance(3);
35986
36028
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "Return to tasks tab and start the event from there."));
35987
36029
  i0.ɵɵadvance(2);
35988
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$a, ctx.caseId));
36030
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(19, _c0$b, ctx.jurisdiction, ctx.caseType, ctx.caseId));
35989
36031
  i0.ɵɵadvance();
35990
36032
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
35991
36033
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
35992
36034
  }
35993
36035
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
35994
36036
  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" }]
36037
+ args: [{ selector: 'app-multiple-tasks-exist', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Multiple tasks exist' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">\n {{'Multiple tasks exist' | rpxTranslate}}\n </h2>\n <p>{{\"You're starting work which could complete more than one of the active tasks for this case.\" | rpxTranslate}}</p>\n <p>{{'Return to tasks tab and start the event from there.' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
35996
36038
  }], () => [{ type: i1$1.ActivatedRoute }, { type: LoadingService }], null); })();
35997
36039
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultipleTasksExistComponent, { className: "MultipleTasksExistComponent", filePath: "lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.ts", lineNumber: 9 }); })();
35998
36040
 
35999
- const _c0$9 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36041
+ const _c0$a = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
36000
36042
  class NoTasksAvailableComponent {
36001
36043
  route;
36002
36044
  caseId;
36045
+ jurisdiction;
36046
+ caseType;
36003
36047
  constructor(route) {
36004
36048
  this.route = route;
36005
36049
  this.caseId = this.route.snapshot.data.case.case_id;
36050
+ this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
36051
+ this.caseType = this.route.snapshot.data.case.case_type.id;
36006
36052
  }
36007
36053
  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: 18, 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) {
36054
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function NoTasksAvailableComponent_Template(rf, ctx) { if (rf & 1) {
36009
36055
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
36010
36056
  i0.ɵɵtext(3);
36011
36057
  i0.ɵɵpipe(4, "rpxTranslate");
@@ -36036,18 +36082,18 @@ class NoTasksAvailableComponent {
36036
36082
  i0.ɵɵadvance(3);
36037
36083
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You should have an assigned task for this event, but something has gone wrong."));
36038
36084
  i0.ɵɵadvance(2);
36039
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(16, _c0$9, ctx.caseId));
36085
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$a, ctx.jurisdiction, ctx.caseType, ctx.caseId));
36040
36086
  i0.ɵɵadvance();
36041
36087
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 14, "Return to tasks tab"));
36042
36088
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
36043
36089
  }
36044
36090
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoTasksAvailableComponent, [{
36045
36091
  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" }]
36092
+ args: [{ selector: 'app-no-tasks-available', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'No task available' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'No task available' | rpxTranslate}}</h2>\n <p>{{'You should have an assigned task for this event, but something has gone wrong.' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
36047
36093
  }], () => [{ type: i1$1.ActivatedRoute }], null); })();
36048
36094
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoTasksAvailableComponent, { className: "NoTasksAvailableComponent", filePath: "lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.ts", lineNumber: 8 }); })();
36049
36095
 
36050
- const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36096
+ const _c0$9 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
36051
36097
  function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
36052
36098
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
36053
36099
  i0.ɵɵtext(3);
@@ -36081,7 +36127,7 @@ function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
36081
36127
  i0.ɵɵadvance(3);
36082
36128
  i0.ɵɵtextInterpolate3("", i0.ɵɵpipeBind1(17, 14, "This task is assigned to"), " ", ctx_r0.assignedUserName, ". ", i0.ɵɵpipeBind1(18, 16, "You must assign it to yourself to continue."), "");
36083
36129
  i0.ɵɵadvance(3);
36084
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(20, _c0$8, ctx_r0.caseId));
36130
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(20, _c0$9, ctx_r0.jurisdiction, ctx_r0.caseType, ctx_r0.caseId));
36085
36131
  i0.ɵɵadvance();
36086
36132
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 18, "Return to tasks tab"), " ");
36087
36133
  } }
@@ -36091,6 +36137,8 @@ class TaskAssignedComponent {
36091
36137
  caseworkerService;
36092
36138
  task = null;
36093
36139
  caseId;
36140
+ jurisdiction;
36141
+ caseType;
36094
36142
  assignedUserName;
36095
36143
  caseworkerSubscription;
36096
36144
  judicialworkerSubscription;
@@ -36103,6 +36151,8 @@ class TaskAssignedComponent {
36103
36151
  }
36104
36152
  ngOnInit() {
36105
36153
  // Current user is a caseworker?
36154
+ this.jurisdiction = this.task.jurisdiction;
36155
+ this.caseType = this.task.case_type_id;
36106
36156
  this.caseworkerSubscription = this.caseworkerService.getCaseworkers(this.task.jurisdiction).subscribe(result => {
36107
36157
  if (result && result[0].service === this.task.jurisdiction && result[0].caseworkers) {
36108
36158
  const caseworker = result[0].caseworkers.find(x => x.idamId === this.task.assignee);
@@ -36138,18 +36188,18 @@ class TaskAssignedComponent {
36138
36188
  }
36139
36189
  static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
36140
36190
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskAssignedComponent_Template(rf, ctx) { if (rf & 1) {
36141
- i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 22, "div", 0);
36191
+ i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 24, "div", 0);
36142
36192
  } if (rf & 2) {
36143
36193
  i0.ɵɵproperty("ngIf", ctx.assignedUserName);
36144
36194
  } }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
36145
36195
  }
36146
36196
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
36147
36197
  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" }]
36198
+ args: [{ selector: 'app-task-assigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
36149
36199
  }], () => [{ type: i1$1.ActivatedRoute }, { type: JudicialworkerService }, { type: CaseworkerService }], null); })();
36150
36200
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskAssignedComponent, { className: "TaskAssignedComponent", filePath: "lib/shared/components/event-start/components/task-assigned/task-assigned.component.ts", lineNumber: 12 }); })();
36151
36201
 
36152
- const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36202
+ const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36153
36203
  class TaskCancelledComponent {
36154
36204
  caseId;
36155
36205
  static ɵfac = function TaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskCancelledComponent)(); };
@@ -36202,7 +36252,7 @@ class TaskCancelledComponent {
36202
36252
  i0.ɵɵadvance(4);
36203
36253
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 21, "Continue"));
36204
36254
  i0.ɵɵadvance(2);
36205
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$7, ctx.caseId));
36255
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$8, ctx.caseId));
36206
36256
  i0.ɵɵadvance();
36207
36257
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
36208
36258
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -36215,7 +36265,7 @@ class TaskCancelledComponent {
36215
36265
  }] }); })();
36216
36266
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskCancelledComponent, { className: "TaskCancelledComponent", filePath: "lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.ts", lineNumber: 7 }); })();
36217
36267
 
36218
- const _c0$6 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36268
+ const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36219
36269
  class TaskConflictComponent {
36220
36270
  task;
36221
36271
  caseId;
@@ -36257,7 +36307,7 @@ class TaskConflictComponent {
36257
36307
  i0.ɵɵadvance(3);
36258
36308
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "If the problem persists, contact William Priest"));
36259
36309
  i0.ɵɵadvance(2);
36260
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$6, ctx.caseId));
36310
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$7, ctx.caseId));
36261
36311
  i0.ɵɵadvance();
36262
36312
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
36263
36313
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -36272,16 +36322,20 @@ class TaskConflictComponent {
36272
36322
  }] }); })();
36273
36323
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskConflictComponent, { className: "TaskConflictComponent", filePath: "lib/shared/components/event-start/components/task-conflict/task-conflict.component.ts", lineNumber: 8 }); })();
36274
36324
 
36275
- const _c0$5 = a0 => ["/", "cases", "case-details", a0, "tasks"];
36325
+ const _c0$6 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
36276
36326
  class TaskUnassignedComponent {
36277
36327
  route;
36278
36328
  caseId;
36329
+ jurisdiction;
36330
+ caseType;
36279
36331
  constructor(route) {
36280
36332
  this.route = route;
36281
36333
  this.caseId = this.route.snapshot.data.case.case_id;
36334
+ this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
36335
+ this.caseType = this.route.snapshot.data.case.case_type.id;
36282
36336
  }
36283
36337
  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: 18, 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) {
36338
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskUnassignedComponent_Template(rf, ctx) { if (rf & 1) {
36285
36339
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
36286
36340
  i0.ɵɵtext(3);
36287
36341
  i0.ɵɵpipe(4, "rpxTranslate");
@@ -36312,14 +36366,14 @@ class TaskUnassignedComponent {
36312
36366
  i0.ɵɵadvance(3);
36313
36367
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You must assign one of the available tasks from the task tab to continue with your work."));
36314
36368
  i0.ɵɵadvance(2);
36315
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(16, _c0$5, ctx.caseId));
36369
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$6, ctx.jurisdiction, ctx.caseType, ctx.caseId));
36316
36370
  i0.ɵɵadvance();
36317
36371
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
36318
36372
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
36319
36373
  }
36320
36374
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
36321
36375
  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" }]
36376
+ args: [{ selector: 'app-task-unassigned', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab to assign a task' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
36323
36377
  }], () => [{ type: i1$1.ActivatedRoute }], null); })();
36324
36378
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskUnassignedComponent, { className: "TaskUnassignedComponent", filePath: "lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.ts", lineNumber: 8 }); })();
36325
36379
 
@@ -36428,7 +36482,7 @@ class EventStartGuard {
36428
36482
  }
36429
36483
  else if (tasksAssignedToUser.length > 1 && !taskId) {
36430
36484
  // 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`]);
36485
+ this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/multiple-tasks-exist`]);
36432
36486
  return false;
36433
36487
  }
36434
36488
  else {
@@ -36461,7 +36515,7 @@ class EventStartGuard {
36461
36515
  if (this.router && this.router.url && this.router.url.includes('event-start')) {
36462
36516
  return of(true);
36463
36517
  }
36464
- this.router.navigate([`/cases/case-details/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
36518
+ this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
36465
36519
  return of(false);
36466
36520
  }
36467
36521
  else {
@@ -36577,7 +36631,7 @@ class EventStartStateMachineService {
36577
36631
  // Trigger final state to complete processing of state machine
36578
36632
  state.trigger(EventStartStates.FINAL);
36579
36633
  // Navigate to no tasks available error page
36580
- context.router.navigate([`/cases/case-details/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
36634
+ context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
36581
36635
  }
36582
36636
  entryActionForStateOneOrMoreTasks(state, context) {
36583
36637
  state.trigger(EventStartStates.TASK_ASSIGNED_TO_USER);
@@ -36619,12 +36673,12 @@ class EventStartStateMachineService {
36619
36673
  let theQueryParams = {};
36620
36674
  if (context.tasks[0].assignee) {
36621
36675
  // Task is assigned to some other user, navigate to task assigned error page
36622
- navigationURL = `/cases/case-details/${context.caseId}/task-assigned`;
36676
+ navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-assigned`;
36623
36677
  theQueryParams = context.tasks[0];
36624
36678
  }
36625
36679
  else {
36626
36680
  // Task is unassigned, navigate to task unassigned error page
36627
- navigationURL = `/cases/case-details/${context.caseId}/task-unassigned`;
36681
+ navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-unassigned`;
36628
36682
  }
36629
36683
  // Trigger final state to complete processing of state machine
36630
36684
  state.trigger(EventStartStates.FINAL);
@@ -36671,13 +36725,13 @@ class EventStartStateMachineService {
36671
36725
  // EXUI-2668 - Only add client context when taskEventCompletionInfo is set - stops auto completing incorrect tasks
36672
36726
  context.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(clientContext));
36673
36727
  // Allow user to perform the event
36674
- context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
36728
+ context.router.navigate([`/cases/case-details/${task.jurisdiction}/${task.case_type_id}/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
36675
36729
  }
36676
36730
  entryActionForStateMultipleTasksAssignedToUser(state, context) {
36677
36731
  // Trigger final state to complete processing of state machine
36678
36732
  state.trigger(EventStartStates.FINAL);
36679
36733
  // Navigate to multiple tasks exist error page
36680
- context.router.navigate([`/cases/case-details/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
36734
+ context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
36681
36735
  }
36682
36736
  finalAction(state) {
36683
36737
  // Final actions can be performed here, the state machine finished running
@@ -36856,7 +36910,7 @@ class EventStartModule {
36856
36910
  TaskAssignedComponent,
36857
36911
  TaskUnassignedComponent] }); })();
36858
36912
 
36859
- const _c0$4 = a0 => ({ "EventTrigger-empty": a0 });
36913
+ const _c0$5 = a0 => ({ "EventTrigger-empty": a0 });
36860
36914
  function EventTriggerComponent_form_0_option_6_Template(rf, ctx) { if (rf & 1) {
36861
36915
  i0.ɵɵelementStart(0, "option", 8);
36862
36916
  i0.ɵɵtext(1);
@@ -36899,7 +36953,7 @@ function EventTriggerComponent_form_0_Template(rf, ctx) { if (rf & 1) {
36899
36953
  i0.ɵɵadvance(3);
36900
36954
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, "Next step"));
36901
36955
  i0.ɵɵadvance(2);
36902
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$4, !ctx_r1.triggerForm.value["trigger"]))("compareWith", ctx_r1.compareFn);
36956
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$5, !ctx_r1.triggerForm.value["trigger"]))("compareWith", ctx_r1.compareFn);
36903
36957
  i0.ɵɵadvance();
36904
36958
  i0.ɵɵproperty("ngIf", 1 !== ctx_r1.triggers.length);
36905
36959
  i0.ɵɵadvance();
@@ -37033,7 +37087,7 @@ var ChallengedAccessRequestErrors;
37033
37087
  ChallengedAccessRequestErrors["NO_REASON"] = "Enter a reason";
37034
37088
  })(ChallengedAccessRequestErrors || (ChallengedAccessRequestErrors = {}));
37035
37089
 
37036
- const _c0$3 = a0 => ({ "form-group-error": a0 });
37090
+ const _c0$4 = a0 => ({ "form-group-error": a0 });
37037
37091
  const _c1$2 = a0 => ({ "govuk-input--error": a0 });
37038
37092
  const _c2 = a0 => ({ "govuk-textarea--error": a0 });
37039
37093
  function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
@@ -37295,7 +37349,7 @@ class CaseChallengedAccessRequestComponent {
37295
37349
  i0.ɵɵadvance(2);
37296
37350
  i0.ɵɵproperty("formGroup", ctx.formGroup);
37297
37351
  i0.ɵɵadvance();
37298
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$3, ctx.formGroup.invalid && ctx.submitted));
37352
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
37299
37353
  i0.ɵɵadvance(4);
37300
37354
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 28, ctx.title), " ");
37301
37355
  i0.ɵɵadvance(3);
@@ -37334,17 +37388,22 @@ class CaseChallengedAccessRequestComponent {
37334
37388
  }], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
37335
37389
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessRequestComponent, { className: "CaseChallengedAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.ts", lineNumber: 14 }); })();
37336
37390
 
37391
+ const _c0$3 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2];
37337
37392
  class CaseChallengedAccessSuccessComponent {
37338
37393
  route;
37339
37394
  caseId;
37395
+ jurisdiction;
37396
+ caseType;
37340
37397
  constructor(route) {
37341
37398
  this.route = route;
37342
37399
  }
37343
37400
  ngOnInit() {
37344
37401
  this.caseId = this.route.snapshot.params.cid;
37402
+ this.jurisdiction = this.route.snapshot.params.jurisdiction;
37403
+ this.caseType = this.route.snapshot.params.caseType;
37345
37404
  }
37346
37405
  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: 23, 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) {
37406
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars: 27, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], [3, "routerLink"]], template: function CaseChallengedAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
37348
37407
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
37349
37408
  i0.ɵɵtext(5);
37350
37409
  i0.ɵɵpipe(6, "rpxTranslate");
@@ -37393,20 +37452,22 @@ class CaseChallengedAccessSuccessComponent {
37393
37452
  i0.ɵɵadvance(3);
37394
37453
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 19, "Your request will be logged for auditing purposes."), " ");
37395
37454
  i0.ɵɵadvance(3);
37396
- i0.ɵɵproperty("routerLink", "/cases/case-details/" + ctx.caseId);
37455
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(23, _c0$3, ctx.jurisdiction, ctx.caseType, ctx.caseId));
37397
37456
  i0.ɵɵadvance();
37398
37457
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 21, "View case file"));
37399
37458
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
37400
37459
  }
37401
37460
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessSuccessComponent, [{
37402
37461
  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/case-details/' + caseId\">{{\"View case file\" | rpxTranslate}}</a>.</p>\n </div>\n </div>\n</div>\n" }]
37462
+ args: [{ selector: 'ccd-case-challenged-access-success', template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Access successful' | rpxTranslate}}<br><br>\n <div class=\"govuk-panel__body\">\n {{'Case reference:' | rpxTranslate}}<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'You can access this case file until midnight tonight.' | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"You'll need to request access again once this expires.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"Your request will be logged for auditing purposes.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\"><a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId]\">{{\"View case file\" | rpxTranslate}}</a>.</p>\n </div>\n </div>\n</div>\n" }]
37404
37463
  }], () => [{ type: i1$1.ActivatedRoute }], null); })();
37405
37464
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessSuccessComponent, { className: "CaseChallengedAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.ts", lineNumber: 8 }); })();
37406
37465
 
37407
37466
  class CaseReviewSpecificAccessRejectComponent {
37408
37467
  route;
37409
37468
  caseId;
37469
+ jurisdiction;
37470
+ caseType;
37410
37471
  retunToTask = 'Return to the Tasks tab for this case';
37411
37472
  returnToMyTask = 'Return to My tasks';
37412
37473
  constructor(route) {
@@ -37414,9 +37475,11 @@ class CaseReviewSpecificAccessRejectComponent {
37414
37475
  }
37415
37476
  ngOnInit() {
37416
37477
  this.caseId = this.route.snapshot.data.case.case_id;
37478
+ this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
37479
+ this.caseType = this.route.snapshot.data.case.case_type.id;
37417
37480
  }
37418
37481
  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: 17, 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) {
37482
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars: 19, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-heading-m"], [1, "govuk-body"], [1, "form-group", "form-group-related"], ["button", "", "href", "tasks/list", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "cancel"], [3, "href"]], template: function CaseReviewSpecificAccessRejectComponent_Template(rf, ctx) { if (rf & 1) {
37420
37483
  i0.ɵɵelement(0, "p");
37421
37484
  i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
37422
37485
  i0.ɵɵtext(6);
@@ -37441,22 +37504,22 @@ class CaseReviewSpecificAccessRejectComponent {
37441
37504
  i0.ɵɵelementEnd()()();
37442
37505
  } if (rf & 2) {
37443
37506
  i0.ɵɵadvance(6);
37444
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 7, "Request for access denied"), "");
37507
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "Request for access denied"), "");
37445
37508
  i0.ɵɵadvance(4);
37446
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 9, "What happens next"));
37509
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 11, "What happens next"));
37447
37510
  i0.ɵɵadvance(3);
37448
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 11, "The requester has been denied access to this case."), " ");
37511
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "The requester has been denied access to this case."), " ");
37449
37512
  i0.ɵɵadvance(5);
37450
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 13, ctx.returnToMyTask));
37513
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 15, ctx.returnToMyTask));
37451
37514
  i0.ɵɵadvance(3);
37452
- i0.ɵɵpropertyInterpolate1("href", "cases/case-details/", ctx.caseId, "", i0.ɵɵsanitizeUrl);
37515
+ i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", ctx.jurisdiction, "/", ctx.caseType, "/", ctx.caseId, "", i0.ɵɵsanitizeUrl);
37453
37516
  i0.ɵɵadvance();
37454
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 15, ctx.retunToTask));
37517
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, ctx.retunToTask));
37455
37518
  } }, dependencies: [i1.RpxTranslatePipe], encapsulation: 2 });
37456
37519
  }
37457
37520
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRejectComponent, [{
37458
37521
  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" }]
37522
+ args: [{ selector: 'case-review-specific-access-reject', template: "<p></p>\n<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Request for access denied' | rpxTranslate}}<br>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'The requester has been denied access to this case.' | rpxTranslate}}\n </p>\n </div>\n </div>\n <div class=\"form-group form-group-related\">\n <p>\n <a button class=\"govuk-button govuk-!-margin-right-3\" href=\"tasks/list\" >{{returnToMyTask | rpxTranslate}}</a>\n </p>\n </div>\n <p class=\"cancel\"><a href=\"cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\" >{{retunToTask | rpxTranslate}}</a></p>\n</div>\n" }]
37460
37523
  }], () => [{ type: i1$1.ActivatedRoute }], null); })();
37461
37524
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRejectComponent, { className: "CaseReviewSpecificAccessRejectComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.ts", lineNumber: 8 }); })();
37462
37525