@hmcts/ccd-case-ui-toolkit 7.3.98-exui-4454-3 → 7.3.98-exui-5069

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.
@@ -9349,69 +9349,34 @@ class RetryUtil {
9349
9349
  type: Injectable
9350
9350
  }], null, null); })();
9351
9351
 
9352
- const MEDIA_VIEWER_HANDOFF_RETRY_INTERVAL_MS = 100;
9353
- const MEDIA_VIEWER_HANDOFF_MAX_ATTEMPTS = 100;
9354
9352
  class WindowService {
9355
9353
  locationAssign(url) {
9356
9354
  window.location.assign(url);
9357
9355
  }
9356
+ setLocalStorage(key, value) {
9357
+ window.localStorage.setItem(key, value);
9358
+ }
9359
+ getLocalStorage(key) {
9360
+ return window.localStorage.getItem(key);
9361
+ }
9362
+ clearLocalStorage() {
9363
+ window.localStorage.clear();
9364
+ }
9365
+ removeLocalStorage(key) {
9366
+ window.localStorage.removeItem(key);
9367
+ }
9358
9368
  setSessionStorage(key, value) {
9359
9369
  window.sessionStorage.setItem(key, value);
9360
9370
  }
9361
9371
  getSessionStorage(key) {
9362
9372
  return window.sessionStorage.getItem(key);
9363
9373
  }
9364
- removeSessionStorage(key) {
9365
- window.sessionStorage.removeItem(key);
9366
- }
9367
- clearSessionStorage() {
9368
- window.sessionStorage.clear();
9369
- }
9370
9374
  openOnNewTab(url) {
9371
9375
  const openedWindow = window.open(url, '_blank', 'noopener,noreferrer');
9372
9376
  if (openedWindow) {
9373
9377
  openedWindow.opener = null;
9374
9378
  }
9375
9379
  }
9376
- openOnNewTabWithMessage(url, message, token) {
9377
- const openedWindow = window.open(url, '_blank');
9378
- if (!openedWindow) {
9379
- return;
9380
- }
9381
- const targetOrigin = window.location.origin;
9382
- const handoff = { type: 'MEDIA_VIEWER_HANDOFF', token, payload: message };
9383
- let attempts = 0;
9384
- let retryTimer;
9385
- let acknowledged = false;
9386
- const complete = () => {
9387
- acknowledged = true;
9388
- window.clearTimeout(retryTimer);
9389
- window.removeEventListener('message', acknowledgementListener);
9390
- if (!openedWindow.closed) {
9391
- openedWindow.opener = null;
9392
- }
9393
- };
9394
- const acknowledgementListener = (event) => {
9395
- const data = event.data;
9396
- if (event.origin === targetOrigin && event.source === openedWindow &&
9397
- data?.type === 'MEDIA_VIEWER_HANDOFF_RECEIVED' && data.token === token) {
9398
- complete();
9399
- }
9400
- };
9401
- window.addEventListener('message', acknowledgementListener);
9402
- const send = () => {
9403
- if (acknowledged || openedWindow.closed || attempts++ >= MEDIA_VIEWER_HANDOFF_MAX_ATTEMPTS) {
9404
- window.removeEventListener('message', acknowledgementListener);
9405
- if (!openedWindow.closed) {
9406
- openedWindow.opener = null;
9407
- }
9408
- return;
9409
- }
9410
- openedWindow.postMessage(handoff, targetOrigin);
9411
- retryTimer = window.setTimeout(send, MEDIA_VIEWER_HANDOFF_RETRY_INTERVAL_MS);
9412
- };
9413
- send();
9414
- }
9415
9380
  confirm(message) {
9416
9381
  return window.confirm(message);
9417
9382
  }
@@ -14167,57 +14132,67 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
14167
14132
  const _c0$$ = ["writeComplexFieldComponent"];
14168
14133
  const _c1$q = a0 => ({ "form-group-error": a0 });
14169
14134
  const _c2$4 = a0 => ({ "govuk-input--error": a0 });
14170
- function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
14171
- i0.ɵɵelementStart(0, "span", 14);
14135
+ function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
14136
+ i0.ɵɵelementStart(0, "span", 9);
14137
+ i0.ɵɵelement(1, "ccd-markdown", 10);
14138
+ i0.ɵɵpipe(2, "rpxTranslate");
14139
+ i0.ɵɵelementEnd();
14140
+ } if (rf & 2) {
14141
+ const ctx_r0 = i0.ɵɵnextContext(2);
14142
+ i0.ɵɵadvance();
14143
+ i0.ɵɵproperty("content", i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField.hint_text));
14144
+ } }
14145
+ function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) { if (rf & 1) {
14146
+ i0.ɵɵelementStart(0, "span", 17);
14172
14147
  i0.ɵɵtext(1);
14173
14148
  i0.ɵɵpipe(2, "rpxTranslate");
14174
14149
  i0.ɵɵelementEnd();
14175
14150
  } if (rf & 2) {
14176
- const ctx_r1 = i0.ɵɵnextContext(3);
14151
+ const ctx_r0 = i0.ɵɵnextContext(3);
14177
14152
  i0.ɵɵadvance();
14178
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.errorMessage));
14153
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage));
14179
14154
  } }
14180
- function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
14181
- const _r1 = i0.ɵɵgetCurrentView();
14182
- i0.ɵɵelementStart(0, "div", 8)(1, "label", 9)(2, "span", 10);
14155
+ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1) {
14156
+ const _r2 = i0.ɵɵgetCurrentView();
14157
+ i0.ɵɵelementStart(0, "div", 11)(1, "label", 12)(2, "span", 13);
14183
14158
  i0.ɵɵtext(3);
14184
14159
  i0.ɵɵpipe(4, "rpxTranslate");
14185
14160
  i0.ɵɵelementEnd()();
14186
- i0.ɵɵtemplate(5, WriteAddressFieldComponent_div_1_div_4_span_5_Template, 3, 3, "span", 11);
14187
- i0.ɵɵelement(6, "input", 12);
14188
- i0.ɵɵelementStart(7, "button", 13);
14189
- i0.ɵɵlistener("click", function WriteAddressFieldComponent_div_1_div_4_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.findAddress()); });
14161
+ i0.ɵɵtemplate(5, WriteAddressFieldComponent_div_1_div_5_span_5_Template, 3, 3, "span", 14);
14162
+ i0.ɵɵelement(6, "input", 15);
14163
+ i0.ɵɵelementStart(7, "button", 16);
14164
+ i0.ɵɵlistener("click", function WriteAddressFieldComponent_div_1_div_5_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.findAddress()); });
14190
14165
  i0.ɵɵtext(8);
14191
14166
  i0.ɵɵpipe(9, "rpxTranslate");
14192
14167
  i0.ɵɵelementEnd()();
14193
14168
  } if (rf & 2) {
14194
- const ctx_r1 = i0.ɵɵnextContext(2);
14195
- i0.ɵɵproperty("id", ctx_r1.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$q, ctx_r1.missingPostcode));
14169
+ const ctx_r0 = i0.ɵɵnextContext(2);
14170
+ i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$q, ctx_r0.missingPostcode));
14196
14171
  i0.ɵɵadvance();
14197
- i0.ɵɵproperty("for", ctx_r1.createElementId("postcodeInput"));
14172
+ i0.ɵɵproperty("for", ctx_r0.createElementId("postcodeInput"));
14198
14173
  i0.ɵɵadvance(2);
14199
14174
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 10, "Enter a UK postcode"));
14200
14175
  i0.ɵɵadvance(2);
14201
- i0.ɵɵproperty("ngIf", ctx_r1.missingPostcode);
14176
+ i0.ɵɵproperty("ngIf", ctx_r0.missingPostcode);
14202
14177
  i0.ɵɵadvance();
14203
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c2$4, ctx_r1.missingPostcode))("id", ctx_r1.createElementId("postcodeInput"))("formControl", ctx_r1.postcode);
14178
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c2$4, ctx_r0.missingPostcode))("id", ctx_r0.createElementId("postcodeInput"))("formControl", ctx_r0.postcode);
14204
14179
  i0.ɵɵadvance();
14205
- i0.ɵɵproperty("disabled", ctx_r1.loadingAddresses);
14180
+ i0.ɵɵproperty("disabled", ctx_r0.loadingAddresses);
14206
14181
  i0.ɵɵadvance();
14207
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, ctx_r1.loadingAddresses ? "Finding addresses..." : "Find address"), " ");
14182
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, ctx_r0.loadingAddresses ? "Finding addresses..." : "Find address"), " ");
14208
14183
  } }
14209
- function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) { if (rf & 1) {
14210
- i0.ɵɵelementStart(0, "span", 14);
14184
+ function WriteAddressFieldComponent_div_1_div_6_span_5_Template(rf, ctx) { if (rf & 1) {
14185
+ i0.ɵɵelementStart(0, "span", 17);
14211
14186
  i0.ɵɵtext(1);
14212
14187
  i0.ɵɵpipe(2, "rpxTranslate");
14213
14188
  i0.ɵɵelementEnd();
14214
14189
  } if (rf & 2) {
14215
- const ctx_r1 = i0.ɵɵnextContext(3);
14190
+ const ctx_r0 = i0.ɵɵnextContext(3);
14216
14191
  i0.ɵɵadvance();
14217
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.errorMessage));
14192
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage));
14218
14193
  } }
14219
- function WriteAddressFieldComponent_div_1_div_5_option_7_Template(rf, ctx) { if (rf & 1) {
14220
- i0.ɵɵelementStart(0, "option", 19);
14194
+ function WriteAddressFieldComponent_div_1_div_6_option_7_Template(rf, ctx) { if (rf & 1) {
14195
+ i0.ɵɵelementStart(0, "option", 22);
14221
14196
  i0.ɵɵtext(1);
14222
14197
  i0.ɵɵpipe(2, "rpxTranslate");
14223
14198
  i0.ɵɵelementEnd();
@@ -14226,19 +14201,19 @@ function WriteAddressFieldComponent_div_1_div_5_option_7_Template(rf, ctx) { if
14226
14201
  i0.ɵɵadvance();
14227
14202
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "No address found"), " ");
14228
14203
  } }
14229
- function WriteAddressFieldComponent_div_1_div_5_option_8_Template(rf, ctx) { if (rf & 1) {
14230
- i0.ɵɵelementStart(0, "option", 19);
14204
+ function WriteAddressFieldComponent_div_1_div_6_option_8_Template(rf, ctx) { if (rf & 1) {
14205
+ i0.ɵɵelementStart(0, "option", 22);
14231
14206
  i0.ɵɵtext(1);
14232
14207
  i0.ɵɵpipe(2, "rpxTranslate");
14233
14208
  i0.ɵɵelementEnd();
14234
14209
  } if (rf & 2) {
14235
- const ctx_r1 = i0.ɵɵnextContext(3);
14210
+ const ctx_r0 = i0.ɵɵnextContext(3);
14236
14211
  i0.ɵɵproperty("ngValue", undefined);
14237
14212
  i0.ɵɵadvance();
14238
- i0.ɵɵtextInterpolate2(" ", ctx_r1.addressOptions.length, " ", i0.ɵɵpipeBind1(2, 3, ctx_r1.addressOptions.length === 1 ? "address found" : "addresses found"), " ");
14213
+ i0.ɵɵtextInterpolate2(" ", ctx_r0.addressOptions.length, " ", i0.ɵɵpipeBind1(2, 3, ctx_r0.addressOptions.length === 1 ? "address found" : "addresses found"), " ");
14239
14214
  } }
14240
- function WriteAddressFieldComponent_div_1_div_5_option_9_Template(rf, ctx) { if (rf & 1) {
14241
- i0.ɵɵelementStart(0, "option", 19);
14215
+ function WriteAddressFieldComponent_div_1_div_6_option_9_Template(rf, ctx) { if (rf & 1) {
14216
+ i0.ɵɵelementStart(0, "option", 22);
14242
14217
  i0.ɵɵtext(1);
14243
14218
  i0.ɵɵelementEnd();
14244
14219
  } if (rf & 2) {
@@ -14247,39 +14222,39 @@ function WriteAddressFieldComponent_div_1_div_5_option_9_Template(rf, ctx) { if
14247
14222
  i0.ɵɵadvance();
14248
14223
  i0.ɵɵtextInterpolate1(" ", addressOption_r4.description, " ");
14249
14224
  } }
14250
- function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1) {
14225
+ function WriteAddressFieldComponent_div_1_div_6_Template(rf, ctx) { if (rf & 1) {
14251
14226
  const _r3 = i0.ɵɵgetCurrentView();
14252
- i0.ɵɵelementStart(0, "div", 15)(1, "label", 9)(2, "span", 10);
14227
+ i0.ɵɵelementStart(0, "div", 18)(1, "label", 12)(2, "span", 13);
14253
14228
  i0.ɵɵtext(3);
14254
14229
  i0.ɵɵpipe(4, "rpxTranslate");
14255
14230
  i0.ɵɵelementEnd()();
14256
- i0.ɵɵtemplate(5, WriteAddressFieldComponent_div_1_div_5_span_5_Template, 3, 3, "span", 11);
14257
- i0.ɵɵelementStart(6, "select", 16);
14258
- i0.ɵɵlistener("change", function WriteAddressFieldComponent_div_1_div_5_Template_select_change_6_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.addressSelected()); });
14259
- i0.ɵɵtemplate(7, WriteAddressFieldComponent_div_1_div_5_option_7_Template, 3, 4, "option", 17)(8, WriteAddressFieldComponent_div_1_div_5_option_8_Template, 3, 5, "option", 17)(9, WriteAddressFieldComponent_div_1_div_5_option_9_Template, 2, 2, "option", 18);
14231
+ i0.ɵɵtemplate(5, WriteAddressFieldComponent_div_1_div_6_span_5_Template, 3, 3, "span", 14);
14232
+ i0.ɵɵelementStart(6, "select", 19);
14233
+ i0.ɵɵlistener("change", function WriteAddressFieldComponent_div_1_div_6_Template_select_change_6_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.addressSelected()); });
14234
+ i0.ɵɵtemplate(7, WriteAddressFieldComponent_div_1_div_6_option_7_Template, 3, 4, "option", 20)(8, WriteAddressFieldComponent_div_1_div_6_option_8_Template, 3, 5, "option", 20)(9, WriteAddressFieldComponent_div_1_div_6_option_9_Template, 2, 2, "option", 21);
14260
14235
  i0.ɵɵelementEnd()();
14261
14236
  } if (rf & 2) {
14262
- const ctx_r1 = i0.ɵɵnextContext(2);
14263
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$q, ctx_r1.noAddressSelected));
14237
+ const ctx_r0 = i0.ɵɵnextContext(2);
14238
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$q, ctx_r0.noAddressSelected));
14264
14239
  i0.ɵɵadvance();
14265
- i0.ɵɵproperty("for", ctx_r1.createElementId("addressList"));
14240
+ i0.ɵɵproperty("for", ctx_r0.createElementId("addressList"));
14266
14241
  i0.ɵɵadvance(2);
14267
14242
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Select an address"));
14268
14243
  i0.ɵɵadvance(2);
14269
- i0.ɵɵproperty("ngIf", ctx_r1.noAddressSelected);
14244
+ i0.ɵɵproperty("ngIf", ctx_r0.noAddressSelected);
14270
14245
  i0.ɵɵadvance();
14271
- i0.ɵɵproperty("id", ctx_r1.createElementId("addressList"))("formControl", ctx_r1.addressList);
14246
+ i0.ɵɵproperty("id", ctx_r0.createElementId("addressList"))("formControl", ctx_r0.addressList);
14272
14247
  i0.ɵɵadvance();
14273
- i0.ɵɵproperty("ngIf", ctx_r1.addressOptions.length === 0);
14248
+ i0.ɵɵproperty("ngIf", ctx_r0.addressOptions.length === 0);
14274
14249
  i0.ɵɵadvance();
14275
- i0.ɵɵproperty("ngIf", ctx_r1.addressOptions.length > 0);
14250
+ i0.ɵɵproperty("ngIf", ctx_r0.addressOptions.length > 0);
14276
14251
  i0.ɵɵadvance();
14277
- i0.ɵɵproperty("ngForOf", ctx_r1.addressOptions);
14252
+ i0.ɵɵproperty("ngForOf", ctx_r0.addressOptions);
14278
14253
  } }
14279
- function WriteAddressFieldComponent_div_1_a_6_Template(rf, ctx) { if (rf & 1) {
14254
+ function WriteAddressFieldComponent_div_1_a_7_Template(rf, ctx) { if (rf & 1) {
14280
14255
  const _r5 = i0.ɵɵgetCurrentView();
14281
- i0.ɵɵelementStart(0, "a", 20);
14282
- i0.ɵɵlistener("click", function WriteAddressFieldComponent_div_1_a_6_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.blankAddress(); return i0.ɵɵresetView($event.preventDefault()); });
14256
+ i0.ɵɵelementStart(0, "a", 23);
14257
+ i0.ɵɵlistener("click", function WriteAddressFieldComponent_div_1_a_7_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.blankAddress(); return i0.ɵɵresetView($event.preventDefault()); });
14283
14258
  i0.ɵɵtext(1);
14284
14259
  i0.ɵɵpipe(2, "rpxTranslate");
14285
14260
  i0.ɵɵelementEnd();
@@ -14292,18 +14267,20 @@ function WriteAddressFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
14292
14267
  i0.ɵɵtext(2);
14293
14268
  i0.ɵɵpipe(3, "ccdFieldLabel");
14294
14269
  i0.ɵɵelementEnd();
14295
- i0.ɵɵtemplate(4, WriteAddressFieldComponent_div_1_div_4_Template, 10, 18, "div", 5)(5, WriteAddressFieldComponent_div_1_div_5_Template, 10, 13, "div", 6)(6, WriteAddressFieldComponent_div_1_a_6_Template, 3, 3, "a", 7);
14270
+ i0.ɵɵtemplate(4, WriteAddressFieldComponent_div_1_span_4_Template, 3, 3, "span", 5)(5, WriteAddressFieldComponent_div_1_div_5_Template, 10, 18, "div", 6)(6, WriteAddressFieldComponent_div_1_div_6_Template, 10, 13, "div", 7)(7, WriteAddressFieldComponent_div_1_a_7_Template, 3, 3, "a", 8);
14296
14271
  i0.ɵɵelementEnd();
14297
14272
  } if (rf & 2) {
14298
- const ctx_r1 = i0.ɵɵnextContext();
14273
+ const ctx_r0 = i0.ɵɵnextContext();
14299
14274
  i0.ɵɵadvance(2);
14300
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 4, ctx_r1.caseField));
14275
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 5, ctx_r0.caseField));
14301
14276
  i0.ɵɵadvance(2);
14302
- i0.ɵɵproperty("ngIf", !ctx_r1.isExpanded);
14277
+ i0.ɵɵproperty("ngIf", ctx_r0.caseField.hint_text);
14278
+ i0.ɵɵadvance();
14279
+ i0.ɵɵproperty("ngIf", !ctx_r0.isExpanded);
14303
14280
  i0.ɵɵadvance();
14304
- i0.ɵɵproperty("ngIf", ctx_r1.addressOptions);
14281
+ i0.ɵɵproperty("ngIf", ctx_r0.addressOptions);
14305
14282
  i0.ɵɵadvance();
14306
- i0.ɵɵproperty("ngIf", !ctx_r1.shouldShowDetailFields());
14283
+ i0.ɵɵproperty("ngIf", !ctx_r0.shouldShowDetailFields());
14307
14284
  } }
14308
14285
  class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
14309
14286
  isCompoundPipe;
@@ -14437,9 +14414,9 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
14437
14414
  let _t;
14438
14415
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
14439
14416
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.focusElementDirectives = _t);
14440
- } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 4, vars: 9, consts: [["writeComplexFieldComponent", ""], [1, "form-group", 3, "id"], [4, "ngIf"], [3, "hidden", "caseField", "renderLabel", "parent", "formGroup", "ignoreMandatory", "idPrefix"], [1, "heading-h2"], ["class", "form-group bottom-30 postcodeLookup", 3, "id", "ngClass", 4, "ngIf"], ["class", "form-group", "id", "selectAddress", 3, "ngClass", 4, "ngIf"], ["class", "manual-link bottom-30", "href", "#", 3, "click", 4, "ngIf"], [1, "form-group", "bottom-30", "postcodeLookup", 3, "id", "ngClass"], [3, "for"], [1, "form-label"], ["class", "error-message", 4, "ngIf"], ["type", "text", "name", "postcode", 1, "form-control", "postcodeinput", "inline-block", 3, "ngClass", "id", "formControl"], ["type", "button", 1, "button", "button-30", 3, "click", "disabled"], [1, "error-message"], ["id", "selectAddress", 1, "form-group", 3, "ngClass"], ["name", "address", "focusElement", "", 1, "form-control", "ccd-dropdown", "addressList", 3, "change", "id", "formControl"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], [3, "ngValue"], ["href", "#", 1, "manual-link", "bottom-30", 3, "click"]], template: function WriteAddressFieldComponent_Template(rf, ctx) { if (rf & 1) {
14417
+ } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 4, vars: 9, consts: [["writeComplexFieldComponent", ""], [1, "form-group", 3, "id"], [4, "ngIf"], [3, "hidden", "caseField", "renderLabel", "parent", "formGroup", "ignoreMandatory", "idPrefix"], [1, "heading-h2"], ["class", "form-hint", 4, "ngIf"], ["class", "form-group bottom-30 postcodeLookup", 3, "id", "ngClass", 4, "ngIf"], ["class", "form-group", "id", "selectAddress", 3, "ngClass", 4, "ngIf"], ["class", "manual-link bottom-30", "href", "#", 3, "click", 4, "ngIf"], [1, "form-hint"], [3, "content"], [1, "form-group", "bottom-30", "postcodeLookup", 3, "id", "ngClass"], [3, "for"], [1, "form-label"], ["class", "error-message", 4, "ngIf"], ["type", "text", "name", "postcode", 1, "form-control", "postcodeinput", "inline-block", 3, "ngClass", "id", "formControl"], ["type", "button", 1, "button", "button-30", 3, "click", "disabled"], [1, "error-message"], ["id", "selectAddress", 1, "form-group", 3, "ngClass"], ["name", "address", "focusElement", "", 1, "form-control", "ccd-dropdown", "addressList", 3, "change", "id", "formControl"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], [3, "ngValue"], ["href", "#", 1, "manual-link", "bottom-30", 3, "click"]], template: function WriteAddressFieldComponent_Template(rf, ctx) { if (rf & 1) {
14441
14418
  i0.ɵɵelementStart(0, "div", 1);
14442
- i0.ɵɵtemplate(1, WriteAddressFieldComponent_div_1_Template, 7, 6, "div", 2);
14419
+ i0.ɵɵtemplate(1, WriteAddressFieldComponent_div_1_Template, 8, 7, "div", 2);
14443
14420
  i0.ɵɵelement(2, "ccd-write-complex-type-field", 3, 0);
14444
14421
  i0.ɵɵelementEnd();
14445
14422
  } if (rf & 2) {
@@ -14452,7 +14429,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
14452
14429
  }
14453
14430
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteAddressFieldComponent, [{
14454
14431
  type: Component,
14455
- args: [{ selector: 'ccd-write-address-field', standalone: false, template: "<div class=\"form-group\" [id]=\"id()\">\n <div *ngIf=\"!isComplexWithHiddenFields()\">\n <h2 class=\"heading-h2\">{{caseField | ccdFieldLabel}}</h2>\n\n <div class=\"form-group bottom-30 postcodeLookup\" [id]=\"createElementId('postcodeLookup')\" [ngClass]=\"{'form-group-error': missingPostcode}\" *ngIf=\"!isExpanded\">\n <label [for]=\"createElementId('postcodeInput')\">\n <span class=\"form-label\">{{'Enter a UK postcode' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"missingPostcode\">{{errorMessage | rpxTranslate}}</span>\n <input type=\"text\" [ngClass]=\"{'govuk-input--error': missingPostcode}\"\n [id]=\"createElementId('postcodeInput')\" name=\"postcode\" class=\"form-control postcodeinput inline-block\" [formControl]=\"postcode\">\n <button type=\"button\" class=\"button button-30\" (click)=\"findAddress()\" [disabled]=\"loadingAddresses\">\n {{(loadingAddresses ? 'Finding addresses...' : 'Find address') | rpxTranslate}}\n </button>\n </div>\n\n <div class=\"form-group\" *ngIf=\"addressOptions\" id=\"selectAddress\" [ngClass]=\"{'form-group-error': noAddressSelected}\">\n <label [for]=\"createElementId('addressList')\">\n <span class=\"form-label\">{{'Select an address' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"noAddressSelected\">{{errorMessage | rpxTranslate}}</span>\n <select class=\"form-control ccd-dropdown addressList\" [id]=\"createElementId('addressList')\" name=\"address\" [formControl]=\"addressList\" (change)=\"addressSelected()\" focusElement>\n <option *ngIf=\"addressOptions.length === 0\" [ngValue]=\"undefined\">\n {{'No address found' | rpxTranslate}}\n </option>\n <option *ngIf=\"addressOptions.length > 0\" [ngValue]=\"undefined\">\n {{addressOptions.length}} {{(addressOptions.length === 1 ? 'address found' : 'addresses found') | rpxTranslate}}\n </option>\n <option *ngFor=\"let addressOption of addressOptions\" [ngValue]=\"addressOption.value\">\n {{addressOption.description}}\n </option>\n </select>\n </div>\n\n <a class=\"manual-link bottom-30\" *ngIf=\"!shouldShowDetailFields()\" (click)=\"blankAddress(); $event.preventDefault()\" href=\"#\">\n {{\"I can't enter a UK postcode\" | rpxTranslate}}\n </a>\n </div>\n\n <ccd-write-complex-type-field\n [hidden]=\"!shouldShowDetailFields()\"\n [caseField]=\"caseField\"\n [renderLabel]=\"false\"\n [parent]=\"parent\"\n [formGroup]=\"formGroup\"\n [ignoreMandatory]=\"true\"\n [idPrefix]=\"buildIdPrefix('detail')\"\n #writeComplexFieldComponent>\n </ccd-write-complex-type-field>\n</div>\n", styles: [".manual-link{cursor:pointer;display:block;text-decoration:underline}\n"] }]
14432
+ args: [{ selector: 'ccd-write-address-field', standalone: false, template: "<div class=\"form-group\" [id]=\"id()\">\n <div *ngIf=\"!isComplexWithHiddenFields()\">\n <h2 class=\"heading-h2\">{{caseField | ccdFieldLabel}}</h2>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n <ccd-markdown [content]=\"caseField.hint_text | rpxTranslate\"></ccd-markdown>\n </span>\n\n <div class=\"form-group bottom-30 postcodeLookup\" [id]=\"createElementId('postcodeLookup')\" [ngClass]=\"{'form-group-error': missingPostcode}\" *ngIf=\"!isExpanded\">\n <label [for]=\"createElementId('postcodeInput')\">\n <span class=\"form-label\">{{'Enter a UK postcode' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"missingPostcode\">{{errorMessage | rpxTranslate}}</span>\n <input type=\"text\" [ngClass]=\"{'govuk-input--error': missingPostcode}\"\n [id]=\"createElementId('postcodeInput')\" name=\"postcode\" class=\"form-control postcodeinput inline-block\" [formControl]=\"postcode\">\n <button type=\"button\" class=\"button button-30\" (click)=\"findAddress()\" [disabled]=\"loadingAddresses\">\n {{(loadingAddresses ? 'Finding addresses...' : 'Find address') | rpxTranslate}}\n </button>\n </div>\n\n <div class=\"form-group\" *ngIf=\"addressOptions\" id=\"selectAddress\" [ngClass]=\"{'form-group-error': noAddressSelected}\">\n <label [for]=\"createElementId('addressList')\">\n <span class=\"form-label\">{{'Select an address' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"noAddressSelected\">{{errorMessage | rpxTranslate}}</span>\n <select class=\"form-control ccd-dropdown addressList\" [id]=\"createElementId('addressList')\" name=\"address\" [formControl]=\"addressList\" (change)=\"addressSelected()\" focusElement>\n <option *ngIf=\"addressOptions.length === 0\" [ngValue]=\"undefined\">\n {{'No address found' | rpxTranslate}}\n </option>\n <option *ngIf=\"addressOptions.length > 0\" [ngValue]=\"undefined\">\n {{addressOptions.length}} {{(addressOptions.length === 1 ? 'address found' : 'addresses found') | rpxTranslate}}\n </option>\n <option *ngFor=\"let addressOption of addressOptions\" [ngValue]=\"addressOption.value\">\n {{addressOption.description}}\n </option>\n </select>\n </div>\n\n <a class=\"manual-link bottom-30\" *ngIf=\"!shouldShowDetailFields()\" (click)=\"blankAddress(); $event.preventDefault()\" href=\"#\">\n {{\"I can't enter a UK postcode\" | rpxTranslate}}\n </a>\n </div>\n\n <ccd-write-complex-type-field\n [hidden]=\"!shouldShowDetailFields()\"\n [caseField]=\"caseField\"\n [renderLabel]=\"false\"\n [parent]=\"parent\"\n [formGroup]=\"formGroup\"\n [ignoreMandatory]=\"true\"\n [idPrefix]=\"buildIdPrefix('detail')\"\n #writeComplexFieldComponent>\n </ccd-write-complex-type-field>\n</div>\n", styles: [".manual-link{cursor:pointer;display:block;text-decoration:underline}\n"] }]
14456
14433
  }], () => [{ type: AddressesService }, { type: IsCompoundPipe }], { writeComplexFieldComponent: [{
14457
14434
  type: ViewChild,
14458
14435
  args: ['writeComplexFieldComponent', { static: false }]
@@ -16972,6 +16949,7 @@ function ReadDocumentFieldComponent_button_0_Template(rf, ctx) { if (rf & 1) {
16972
16949
  i0.ɵɵadvance();
16973
16950
  i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.value.document_filename, "\n");
16974
16951
  } }
16952
+ const MEDIA_VIEWER_INFO = 'media-viewer-info';
16975
16953
  class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
16976
16954
  windowService;
16977
16955
  documentManagement;
@@ -17016,8 +16994,10 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
17016
16994
  return;
17017
16995
  }
17018
16996
  const token = FieldsUtils.createToken();
16997
+ const storageKey = `${MEDIA_VIEWER_INFO}:${token}`;
17019
16998
  const payload = this.documentManagement.getMediaViewerInfo(documentFieldValue);
17020
- this.windowService.openOnNewTabWithMessage(this.getMediaViewerUrl(token), payload, token);
16999
+ this.windowService.setLocalStorage(storageKey, payload);
17000
+ this.windowService.openOnNewTab(this.getMediaViewerUrl(token));
17021
17001
  }
17022
17002
  getMediaViewerUrl(token) {
17023
17003
  const routerMediaViewer = this.router.createUrlTree(['/media-viewer'], { queryParams: { mvToken: token } });
@@ -17039,7 +17019,7 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
17039
17019
  type: Component,
17040
17020
  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" }]
17041
17021
  }], () => [{ type: WindowService }, { type: DocumentManagementService }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: CasesService }], null); })();
17042
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 15 }); })();
17022
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 17 }); })();
17043
17023
 
17044
17024
  class DocumentDialogComponent {
17045
17025
  matDialogRef;
@@ -30417,6 +30397,7 @@ function CaseFileViewFolderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
30417
30397
  i0.ɵɵadvance(2);
30418
30398
  i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r2.nestedChildren);
30419
30399
  } }
30400
+ const MEDIA_VIEWER_LOCALSTORAGE_KEY = 'media-viewer-info';
30420
30401
  class CaseFileViewFolderComponent {
30421
30402
  windowService;
30422
30403
  router;
@@ -30586,14 +30567,16 @@ class CaseFileViewFolderComponent {
30586
30567
  }
30587
30568
  }
30588
30569
  const token = FieldsUtils.createToken();
30570
+ const storageKey = `${MEDIA_VIEWER_LOCALSTORAGE_KEY}:${token}`;
30589
30571
  const payload = this.documentManagementService.getMediaViewerInfo({
30590
30572
  document_binary_url: documentTreeNode.document_binary_url,
30591
30573
  document_filename: documentTreeNode.document_filename,
30592
30574
  content_type: documentTreeNode.content_type
30593
30575
  });
30576
+ this.windowService.setLocalStorage(storageKey, payload);
30594
30577
  const mediaViewerUrl = this.router.createUrlTree(['/media-viewer'], { queryParams: { mvToken: token } })?.toString();
30595
30578
  if (mediaViewerUrl) {
30596
- this.windowService.openOnNewTabWithMessage(mediaViewerUrl, payload, token);
30579
+ this.windowService.openOnNewTab(mediaViewerUrl);
30597
30580
  }
30598
30581
  break;
30599
30582
  case ('download'):
@@ -30708,7 +30691,7 @@ class CaseFileViewFolderComponent {
30708
30691
  }], moveDocument: [{
30709
30692
  type: Output
30710
30693
  }] }); })();
30711
- (() => { (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 }); })();
30694
+ (() => { (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 }); })();
30712
30695
 
30713
30696
  const _c0$u = a0 => ({ "form-group-error": a0 });
30714
30697
  function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
@@ -36954,7 +36937,7 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
36954
36937
  // Components for linked cases
36955
36938
  LinkedCasesToTableComponent,
36956
36939
  LinkedCasesFromTableComponent]; }, []);
36957
- i0.ɵɵsetComponentScope(WriteAddressFieldComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.DefaultValueAccessor, i4.SelectControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormControlDirective, i4.FormGroupDirective, WriteComplexFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
36940
+ i0.ɵɵsetComponentScope(WriteAddressFieldComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.DefaultValueAccessor, i4.SelectControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormControlDirective, i4.FormGroupDirective, MarkdownComponent, WriteComplexFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
36958
36941
  i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
36959
36942
  FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
36960
36943
  i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i1$4.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
@@ -38909,8 +38892,8 @@ function WorkbasketFiltersComponent_ng_container_39_Template(rf, ctx) { if (rf &
38909
38892
  i0.ɵɵadvance(2);
38910
38893
  i0.ɵɵproperty("ngForOf", ctx_r4.workbasketInputs);
38911
38894
  } }
38912
- const FORM_GROUP_VAL_SES_STORAGE = 'workbasket-filter-form-group-value';
38913
- const SAVED_QUERY_PARAM_SES_STORAGE = 'savedQueryParams';
38895
+ const FORM_GROUP_VAL_LOC_STORAGE = 'workbasket-filter-form-group-value';
38896
+ const SAVED_QUERY_PARAM_LOC_STORAGE = 'savedQueryParams';
38914
38897
  const REGION_LIST_AND_FRC_FILTER = 'regionList';
38915
38898
  class WorkbasketFiltersComponent {
38916
38899
  route;
@@ -39004,8 +38987,7 @@ class WorkbasketFiltersComponent {
39004
38987
  this.alertService.setPreserveAlerts(!this.initialised);
39005
38988
  }
39006
38989
  if (Object.keys(this.formGroup.controls).length === 0) {
39007
- const storedFormGroup = safeJsonParse(this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE), null);
39008
- this.selected.formGroup = storedFormGroup && Object.keys(storedFormGroup).length > 0 ? storedFormGroup : null;
38990
+ this.selected.formGroup = JSON.parse(localStorage.getItem(FORM_GROUP_VAL_LOC_STORAGE));
39009
38991
  }
39010
38992
  else {
39011
38993
  // Update form group filters
@@ -39016,14 +38998,14 @@ class WorkbasketFiltersComponent {
39016
38998
  this.selected.page = 1;
39017
38999
  this.selected.metadataFields = this.getMetadataFields();
39018
39000
  if (init) {
39019
- this.windowService.setSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE, JSON.stringify(queryParams));
39001
+ this.windowService.setLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE, JSON.stringify(queryParams));
39020
39002
  if (Object.keys(this.formGroup.controls).length > 0) {
39021
39003
  // Find all "special case" JudicialUser FormControl keys and remove the corresponding values from the
39022
39004
  // FormGroup value because these values are not intended to be stored and subsequently passed as query string
39023
39005
  // parameters when calling searchCases API endpoint
39024
39006
  const judicialUserControlValuesToRemove = Object.keys(this.formGroup.controls).filter((key) => key.endsWith('_judicialUserControl'));
39025
39007
  judicialUserControlValuesToRemove.forEach((controlKey) => delete this.formGroup.value[controlKey]);
39026
- this.windowService.setSessionStorage(FORM_GROUP_VAL_SES_STORAGE, JSON.stringify(this.formGroup.value));
39008
+ this.windowService.setLocalStorage(FORM_GROUP_VAL_LOC_STORAGE, JSON.stringify(this.formGroup.value));
39027
39009
  }
39028
39010
  }
39029
39011
  // Announce selected jurisdiction via JurisdictionService
@@ -39037,8 +39019,8 @@ class WorkbasketFiltersComponent {
39037
39019
  this.setFocusToTop();
39038
39020
  }
39039
39021
  reset() {
39040
- this.windowService.removeSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
39041
- this.windowService.removeSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE);
39022
+ this.windowService.removeLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
39023
+ this.windowService.removeLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
39042
39024
  setTimeout(() => {
39043
39025
  this.resetFieldsWhenNoDefaults();
39044
39026
  this.onReset.emit(true);
@@ -39089,7 +39071,7 @@ class WorkbasketFiltersComponent {
39089
39071
  this.workbasketInputsReady = true;
39090
39072
  this.workbasketInputs = workbasketInputs
39091
39073
  .sort(this.orderService.sortAsc);
39092
- const formValue = this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
39074
+ const formValue = this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
39093
39075
  workbasketInputs.forEach(item => {
39094
39076
  if (item.field.elementPath) {
39095
39077
  item.field.id = `${item.field.id}.${item.field.elementPath}`;
@@ -39129,18 +39111,18 @@ class WorkbasketFiltersComponent {
39129
39111
  * in future to incorporate other dynamic filters.
39130
39112
  */
39131
39113
  updateFormGroupFilters() {
39132
- // Read the form group from session storage
39133
- const formGroupSessionStorage = safeJsonParse(this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE), null);
39134
- // Form group session storage is available and contains regionList property
39135
- if (!!formGroupSessionStorage && formGroupSessionStorage.hasOwnProperty(REGION_LIST_AND_FRC_FILTER)) {
39114
+ // Read the form group local storage
39115
+ const formGroupLS = JSON.parse(this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE));
39116
+ // Form group local storage is available and contains regionList property
39117
+ if (!!formGroupLS && formGroupLS.hasOwnProperty(REGION_LIST_AND_FRC_FILTER)) {
39136
39118
  if (this.formGroup.get(REGION_LIST_AND_FRC_FILTER)) {
39137
- // If regionList value does not match between session storage and form group
39119
+ // If regionList value does not match between local storage and form group
39138
39120
  // then the filter value has been changed and we need to clear the old filter values
39139
- if (formGroupSessionStorage[REGION_LIST_AND_FRC_FILTER] !== this.formGroup.get(REGION_LIST_AND_FRC_FILTER).value) {
39140
- for (const key in formGroupSessionStorage) {
39141
- if (formGroupSessionStorage.hasOwnProperty(key)) {
39142
- const value = formGroupSessionStorage[key];
39143
- // Clear the filter form group control values if it has a value in session storage
39121
+ if (formGroupLS[REGION_LIST_AND_FRC_FILTER] !== this.formGroup.get(REGION_LIST_AND_FRC_FILTER).value) {
39122
+ for (const key in formGroupLS) {
39123
+ if (formGroupLS.hasOwnProperty(key)) {
39124
+ const value = formGroupLS[key];
39125
+ // Clear the filter form group control values if it has a value in local storage
39144
39126
  // The regionList form group control value should be ignored as it always contain the latest value
39145
39127
  if (key !== REGION_LIST_AND_FRC_FILTER && value !== null) {
39146
39128
  this.formGroup.get(key).setValue(null);
@@ -39159,7 +39141,7 @@ class WorkbasketFiltersComponent {
39159
39141
  * Query parameters, when available, take precedence over workbasket defaults.
39160
39142
  */
39161
39143
  initFilters(init) {
39162
- const savedQueryParams = this.windowService.getSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE);
39144
+ const savedQueryParams = this.windowService.getLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
39163
39145
  const routeSnapshot = this.route.snapshot;
39164
39146
  if (savedQueryParams) {
39165
39147
  routeSnapshot.queryParams = JSON.parse(savedQueryParams);
@@ -39220,7 +39202,7 @@ class WorkbasketFiltersComponent {
39220
39202
  this.workbasketInputs = [];
39221
39203
  }
39222
39204
  clearStoredWorkbasketFilterValues() {
39223
- this.windowService.removeSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
39205
+ this.windowService.removeLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
39224
39206
  }
39225
39207
  resetCaseState() {
39226
39208
  this.defaults.state_id = null;
@@ -39364,7 +39346,7 @@ class WorkbasketFiltersComponent {
39364
39346
  }], onReset: [{
39365
39347
  type: Output
39366
39348
  }] }); })();
39367
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 29 }); })();
39349
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 28 }); })();
39368
39350
 
39369
39351
  class WorkbasketFiltersModule {
39370
39352
  static ɵfac = function WorkbasketFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersModule)(); };
@@ -44701,10 +44683,10 @@ function SearchFiltersComponent_ng_container_16_Template(rf, ctx) { if (rf & 1)
44701
44683
  i0.ɵɵadvance(2);
44702
44684
  i0.ɵɵproperty("ngForOf", ctx_r3.searchInputs);
44703
44685
  } }
44704
- const JURISDICTION_SES_STORAGE = 'search-jurisdiction';
44705
- const META_FIELDS_SES_STORAGE = 'search-metadata-fields';
44706
- const FORM_GROUP_VALUE_SES_STORAGE = 'search-form-group-value';
44707
- const CASE_TYPE_SES_STORAGE = 'search-caseType';
44686
+ const JURISDICTION_LOC_STORAGE = 'search-jurisdiction';
44687
+ const META_FIELDS_LOC_STORAGE = 'search-metadata-fields';
44688
+ const FORM_GROUP_VALUE_LOC_STORAGE = 'search-form-group-value';
44689
+ const CASE_TYPE_LOC_STORAGE = 'search-caseType';
44708
44690
  class SearchFiltersComponent {
44709
44691
  searchService;
44710
44692
  orderService;
@@ -44733,7 +44715,7 @@ class SearchFiltersComponent {
44733
44715
  this.selected = {};
44734
44716
  }
44735
44717
  ngOnInit() {
44736
- const jurisdiction = this.getValuesFromSessionStorage();
44718
+ const jurisdiction = this.getValuesFromLocalStorage();
44737
44719
  if (this.jurisdictions.length === 1 || jurisdiction) {
44738
44720
  this.selected.jurisdiction = this.jurisdictions[0];
44739
44721
  if (jurisdiction) {
@@ -44760,10 +44742,10 @@ class SearchFiltersComponent {
44760
44742
  });
44761
44743
  }
44762
44744
  reset() {
44763
- this.windowService.removeSessionStorage(FORM_GROUP_VALUE_SES_STORAGE);
44764
- this.windowService.removeSessionStorage(CASE_TYPE_SES_STORAGE);
44765
- this.windowService.removeSessionStorage(JURISDICTION_SES_STORAGE);
44766
- this.windowService.removeSessionStorage(META_FIELDS_SES_STORAGE);
44745
+ this.windowService.removeLocalStorage(FORM_GROUP_VALUE_LOC_STORAGE);
44746
+ this.windowService.removeLocalStorage(CASE_TYPE_LOC_STORAGE);
44747
+ this.windowService.removeLocalStorage(JURISDICTION_LOC_STORAGE);
44748
+ this.windowService.removeLocalStorage(META_FIELDS_LOC_STORAGE);
44767
44749
  this.selected = {};
44768
44750
  if (this.jurisdictions.length === 1) {
44769
44751
  this.selected.jurisdiction = this.jurisdictions[0];
@@ -44775,39 +44757,39 @@ class SearchFiltersComponent {
44775
44757
  this.selected.formGroup = this.formGroup;
44776
44758
  this.selected.page = 1;
44777
44759
  this.selected.metadataFields = this.getMetadataFields();
44778
- this.populateValuesInSessionStorage();
44760
+ this.populateValuesInLocalStorage();
44779
44761
  this.onApply.emit({
44780
44762
  selected: this.selected,
44781
44763
  queryParams: this.getQueryParams()
44782
44764
  });
44783
44765
  this.setFocusToTop();
44784
44766
  }
44785
- populateValuesInSessionStorage() {
44786
- this.windowService.setSessionStorage(FORM_GROUP_VALUE_SES_STORAGE, JSON.stringify(this.selected.formGroup.value));
44787
- this.windowService.setSessionStorage(META_FIELDS_SES_STORAGE, JSON.stringify(this.selected.metadataFields));
44767
+ populateValuesInLocalStorage() {
44768
+ this.windowService.setLocalStorage(FORM_GROUP_VALUE_LOC_STORAGE, JSON.stringify(this.selected.formGroup.value));
44769
+ this.windowService.setLocalStorage(META_FIELDS_LOC_STORAGE, JSON.stringify(this.selected.metadataFields));
44788
44770
  try {
44789
44771
  const compJurisd = compressToUTF16(JSON.stringify(this.selected.jurisdiction));
44790
- this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, compJurisd);
44772
+ this.windowService.setLocalStorage(JURISDICTION_LOC_STORAGE, compJurisd);
44791
44773
  }
44792
44774
  catch (e) {
44793
- this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, null);
44775
+ this.windowService.setLocalStorage(JURISDICTION_LOC_STORAGE, null);
44794
44776
  }
44795
44777
  if (this.selected.caseType) {
44796
- this.windowService.setSessionStorage(CASE_TYPE_SES_STORAGE, JSON.stringify(this.selected.caseType));
44778
+ this.windowService.setLocalStorage(CASE_TYPE_LOC_STORAGE, JSON.stringify(this.selected.caseType));
44797
44779
  }
44798
44780
  }
44799
- getValuesFromSessionStorage() {
44800
- const jurisdiction = this.windowService.getSessionStorage(JURISDICTION_SES_STORAGE);
44781
+ getValuesFromLocalStorage() {
44782
+ const jurisdiction = this.windowService.getLocalStorage(JURISDICTION_LOC_STORAGE);
44801
44783
  if (jurisdiction) {
44802
44784
  try {
44803
- const sessionStorageJurisdiction = JSON.parse(decompressFromUTF16(jurisdiction));
44804
- if (sessionStorageJurisdiction) {
44805
- return sessionStorageJurisdiction;
44785
+ const localStorageJurisdiction = JSON.parse(decompressFromUTF16(jurisdiction));
44786
+ if (localStorageJurisdiction) {
44787
+ return localStorageJurisdiction;
44806
44788
  }
44807
44789
  }
44808
44790
  catch (e) {
44809
- this.logger.error('Failed to retrieve jurisdiction from session storage.', { error: e });
44810
- this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, null);
44791
+ this.logger.error('Failed to retrieve jurisdiction from local storage.', { error: e });
44792
+ this.windowService.setLocalStorage(JURISDICTION_LOC_STORAGE, null);
44811
44793
  }
44812
44794
  }
44813
44795
  return null;
@@ -44845,7 +44827,7 @@ class SearchFiltersComponent {
44845
44827
  this.searchInputs = [];
44846
44828
  this.searchService.getSearchInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(tap(() => this.searchInputsReady = true)).subscribe(searchInputs => {
44847
44829
  this.searchInputs = searchInputs.sort(this.orderService.sortAsc);
44848
- const formValue = this.windowService.getSessionStorage(FORM_GROUP_VALUE_SES_STORAGE);
44830
+ const formValue = this.windowService.getLocalStorage(FORM_GROUP_VALUE_LOC_STORAGE);
44849
44831
  let formValueObject = null;
44850
44832
  if (formValue) {
44851
44833
  formValueObject = JSON.parse(formValue);
@@ -44883,7 +44865,7 @@ class SearchFiltersComponent {
44883
44865
  selectCaseType(caseTypes) {
44884
44866
  if (caseTypes && caseTypes.length > 0) {
44885
44867
  this.selected.caseType = caseTypes[0];
44886
- const caseType = this.windowService.getSessionStorage(CASE_TYPE_SES_STORAGE);
44868
+ const caseType = this.windowService.getLocalStorage(CASE_TYPE_LOC_STORAGE);
44887
44869
  if (caseType) {
44888
44870
  const caseTypeObject = JSON.parse(caseType);
44889
44871
  const result = caseTypes.filter(c => c.id === caseTypeObject.id);
@@ -46213,5 +46195,5 @@ class TestRouteSnapshotBuilder {
46213
46195
  * Generated bundle index. Do not edit.
46214
46196
  */
46215
46197
 
46216
- 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, 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 };
46198
+ 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, 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 };
46217
46199
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map