@hmcts/ccd-case-ui-toolkit 7.4.12-exui-5288-v1 → 7.4.13

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.
@@ -2760,7 +2760,6 @@ var CaseFlagFormFields;
2760
2760
  CaseFlagFormFields["OTHER_FLAG_DESCRIPTION_WELSH"] = "otherDescription_cy";
2761
2761
  CaseFlagFormFields["STATUS"] = "status";
2762
2762
  CaseFlagFormFields["STATUS_CHANGE_REASON"] = "flagStatusReasonChange";
2763
- CaseFlagFormFields["STATUS_CHANGE_REASON_WELSH"] = "flagStatusReasonChange_cy";
2764
2763
  CaseFlagFormFields["IS_WELSH_TRANSLATION_NEEDED"] = "flagIsWelshTranslationNeeded";
2765
2764
  CaseFlagFormFields["IS_VISIBLE_INTERNALLY_ONLY"] = "flagIsVisibleInternallyOnly";
2766
2765
  })(CaseFlagFormFields || (CaseFlagFormFields = {}));
@@ -2880,7 +2879,6 @@ var UpdateFlagStep;
2880
2879
  UpdateFlagStep["CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
2881
2880
  UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change.";
2882
2881
  UpdateFlagStep["STATUS_REASON_LABEL"] = "Reason for change";
2883
- UpdateFlagStep["STATUS_REASON_WELSH_LABEL"] = "Reason for change (Welsh)";
2884
2882
  UpdateFlagStep["WARNING_TEXT"] = "The details entered here MAY be visible to the party in the future.";
2885
2883
  })(UpdateFlagStep || (UpdateFlagStep = {}));
2886
2884
 
@@ -9393,34 +9391,69 @@ class RetryUtil {
9393
9391
  type: Injectable
9394
9392
  }], null, null); })();
9395
9393
 
9394
+ const MEDIA_VIEWER_HANDOFF_RETRY_INTERVAL_MS = 100;
9395
+ const MEDIA_VIEWER_HANDOFF_MAX_ATTEMPTS = 100;
9396
9396
  class WindowService {
9397
9397
  locationAssign(url) {
9398
9398
  window.location.assign(url);
9399
9399
  }
9400
- setLocalStorage(key, value) {
9401
- window.localStorage.setItem(key, value);
9402
- }
9403
- getLocalStorage(key) {
9404
- return window.localStorage.getItem(key);
9405
- }
9406
- clearLocalStorage() {
9407
- window.localStorage.clear();
9408
- }
9409
- removeLocalStorage(key) {
9410
- window.localStorage.removeItem(key);
9411
- }
9412
9400
  setSessionStorage(key, value) {
9413
9401
  window.sessionStorage.setItem(key, value);
9414
9402
  }
9415
9403
  getSessionStorage(key) {
9416
9404
  return window.sessionStorage.getItem(key);
9417
9405
  }
9406
+ removeSessionStorage(key) {
9407
+ window.sessionStorage.removeItem(key);
9408
+ }
9409
+ clearSessionStorage() {
9410
+ window.sessionStorage.clear();
9411
+ }
9418
9412
  openOnNewTab(url) {
9419
9413
  const openedWindow = window.open(url, '_blank', 'noopener,noreferrer');
9420
9414
  if (openedWindow) {
9421
9415
  openedWindow.opener = null;
9422
9416
  }
9423
9417
  }
9418
+ openOnNewTabWithMessage(url, message, token) {
9419
+ const openedWindow = window.open(url, '_blank');
9420
+ if (!openedWindow) {
9421
+ return;
9422
+ }
9423
+ const targetOrigin = window.location.origin;
9424
+ const handoff = { type: 'MEDIA_VIEWER_HANDOFF', token, payload: message };
9425
+ let attempts = 0;
9426
+ let retryTimer;
9427
+ let acknowledged = false;
9428
+ const complete = () => {
9429
+ acknowledged = true;
9430
+ window.clearTimeout(retryTimer);
9431
+ window.removeEventListener('message', acknowledgementListener);
9432
+ if (!openedWindow.closed) {
9433
+ openedWindow.opener = null;
9434
+ }
9435
+ };
9436
+ const acknowledgementListener = (event) => {
9437
+ const data = event.data;
9438
+ if (event.origin === targetOrigin && event.source === openedWindow &&
9439
+ data?.type === 'MEDIA_VIEWER_HANDOFF_RECEIVED' && data.token === token) {
9440
+ complete();
9441
+ }
9442
+ };
9443
+ window.addEventListener('message', acknowledgementListener);
9444
+ const send = () => {
9445
+ if (acknowledged || openedWindow.closed || attempts++ >= MEDIA_VIEWER_HANDOFF_MAX_ATTEMPTS) {
9446
+ window.removeEventListener('message', acknowledgementListener);
9447
+ if (!openedWindow.closed) {
9448
+ openedWindow.opener = null;
9449
+ }
9450
+ return;
9451
+ }
9452
+ openedWindow.postMessage(handoff, targetOrigin);
9453
+ retryTimer = window.setTimeout(send, MEDIA_VIEWER_HANDOFF_RETRY_INTERVAL_MS);
9454
+ };
9455
+ send();
9456
+ }
9424
9457
  confirm(message) {
9425
9458
  return window.confirm(message);
9426
9459
  }
@@ -15916,7 +15949,6 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent {
15916
15949
  flagDetail.value.flagComment = originalFlagDetail.value?.flagComment || null;
15917
15950
  flagDetail.value.flagComment_cy = originalFlagDetail.value?.flagComment_cy || null;
15918
15951
  flagDetail.value.flagUpdateComment = originalFlagDetail.value?.flagUpdateComment || null;
15919
- flagDetail.value.flagUpdateComment_cy = originalFlagDetail.value?.flagUpdateComment_cy || null;
15920
15952
  flagDetail.value.status = originalFlagDetail.value?.status;
15921
15953
  flagDetail.value.dateTimeModified = originalFlagDetail.value?.dateTimeModified || null;
15922
15954
  }
@@ -15957,7 +15989,6 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent {
15957
15989
  // Ensure that any comments entered with language set to Welsh do not end up in the English comments field
15958
15990
  if (this.rpxTranslationService.language !== 'cy') {
15959
15991
  flagDetailToUpdate.value.flagComment = this.caseFlagParentFormGroup.get(CaseFlagFormFields.COMMENTS)?.value;
15960
- flagDetailToUpdate.value.flagUpdateComment = this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS_CHANGE_REASON)?.value;
15961
15992
  }
15962
15993
  // Populate from the *English* comments field if:
15963
15994
  // * The Welsh comments field has no value (Welsh comments field acquires a value only when an HMCTS internal user has
@@ -15972,13 +16003,7 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent {
15972
16003
  ? this.caseFlagParentFormGroup.get(CaseFlagFormFields.COMMENTS)?.value
15973
16004
  : null;
15974
16005
  }
15975
- if (this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS_CHANGE_REASON_WELSH) || this.rpxTranslationService.language === 'cy') {
15976
- flagDetailToUpdate.value.flagUpdateComment_cy = this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS_CHANGE_REASON_WELSH)?.value
15977
- ? this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS_CHANGE_REASON_WELSH)?.value
15978
- : this.rpxTranslationService.language === 'cy'
15979
- ? this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS_CHANGE_REASON)?.value
15980
- : null;
15981
- }
16006
+ flagDetailToUpdate.value.flagUpdateComment = this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS_CHANGE_REASON)?.value;
15982
16007
  flagDetailToUpdate.value.status = CaseFlagStatus[this.caseFlagParentFormGroup.get(CaseFlagFormFields.STATUS)?.value];
15983
16008
  flagDetailToUpdate.value.dateTimeModified = new Date().toISOString();
15984
16009
  }
@@ -17006,7 +17031,6 @@ function ReadDocumentFieldComponent_button_0_Template(rf, ctx) { if (rf & 1) {
17006
17031
  i0.ɵɵadvance();
17007
17032
  i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.value.document_filename, "\n");
17008
17033
  } }
17009
- const MEDIA_VIEWER_INFO = 'media-viewer-info';
17010
17034
  class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
17011
17035
  windowService;
17012
17036
  documentManagement;
@@ -17051,10 +17075,8 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
17051
17075
  return;
17052
17076
  }
17053
17077
  const token = FieldsUtils.createToken();
17054
- const storageKey = `${MEDIA_VIEWER_INFO}:${token}`;
17055
17078
  const payload = this.documentManagement.getMediaViewerInfo(documentFieldValue);
17056
- this.windowService.setLocalStorage(storageKey, payload);
17057
- this.windowService.openOnNewTab(this.getMediaViewerUrl(token));
17079
+ this.windowService.openOnNewTabWithMessage(this.getMediaViewerUrl(token), payload, token);
17058
17080
  }
17059
17081
  getMediaViewerUrl(token) {
17060
17082
  const routerMediaViewer = this.router.createUrlTree(['/media-viewer'], { queryParams: { mvToken: token } });
@@ -17076,7 +17098,7 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
17076
17098
  type: Component,
17077
17099
  args: [{ selector: 'ccd-read-document-field', standalone: false, template: "<button type=\"button\" *ngIf=\"caseField.value\" class=\"govuk-js-link\"\n (click)=\"showMediaViewer()\">\n {{ caseField.value.document_filename }}\n</button>\n" }]
17078
17100
  }], () => [{ type: WindowService }, { type: DocumentManagementService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: CasesService }], null); })();
17079
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 17 }); })();
17101
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 15 }); })();
17080
17102
 
17081
17103
  class DocumentDialogComponent {
17082
17104
  matDialogRef;
@@ -30621,7 +30643,6 @@ function CaseFileViewFolderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
30621
30643
  i0.ɵɵadvance(2);
30622
30644
  i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r2.nestedChildren);
30623
30645
  } }
30624
- const MEDIA_VIEWER_LOCALSTORAGE_KEY = 'media-viewer-info';
30625
30646
  class CaseFileViewFolderComponent {
30626
30647
  windowService;
30627
30648
  router;
@@ -30791,16 +30812,14 @@ class CaseFileViewFolderComponent {
30791
30812
  }
30792
30813
  }
30793
30814
  const token = FieldsUtils.createToken();
30794
- const storageKey = `${MEDIA_VIEWER_LOCALSTORAGE_KEY}:${token}`;
30795
30815
  const payload = this.documentManagementService.getMediaViewerInfo({
30796
30816
  document_binary_url: documentTreeNode.document_binary_url,
30797
30817
  document_filename: documentTreeNode.document_filename,
30798
30818
  content_type: documentTreeNode.content_type
30799
30819
  });
30800
- this.windowService.setLocalStorage(storageKey, payload);
30801
30820
  const mediaViewerUrl = this.router.createUrlTree(['/media-viewer'], { queryParams: { mvToken: token } })?.toString();
30802
30821
  if (mediaViewerUrl) {
30803
- this.windowService.openOnNewTab(mediaViewerUrl);
30822
+ this.windowService.openOnNewTabWithMessage(mediaViewerUrl, payload, token);
30804
30823
  }
30805
30824
  break;
30806
30825
  case ('download'):
@@ -30915,7 +30934,7 @@ class CaseFileViewFolderComponent {
30915
30934
  }], moveDocument: [{
30916
30935
  type: Output
30917
30936
  }] }); })();
30918
- (() => { (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: 28 }); })();
30937
+ (() => { (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: 26 }); })();
30919
30938
 
30920
30939
  const _c0$u = a0 => ({ "form-group-error": a0 });
30921
30940
  function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
@@ -31236,34 +31255,6 @@ function CaseFlagSummaryListComponent_dl_0_div_39_Template(rf, ctx) { if (rf & 1
31236
31255
  i0.ɵɵadvance(3);
31237
31256
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 8, ctx_r1.updateFlagStep.STATUS_REASON_LABEL));
31238
31257
  } }
31239
- function CaseFlagSummaryListComponent_dl_0_div_40_Template(rf, ctx) { if (rf & 1) {
31240
- const _r8 = i0.ɵɵgetCurrentView();
31241
- i0.ɵɵelementStart(0, "div", 2)(1, "dt", 3);
31242
- i0.ɵɵtext(2);
31243
- i0.ɵɵpipe(3, "rpxTranslate");
31244
- i0.ɵɵelementEnd();
31245
- i0.ɵɵelementStart(4, "dd", 4);
31246
- i0.ɵɵtext(5);
31247
- i0.ɵɵelementEnd();
31248
- i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
31249
- i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_40_Template_a_click_7_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.changeButtonEmitter.emit(ctx_r1.caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION); return i0.ɵɵresetView($event.preventDefault()); });
31250
- i0.ɵɵtext(8);
31251
- i0.ɵɵpipe(9, "rpxTranslate");
31252
- i0.ɵɵelementStart(10, "span", 7);
31253
- i0.ɵɵtext(11);
31254
- i0.ɵɵpipe(12, "rpxTranslate");
31255
- i0.ɵɵelementEnd()()()();
31256
- } if (rf & 2) {
31257
- const ctx_r1 = i0.ɵɵnextContext(2);
31258
- i0.ɵɵadvance(2);
31259
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, ctx_r1.updateFlagStep.STATUS_REASON_WELSH_LABEL), " ");
31260
- i0.ɵɵadvance(3);
31261
- i0.ɵɵtextInterpolate1(" ", ctx_r1.flagUpdateCommentsWelsh, " ");
31262
- i0.ɵɵadvance(3);
31263
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 6, "Change"));
31264
- i0.ɵɵadvance(3);
31265
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 8, ctx_r1.updateFlagStep.STATUS_REASON_WELSH_LABEL));
31266
- } }
31267
31258
  function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
31268
31259
  const _r1 = i0.ɵɵgetCurrentView();
31269
31260
  i0.ɵɵelementStart(0, "dl", 1)(1, "div", 2)(2, "dt", 3);
@@ -31308,26 +31299,26 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
31308
31299
  i0.ɵɵelementStart(37, "dd", 5);
31309
31300
  i0.ɵɵtemplate(38, CaseFlagSummaryListComponent_dl_0_a_38_Template, 6, 6, "a", 9);
31310
31301
  i0.ɵɵelementEnd()();
31311
- i0.ɵɵtemplate(39, CaseFlagSummaryListComponent_dl_0_div_39_Template, 13, 10, "div", 8)(40, CaseFlagSummaryListComponent_dl_0_div_40_Template, 13, 10, "div", 8);
31302
+ i0.ɵɵtemplate(39, CaseFlagSummaryListComponent_dl_0_div_39_Template, 13, 10, "div", 8);
31312
31303
  i0.ɵɵelementEnd();
31313
31304
  } if (rf & 2) {
31314
31305
  const ctx_r1 = i0.ɵɵnextContext();
31315
31306
  i0.ɵɵadvance(3);
31316
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 16, ctx_r1.addUpdateFlagHeaderText), " ");
31307
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 15, ctx_r1.addUpdateFlagHeaderText), " ");
31317
31308
  i0.ɵɵadvance(3);
31318
31309
  i0.ɵɵtextInterpolate1(" ", ctx_r1.flagForSummaryDisplay.partyName || ctx_r1.caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION, " ");
31319
31310
  i0.ɵɵadvance(3);
31320
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 18, "Change"));
31311
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 17, "Change"));
31321
31312
  i0.ɵɵadvance(3);
31322
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 20, "party name"));
31313
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 19, "party name"));
31323
31314
  i0.ɵɵadvance(4);
31324
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 22, ctx_r1.flagTypeHeaderText), " ");
31315
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 21, ctx_r1.flagTypeHeaderText), " ");
31325
31316
  i0.ɵɵadvance(3);
31326
31317
  i0.ɵɵtextInterpolate1(" ", ctx_r1.flagDescription, " ");
31327
31318
  i0.ɵɵadvance(3);
31328
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 24, "Change"));
31319
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 23, "Change"));
31329
31320
  i0.ɵɵadvance(3);
31330
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 26, "flag type"));
31321
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 25, "flag type"));
31331
31322
  i0.ɵɵadvance(2);
31332
31323
  i0.ɵɵproperty("ngIf", (ctx_r1.flagDescriptionWelsh == null ? null : ctx_r1.flagDescriptionWelsh.length) > 0 && !ctx_r1.externalUserUpdate);
31333
31324
  i0.ɵɵadvance();
@@ -31335,15 +31326,13 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
31335
31326
  i0.ɵɵadvance();
31336
31327
  i0.ɵɵproperty("ngIf", (ctx_r1.flagCommentsWelsh == null ? null : ctx_r1.flagCommentsWelsh.length) > 0 && !ctx_r1.externalUserUpdate);
31337
31328
  i0.ɵɵadvance(3);
31338
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(33, 28, "Status"), " ");
31329
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(33, 27, "Status"), " ");
31339
31330
  i0.ɵɵadvance(3);
31340
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(36, 30, ctx_r1.flagStatus), " ");
31331
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(36, 29, ctx_r1.flagStatus), " ");
31341
31332
  i0.ɵɵadvance(3);
31342
31333
  i0.ɵɵproperty("ngIf", ctx_r1.is2Point1Enabled);
31343
31334
  i0.ɵɵadvance();
31344
31335
  i0.ɵɵproperty("ngIf", ctx_r1.is2Point1Update && (ctx_r1.flagUpdateComments == null ? null : ctx_r1.flagUpdateComments.length) > 0);
31345
- i0.ɵɵadvance();
31346
- i0.ɵɵproperty("ngIf", ctx_r1.is2Point1Update && (ctx_r1.flagUpdateCommentsWelsh == null ? null : ctx_r1.flagUpdateCommentsWelsh.length) > 0);
31347
31336
  } }
31348
31337
  class CaseFlagSummaryListComponent {
31349
31338
  rpxTranslationService;
@@ -31358,7 +31347,6 @@ class CaseFlagSummaryListComponent {
31358
31347
  otherDescription;
31359
31348
  otherDescriptionWelsh;
31360
31349
  flagUpdateComments;
31361
- flagUpdateCommentsWelsh;
31362
31350
  summaryListDisplayMode;
31363
31351
  addUpdateFlagHeaderText;
31364
31352
  caseFlagFieldState = CaseFlagFieldState;
@@ -31382,7 +31370,6 @@ class CaseFlagSummaryListComponent {
31382
31370
  // Flag update comments will be coming from the flagStatusReasonChange property instead of flagUpdateComment
31383
31371
  // because these haven't been persisted yet
31384
31372
  this.flagUpdateComments = flagDetail['flagStatusReasonChange'];
31385
- this.flagUpdateCommentsWelsh = flagDetail['flagStatusReasonChange_cy'];
31386
31373
  this.flagStatus = flagDetail.status;
31387
31374
  this.addUpdateFlagHeaderText = this.getAddUpdateFlagHeaderText();
31388
31375
  this.flagTypeHeaderText = this.getFlagTypeHeaderText();
@@ -31452,14 +31439,14 @@ class CaseFlagSummaryListComponent {
31452
31439
  }
31453
31440
  static ɵfac = function CaseFlagSummaryListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagSummaryListComponent)(i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
31454
31441
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", displayContextParameter: "displayContextParameter" }, outputs: { changeButtonEmitter: "changeButtonEmitter" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "#", 1, "govuk-link", 3, "click"], [1, "govuk-visually-hidden"], ["class", "govuk-summary-list__row", 4, "ngIf"], ["class", "govuk-link", "href", "#", 3, "click", 4, "ngIf"]], template: function CaseFlagSummaryListComponent_Template(rf, ctx) { if (rf & 1) {
31455
- i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 41, 32, "dl", 0);
31442
+ i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 40, 31, "dl", 0);
31456
31443
  } if (rf & 2) {
31457
31444
  i0.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
31458
31445
  } }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], encapsulation: 2 });
31459
31446
  }
31460
31447
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagSummaryListComponent, [{
31461
31448
  type: Component,
31462
- args: [{ selector: 'ccd-case-flag-summary-list', standalone: false, template: "<dl class=\"govuk-summary-list\" *ngIf=\"flagForSummaryDisplay\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{addUpdateFlagHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagForSummaryDisplay.partyName || caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : caseFlagFieldState.FLAG_LOCATION); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'party name' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{flagTypeHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescription}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_TYPE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'flag type' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagDescriptionWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Other description (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescriptionWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_TYPE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'other description (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagComments?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{externalUserUpdate ? flagUpdateComments : flagComments}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_COMMENTS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagCommentsWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagCommentsWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_COMMENTS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{'Status' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagStatus | rpxTranslate}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"is2Point1Enabled\" class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_STATUS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'status' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"is2Point1Update && flagUpdateComments?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{updateFlagStep.STATUS_REASON_LABEL | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagUpdateComments}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(caseFlagFieldState.FLAG_UPDATE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{updateFlagStep.STATUS_REASON_LABEL | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"is2Point1Update && flagUpdateCommentsWelsh?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{updateFlagStep.STATUS_REASON_WELSH_LABEL | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagUpdateCommentsWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{updateFlagStep.STATUS_REASON_WELSH_LABEL | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n</dl>\n" }]
31449
+ args: [{ selector: 'ccd-case-flag-summary-list', standalone: false, template: "<dl class=\"govuk-summary-list\" *ngIf=\"flagForSummaryDisplay\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{addUpdateFlagHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagForSummaryDisplay.partyName || caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : caseFlagFieldState.FLAG_LOCATION); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'party name' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{flagTypeHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescription}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_TYPE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'flag type' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagDescriptionWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Other description (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescriptionWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_TYPE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'other description (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagComments?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{externalUserUpdate ? flagUpdateComments : flagComments}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_COMMENTS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagCommentsWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagCommentsWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_COMMENTS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{'Status' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagStatus | rpxTranslate}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"is2Point1Enabled\" class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_STATUS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'status' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"is2Point1Update && flagUpdateComments?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{updateFlagStep.STATUS_REASON_LABEL | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagUpdateComments}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(caseFlagFieldState.FLAG_UPDATE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{updateFlagStep.STATUS_REASON_LABEL | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n</dl>\n" }]
31463
31450
  }], () => [{ type: i1.RpxTranslationService }], { flagForSummaryDisplay: [{
31464
31451
  type: Input
31465
31452
  }], displayContextParameter: [{
@@ -31602,7 +31589,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
31602
31589
  i0.ɵɵadvance();
31603
31590
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
31604
31591
  i0.ɵɵadvance(2);
31605
- i0.ɵɵproperty("ngIf", (flagDetail_r2.status === ctx_r0.caseFlagStatus.NOT_APPROVED || flagDetail_r2.status === ctx_r0.caseFlagStatus.INACTIVE) && flagDetail_r2.flagUpdateComment);
31592
+ i0.ɵɵproperty("ngIf", !ctx_r0.caseFlagsExternalUser && (flagDetail_r2.status === ctx_r0.caseFlagStatus.NOT_APPROVED || flagDetail_r2.status === ctx_r0.caseFlagStatus.INACTIVE) && flagDetail_r2.flagUpdateComment);
31606
31593
  i0.ɵɵadvance(2);
31607
31594
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 22, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
31608
31595
  i0.ɵɵadvance(3);
@@ -31695,7 +31682,7 @@ class CaseFlagTableComponent {
31695
31682
  }
31696
31683
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagTableComponent, [{
31697
31684
  type: Component,
31698
- args: [{ selector: 'ccd-case-flag-table', standalone: false, template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div *ngIf=\"isActivePvpFlag(flagDetail)\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" aria-hidden=\"true\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path 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\"></path>\n </svg>\n <span class=\"govuk-!-font-weight-bold\">{{pvpDisplayText}}</span>\n </div>\n <div *ngIf=\"!isActivePvpFlag(flagDetail)\">{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div [ngClass]=\"{'govuk-!-font-weight-bold': isActivePvpFlag(flagDetail)}\">\n {{flagDetail | flagFieldDisplay:'flagComment'}}\n </div>\n <div *ngIf=\"(flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
31685
+ args: [{ selector: 'ccd-case-flag-table', standalone: false, template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div *ngIf=\"isActivePvpFlag(flagDetail)\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" aria-hidden=\"true\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path 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\"></path>\n </svg>\n <span class=\"govuk-!-font-weight-bold\">{{pvpDisplayText}}</span>\n </div>\n <div *ngIf=\"!isActivePvpFlag(flagDetail)\">{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div [ngClass]=\"{'govuk-!-font-weight-bold': isActivePvpFlag(flagDetail)}\">\n {{flagDetail | flagFieldDisplay:'flagComment'}}\n </div>\n <div *ngIf=\"!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
31699
31686
  }], null, { tableCaption: [{
31700
31687
  type: Input
31701
31688
  }], flagData: [{
@@ -33580,7 +33567,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
33580
33567
 
33581
33568
  const _c0$n = a0 => ({ "form-group-error": a0 });
33582
33569
  function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
33583
- i0.ɵɵelementStart(0, "div", 21)(1, "span", 22);
33570
+ i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
33584
33571
  i0.ɵɵtext(2);
33585
33572
  i0.ɵɵpipe(3, "rpxTranslate");
33586
33573
  i0.ɵɵelementEnd();
@@ -33595,7 +33582,7 @@ function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf
33595
33582
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r0.otherFlagDescriptionCharLimitErrorMessage), " ");
33596
33583
  } }
33597
33584
  function UpdateFlagAddTranslationFormComponent_div_24_Template(rf, ctx) { if (rf & 1) {
33598
- i0.ɵɵelementStart(0, "div", 23)(1, "span", 22);
33585
+ i0.ɵɵelementStart(0, "div", 19)(1, "span", 18);
33599
33586
  i0.ɵɵtext(2);
33600
33587
  i0.ɵɵpipe(3, "rpxTranslate");
33601
33588
  i0.ɵɵelementEnd();
@@ -33610,7 +33597,7 @@ function UpdateFlagAddTranslationFormComponent_div_24_Template(rf, ctx) { if (rf
33610
33597
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r0.otherFlagDescriptionWelshCharLimitErrorMessage), " ");
33611
33598
  } }
33612
33599
  function UpdateFlagAddTranslationFormComponent_div_34_Template(rf, ctx) { if (rf & 1) {
33613
- i0.ɵɵelementStart(0, "div", 24)(1, "span", 22);
33600
+ i0.ɵɵelementStart(0, "div", 20)(1, "span", 18);
33614
33601
  i0.ɵɵtext(2);
33615
33602
  i0.ɵɵpipe(3, "rpxTranslate");
33616
33603
  i0.ɵɵelementEnd();
@@ -33625,37 +33612,7 @@ function UpdateFlagAddTranslationFormComponent_div_34_Template(rf, ctx) { if (rf
33625
33612
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r0.flagCommentsCharLimitErrorMessage), " ");
33626
33613
  } }
33627
33614
  function UpdateFlagAddTranslationFormComponent_div_44_Template(rf, ctx) { if (rf & 1) {
33628
- i0.ɵɵelementStart(0, "div", 25)(1, "span", 22);
33629
- i0.ɵɵtext(2);
33630
- i0.ɵɵpipe(3, "rpxTranslate");
33631
- i0.ɵɵelementEnd();
33632
- i0.ɵɵtext(4);
33633
- i0.ɵɵpipe(5, "rpxTranslate");
33634
- i0.ɵɵelementEnd();
33635
- } if (rf & 2) {
33636
- const ctx_r0 = i0.ɵɵnextContext();
33637
- i0.ɵɵadvance(2);
33638
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
33639
- i0.ɵɵadvance(2);
33640
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r0.flagCommentsWelshCharLimitErrorMessage), " ");
33641
- } }
33642
- function UpdateFlagAddTranslationFormComponent_div_54_Template(rf, ctx) { if (rf & 1) {
33643
- i0.ɵɵelementStart(0, "div", 26)(1, "span", 22);
33644
- i0.ɵɵtext(2);
33645
- i0.ɵɵpipe(3, "rpxTranslate");
33646
- i0.ɵɵelementEnd();
33647
- i0.ɵɵtext(4);
33648
- i0.ɵɵpipe(5, "rpxTranslate");
33649
- i0.ɵɵelementEnd();
33650
- } if (rf & 2) {
33651
- const ctx_r0 = i0.ɵɵnextContext();
33652
- i0.ɵɵadvance(2);
33653
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
33654
- i0.ɵɵadvance(2);
33655
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r0.flagCommentsWelshCharLimitErrorMessage), " ");
33656
- } }
33657
- function UpdateFlagAddTranslationFormComponent_div_64_Template(rf, ctx) { if (rf & 1) {
33658
- i0.ɵɵelementStart(0, "div", 27)(1, "span", 22);
33615
+ i0.ɵɵelementStart(0, "div", 21)(1, "span", 18);
33659
33616
  i0.ɵɵtext(2);
33660
33617
  i0.ɵɵpipe(3, "rpxTranslate");
33661
33618
  i0.ɵɵelementEnd();
@@ -33692,7 +33649,6 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
33692
33649
  this.formGroup.addControl(CaseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH, new FormControl(flagDetail?.otherDescription_cy));
33693
33650
  this.formGroup.addControl(CaseFlagFormFields.COMMENTS, new FormControl(flagDetail?.flagComment));
33694
33651
  this.formGroup.addControl(CaseFlagFormFields.COMMENTS_WELSH, new FormControl(flagDetail?.flagComment_cy));
33695
- this.formGroup.addControl(CaseFlagFormFields.STATUS_CHANGE_REASON_WELSH, new FormControl(flagDetail?.flagUpdateComment_cy));
33696
33652
  }
33697
33653
  ngOnDestroy() {
33698
33654
  this.multipageComponentStateService.getJourneyCollectionMainObject().journeyEndPageNumber--;
@@ -33755,7 +33711,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
33755
33711
  }
33756
33712
  }
33757
33713
  static ɵfac = /*@__PURE__*/ (() => { let ɵUpdateFlagAddTranslationFormComponent_BaseFactory; return function UpdateFlagAddTranslationFormComponent_Factory(__ngFactoryType__) { return (ɵUpdateFlagAddTranslationFormComponent_BaseFactory || (ɵUpdateFlagAddTranslationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UpdateFlagAddTranslationFormComponent)))(__ngFactoryType__ || UpdateFlagAddTranslationFormComponent); }; })();
33758
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateFlagAddTranslationFormComponent, selectors: [["ccd-update-flag-add-translation-form"]], inputs: { formGroup: "formGroup" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 70, vars: 76, consts: [[3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper", "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--m"], ["id", "add-translation-form-hint", 1, "govuk-hint"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["id", "add-translation-other-flag-description-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "add-translation-other-flag-description-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-other-flag-description-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-other-flag-description-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-comments-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-comments-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-comments-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-comments-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-status-change-reason-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-status-change-reason-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-status-change-reason-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-status-change-reason-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-other-flag-description-char-limit-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-translation-other-flag-description-welsh-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-comments-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-comments-welsh-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-status-change-reason-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-status-change-reason-welsh-char-limit-error", 1, "govuk-error-message"]], template: function UpdateFlagAddTranslationFormComponent_Template(rf, ctx) { if (rf & 1) {
33714
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateFlagAddTranslationFormComponent, selectors: [["ccd-update-flag-add-translation-form"]], inputs: { formGroup: "formGroup" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 50, vars: 54, consts: [[3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper", "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--m"], ["id", "add-translation-form-hint", 1, "govuk-hint"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["id", "add-translation-other-flag-description-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "add-translation-other-flag-description-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-other-flag-description-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-other-flag-description-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-comments-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-comments-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-comments-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-comments-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-other-flag-description-char-limit-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-translation-other-flag-description-welsh-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-comments-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-comments-welsh-char-limit-error", 1, "govuk-error-message"]], template: function UpdateFlagAddTranslationFormComponent_Template(rf, ctx) { if (rf & 1) {
33759
33715
  i0.ɵɵelementContainerStart(0, 0);
33760
33716
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "h1", 3)(4, "label", 4);
33761
33717
  i0.ɵɵtext(5);
@@ -33812,105 +33768,61 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
33812
33768
  i0.ɵɵelementStart(47, "div", 16);
33813
33769
  i0.ɵɵtext(48);
33814
33770
  i0.ɵɵpipe(49, "rpxTranslate");
33815
- i0.ɵɵelementEnd()();
33816
- i0.ɵɵelementStart(50, "div", 6)(51, "label", 7);
33817
- i0.ɵɵtext(52);
33818
- i0.ɵɵpipe(53, "rpxTranslate");
33819
- i0.ɵɵelementEnd();
33820
- i0.ɵɵtemplate(54, UpdateFlagAddTranslationFormComponent_div_54_Template, 6, 6, "div", 17);
33821
- i0.ɵɵelementStart(55, "textarea", 9);
33822
- i0.ɵɵtext(56, " ");
33823
- i0.ɵɵelementEnd();
33824
- i0.ɵɵelementStart(57, "div", 18);
33825
- i0.ɵɵtext(58);
33826
- i0.ɵɵpipe(59, "rpxTranslate");
33827
- i0.ɵɵelementEnd()();
33828
- i0.ɵɵelementStart(60, "div", 6)(61, "label", 7);
33829
- i0.ɵɵtext(62);
33830
- i0.ɵɵpipe(63, "rpxTranslate");
33831
- i0.ɵɵelementEnd();
33832
- i0.ɵɵtemplate(64, UpdateFlagAddTranslationFormComponent_div_64_Template, 6, 6, "div", 19);
33833
- i0.ɵɵelementStart(65, "textarea", 9);
33834
- i0.ɵɵtext(66, " ");
33835
- i0.ɵɵelementEnd();
33836
- i0.ɵɵelementStart(67, "div", 20);
33837
- i0.ɵɵtext(68);
33838
- i0.ɵɵpipe(69, "rpxTranslate");
33839
33771
  i0.ɵɵelementEnd()()()();
33840
33772
  i0.ɵɵelementContainerEnd();
33841
33773
  } if (rf & 2) {
33842
33774
  i0.ɵɵproperty("formGroup", ctx.formGroup);
33843
33775
  i0.ɵɵadvance(2);
33844
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(74, _c0$n, ctx.errorMessages.length > 0));
33776
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$n, ctx.errorMessages.length > 0));
33845
33777
  i0.ɵɵadvance(3);
33846
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 46, ctx.updateFlagAddTranslationTitle), " ");
33778
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
33847
33779
  i0.ɵɵadvance(3);
33848
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 48, ctx.updateFlagAddTranslationStepEnum.HINT_TEXT), " ");
33780
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 34, ctx.updateFlagAddTranslationStepEnum.HINT_TEXT), " ");
33849
33781
  i0.ɵɵadvance(3);
33850
33782
  i0.ɵɵproperty("for", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION);
33851
33783
  i0.ɵɵadvance();
33852
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 50, "Other description"));
33784
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 36, "Other description"));
33853
33785
  i0.ɵɵadvance(2);
33854
33786
  i0.ɵɵproperty("ngIf", ctx.otherFlagDescriptionCharLimitErrorMessage);
33855
33787
  i0.ɵɵadvance();
33856
33788
  i0.ɵɵproperty("id", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION)("name", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION)("formControlName", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION);
33857
33789
  i0.ɵɵadvance(3);
33858
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 52, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33790
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 38, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33859
33791
  i0.ɵɵadvance(3);
33860
33792
  i0.ɵɵproperty("for", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH);
33861
33793
  i0.ɵɵadvance();
33862
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 54, "Other description (Welsh)"));
33794
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 40, "Other description (Welsh)"));
33863
33795
  i0.ɵɵadvance(2);
33864
33796
  i0.ɵɵproperty("ngIf", ctx.otherFlagDescriptionWelshCharLimitErrorMessage);
33865
33797
  i0.ɵɵadvance();
33866
33798
  i0.ɵɵproperty("id", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH)("name", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH)("formControlName", ctx.caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH);
33867
33799
  i0.ɵɵadvance(3);
33868
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 56, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33800
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 42, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33869
33801
  i0.ɵɵadvance(3);
33870
33802
  i0.ɵɵproperty("for", ctx.caseFlagFormFields.COMMENTS);
33871
33803
  i0.ɵɵadvance();
33872
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 58, "Flag comments"));
33804
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 44, "Flag comments"));
33873
33805
  i0.ɵɵadvance(2);
33874
33806
  i0.ɵɵproperty("ngIf", ctx.flagCommentsCharLimitErrorMessage);
33875
33807
  i0.ɵɵadvance();
33876
33808
  i0.ɵɵproperty("id", ctx.caseFlagFormFields.COMMENTS)("name", ctx.caseFlagFormFields.COMMENTS)("formControlName", ctx.caseFlagFormFields.COMMENTS);
33877
33809
  i0.ɵɵadvance(3);
33878
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(39, 60, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33810
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(39, 46, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33879
33811
  i0.ɵɵadvance(3);
33880
33812
  i0.ɵɵproperty("for", ctx.caseFlagFormFields.COMMENTS_WELSH);
33881
33813
  i0.ɵɵadvance();
33882
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(43, 62, "Flag comments (Welsh)"));
33814
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(43, 48, "Flag comments (Welsh)"));
33883
33815
  i0.ɵɵadvance(2);
33884
33816
  i0.ɵɵproperty("ngIf", ctx.flagCommentsWelshCharLimitErrorMessage);
33885
33817
  i0.ɵɵadvance();
33886
33818
  i0.ɵɵproperty("id", ctx.caseFlagFormFields.COMMENTS_WELSH)("name", ctx.caseFlagFormFields.COMMENTS_WELSH)("formControlName", ctx.caseFlagFormFields.COMMENTS_WELSH);
33887
33819
  i0.ɵɵadvance(3);
33888
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 64, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33889
- i0.ɵɵadvance(3);
33890
- i0.ɵɵproperty("for", ctx.caseFlagFormFields.STATUS_CHANGE_REASON);
33891
- i0.ɵɵadvance();
33892
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(53, 66, "Flag status change reason"));
33893
- i0.ɵɵadvance(2);
33894
- i0.ɵɵproperty("ngIf", ctx.flagCommentsWelshCharLimitErrorMessage);
33895
- i0.ɵɵadvance();
33896
- i0.ɵɵproperty("id", ctx.caseFlagFormFields.STATUS_CHANGE_REASON)("name", ctx.caseFlagFormFields.STATUS_CHANGE_REASON)("formControlName", ctx.caseFlagFormFields.STATUS_CHANGE_REASON);
33897
- i0.ɵɵadvance(3);
33898
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(59, 68, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33899
- i0.ɵɵadvance(3);
33900
- i0.ɵɵproperty("for", ctx.caseFlagFormFields.STATUS_CHANGE_REASON_WELSH);
33901
- i0.ɵɵadvance();
33902
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(63, 70, "Flag status change reason (Welsh)"));
33903
- i0.ɵɵadvance(2);
33904
- i0.ɵɵproperty("ngIf", ctx.flagCommentsWelshCharLimitErrorMessage);
33905
- i0.ɵɵadvance();
33906
- i0.ɵɵproperty("id", ctx.caseFlagFormFields.STATUS_CHANGE_REASON_WELSH)("name", ctx.caseFlagFormFields.STATUS_CHANGE_REASON_WELSH)("formControlName", ctx.caseFlagFormFields.STATUS_CHANGE_REASON_WELSH);
33907
- i0.ɵɵadvance(3);
33908
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(69, 72, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33820
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 50, ctx.updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO), " ");
33909
33821
  } }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i1.RpxTranslatePipe], encapsulation: 2 });
33910
33822
  }
33911
33823
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UpdateFlagAddTranslationFormComponent, [{
33912
33824
  type: Component,
33913
- args: [{ selector: 'ccd-update-flag-add-translation-form', standalone: false, template: "<ng-container [formGroup]=\"formGroup\">\n <div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"200\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'form-group-error': errorMessages.length > 0}\">\n <h1 class=\"govuk-label-wrapper govuk-!-margin-bottom-6\">\n <label class=\"govuk-label govuk-label--m\">\n {{ updateFlagAddTranslationTitle | rpxTranslate}}\n </label>\n </h1>\n <div id=\"add-translation-form-hint\" class=\"govuk-hint\">\n {{ updateFlagAddTranslationStepEnum.HINT_TEXT | rpxTranslate}}\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\" class=\"govuk-label govuk-label--s\">{{'Other description' | rpxTranslate}}</label>\n <div id=\"add-translation-other-flag-description-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"otherFlagDescriptionCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{otherFlagDescriptionCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\"\n [name]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\"\n [formControlName]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\">\n </textarea>\n <div id=\"add-translation-other-flag-description-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\" class=\"govuk-label govuk-label--s\">{{'Other description (Welsh)' | rpxTranslate}}</label>\n <div id=\"add-translation-other-flag-description-welsh-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"otherFlagDescriptionWelshCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{otherFlagDescriptionWelshCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\"\n [name]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\"\n [formControlName]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\">\n </textarea>\n <div id=\"add-translation-other-flag-description-welsh-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.COMMENTS\" class=\"govuk-label govuk-label--s\">{{'Flag comments' | rpxTranslate}}</label>\n <div id=\"add-translation-flag-comments-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"flagCommentsCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{flagCommentsCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.COMMENTS\"\n [name]=\"caseFlagFormFields.COMMENTS\"\n [formControlName]=\"caseFlagFormFields.COMMENTS\">\n </textarea>\n <div id=\"add-translation-flag-comments-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.COMMENTS_WELSH\" class=\"govuk-label govuk-label--s\">{{'Flag comments (Welsh)' | rpxTranslate}}</label>\n <div id=\"add-translation-flag-comments-welsh-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"flagCommentsWelshCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{flagCommentsWelshCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.COMMENTS_WELSH\"\n [name]=\"caseFlagFormFields.COMMENTS_WELSH\"\n [formControlName]=\"caseFlagFormFields.COMMENTS_WELSH\">\n </textarea>\n <div id=\"add-translation-flag-comments-welsh-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.STATUS_CHANGE_REASON\" class=\"govuk-label govuk-label--s\">{{'Flag status change reason' | rpxTranslate}}</label>\n <div id=\"add-translation-flag-status-change-reason-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"flagCommentsWelshCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{flagCommentsWelshCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.STATUS_CHANGE_REASON\"\n [name]=\"caseFlagFormFields.STATUS_CHANGE_REASON\"\n [formControlName]=\"caseFlagFormFields.STATUS_CHANGE_REASON\">\n </textarea>\n <div id=\"add-translation-flag-status-change-reason-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.STATUS_CHANGE_REASON_WELSH\" class=\"govuk-label govuk-label--s\">{{'Flag status change reason (Welsh)' | rpxTranslate}}</label>\n <div id=\"add-translation-flag-status-change-reason-welsh-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"flagCommentsWelshCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{flagCommentsWelshCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.STATUS_CHANGE_REASON_WELSH\"\n [name]=\"caseFlagFormFields.STATUS_CHANGE_REASON_WELSH\"\n [formControlName]=\"caseFlagFormFields.STATUS_CHANGE_REASON_WELSH\">\n </textarea>\n <div id=\"add-translation-flag-status-change-reason-welsh-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n </div>\n </div>\n</ng-container>\n" }]
33825
+ args: [{ selector: 'ccd-update-flag-add-translation-form', standalone: false, template: "<ng-container [formGroup]=\"formGroup\">\n <div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"200\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'form-group-error': errorMessages.length > 0}\">\n <h1 class=\"govuk-label-wrapper govuk-!-margin-bottom-6\">\n <label class=\"govuk-label govuk-label--m\">\n {{ updateFlagAddTranslationTitle | rpxTranslate}}\n </label>\n </h1>\n <div id=\"add-translation-form-hint\" class=\"govuk-hint\">\n {{ updateFlagAddTranslationStepEnum.HINT_TEXT | rpxTranslate}}\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\" class=\"govuk-label govuk-label--s\">{{'Other description' | rpxTranslate}}</label>\n <div id=\"add-translation-other-flag-description-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"otherFlagDescriptionCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{otherFlagDescriptionCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\"\n [name]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\"\n [formControlName]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION\">\n </textarea>\n <div id=\"add-translation-other-flag-description-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\" class=\"govuk-label govuk-label--s\">{{'Other description (Welsh)' | rpxTranslate}}</label>\n <div id=\"add-translation-other-flag-description-welsh-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"otherFlagDescriptionWelshCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{otherFlagDescriptionWelshCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\"\n [name]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\"\n [formControlName]=\"caseFlagFormFields.OTHER_FLAG_DESCRIPTION_WELSH\">\n </textarea>\n <div id=\"add-translation-other-flag-description-welsh-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.COMMENTS\" class=\"govuk-label govuk-label--s\">{{'Flag comments' | rpxTranslate}}</label>\n <div id=\"add-translation-flag-comments-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"flagCommentsCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{flagCommentsCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.COMMENTS\"\n [name]=\"caseFlagFormFields.COMMENTS\"\n [formControlName]=\"caseFlagFormFields.COMMENTS\">\n </textarea>\n <div id=\"add-translation-flag-comments-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <label [for]=\"caseFlagFormFields.COMMENTS_WELSH\" class=\"govuk-label govuk-label--s\">{{'Flag comments (Welsh)' | rpxTranslate}}</label>\n <div id=\"add-translation-flag-comments-welsh-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"flagCommentsWelshCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{flagCommentsWelshCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea\n class=\"govuk-textarea\" rows=\"5\"\n [id]=\"caseFlagFormFields.COMMENTS_WELSH\"\n [name]=\"caseFlagFormFields.COMMENTS_WELSH\"\n [formControlName]=\"caseFlagFormFields.COMMENTS_WELSH\">\n </textarea>\n <div id=\"add-translation-flag-comments-welsh-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{updateFlagAddTranslationStepEnum.CHARACTER_LIMIT_INFO | rpxTranslate}}\n </div>\n </div>\n </div>\n </div>\n</ng-container>" }]
33914
33826
  }], null, { formGroup: [{
33915
33827
  type: Input
33916
33828
  }], caseFlagStateEmitter: [{
@@ -39275,8 +39187,8 @@ function WorkbasketFiltersComponent_ng_container_39_Template(rf, ctx) { if (rf &
39275
39187
  i0.ɵɵadvance(2);
39276
39188
  i0.ɵɵproperty("ngForOf", ctx_r4.workbasketInputs);
39277
39189
  } }
39278
- const FORM_GROUP_VAL_LOC_STORAGE = 'workbasket-filter-form-group-value';
39279
- const SAVED_QUERY_PARAM_LOC_STORAGE = 'savedQueryParams';
39190
+ const FORM_GROUP_VAL_SES_STORAGE = 'workbasket-filter-form-group-value';
39191
+ const SAVED_QUERY_PARAM_SES_STORAGE = 'savedQueryParams';
39280
39192
  const REGION_LIST_AND_FRC_FILTER = 'regionList';
39281
39193
  class WorkbasketFiltersComponent {
39282
39194
  route;
@@ -39370,7 +39282,8 @@ class WorkbasketFiltersComponent {
39370
39282
  this.alertService.setPreserveAlerts(!this.initialised);
39371
39283
  }
39372
39284
  if (Object.keys(this.formGroup.controls).length === 0) {
39373
- this.selected.formGroup = JSON.parse(localStorage.getItem(FORM_GROUP_VAL_LOC_STORAGE));
39285
+ const storedFormGroup = safeJsonParse(this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE), null);
39286
+ this.selected.formGroup = storedFormGroup && Object.keys(storedFormGroup).length > 0 ? storedFormGroup : null;
39374
39287
  }
39375
39288
  else {
39376
39289
  // Update form group filters
@@ -39381,14 +39294,14 @@ class WorkbasketFiltersComponent {
39381
39294
  this.selected.page = 1;
39382
39295
  this.selected.metadataFields = this.getMetadataFields();
39383
39296
  if (init) {
39384
- this.windowService.setLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE, JSON.stringify(queryParams));
39297
+ this.windowService.setSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE, JSON.stringify(queryParams));
39385
39298
  if (Object.keys(this.formGroup.controls).length > 0) {
39386
39299
  // Find all "special case" JudicialUser FormControl keys and remove the corresponding values from the
39387
39300
  // FormGroup value because these values are not intended to be stored and subsequently passed as query string
39388
39301
  // parameters when calling searchCases API endpoint
39389
39302
  const judicialUserControlValuesToRemove = Object.keys(this.formGroup.controls).filter((key) => key.endsWith('_judicialUserControl'));
39390
39303
  judicialUserControlValuesToRemove.forEach((controlKey) => delete this.formGroup.value[controlKey]);
39391
- this.windowService.setLocalStorage(FORM_GROUP_VAL_LOC_STORAGE, JSON.stringify(this.formGroup.value));
39304
+ this.windowService.setSessionStorage(FORM_GROUP_VAL_SES_STORAGE, JSON.stringify(this.formGroup.value));
39392
39305
  }
39393
39306
  }
39394
39307
  // Announce selected jurisdiction via JurisdictionService
@@ -39402,8 +39315,8 @@ class WorkbasketFiltersComponent {
39402
39315
  this.setFocusToTop();
39403
39316
  }
39404
39317
  reset() {
39405
- this.windowService.removeLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
39406
- this.windowService.removeLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
39318
+ this.windowService.removeSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
39319
+ this.windowService.removeSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE);
39407
39320
  setTimeout(() => {
39408
39321
  this.resetFieldsWhenNoDefaults();
39409
39322
  this.onReset.emit(true);
@@ -39454,7 +39367,7 @@ class WorkbasketFiltersComponent {
39454
39367
  this.workbasketInputsReady = true;
39455
39368
  this.workbasketInputs = workbasketInputs
39456
39369
  .sort(this.orderService.sortAsc);
39457
- const formValue = this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
39370
+ const formValue = this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
39458
39371
  workbasketInputs.forEach(item => {
39459
39372
  if (item.field.elementPath) {
39460
39373
  item.field.id = `${item.field.id}.${item.field.elementPath}`;
@@ -39494,18 +39407,18 @@ class WorkbasketFiltersComponent {
39494
39407
  * in future to incorporate other dynamic filters.
39495
39408
  */
39496
39409
  updateFormGroupFilters() {
39497
- // Read the form group local storage
39498
- const formGroupLS = JSON.parse(this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE));
39499
- // Form group local storage is available and contains regionList property
39500
- if (!!formGroupLS && formGroupLS.hasOwnProperty(REGION_LIST_AND_FRC_FILTER)) {
39410
+ // Read the form group from session storage
39411
+ const formGroupSessionStorage = safeJsonParse(this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE), null);
39412
+ // Form group session storage is available and contains regionList property
39413
+ if (!!formGroupSessionStorage && formGroupSessionStorage.hasOwnProperty(REGION_LIST_AND_FRC_FILTER)) {
39501
39414
  if (this.formGroup.get(REGION_LIST_AND_FRC_FILTER)) {
39502
- // If regionList value does not match between local storage and form group
39415
+ // If regionList value does not match between session storage and form group
39503
39416
  // then the filter value has been changed and we need to clear the old filter values
39504
- if (formGroupLS[REGION_LIST_AND_FRC_FILTER] !== this.formGroup.get(REGION_LIST_AND_FRC_FILTER).value) {
39505
- for (const key in formGroupLS) {
39506
- if (formGroupLS.hasOwnProperty(key)) {
39507
- const value = formGroupLS[key];
39508
- // Clear the filter form group control values if it has a value in local storage
39417
+ if (formGroupSessionStorage[REGION_LIST_AND_FRC_FILTER] !== this.formGroup.get(REGION_LIST_AND_FRC_FILTER).value) {
39418
+ for (const key in formGroupSessionStorage) {
39419
+ if (formGroupSessionStorage.hasOwnProperty(key)) {
39420
+ const value = formGroupSessionStorage[key];
39421
+ // Clear the filter form group control values if it has a value in session storage
39509
39422
  // The regionList form group control value should be ignored as it always contain the latest value
39510
39423
  if (key !== REGION_LIST_AND_FRC_FILTER && value !== null) {
39511
39424
  this.formGroup.get(key).setValue(null);
@@ -39524,7 +39437,7 @@ class WorkbasketFiltersComponent {
39524
39437
  * Query parameters, when available, take precedence over workbasket defaults.
39525
39438
  */
39526
39439
  initFilters(init) {
39527
- const savedQueryParams = this.windowService.getLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
39440
+ const savedQueryParams = this.windowService.getSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE);
39528
39441
  const routeSnapshot = this.route.snapshot;
39529
39442
  if (savedQueryParams) {
39530
39443
  routeSnapshot.queryParams = JSON.parse(savedQueryParams);
@@ -39585,7 +39498,7 @@ class WorkbasketFiltersComponent {
39585
39498
  this.workbasketInputs = [];
39586
39499
  }
39587
39500
  clearStoredWorkbasketFilterValues() {
39588
- this.windowService.removeLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
39501
+ this.windowService.removeSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
39589
39502
  }
39590
39503
  resetCaseState() {
39591
39504
  this.defaults.state_id = null;
@@ -39729,7 +39642,7 @@ class WorkbasketFiltersComponent {
39729
39642
  }], onReset: [{
39730
39643
  type: Output
39731
39644
  }] }); })();
39732
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 28 }); })();
39645
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 29 }); })();
39733
39646
 
39734
39647
  class WorkbasketFiltersModule {
39735
39648
  static ɵfac = function WorkbasketFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersModule)(); };
@@ -45135,10 +45048,10 @@ function SearchFiltersComponent_ng_container_16_Template(rf, ctx) { if (rf & 1)
45135
45048
  i0.ɵɵadvance(2);
45136
45049
  i0.ɵɵproperty("ngForOf", ctx_r3.searchInputs);
45137
45050
  } }
45138
- const JURISDICTION_LOC_STORAGE = 'search-jurisdiction';
45139
- const META_FIELDS_LOC_STORAGE = 'search-metadata-fields';
45140
- const FORM_GROUP_VALUE_LOC_STORAGE = 'search-form-group-value';
45141
- const CASE_TYPE_LOC_STORAGE = 'search-caseType';
45051
+ const JURISDICTION_SES_STORAGE = 'search-jurisdiction';
45052
+ const META_FIELDS_SES_STORAGE = 'search-metadata-fields';
45053
+ const FORM_GROUP_VALUE_SES_STORAGE = 'search-form-group-value';
45054
+ const CASE_TYPE_SES_STORAGE = 'search-caseType';
45142
45055
  class SearchFiltersComponent {
45143
45056
  searchService;
45144
45057
  orderService;
@@ -45167,7 +45080,7 @@ class SearchFiltersComponent {
45167
45080
  this.selected = {};
45168
45081
  }
45169
45082
  ngOnInit() {
45170
- const jurisdiction = this.getValuesFromLocalStorage();
45083
+ const jurisdiction = this.getValuesFromSessionStorage();
45171
45084
  if (this.jurisdictions.length === 1 || jurisdiction) {
45172
45085
  this.selected.jurisdiction = this.jurisdictions[0];
45173
45086
  if (jurisdiction) {
@@ -45194,10 +45107,10 @@ class SearchFiltersComponent {
45194
45107
  });
45195
45108
  }
45196
45109
  reset() {
45197
- this.windowService.removeLocalStorage(FORM_GROUP_VALUE_LOC_STORAGE);
45198
- this.windowService.removeLocalStorage(CASE_TYPE_LOC_STORAGE);
45199
- this.windowService.removeLocalStorage(JURISDICTION_LOC_STORAGE);
45200
- this.windowService.removeLocalStorage(META_FIELDS_LOC_STORAGE);
45110
+ this.windowService.removeSessionStorage(FORM_GROUP_VALUE_SES_STORAGE);
45111
+ this.windowService.removeSessionStorage(CASE_TYPE_SES_STORAGE);
45112
+ this.windowService.removeSessionStorage(JURISDICTION_SES_STORAGE);
45113
+ this.windowService.removeSessionStorage(META_FIELDS_SES_STORAGE);
45201
45114
  this.selected = {};
45202
45115
  if (this.jurisdictions.length === 1) {
45203
45116
  this.selected.jurisdiction = this.jurisdictions[0];
@@ -45209,39 +45122,39 @@ class SearchFiltersComponent {
45209
45122
  this.selected.formGroup = this.formGroup;
45210
45123
  this.selected.page = 1;
45211
45124
  this.selected.metadataFields = this.getMetadataFields();
45212
- this.populateValuesInLocalStorage();
45125
+ this.populateValuesInSessionStorage();
45213
45126
  this.onApply.emit({
45214
45127
  selected: this.selected,
45215
45128
  queryParams: this.getQueryParams()
45216
45129
  });
45217
45130
  this.setFocusToTop();
45218
45131
  }
45219
- populateValuesInLocalStorage() {
45220
- this.windowService.setLocalStorage(FORM_GROUP_VALUE_LOC_STORAGE, JSON.stringify(this.selected.formGroup.value));
45221
- this.windowService.setLocalStorage(META_FIELDS_LOC_STORAGE, JSON.stringify(this.selected.metadataFields));
45132
+ populateValuesInSessionStorage() {
45133
+ this.windowService.setSessionStorage(FORM_GROUP_VALUE_SES_STORAGE, JSON.stringify(this.selected.formGroup.value));
45134
+ this.windowService.setSessionStorage(META_FIELDS_SES_STORAGE, JSON.stringify(this.selected.metadataFields));
45222
45135
  try {
45223
45136
  const compJurisd = compressToUTF16(JSON.stringify(this.selected.jurisdiction));
45224
- this.windowService.setLocalStorage(JURISDICTION_LOC_STORAGE, compJurisd);
45137
+ this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, compJurisd);
45225
45138
  }
45226
45139
  catch (e) {
45227
- this.windowService.setLocalStorage(JURISDICTION_LOC_STORAGE, null);
45140
+ this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, null);
45228
45141
  }
45229
45142
  if (this.selected.caseType) {
45230
- this.windowService.setLocalStorage(CASE_TYPE_LOC_STORAGE, JSON.stringify(this.selected.caseType));
45143
+ this.windowService.setSessionStorage(CASE_TYPE_SES_STORAGE, JSON.stringify(this.selected.caseType));
45231
45144
  }
45232
45145
  }
45233
- getValuesFromLocalStorage() {
45234
- const jurisdiction = this.windowService.getLocalStorage(JURISDICTION_LOC_STORAGE);
45146
+ getValuesFromSessionStorage() {
45147
+ const jurisdiction = this.windowService.getSessionStorage(JURISDICTION_SES_STORAGE);
45235
45148
  if (jurisdiction) {
45236
45149
  try {
45237
- const localStorageJurisdiction = JSON.parse(decompressFromUTF16(jurisdiction));
45238
- if (localStorageJurisdiction) {
45239
- return localStorageJurisdiction;
45150
+ const sessionStorageJurisdiction = JSON.parse(decompressFromUTF16(jurisdiction));
45151
+ if (sessionStorageJurisdiction) {
45152
+ return sessionStorageJurisdiction;
45240
45153
  }
45241
45154
  }
45242
45155
  catch (e) {
45243
- this.logger.error('Failed to retrieve jurisdiction from local storage.', { error: e });
45244
- this.windowService.setLocalStorage(JURISDICTION_LOC_STORAGE, null);
45156
+ this.logger.error('Failed to retrieve jurisdiction from session storage.', { error: e });
45157
+ this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, null);
45245
45158
  }
45246
45159
  }
45247
45160
  return null;
@@ -45279,7 +45192,7 @@ class SearchFiltersComponent {
45279
45192
  this.searchInputs = [];
45280
45193
  this.searchService.getSearchInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(tap(() => this.searchInputsReady = true)).subscribe(searchInputs => {
45281
45194
  this.searchInputs = searchInputs.sort(this.orderService.sortAsc);
45282
- const formValue = this.windowService.getLocalStorage(FORM_GROUP_VALUE_LOC_STORAGE);
45195
+ const formValue = this.windowService.getSessionStorage(FORM_GROUP_VALUE_SES_STORAGE);
45283
45196
  let formValueObject = null;
45284
45197
  if (formValue) {
45285
45198
  formValueObject = JSON.parse(formValue);
@@ -45317,7 +45230,7 @@ class SearchFiltersComponent {
45317
45230
  selectCaseType(caseTypes) {
45318
45231
  if (caseTypes && caseTypes.length > 0) {
45319
45232
  this.selected.caseType = caseTypes[0];
45320
- const caseType = this.windowService.getLocalStorage(CASE_TYPE_LOC_STORAGE);
45233
+ const caseType = this.windowService.getSessionStorage(CASE_TYPE_SES_STORAGE);
45321
45234
  if (caseType) {
45322
45235
  const caseTypeObject = JSON.parse(caseType);
45323
45236
  const result = caseTypes.filter(c => c.id === caseTypeObject.id);
@@ -46645,5 +46558,5 @@ class TestRouteSnapshotBuilder {
46645
46558
  * Generated bundle index. Do not edit.
46646
46559
  */
46647
46560
 
46648
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
46561
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
46649
46562
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map