@hmcts/rpx-xui-common-lib 2.0.16-pre-release-accessibility-page-reference-link → 2.0.17-node-store-caseworkers

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.
@@ -2265,28 +2265,6 @@ RefDataService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: RefDataSe
2265
2265
  * Public API Surface of exui-common-lib
2266
2266
  */
2267
2267
 
2268
- const getAllCaseworkersFromServices = (caseworkersByService) => {
2269
- let allCaseworkers = [];
2270
- caseworkersByService.forEach(caseworkerListByService => {
2271
- allCaseworkers = allCaseworkers.concat(caseworkerListByService.caseworkers);
2272
- });
2273
- return allCaseworkers;
2274
- };
2275
- const getSessionStorageKeyForServiceId = (serviceId) => {
2276
- return `${serviceId}-caseworkers`;
2277
- };
2278
- const getCaseworkers = (serviceId, sessionStorageService) => {
2279
- const sessionKey = getSessionStorageKeyForServiceId(serviceId);
2280
- const value = sessionStorageService.getItem(sessionKey);
2281
- if (value) {
2282
- return JSON.parse(value);
2283
- }
2284
- };
2285
- const setCaseworkers = (serviceId, caseworkers, sessionStorageService) => {
2286
- const sessionKey = getSessionStorageKeyForServiceId(serviceId);
2287
- sessionStorageService.setItem(sessionKey, JSON.stringify(caseworkers));
2288
- };
2289
-
2290
2268
  class SessionStorageService {
2291
2269
  /**
2292
2270
  * Get an item from the session storage.
@@ -2354,35 +2332,8 @@ class FindAPersonService {
2354
2332
  }
2355
2333
  this.assignedUser = searchOptions.assignedUser ? searchOptions.assignedUser : null;
2356
2334
  const fullServices = searchOptions.services;
2357
- const storedServices = [];
2358
- const newServices = [];
2359
- const storedCaseworkersByService = [];
2360
- fullServices.forEach(serviceId => {
2361
- const serviceKey = getSessionStorageKeyForServiceId(serviceId);
2362
- if (this.sessionStorageService.getItem(serviceKey)) {
2363
- storedServices.push(serviceId);
2364
- storedCaseworkersByService.push({ service: serviceId, caseworkers: JSON.parse(this.sessionStorageService.getItem(serviceKey)) });
2365
- }
2366
- else {
2367
- newServices.push(serviceId);
2368
- }
2369
- });
2370
- // if all services are stored then return the stored caseworkers by service
2371
- if (storedServices.length === fullServices.length) {
2372
- const storedCaseworkers = getAllCaseworkersFromServices(storedCaseworkersByService);
2373
- return of$1(this.searchInCaseworkers(storedCaseworkers, searchOptions));
2374
- }
2375
- // all serviceIds passed in as node layer getting used anyway and caseworkers also stored there
2376
- return this.http.post('/workallocation/retrieveCaseWorkersForServices', { fullServices }).pipe(tap(caseworkersByService => {
2377
- caseworkersByService.forEach(caseworkerListByService => {
2378
- // for any new service, ensure that they are then stored in the session
2379
- if (newServices.includes(caseworkerListByService.service)) {
2380
- setCaseworkers(caseworkerListByService.service, caseworkerListByService.caseworkers, this.sessionStorageService);
2381
- }
2382
- });
2383
- }), map(caseworkersByService => {
2384
- const givenCaseworkers = getAllCaseworkersFromServices(caseworkersByService);
2385
- return this.searchInCaseworkers(givenCaseworkers, searchOptions);
2335
+ return this.http.post('/workallocation/caseworker/getUsersByServiceName', { services: fullServices, term: searchOptions.searchTerm }).pipe(map(caseworkers => {
2336
+ return this.searchInCaseworkers(caseworkers, searchOptions);
2386
2337
  }));
2387
2338
  }
2388
2339
  mapCaseworkers(caseworkers, roleCategory) {
@@ -2414,11 +2365,9 @@ class FindAPersonService {
2414
2365
  roleCategory = RoleCategory.CTSC;
2415
2366
  }
2416
2367
  }
2417
- const searchTerm = searchOptions && searchOptions.searchTerm ? searchOptions.searchTerm.toLowerCase() : '';
2418
2368
  const people = caseworkers ? this.mapCaseworkers(caseworkers, roleCategory) : [];
2419
- const finalPeopleList = people.filter(person => person && person.name && person.name.toLowerCase().includes(searchTerm));
2420
- return searchOptions.userIncluded ? finalPeopleList.filter(person => person && person.id !== this.assignedUser)
2421
- : finalPeopleList.filter(person => person && person.id !== this.userId && person.id !== this.assignedUser);
2369
+ return searchOptions.userIncluded ? people.filter(person => person && person.id !== this.assignedUser)
2370
+ : people.filter(person => person && person.id !== this.userId && person.id !== this.assignedUser);
2422
2371
  }
2423
2372
  searchJudicial(value, serviceId) {
2424
2373
  return this.http.post('api/prd/judicial/getJudicialUsersSearch', { searchString: value, serviceCode: serviceId });
@@ -2712,22 +2661,22 @@ LocationService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Location
2712
2661
  }], function () { return [{ type: i1$1.HttpClient }]; }, null);
2713
2662
  })();
2714
2663
 
2715
- function SearchLocationComponent_ng_container_4_ng_container_1_mat_option_1_Template(rf, ctx) {
2664
+ function SearchLocationComponent_ng_container_5_ng_container_1_mat_option_1_Template(rf, ctx) {
2716
2665
  if (rf & 1) {
2717
- const _r8 = i0.ɵɵgetCurrentView();
2718
- i0.ɵɵelementStart(0, "mat-option", 6);
2719
- i0.ɵɵlistener("onSelectionChange", function SearchLocationComponent_ng_container_4_ng_container_1_mat_option_1_Template_mat_option_onSelectionChange_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r8); const location_r6 = restoredCtx.$implicit; const ctx_r7 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r7.onSelectedLocation(location_r6)); });
2666
+ const _r9 = i0.ɵɵgetCurrentView();
2667
+ i0.ɵɵelementStart(0, "mat-option", 7);
2668
+ i0.ɵɵlistener("onSelectionChange", function SearchLocationComponent_ng_container_5_ng_container_1_mat_option_1_Template_mat_option_onSelectionChange_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r9); const location_r7 = restoredCtx.$implicit; const ctx_r8 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r8.onSelectedLocation(location_r7)); });
2720
2669
  i0.ɵɵtext(1);
2721
2670
  i0.ɵɵelementEnd();
2722
2671
  }
2723
2672
  if (rf & 2) {
2724
- const location_r6 = ctx.$implicit;
2725
- const ctx_r4 = i0.ɵɵnextContext(3);
2673
+ const location_r7 = ctx.$implicit;
2674
+ const ctx_r5 = i0.ɵɵnextContext(3);
2726
2675
  i0.ɵɵadvance(1);
2727
- i0.ɵɵtextInterpolate1(" ", location_r6[ctx_r4.propertyNameFilter], " ");
2676
+ i0.ɵɵtextInterpolate1(" ", location_r7[ctx_r5.propertyNameFilter], " ");
2728
2677
  }
2729
2678
  }
2730
- function SearchLocationComponent_ng_container_4_ng_container_1_mat_option_2_Template(rf, ctx) {
2679
+ function SearchLocationComponent_ng_container_5_ng_container_1_mat_option_2_Template(rf, ctx) {
2731
2680
  if (rf & 1) {
2732
2681
  i0.ɵɵelementStart(0, "mat-option");
2733
2682
  i0.ɵɵtext(1);
@@ -2739,31 +2688,31 @@ function SearchLocationComponent_ng_container_4_ng_container_1_mat_option_2_Temp
2739
2688
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "No results found"));
2740
2689
  }
2741
2690
  }
2742
- function SearchLocationComponent_ng_container_4_ng_container_1_Template(rf, ctx) {
2691
+ function SearchLocationComponent_ng_container_5_ng_container_1_Template(rf, ctx) {
2743
2692
  if (rf & 1) {
2744
2693
  i0.ɵɵelementContainerStart(0);
2745
- i0.ɵɵtemplate(1, SearchLocationComponent_ng_container_4_ng_container_1_mat_option_1_Template, 2, 1, "mat-option", 5);
2746
- i0.ɵɵtemplate(2, SearchLocationComponent_ng_container_4_ng_container_1_mat_option_2_Template, 3, 3, "mat-option", 4);
2694
+ i0.ɵɵtemplate(1, SearchLocationComponent_ng_container_5_ng_container_1_mat_option_1_Template, 2, 1, "mat-option", 6);
2695
+ i0.ɵɵtemplate(2, SearchLocationComponent_ng_container_5_ng_container_1_mat_option_2_Template, 3, 3, "mat-option", 5);
2747
2696
  i0.ɵɵelementContainerEnd();
2748
2697
  }
2749
2698
  if (rf & 2) {
2750
- const filteredList_r2 = i0.ɵɵnextContext().ngIf;
2699
+ const filteredList_r3 = i0.ɵɵnextContext().ngIf;
2751
2700
  i0.ɵɵadvance(1);
2752
- i0.ɵɵproperty("ngForOf", filteredList_r2);
2701
+ i0.ɵɵproperty("ngForOf", filteredList_r3);
2753
2702
  i0.ɵɵadvance(1);
2754
- i0.ɵɵproperty("ngIf", filteredList_r2.length === 0);
2703
+ i0.ɵɵproperty("ngIf", filteredList_r3.length === 0);
2755
2704
  }
2756
2705
  }
2757
- function SearchLocationComponent_ng_container_4_Template(rf, ctx) {
2706
+ function SearchLocationComponent_ng_container_5_Template(rf, ctx) {
2758
2707
  if (rf & 1) {
2759
2708
  i0.ɵɵelementContainerStart(0);
2760
- i0.ɵɵtemplate(1, SearchLocationComponent_ng_container_4_ng_container_1_Template, 3, 2, "ng-container", 4);
2709
+ i0.ɵɵtemplate(1, SearchLocationComponent_ng_container_5_ng_container_1_Template, 3, 2, "ng-container", 5);
2761
2710
  i0.ɵɵelementContainerEnd();
2762
2711
  }
2763
2712
  if (rf & 2) {
2764
- const filteredList_r2 = ctx.ngIf;
2713
+ const filteredList_r3 = ctx.ngIf;
2765
2714
  i0.ɵɵadvance(1);
2766
- i0.ɵɵproperty("ngIf", filteredList_r2 && filteredList_r2.length >= 0);
2715
+ i0.ɵɵproperty("ngIf", filteredList_r3 && filteredList_r3.length >= 0);
2767
2716
  }
2768
2717
  }
2769
2718
  class SearchLocationComponent {
@@ -2794,6 +2743,7 @@ class SearchLocationComponent {
2794
2743
  this.term = '';
2795
2744
  this.pReset = true;
2796
2745
  this.debounceTimeInput = 300;
2746
+ this.previousValue = '';
2797
2747
  }
2798
2748
  ngOnInit() {
2799
2749
  const searchInputChanges$ = this.searchTermFormControl.valueChanges
@@ -2861,32 +2811,62 @@ class SearchLocationComponent {
2861
2811
  }
2862
2812
  return locations.filter(location => !selectedLocations.map(selectedLocation => selectedLocation.epimms_id).includes(location.epimms_id) && location[this.propertyNameFilter]);
2863
2813
  }
2814
+ removeInvalidString(formInputValue) {
2815
+ if (!this.isCharacterValid(formInputValue)) {
2816
+ formInputValue.preventDefault();
2817
+ }
2818
+ }
2819
+ isCharacterValid(event) {
2820
+ let pressed = undefined;
2821
+ if (event.key !== undefined) {
2822
+ pressed = event.key;
2823
+ if (pressed.length > 1) {
2824
+ switch (pressed) {
2825
+ case 'Tab':
2826
+ return true;
2827
+ case 'ArrowRight':
2828
+ return true;
2829
+ case 'ArrowLeft':
2830
+ return true;
2831
+ case 'Backspace':
2832
+ return true;
2833
+ case 'Enter':
2834
+ return true;
2835
+ default: return false;
2836
+ }
2837
+ }
2838
+ }
2839
+ else if (event.keyCode !== undefined) {
2840
+ pressed = String.fromCharCode(event.keyCode);
2841
+ }
2842
+ return pressed && (/[a-zA-Z \s'-]/).test(pressed);
2843
+ }
2864
2844
  }
2865
2845
  SearchLocationComponent.allLocationAPI = `api/locations/getLocations`;
2866
2846
  SearchLocationComponent.ɵfac = function SearchLocationComponent_Factory(t) { return new (t || SearchLocationComponent)(i0.ɵɵdirectiveInject(LocationService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(RefDataService)); };
2867
- SearchLocationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchLocationComponent, selectors: [["exui-search-location"]], inputs: { form: "form", field: "field", disabled: "disabled", singleMode: "singleMode", locationType: "locationType", serviceIds: "serviceIds", submitted: "submitted", bookingCheck: "bookingCheck", selectedLocations: "selectedLocations", propertyNameFilter: "propertyNameFilter", delay: "delay", reset: "reset" }, outputs: { locationSelected: "locationSelected", locationTermSearchInputChanged: "locationTermSearchInputChanged", searchLocationChanged: "searchLocationChanged" }, decls: 6, vars: 6, consts: [[1, "auto-complete-container"], ["id", "inputLocationSearch", 1, "govuk-input", 3, "formControl", "matAutocomplete", "input"], ["autoActiveFirstOption", "", 1, "mat-autocomplete-panel-extend"], ["autoSearchLocation", "matAutocomplete"], [4, "ngIf"], [3, "onSelectionChange", 4, "ngFor", "ngForOf"], [3, "onSelectionChange"]], template: function SearchLocationComponent_Template(rf, ctx) {
2847
+ SearchLocationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchLocationComponent, selectors: [["exui-search-location"]], inputs: { form: "form", field: "field", disabled: "disabled", singleMode: "singleMode", locationType: "locationType", serviceIds: "serviceIds", submitted: "submitted", bookingCheck: "bookingCheck", selectedLocations: "selectedLocations", propertyNameFilter: "propertyNameFilter", delay: "delay", reset: "reset" }, outputs: { locationSelected: "locationSelected", locationTermSearchInputChanged: "locationTermSearchInputChanged", searchLocationChanged: "searchLocationChanged" }, decls: 7, vars: 6, consts: [[1, "auto-complete-container"], ["id", "inputLocationSearch", 1, "govuk-input", 3, "formControl", "matAutocomplete", "keydown", "input"], ["char", ""], ["autoActiveFirstOption", "", 1, "mat-autocomplete-panel-extend"], ["autoSearchLocation", "matAutocomplete"], [4, "ngIf"], [3, "onSelectionChange", 4, "ngFor", "ngForOf"], [3, "onSelectionChange"]], template: function SearchLocationComponent_Template(rf, ctx) {
2868
2848
  if (rf & 1) {
2869
- i0.ɵɵelementStart(0, "div", 0)(1, "input", 1);
2870
- i0.ɵɵlistener("input", function SearchLocationComponent_Template_input_input_1_listener() { return ctx.onInput(); });
2849
+ i0.ɵɵelementStart(0, "div", 0)(1, "input", 1, 2);
2850
+ i0.ɵɵlistener("keydown", function SearchLocationComponent_Template_input_keydown_1_listener($event) { return ctx.removeInvalidString($event); })("input", function SearchLocationComponent_Template_input_input_1_listener() { return ctx.onInput(); });
2871
2851
  i0.ɵɵelementEnd();
2872
- i0.ɵɵelementStart(2, "mat-autocomplete", 2, 3);
2873
- i0.ɵɵtemplate(4, SearchLocationComponent_ng_container_4_Template, 2, 1, "ng-container", 4);
2874
- i0.ɵɵpipe(5, "async");
2852
+ i0.ɵɵelementStart(3, "mat-autocomplete", 3, 4);
2853
+ i0.ɵɵtemplate(5, SearchLocationComponent_ng_container_5_Template, 2, 1, "ng-container", 5);
2854
+ i0.ɵɵpipe(6, "async");
2875
2855
  i0.ɵɵelementEnd()();
2876
2856
  }
2877
2857
  if (rf & 2) {
2878
- const _r0 = i0.ɵɵreference(3);
2858
+ const _r1 = i0.ɵɵreference(4);
2879
2859
  i0.ɵɵadvance(1);
2880
- i0.ɵɵproperty("formControl", ctx.searchTermFormControl)("matAutocomplete", _r0);
2860
+ i0.ɵɵproperty("formControl", ctx.searchTermFormControl)("matAutocomplete", _r1);
2881
2861
  i0.ɵɵattribute("disabled", ctx.disabled);
2882
- i0.ɵɵadvance(3);
2883
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 4, ctx.filteredList$));
2862
+ i0.ɵɵadvance(4);
2863
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 4, ctx.filteredList$));
2884
2864
  }
2885
2865
  }, dependencies: [i1.NgForOf, i1.NgIf, i2$4.DefaultValueAccessor, i2$4.NgControlStatus, i2$4.FormControlDirective, i4.MatLegacyAutocomplete, i4.MatLegacyAutocompleteTrigger, i5.MatLegacyOption, i1.AsyncPipe, i2.RpxTranslatePipe], styles: [".autocomplete__input--show-all-values[_ngcontent-%COMP%]{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down[_ngcontent-%COMP%]{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:calc(100% - 4px)}.autocomplete__menu--visible[_ngcontent-%COMP%]{display:block}.autocomplete__menu--hidden[_ngcontent-%COMP%]{display:none}.autocomplete__menu--overlay[_ngcontent-%COMP%]{box-shadow:#00000042 0 2px 6px;left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline[_ngcontent-%COMP%]{position:relative}.autocomplete__option[_ngcontent-%COMP%]{border-bottom:solid #b1b4b6;border-width:1px 0;cursor:pointer;display:block;position:relative}.autocomplete__option[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:none}.autocomplete__option[_ngcontent-%COMP%]:first-of-type{border-top-width:0}.autocomplete__option[_ngcontent-%COMP%]:last-of-type{border-bottom-width:0}.autocomplete__option--odd[_ngcontent-%COMP%]{background-color:#fafafa}.autocomplete__option--focused[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results[_ngcontent-%COMP%]{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__input[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{font-size:13px;line-height:1.25}.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{padding:5px}@media (min-width: 641px){.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__input[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{font-size:13px;line-height:1.31579}}.div-action[_ngcontent-%COMP%]{display:inline-block}.add-location[_ngcontent-%COMP%]{display:inline}.remove-location-button[_ngcontent-%COMP%]{margin:5px}.hide-autocomplete[_ngcontent-%COMP%]{display:none}.auto-complete-container[_ngcontent-%COMP%]{display:inline-block;margin-right:4px;width:calc(100% - 4px)}.autocomplete__input[_ngcontent-%COMP%]{line-height:24px;font-size:19px}"] });
2886
2866
  (function () {
2887
2867
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchLocationComponent, [{
2888
2868
  type: Component,
2889
- args: [{ selector: 'exui-search-location', template: "<div class=\"auto-complete-container\">\n <input\n id=\"inputLocationSearch\"\n (input)=\"onInput()\"\n [formControl]=\"searchTermFormControl\"\n [matAutocomplete]=\"autoSearchLocation\"\n class=\"govuk-input\"\n [attr.disabled]=\"disabled\">\n <mat-autocomplete class=\"mat-autocomplete-panel-extend\" autoActiveFirstOption #autoSearchLocation=\"matAutocomplete\">\n <ng-container *ngIf=\"filteredList$ | async as filteredList\">\n <ng-container *ngIf=\"filteredList && filteredList.length >= 0\">\n <mat-option *ngFor=\"let location of filteredList\" (onSelectionChange)=\"onSelectedLocation(location)\">\n {{ location[propertyNameFilter] }}\n </mat-option>\n <mat-option *ngIf=\"filteredList.length === 0\">{{'No results found' | rpxTranslate}}</mat-option>\n </ng-container>\n </ng-container>\n </mat-autocomplete>\n</div>\n", styles: [".autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{box-shadow:#00000042 0 2px 6px;left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:solid #b1b4b6;border-width:1px 0;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width: 641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.31579}}.div-action{display:inline-block}.add-location{display:inline}.remove-location-button{margin:5px}.hide-autocomplete{display:none}.auto-complete-container{display:inline-block;margin-right:4px;width:calc(100% - 4px)}.autocomplete__input{line-height:24px;font-size:19px}\n"] }]
2869
+ args: [{ selector: 'exui-search-location', template: "<div class=\"auto-complete-container\">\n <input\n id=\"inputLocationSearch\"\n #char\n (keydown)=\"removeInvalidString($event)\"\n (input)=\"onInput()\"\n [formControl]=\"searchTermFormControl\"\n [matAutocomplete]=\"autoSearchLocation\"\n class=\"govuk-input\"\n [attr.disabled]=\"disabled\">\n <mat-autocomplete class=\"mat-autocomplete-panel-extend\" autoActiveFirstOption #autoSearchLocation=\"matAutocomplete\">\n <ng-container *ngIf=\"filteredList$ | async as filteredList\">\n <ng-container *ngIf=\"filteredList && filteredList.length >= 0\">\n <mat-option *ngFor=\"let location of filteredList\" (onSelectionChange)=\"onSelectedLocation(location)\">\n {{ location[propertyNameFilter] }}\n </mat-option>\n <mat-option *ngIf=\"filteredList.length === 0\">{{'No results found' | rpxTranslate}}</mat-option>\n </ng-container>\n </ng-container>\n </mat-autocomplete>\n</div>\n", styles: [".autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{box-shadow:#00000042 0 2px 6px;left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:solid #b1b4b6;border-width:1px 0;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width: 641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.31579}}.div-action{display:inline-block}.add-location{display:inline}.remove-location-button{margin:5px}.hide-autocomplete{display:none}.auto-complete-container{display:inline-block;margin-right:4px;width:calc(100% - 4px)}.autocomplete__input{line-height:24px;font-size:19px}\n"] }]
2890
2870
  }], function () { return [{ type: LocationService }, { type: SessionStorageService }, { type: RefDataService }]; }, { form: [{
2891
2871
  type: Input
2892
2872
  }], field: [{
@@ -3498,17 +3478,22 @@ function FindServiceComponent_a_6_Template(rf, ctx) {
3498
3478
  i0.ɵɵlistener("click", function FindServiceComponent_a_6_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.addOption(ctx_r3.tempSelectedService)); });
3499
3479
  i0.ɵɵtext(1);
3500
3480
  i0.ɵɵpipe(2, "rpxTranslate");
3501
- i0.ɵɵelementEnd();
3481
+ i0.ɵɵelementStart(3, "span", 10);
3482
+ i0.ɵɵtext(4);
3483
+ i0.ɵɵpipe(5, "rpxTranslate");
3484
+ i0.ɵɵelementEnd()();
3502
3485
  }
3503
3486
  if (rf & 2) {
3504
3487
  i0.ɵɵadvance(1);
3505
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Add"), " ");
3488
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "Add"), " ");
3489
+ i0.ɵɵadvance(3);
3490
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "service"));
3506
3491
  }
3507
3492
  }
3508
3493
  function FindServiceComponent_ul_7_li_1_Template(rf, ctx) {
3509
3494
  if (rf & 1) {
3510
3495
  const _r8 = i0.ɵɵgetCurrentView();
3511
- i0.ɵɵelementStart(0, "li", 12)(1, "a", 13);
3496
+ i0.ɵɵelementStart(0, "li", 13)(1, "a", 14);
3512
3497
  i0.ɵɵlistener("click", function FindServiceComponent_ul_7_li_1_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r8); const selection_r6 = restoredCtx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.removeOption(selection_r6)); });
3513
3498
  i0.ɵɵtext(2);
3514
3499
  i0.ɵɵpipe(3, "rpxTranslate");
@@ -3522,8 +3507,8 @@ function FindServiceComponent_ul_7_li_1_Template(rf, ctx) {
3522
3507
  }
3523
3508
  function FindServiceComponent_ul_7_Template(rf, ctx) {
3524
3509
  if (rf & 1) {
3525
- i0.ɵɵelementStart(0, "ul", 10);
3526
- i0.ɵɵtemplate(1, FindServiceComponent_ul_7_li_1_Template, 4, 3, "li", 11);
3510
+ i0.ɵɵelementStart(0, "ul", 11);
3511
+ i0.ɵɵtemplate(1, FindServiceComponent_ul_7_li_1_Template, 4, 3, "li", 12);
3527
3512
  i0.ɵɵelementEnd();
3528
3513
  }
3529
3514
  if (rf & 2) {
@@ -3633,7 +3618,7 @@ FindServiceComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FindSe
3633
3618
  let _t;
3634
3619
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchServiceComponent = _t.first);
3635
3620
  }
3636
- }, inputs: { field: "field", serviceTitle: "serviceTitle", form: "form", disabled: "disabled", formSubmissionEvent$: "formSubmissionEvent$" }, outputs: { serviceFieldChanged: "serviceFieldChanged" }, decls: 8, vars: 6, consts: [[1, "service-picker-custom"], [1, "search-service"], [1, "govuk-body"], ["id", "selectServiceSearch-label", "for", "serviceSearch__select", 4, "ngIf"], [1, "search-service__input-container"], [1, "search-service__input", 3, "options", "selectedOptions", "disabled", "optionChanged"], ["href", "javascript:void(0)", "class", "govuk-button govuk-button--secondary govuk-!-margin-bottom-0", "data-module", "govuk-button", "id", "add-service", 3, "click", 4, "ngIf"], ["class", "hmcts-filter-tags selection-container", 4, "ngIf"], ["id", "selectServiceSearch-label", "for", "serviceSearch__select"], ["href", "javascript:void(0)", "data-module", "govuk-button", "id", "add-service", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-bottom-0", 3, "click"], [1, "hmcts-filter-tags", "selection-container"], ["class", "location-selection", 4, "ngFor", "ngForOf"], [1, "location-selection"], ["href", "javascript:void(0)", 1, "hmcts-filter__tag", 3, "click"]], template: function FindServiceComponent_Template(rf, ctx) {
3621
+ }, inputs: { field: "field", serviceTitle: "serviceTitle", form: "form", disabled: "disabled", formSubmissionEvent$: "formSubmissionEvent$" }, outputs: { serviceFieldChanged: "serviceFieldChanged" }, decls: 8, vars: 6, consts: [[1, "service-picker-custom"], [1, "search-service"], [1, "govuk-body"], ["id", "selectServiceSearch-label", "for", "serviceSearch__select", 4, "ngIf"], [1, "search-service__input-container"], [1, "search-service__input", 3, "options", "selectedOptions", "disabled", "optionChanged"], ["href", "javascript:void(0)", "class", "govuk-button govuk-button--secondary govuk-!-margin-bottom-0", "data-module", "govuk-button", "id", "add-service", 3, "click", 4, "ngIf"], ["class", "hmcts-filter-tags selection-container", 4, "ngIf"], ["id", "selectServiceSearch-label", "for", "serviceSearch__select"], ["href", "javascript:void(0)", "data-module", "govuk-button", "id", "add-service", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-bottom-0", 3, "click"], [1, "govuk-visually-hidden"], [1, "hmcts-filter-tags", "selection-container"], ["class", "location-selection", 4, "ngFor", "ngForOf"], [1, "location-selection"], ["href", "javascript:void(0)", 1, "hmcts-filter__tag", 3, "click"]], template: function FindServiceComponent_Template(rf, ctx) {
3637
3622
  if (rf & 1) {
3638
3623
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
3639
3624
  i0.ɵɵtemplate(3, FindServiceComponent_label_3_Template, 3, 3, "label", 3);
@@ -3641,7 +3626,7 @@ FindServiceComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FindSe
3641
3626
  i0.ɵɵelementStart(4, "div", 4)(5, "exui-search-service", 5);
3642
3627
  i0.ɵɵlistener("optionChanged", function FindServiceComponent_Template_exui_search_service_optionChanged_5_listener($event) { return ctx.onOptionSelected($event); });
3643
3628
  i0.ɵɵelementEnd();
3644
- i0.ɵɵtemplate(6, FindServiceComponent_a_6_Template, 3, 3, "a", 6);
3629
+ i0.ɵɵtemplate(6, FindServiceComponent_a_6_Template, 6, 6, "a", 6);
3645
3630
  i0.ɵɵelementEnd()();
3646
3631
  i0.ɵɵtemplate(7, FindServiceComponent_ul_7_Template, 2, 1, "ul", 7);
3647
3632
  i0.ɵɵelementEnd();
@@ -3660,7 +3645,7 @@ FindServiceComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FindSe
3660
3645
  (function () {
3661
3646
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FindServiceComponent, [{
3662
3647
  type: Component,
3663
- args: [{ selector: 'xuilib-find-service', template: "<div class=\"service-picker-custom\">\n <div class=\"search-service\">\n <div class=\"govuk-body\">\n <label id=\"selectServiceSearch-label\" for=\"serviceSearch__select\" *ngIf=\"serviceTitle\">\n {{ serviceTitle | rpxTranslate}}\n </label>\n </div>\n <div class=\"search-service__input-container\">\n <exui-search-service class=\"search-service__input\"\n [options]=\"field.options\"\n [selectedOptions]=\"selectedServices\"\n [disabled]=\"disabled\"\n (optionChanged)=\"onOptionSelected($event)\">\n </exui-search-service>\n <a href=\"javascript:void(0)\" (click)=\"addOption(tempSelectedService)\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\" data-module=\"govuk-button\"\n *ngIf=\"field?.enableAddButton\" id=\"add-service\">\n {{ 'Add' | rpxTranslate}}\n </a>\n </div>\n </div>\n <ul class=\"hmcts-filter-tags selection-container\" *ngIf=\"field.maxSelected != 1\">\n <li class=\"location-selection\" *ngFor=\"let selection of selectedServices\">\n <a class=\"hmcts-filter__tag\" (click)=\"removeOption(selection)\" href=\"javascript:void(0)\">\n {{ selection.label | rpxTranslate }}\n </a>\n </li>\n </ul>\n</div>\n", styles: ["#add-service{background-color:#ddd}\n"] }]
3648
+ args: [{ selector: 'xuilib-find-service', template: "<div class=\"service-picker-custom\">\n <div class=\"search-service\">\n <div class=\"govuk-body\">\n <label id=\"selectServiceSearch-label\" for=\"serviceSearch__select\" *ngIf=\"serviceTitle\">\n {{ serviceTitle | rpxTranslate}}\n </label>\n </div>\n <div class=\"search-service__input-container\">\n <exui-search-service class=\"search-service__input\"\n [options]=\"field.options\"\n [selectedOptions]=\"selectedServices\"\n [disabled]=\"disabled\"\n (optionChanged)=\"onOptionSelected($event)\">\n </exui-search-service>\n <a href=\"javascript:void(0)\" (click)=\"addOption(tempSelectedService)\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\" data-module=\"govuk-button\"\n *ngIf=\"field?.enableAddButton\" id=\"add-service\">\n {{ 'Add' | rpxTranslate}}\n <span class=\"govuk-visually-hidden\">{{'service' | rpxTranslate}}</span>\n </a>\n </div>\n </div>\n <ul class=\"hmcts-filter-tags selection-container\" *ngIf=\"field.maxSelected != 1\">\n <li class=\"location-selection\" *ngFor=\"let selection of selectedServices\">\n <a class=\"hmcts-filter__tag\" (click)=\"removeOption(selection)\" href=\"javascript:void(0)\">\n {{ selection.label | rpxTranslate }}\n </a>\n </li>\n </ul>\n</div>\n", styles: ["#add-service{background-color:#ddd}\n"] }]
3664
3649
  }], null, { field: [{
3665
3650
  type: Input
3666
3651
  }], serviceTitle: [{
@@ -5778,15 +5763,15 @@ CaseSharingStateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token:
5778
5763
  }], function () { return []; }, null);
5779
5764
  })();
5780
5765
 
5781
- function SelectedCaseConfirmComponent_div_0_tr_22_Template(rf, ctx) {
5766
+ function SelectedCaseConfirmComponent_div_0_tr_25_Template(rf, ctx) {
5782
5767
  if (rf & 1) {
5783
- i0.ɵɵelementStart(0, "tr", 8)(1, "td", 13);
5768
+ i0.ɵɵelementStart(0, "tr", 9)(1, "td", 14);
5784
5769
  i0.ɵɵtext(2);
5785
5770
  i0.ɵɵelementEnd();
5786
- i0.ɵɵelementStart(3, "td", 13);
5771
+ i0.ɵɵelementStart(3, "td", 14);
5787
5772
  i0.ɵɵtext(4);
5788
5773
  i0.ɵɵelementEnd();
5789
- i0.ɵɵelementStart(5, "td", 13)(6, "span", 14);
5774
+ i0.ɵɵelementStart(5, "td", 14)(6, "span", 15);
5790
5775
  i0.ɵɵtext(7);
5791
5776
  i0.ɵɵpipe(8, "rpxTranslate");
5792
5777
  i0.ɵɵelementEnd()()();
@@ -5801,15 +5786,15 @@ function SelectedCaseConfirmComponent_div_0_tr_22_Template(rf, ctx) {
5801
5786
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 3, "To be added"));
5802
5787
  }
5803
5788
  }
5804
- function SelectedCaseConfirmComponent_div_0_tr_23_Template(rf, ctx) {
5789
+ function SelectedCaseConfirmComponent_div_0_tr_26_Template(rf, ctx) {
5805
5790
  if (rf & 1) {
5806
- i0.ɵɵelementStart(0, "tr", 8)(1, "td", 13);
5791
+ i0.ɵɵelementStart(0, "tr", 9)(1, "td", 14);
5807
5792
  i0.ɵɵtext(2);
5808
5793
  i0.ɵɵelementEnd();
5809
- i0.ɵɵelementStart(3, "td", 13);
5794
+ i0.ɵɵelementStart(3, "td", 14);
5810
5795
  i0.ɵɵtext(4);
5811
5796
  i0.ɵɵelementEnd();
5812
- i0.ɵɵelementStart(5, "td", 13)(6, "span", 15);
5797
+ i0.ɵɵelementStart(5, "td", 14)(6, "span", 16);
5813
5798
  i0.ɵɵtext(7);
5814
5799
  i0.ɵɵpipe(8, "rpxTranslate");
5815
5800
  i0.ɵɵelementEnd()()();
@@ -5835,22 +5820,25 @@ function SelectedCaseConfirmComponent_div_0_Template(rf, ctx) {
5835
5820
  i0.ɵɵelementStart(6, "a", 5);
5836
5821
  i0.ɵɵtext(7);
5837
5822
  i0.ɵɵpipe(8, "rpxTranslate");
5838
- i0.ɵɵelementEnd()();
5839
- i0.ɵɵelementStart(9, "table", 6)(10, "thead", 7)(11, "tr", 8)(12, "th", 9);
5840
- i0.ɵɵtext(13);
5841
- i0.ɵɵpipe(14, "rpxTranslate");
5842
- i0.ɵɵelementEnd();
5843
- i0.ɵɵelementStart(15, "th", 9);
5823
+ i0.ɵɵelementStart(9, "span", 6);
5824
+ i0.ɵɵtext(10);
5825
+ i0.ɵɵpipe(11, "rpxTranslate");
5826
+ i0.ɵɵelementEnd()()();
5827
+ i0.ɵɵelementStart(12, "table", 7)(13, "thead", 8)(14, "tr", 9)(15, "th", 10);
5844
5828
  i0.ɵɵtext(16);
5845
5829
  i0.ɵɵpipe(17, "rpxTranslate");
5846
5830
  i0.ɵɵelementEnd();
5847
5831
  i0.ɵɵelementStart(18, "th", 10);
5848
5832
  i0.ɵɵtext(19);
5849
5833
  i0.ɵɵpipe(20, "rpxTranslate");
5834
+ i0.ɵɵelementEnd();
5835
+ i0.ɵɵelementStart(21, "th", 11);
5836
+ i0.ɵɵtext(22);
5837
+ i0.ɵɵpipe(23, "rpxTranslate");
5850
5838
  i0.ɵɵelementEnd()()();
5851
- i0.ɵɵelementStart(21, "tbody", 11);
5852
- i0.ɵɵtemplate(22, SelectedCaseConfirmComponent_div_0_tr_22_Template, 9, 5, "tr", 12);
5853
- i0.ɵɵtemplate(23, SelectedCaseConfirmComponent_div_0_tr_23_Template, 9, 5, "tr", 12);
5839
+ i0.ɵɵelementStart(24, "tbody", 12);
5840
+ i0.ɵɵtemplate(25, SelectedCaseConfirmComponent_div_0_tr_25_Template, 9, 5, "tr", 13);
5841
+ i0.ɵɵtemplate(26, SelectedCaseConfirmComponent_div_0_tr_26_Template, 9, 5, "tr", 13);
5854
5842
  i0.ɵɵelementEnd()()();
5855
5843
  }
5856
5844
  if (rf & 2) {
@@ -5863,13 +5851,15 @@ function SelectedCaseConfirmComponent_div_0_Template(rf, ctx) {
5863
5851
  i0.ɵɵadvance(1);
5864
5852
  i0.ɵɵproperty("routerLink", ctx_r0.changeLink);
5865
5853
  i0.ɵɵadvance(1);
5866
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 12, "Change"));
5854
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 13, "Change"), " ");
5855
+ i0.ɵɵadvance(3);
5856
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "selected case"));
5867
5857
  i0.ɵɵadvance(6);
5868
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 14, "Name"));
5858
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "Name"));
5869
5859
  i0.ɵɵadvance(3);
5870
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 16, "Email address"));
5860
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 19, "Email address"));
5871
5861
  i0.ɵɵadvance(3);
5872
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 18, "Actions"));
5862
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 21, "Actions"));
5873
5863
  i0.ɵɵadvance(3);
5874
5864
  i0.ɵɵproperty("ngForOf", ctx_r0.sharedCase.pendingShares)("ngForTrackBy", ctx_r0.trackByUserId);
5875
5865
  i0.ɵɵadvance(1);
@@ -5896,9 +5886,9 @@ class SelectedCaseConfirmComponent {
5896
5886
  }
5897
5887
  }
5898
5888
  SelectedCaseConfirmComponent.ɵfac = function SelectedCaseConfirmComponent_Factory(t) { return new (t || SelectedCaseConfirmComponent)(i0.ɵɵdirectiveInject(CaseSharingStateService)); };
5899
- SelectedCaseConfirmComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectedCaseConfirmComponent, selectors: [["xuilib-selected-case-confirm"]], inputs: { sharedCase: "sharedCase", changeLink: "changeLink" }, decls: 1, vars: 1, consts: [[3, "id", 4, "ngIf"], [3, "id"], [1, "govuk-heading-m", "case-share-confirm__title"], [1, "case-share-confirm__caption-area"], [1, "govuk-caption-m", "case-share-confirm__caption"], [1, "case-share-confirm__change-link", "govuk-link", "govuk-!-font-size-19", 3, "routerLink"], [1, "govuk-table"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-header"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-actions"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "govuk-table__cell"], [1, "hmcts-badge"], [1, "hmcts-badge", "hmcts-badge--red"]], template: function SelectedCaseConfirmComponent_Template(rf, ctx) {
5889
+ SelectedCaseConfirmComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectedCaseConfirmComponent, selectors: [["xuilib-selected-case-confirm"]], inputs: { sharedCase: "sharedCase", changeLink: "changeLink" }, decls: 1, vars: 1, consts: [[3, "id", 4, "ngIf"], [3, "id"], [1, "govuk-heading-m", "case-share-confirm__title"], [1, "case-share-confirm__caption-area"], [1, "govuk-caption-m", "case-share-confirm__caption"], [1, "case-share-confirm__change-link", "govuk-link", "govuk-!-font-size-19", 3, "routerLink"], [1, "govuk-visually-hidden"], [1, "govuk-table"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-header"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-actions"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "govuk-table__cell"], [1, "hmcts-badge"], [1, "hmcts-badge", "hmcts-badge--red"]], template: function SelectedCaseConfirmComponent_Template(rf, ctx) {
5900
5890
  if (rf & 1) {
5901
- i0.ɵɵtemplate(0, SelectedCaseConfirmComponent_div_0_Template, 24, 20, "div", 0);
5891
+ i0.ɵɵtemplate(0, SelectedCaseConfirmComponent_div_0_Template, 27, 23, "div", 0);
5902
5892
  }
5903
5893
  if (rf & 2) {
5904
5894
  i0.ɵɵproperty("ngIf", ctx.showUserAccessBlock());
@@ -5907,7 +5897,7 @@ SelectedCaseConfirmComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
5907
5897
  (function () {
5908
5898
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectedCaseConfirmComponent, [{
5909
5899
  type: Component,
5910
- args: [{ selector: 'xuilib-selected-case-confirm', template: "<div id=\"user-access-block-{{ sharedCase.caseId }}\" *ngIf=\"showUserAccessBlock()\">\n <h2 class=\"govuk-heading-m case-share-confirm__title\">{{ sharedCase.caseTitle }}</h2>\n <div class=\"case-share-confirm__caption-area\">\n <div class=\"govuk-caption-m case-share-confirm__caption\">\n {{ sharedCase.caseId }}\n </div>\n <a [routerLink]=\"changeLink\" class=\"case-share-confirm__change-link govuk-link govuk-!-font-size-19\">{{'Change' | rpxTranslate}}</a>\n </div>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Name' | rpxTranslate}}</th>\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Email address' | rpxTranslate}}</th>\n <th class=\"govuk-table__header govuk-table-column-actions\" scope=\"col\">{{'Actions' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingShares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge\">{{'To be added' | rpxTranslate}}</span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingUnshares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge hmcts-badge--red\">\n {{'To be removed' | rpxTranslate}}\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".case-share-confirm__title{margin-bottom:0}.case-share-confirm__caption-area{border-bottom:1px solid #b1b4b6;padding-bottom:10px;display:inline-block;width:100%;clear:both}.case-share-confirm__caption{float:left}.case-share-confirm__change-link{float:right}.govuk-table-column-header{width:45%}.govuk-table-column-actions{width:10%}\n"] }]
5900
+ args: [{ selector: 'xuilib-selected-case-confirm', template: "<div id=\"user-access-block-{{ sharedCase.caseId }}\" *ngIf=\"showUserAccessBlock()\">\n <h2 class=\"govuk-heading-m case-share-confirm__title\">{{ sharedCase.caseTitle }}</h2>\n <div class=\"case-share-confirm__caption-area\">\n <div class=\"govuk-caption-m case-share-confirm__caption\">\n {{ sharedCase.caseId }}\n </div>\n <a [routerLink]=\"changeLink\" class=\"case-share-confirm__change-link govuk-link govuk-!-font-size-19\">\n {{'Change' | rpxTranslate}}\n <span class=\"govuk-visually-hidden\">{{'selected case' | rpxTranslate}}</span>\n </a>\n </div>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Name' | rpxTranslate}}</th>\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Email address' | rpxTranslate}}</th>\n <th class=\"govuk-table__header govuk-table-column-actions\" scope=\"col\">{{'Actions' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingShares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge\">{{'To be added' | rpxTranslate}}</span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingUnshares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge hmcts-badge--red\">\n {{'To be removed' | rpxTranslate}}\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".case-share-confirm__title{margin-bottom:0}.case-share-confirm__caption-area{border-bottom:1px solid #b1b4b6;padding-bottom:10px;display:inline-block;width:100%;clear:both}.case-share-confirm__caption{float:left}.case-share-confirm__change-link{float:right}.govuk-table-column-header{width:45%}.govuk-table-column-actions{width:10%}\n"] }]
5911
5901
  }], function () { return [{ type: CaseSharingStateService }]; }, { sharedCase: [{
5912
5902
  type: Input
5913
5903
  }], changeLink: [{
@@ -6900,7 +6890,7 @@ HmctsErrorSummaryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
6900
6890
 
6901
6891
  function ShareCaseComponent_h1_1_span_1_Template(rf, ctx) {
6902
6892
  if (rf & 1) {
6903
- i0.ɵɵelementStart(0, "span", 26);
6893
+ i0.ɵɵelementStart(0, "span", 27);
6904
6894
  i0.ɵɵtext(1);
6905
6895
  i0.ɵɵpipe(2, "rpxTranslate");
6906
6896
  i0.ɵɵelementEnd();
@@ -6913,8 +6903,8 @@ function ShareCaseComponent_h1_1_span_1_Template(rf, ctx) {
6913
6903
  }
6914
6904
  function ShareCaseComponent_h1_1_Template(rf, ctx) {
6915
6905
  if (rf & 1) {
6916
- i0.ɵɵelementStart(0, "h1", 24);
6917
- i0.ɵɵtemplate(1, ShareCaseComponent_h1_1_span_1_Template, 3, 3, "span", 25);
6906
+ i0.ɵɵelementStart(0, "h1", 25);
6907
+ i0.ɵɵtemplate(1, ShareCaseComponent_h1_1_span_1_Template, 3, 3, "span", 26);
6918
6908
  i0.ɵɵtext(2);
6919
6909
  i0.ɵɵpipe(3, "rpxTranslate");
6920
6910
  i0.ɵɵelementEnd();
@@ -6927,9 +6917,9 @@ function ShareCaseComponent_h1_1_Template(rf, ctx) {
6927
6917
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r0.title), "\n");
6928
6918
  }
6929
6919
  }
6930
- function ShareCaseComponent_div_26_option_12_Template(rf, ctx) {
6920
+ function ShareCaseComponent_div_29_option_12_Template(rf, ctx) {
6931
6921
  if (rf & 1) {
6932
- i0.ɵɵelementStart(0, "option", 33);
6922
+ i0.ɵɵelementStart(0, "option", 34);
6933
6923
  i0.ɵɵtext(1);
6934
6924
  i0.ɵɵelementEnd();
6935
6925
  }
@@ -6940,37 +6930,40 @@ function ShareCaseComponent_div_26_option_12_Template(rf, ctx) {
6940
6930
  i0.ɵɵtextInterpolate3("", user_r6.firstName, " ", user_r6.lastName, " - ", user_r6.email, "");
6941
6931
  }
6942
6932
  }
6943
- function ShareCaseComponent_div_26_Template(rf, ctx) {
6933
+ function ShareCaseComponent_div_29_Template(rf, ctx) {
6944
6934
  if (rf & 1) {
6945
6935
  const _r8 = i0.ɵɵgetCurrentView();
6946
- i0.ɵɵelementStart(0, "div", 3)(1, "label", 27);
6936
+ i0.ɵɵelementStart(0, "div", 3)(1, "label", 28);
6947
6937
  i0.ɵɵtext(2);
6948
6938
  i0.ɵɵpipe(3, "rpxTranslate");
6949
6939
  i0.ɵɵelementEnd();
6950
- i0.ɵɵelementStart(4, "span", 28);
6940
+ i0.ɵɵelementStart(4, "span", 29);
6951
6941
  i0.ɵɵtext(5);
6952
6942
  i0.ɵɵpipe(6, "rpxTranslate");
6953
6943
  i0.ɵɵelementEnd();
6954
- i0.ɵɵelementStart(7, "div", 6)(8, "div", 7)(9, "select", 29);
6955
- i0.ɵɵlistener("ngModelChange", function ShareCaseComponent_div_26_Template_select_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.selectedUserToRemove = $event); });
6956
- i0.ɵɵelementStart(10, "option", 30);
6944
+ i0.ɵɵelementStart(7, "div", 6)(8, "div", 7)(9, "select", 30);
6945
+ i0.ɵɵlistener("ngModelChange", function ShareCaseComponent_div_29_Template_select_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.selectedUserToRemove = $event); });
6946
+ i0.ɵɵelementStart(10, "option", 31);
6957
6947
  i0.ɵɵtext(11, "Select a person");
6958
6948
  i0.ɵɵelementEnd();
6959
- i0.ɵɵtemplate(12, ShareCaseComponent_div_26_option_12_Template, 2, 4, "option", 31);
6949
+ i0.ɵɵtemplate(12, ShareCaseComponent_div_29_option_12_Template, 2, 4, "option", 32);
6960
6950
  i0.ɵɵelementEnd()();
6961
- i0.ɵɵelementStart(13, "div", 9)(14, "button", 32);
6962
- i0.ɵɵlistener("click", function ShareCaseComponent_div_26_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.removeUser()); });
6951
+ i0.ɵɵelementStart(13, "div", 9)(14, "button", 33);
6952
+ i0.ɵɵlistener("click", function ShareCaseComponent_div_29_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.removeUser()); });
6963
6953
  i0.ɵɵpipe(15, "rpxTranslate");
6964
6954
  i0.ɵɵtext(16);
6965
6955
  i0.ɵɵpipe(17, "rpxTranslate");
6966
- i0.ɵɵelementEnd()()()();
6956
+ i0.ɵɵelementStart(18, "span", 11);
6957
+ i0.ɵɵtext(19);
6958
+ i0.ɵɵpipe(20, "rpxTranslate");
6959
+ i0.ɵɵelementEnd()()()()();
6967
6960
  }
6968
6961
  if (rf & 2) {
6969
6962
  const ctx_r1 = i0.ɵɵnextContext();
6970
6963
  i0.ɵɵadvance(2);
6971
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 7, "Remove a person from all cases"), " ");
6964
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 8, "Remove a person from all cases"), " ");
6972
6965
  i0.ɵɵadvance(3);
6973
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 9, "Select a person to remove them from all selected cases."), " ");
6966
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 10, "Select a person to remove them from all selected cases."), " ");
6974
6967
  i0.ɵɵadvance(4);
6975
6968
  i0.ɵɵproperty("ngModel", ctx_r1.selectedUserToRemove);
6976
6969
  i0.ɵɵadvance(1);
@@ -6978,16 +6971,18 @@ function ShareCaseComponent_div_26_Template(rf, ctx) {
6978
6971
  i0.ɵɵadvance(2);
6979
6972
  i0.ɵɵproperty("ngForOf", ctx_r1.assignedUsers);
6980
6973
  i0.ɵɵadvance(2);
6981
- i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15, 11, "Remove user from selected cases"));
6974
+ i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15, 12, "Remove user from selected cases"));
6982
6975
  i0.ɵɵadvance(2);
6983
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 13, "Remove"), " ");
6976
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 14, "Remove"), " ");
6977
+ i0.ɵɵadvance(3);
6978
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 16, "user"), "");
6984
6979
  }
6985
6980
  }
6986
- function ShareCaseComponent_div_32_Template(rf, ctx) {
6981
+ function ShareCaseComponent_div_35_Template(rf, ctx) {
6987
6982
  if (rf & 1) {
6988
6983
  const _r11 = i0.ɵɵgetCurrentView();
6989
- i0.ɵɵelementStart(0, "div", 34)(1, "xuilib-selected-case-list", 35);
6990
- i0.ɵɵlistener("unselect", function ShareCaseComponent_div_32_Template_xuilib_selected_case_list_unselect_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.onUnselect($event)); })("synchronizeStore", function ShareCaseComponent_div_32_Template_xuilib_selected_case_list_synchronizeStore_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.onSynchronizeStore($event)); });
6984
+ i0.ɵɵelementStart(0, "div", 35)(1, "xuilib-selected-case-list", 36);
6985
+ i0.ɵɵlistener("unselect", function ShareCaseComponent_div_35_Template_xuilib_selected_case_list_unselect_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.onUnselect($event)); })("synchronizeStore", function ShareCaseComponent_div_35_Template_xuilib_selected_case_list_synchronizeStore_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.onSynchronizeStore($event)); });
6991
6986
  i0.ɵɵelementEnd()();
6992
6987
  }
6993
6988
  if (rf & 2) {
@@ -6997,9 +6992,9 @@ function ShareCaseComponent_div_32_Template(rf, ctx) {
6997
6992
  }
6998
6993
  }
6999
6994
  const _c0$e = function (a0) { return { "govuk-form-group--error": a0 }; };
7000
- function ShareCaseComponent_div_33_Template(rf, ctx) {
6995
+ function ShareCaseComponent_div_36_Template(rf, ctx) {
7001
6996
  if (rf & 1) {
7002
- i0.ɵɵelementStart(0, "div", 36);
6997
+ i0.ɵɵelementStart(0, "div", 37);
7003
6998
  i0.ɵɵtext(1);
7004
6999
  i0.ɵɵpipe(2, "rpxTranslate");
7005
7000
  i0.ɵɵelementEnd();
@@ -7192,7 +7187,7 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
7192
7187
  let _t;
7193
7188
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.userSelect = _t.first);
7194
7189
  }
7195
- }, inputs: { removeUserFromCaseToggleOn: "removeUserFromCaseToggleOn", shareCases$: "shareCases$", users: "users", confirmLink: "confirmLink", cancelLink: "cancelLink", addUserLabel: "addUserLabel", showRemoveUsers: "showRemoveUsers", fnTitle: "fnTitle", title: "title" }, outputs: { unselect: "unselect", synchronizeStore: "synchronizeStore" }, decls: 43, vars: 47, consts: [[3, "errorMessages", "header"], ["class", "govuk-heading-xl govuk-!-margin-top-2", 4, "ngIf"], ["id", "add-user"], [1, "govuk-form-group"], ["for", "add-user-input", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "add-user-hint", 1, "govuk-hint"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], ["id", "add-user-input", "aria-describedby", "add-user-hint", 3, "users", "selected"], [1, "govuk-grid-column-one-thirds"], ["id", "btn-add-user", 1, "govuk-button", "govuk-button--secondary", 3, "disabled", "title", "click"], ["id", "add-user-help", "data-module", "govuk-details", 1, "govuk-details"], [1, "govuk-details__summary"], ["id", "content-why-can-not-find-email", 1, "govuk-details__summary-text"], ["id", "content-reason-can-not-find-email", 1, "govuk-details__text"], ["class", "govuk-form-group", 4, "ngIf"], ["id", "cases", 3, "ngClass"], ["id", "title-selected-cases", 1, "govuk-heading-m"], [3, "config", "errorMessage"], ["class", "govuk-accordion", "data-module", "govuk-accordion", "id", "accordion-with-summary-sections", 4, "ngIf"], ["id", "noCaseDisplay", "class", "govuk-hint", 3, "ngClass", 4, "ngIf"], ["id", "share-case-nav", 1, "govuk-button-group"], ["id", "btn-continue", "data-module", "govuk-button", 1, "govuk-button", 3, "title", "click"], ["id", "btn-cancel", "data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "title", "routerLink"], [1, "govuk-heading-xl", "govuk-!-margin-top-2"], ["class", "govuk-caption-xl", 4, "ngIf"], [1, "govuk-caption-xl"], ["for", "remove-user-input", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "remove-user-hint", 1, "govuk-hint"], ["id", "remove-user-input", "aria-describedby", "remove-user-hint", 1, "govuk-select", 3, "ngModel", "ngModelChange"], ["selected", "", 3, "ngValue"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["id", "btn-remove-user", 1, "govuk-button", "govuk-button--secondary", 3, "title", "click"], [3, "ngValue"], ["data-module", "govuk-accordion", "id", "accordion-with-summary-sections", 1, "govuk-accordion"], [3, "shareCases$", "removeUserFromCaseToggleOn", "unselect", "synchronizeStore"], ["id", "noCaseDisplay", 1, "govuk-hint", 3, "ngClass"]], template: function ShareCaseComponent_Template(rf, ctx) {
7190
+ }, inputs: { removeUserFromCaseToggleOn: "removeUserFromCaseToggleOn", shareCases$: "shareCases$", users: "users", confirmLink: "confirmLink", cancelLink: "cancelLink", addUserLabel: "addUserLabel", showRemoveUsers: "showRemoveUsers", fnTitle: "fnTitle", title: "title" }, outputs: { unselect: "unselect", synchronizeStore: "synchronizeStore" }, decls: 46, vars: 50, consts: [[3, "errorMessages", "header"], ["class", "govuk-heading-xl govuk-!-margin-top-2", 4, "ngIf"], ["id", "add-user"], [1, "govuk-form-group"], ["for", "add-user-input", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "add-user-hint", 1, "govuk-hint"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], ["id", "add-user-input", "aria-describedby", "add-user-hint", 3, "users", "selected"], [1, "govuk-grid-column-one-thirds"], ["id", "btn-add-user", 1, "govuk-button", "govuk-button--secondary", 3, "disabled", "title", "click"], [1, "govuk-visually-hidden"], ["id", "add-user-help", "data-module", "govuk-details", 1, "govuk-details"], [1, "govuk-details__summary"], ["id", "content-why-can-not-find-email", 1, "govuk-details__summary-text"], ["id", "content-reason-can-not-find-email", 1, "govuk-details__text"], ["class", "govuk-form-group", 4, "ngIf"], ["id", "cases", 3, "ngClass"], ["id", "title-selected-cases", 1, "govuk-heading-m"], [3, "config", "errorMessage"], ["class", "govuk-accordion", "data-module", "govuk-accordion", "id", "accordion-with-summary-sections", 4, "ngIf"], ["id", "noCaseDisplay", "class", "govuk-hint", 3, "ngClass", 4, "ngIf"], ["id", "share-case-nav", 1, "govuk-button-group"], ["id", "btn-continue", "data-module", "govuk-button", 1, "govuk-button", 3, "title", "click"], ["id", "btn-cancel", "data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "title", "routerLink"], [1, "govuk-heading-xl", "govuk-!-margin-top-2"], ["class", "govuk-caption-xl", 4, "ngIf"], [1, "govuk-caption-xl"], ["for", "remove-user-input", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "remove-user-hint", 1, "govuk-hint"], ["id", "remove-user-input", "aria-describedby", "remove-user-hint", 1, "govuk-select", 3, "ngModel", "ngModelChange"], ["selected", "", 3, "ngValue"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["id", "btn-remove-user", 1, "govuk-button", "govuk-button--secondary", 3, "title", "click"], [3, "ngValue"], ["data-module", "govuk-accordion", "id", "accordion-with-summary-sections", 1, "govuk-accordion"], [3, "shareCases$", "removeUserFromCaseToggleOn", "unselect", "synchronizeStore"], ["id", "noCaseDisplay", 1, "govuk-hint", 3, "ngClass"]], template: function ShareCaseComponent_Template(rf, ctx) {
7196
7191
  if (rf & 1) {
7197
7192
  i0.ɵɵelement(0, "xuilib-hmcts-error-summary", 0);
7198
7193
  i0.ɵɵtemplate(1, ShareCaseComponent_h1_1_Template, 4, 4, "h1", 1);
@@ -7212,35 +7207,38 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
7212
7207
  i0.ɵɵpipe(15, "rpxTranslate");
7213
7208
  i0.ɵɵtext(16);
7214
7209
  i0.ɵɵpipe(17, "rpxTranslate");
7215
- i0.ɵɵelementEnd()()();
7216
- i0.ɵɵelementStart(18, "details", 11)(19, "summary", 12)(20, "span", 13);
7217
- i0.ɵɵtext(21);
7218
- i0.ɵɵpipe(22, "rpxTranslate");
7219
- i0.ɵɵelementEnd()();
7220
- i0.ɵɵelementStart(23, "div", 14);
7210
+ i0.ɵɵelementStart(18, "span", 11);
7211
+ i0.ɵɵtext(19);
7212
+ i0.ɵɵpipe(20, "rpxTranslate");
7213
+ i0.ɵɵelementEnd()()()();
7214
+ i0.ɵɵelementStart(21, "details", 12)(22, "summary", 13)(23, "span", 14);
7221
7215
  i0.ɵɵtext(24);
7222
7216
  i0.ɵɵpipe(25, "rpxTranslate");
7217
+ i0.ɵɵelementEnd()();
7218
+ i0.ɵɵelementStart(26, "div", 15);
7219
+ i0.ɵɵtext(27);
7220
+ i0.ɵɵpipe(28, "rpxTranslate");
7223
7221
  i0.ɵɵelementEnd()()();
7224
- i0.ɵɵtemplate(26, ShareCaseComponent_div_26_Template, 18, 15, "div", 15);
7222
+ i0.ɵɵtemplate(29, ShareCaseComponent_div_29_Template, 21, 18, "div", 16);
7225
7223
  i0.ɵɵelementEnd();
7226
- i0.ɵɵelementStart(27, "div", 16)(28, "h3", 17);
7227
- i0.ɵɵtext(29);
7228
- i0.ɵɵpipe(30, "rpxTranslate");
7224
+ i0.ɵɵelementStart(30, "div", 17)(31, "h3", 18);
7225
+ i0.ɵɵtext(32);
7226
+ i0.ɵɵpipe(33, "rpxTranslate");
7229
7227
  i0.ɵɵelementEnd();
7230
- i0.ɵɵelement(31, "xuilib-gov-uk-error-message", 18);
7231
- i0.ɵɵtemplate(32, ShareCaseComponent_div_32_Template, 2, 2, "div", 19);
7232
- i0.ɵɵtemplate(33, ShareCaseComponent_div_33_Template, 3, 6, "div", 20);
7228
+ i0.ɵɵelement(34, "xuilib-gov-uk-error-message", 19);
7229
+ i0.ɵɵtemplate(35, ShareCaseComponent_div_35_Template, 2, 2, "div", 20);
7230
+ i0.ɵɵtemplate(36, ShareCaseComponent_div_36_Template, 3, 6, "div", 21);
7233
7231
  i0.ɵɵelementEnd();
7234
- i0.ɵɵelementStart(34, "div", 21)(35, "button", 22);
7235
- i0.ɵɵlistener("click", function ShareCaseComponent_Template_button_click_35_listener() { return ctx.onContinue(); });
7236
- i0.ɵɵpipe(36, "rpxTranslate");
7237
- i0.ɵɵtext(37);
7238
- i0.ɵɵpipe(38, "rpxTranslate");
7232
+ i0.ɵɵelementStart(37, "div", 22)(38, "button", 23);
7233
+ i0.ɵɵlistener("click", function ShareCaseComponent_Template_button_click_38_listener() { return ctx.onContinue(); });
7234
+ i0.ɵɵpipe(39, "rpxTranslate");
7235
+ i0.ɵɵtext(40);
7236
+ i0.ɵɵpipe(41, "rpxTranslate");
7239
7237
  i0.ɵɵelementEnd();
7240
- i0.ɵɵelementStart(39, "button", 23);
7241
- i0.ɵɵpipe(40, "rpxTranslate");
7242
- i0.ɵɵtext(41);
7243
- i0.ɵɵpipe(42, "rpxTranslate");
7238
+ i0.ɵɵelementStart(42, "button", 24);
7239
+ i0.ɵɵpipe(43, "rpxTranslate");
7240
+ i0.ɵɵtext(44);
7241
+ i0.ɵɵpipe(45, "rpxTranslate");
7244
7242
  i0.ɵɵelementEnd()();
7245
7243
  }
7246
7244
  if (rf & 2) {
@@ -7248,26 +7246,28 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
7248
7246
  i0.ɵɵadvance(1);
7249
7247
  i0.ɵɵproperty("ngIf", ctx.title);
7250
7248
  i0.ɵɵadvance(4);
7251
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 23, ctx.addUserLabel));
7249
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 24, ctx.addUserLabel));
7252
7250
  i0.ɵɵadvance(3);
7253
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 25, "Search by name or email address. You can share access with as many people as you need."), " ");
7251
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 26, "Search by name or email address. You can share access with as many people as you need."), " ");
7254
7252
  i0.ɵɵadvance(4);
7255
7253
  i0.ɵɵproperty("users", ctx.users);
7256
7254
  i0.ɵɵadvance(2);
7257
- i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15, 27, "Add user to selected cases"));
7255
+ i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15, 28, "Add user to selected cases"));
7258
7256
  i0.ɵɵproperty("disabled", ctx.isDisabledAdd());
7259
7257
  i0.ɵɵadvance(2);
7260
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 29, "Add"), " ");
7258
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 30, "Add"), " ");
7259
+ i0.ɵɵadvance(3);
7260
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 32, "user"));
7261
7261
  i0.ɵɵadvance(5);
7262
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(22, 31, "Can't find an email address?"), " ");
7262
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 34, "Can't find an email address?"), " ");
7263
7263
  i0.ɵɵadvance(3);
7264
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 33, "If you can't find your colleague's email address, they will need to complete their registration. Contact your administrator for help."), " ");
7264
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 36, "If you can't find your colleague's email address, they will need to complete their registration. Contact your administrator for help."), " ");
7265
7265
  i0.ɵɵadvance(2);
7266
7266
  i0.ɵɵproperty("ngIf", ctx.showRemoveUsers);
7267
7267
  i0.ɵɵadvance(1);
7268
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$e, ctx.shareCaseErrorMessage.messages && ctx.shareCaseErrorMessage.messages.length > 0));
7268
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(48, _c0$e, ctx.shareCaseErrorMessage.messages && ctx.shareCaseErrorMessage.messages.length > 0));
7269
7269
  i0.ɵɵadvance(2);
7270
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 35, "Selected cases"), " ");
7270
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(33, 38, "Selected cases"), " ");
7271
7271
  i0.ɵɵadvance(2);
7272
7272
  i0.ɵɵproperty("config", ctx.selectedCasesErrorMessageConfig)("errorMessage", ctx.shareCaseErrorMessage);
7273
7273
  i0.ɵɵadvance(1);
@@ -7275,20 +7275,20 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
7275
7275
  i0.ɵɵadvance(1);
7276
7276
  i0.ɵɵproperty("ngIf", ctx.shareCases && ctx.shareCases.length === 0);
7277
7277
  i0.ɵɵadvance(2);
7278
- i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(36, 37, "Continue"));
7278
+ i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(39, 40, "Continue"));
7279
7279
  i0.ɵɵadvance(2);
7280
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(38, 39, "Continue"), " ");
7280
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 42, "Continue"), " ");
7281
7281
  i0.ɵɵadvance(2);
7282
- i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(40, 41, "Cancel"));
7282
+ i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(43, 44, "Cancel"));
7283
7283
  i0.ɵɵproperty("routerLink", ctx.cancelLink);
7284
7284
  i0.ɵɵadvance(2);
7285
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(42, 43, "Cancel"), " ");
7285
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(45, 46, "Cancel"), " ");
7286
7286
  }
7287
7287
  }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2$4.NgSelectOption, i2$4.ɵNgSelectMultipleOption, i2$4.SelectControlValueAccessor, i2$4.NgControlStatus, i2$4.NgModel, i2$1.RouterLink, SelectedCaseListComponent, UserSelectComponent, HmctsErrorSummaryComponent, GovUkErrorMessageComponent, i2.RpxTranslatePipe], styles: ["select[_ngcontent-%COMP%]{width:100%}"] });
7288
7288
  (function () {
7289
7289
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareCaseComponent, [{
7290
7290
  type: Component,
7291
- args: [{ selector: 'xuilib-share-case', template: "<xuilib-hmcts-error-summary\n [errorMessages]=\"validationErrors\"\n [header]=\"'There is a problem'\"\n></xuilib-hmcts-error-summary>\n<h1 *ngIf=\"title\" class=\"govuk-heading-xl govuk-!-margin-top-2\">\n <span *ngIf=\"fnTitle\" class=\"govuk-caption-xl\">{{fnTitle | rpxTranslate}}</span>\n {{title | rpxTranslate}}\n</h1>\n<div id=\"add-user\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-!-font-weight-bold\" for=\"add-user-input\">{{addUserLabel | rpxTranslate}}</label>\n <span id=\"add-user-hint\" class=\"govuk-hint\">\n {{'Search by name or email address. You can share access with as many people as you need.' | rpxTranslate}}\n </span>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <xuilib-user-select\n id=\"add-user-input\"\n aria-describedby=\"add-user-hint\"\n [users]=\"users\"\n (selected)=\"onSelectedUser($event)\">\n </xuilib-user-select>\n </div>\n <div class=\"govuk-grid-column-one-thirds\">\n <button id=\"btn-add-user\" (click)=\"addUser()\"\n class=\"govuk-button govuk-button--secondary\" [disabled]=\"isDisabledAdd()\"\n title=\"{{'Add user to selected cases' | rpxTranslate}}\">\n {{'Add' | rpxTranslate}}\n </button>\n </div>\n </div>\n <details id=\"add-user-help\" class=\"govuk-details\" data-module=\"govuk-details\">\n <summary class=\"govuk-details__summary\">\n <span id=\"content-why-can-not-find-email\" class=\"govuk-details__summary-text\">\n {{\"Can't find an email address?\" | rpxTranslate}}\n </span>\n </summary>\n <div id=\"content-reason-can-not-find-email\" class=\"govuk-details__text\">\n {{\"If you can't find your colleague's email address, they will need to complete their registration. Contact your administrator for help.\" | rpxTranslate}}\n </div>\n </details>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"showRemoveUsers\">\n <label class=\"govuk-label govuk-!-font-weight-bold\" for=\"remove-user-input\">\n {{'Remove a person from all cases' | rpxTranslate}}\n </label>\n <span id=\"remove-user-hint\" class=\"govuk-hint\">\n {{'Select a person to remove them from all selected cases.' | rpxTranslate}}\n </span>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <select [(ngModel)]=\"selectedUserToRemove\" class=\"govuk-select\" id=\"remove-user-input\" aria-describedby=\"remove-user-hint\">\n <option [ngValue]=\"null\" selected>Select a person</option>\n <option *ngFor=\"let user of assignedUsers\" [ngValue]=\"user\">{{user.firstName}} {{user.lastName}} - {{user.email}}</option>\n </select>\n </div>\n <div class=\"govuk-grid-column-one-thirds\">\n <button id=\"btn-remove-user\" (click)=\"removeUser()\" class=\"govuk-button govuk-button--secondary\" title=\"{{'Remove user from selected cases' | rpxTranslate}}\">\n {{'Remove' | rpxTranslate}}\n </button>\n </div>\n </div>\n </div>\n</div>\n\n<div id=\"cases\" [ngClass]=\"{'govuk-form-group--error': shareCaseErrorMessage.messages && shareCaseErrorMessage.messages.length > 0}\">\n <h3 id=\"title-selected-cases\" class=\"govuk-heading-m\">\n {{'Selected cases' | rpxTranslate}}\n </h3>\n <xuilib-gov-uk-error-message [config]=\"selectedCasesErrorMessageConfig\" [errorMessage]=\"shareCaseErrorMessage\"></xuilib-gov-uk-error-message>\n <div *ngIf=\"shareCases && shareCases.length > 0\" class=\"govuk-accordion\" data-module=\"govuk-accordion\" id=\"accordion-with-summary-sections\">\n <xuilib-selected-case-list\n [shareCases$]=\"shareCases$\"\n [removeUserFromCaseToggleOn]=\"removeUserFromCaseToggleOn\"\n (unselect)=\"onUnselect($event)\"\n (synchronizeStore)=\"onSynchronizeStore($event)\"\n >\n </xuilib-selected-case-list>\n </div>\n\n <div id=\"noCaseDisplay\" *ngIf=\"shareCases && shareCases.length === 0\" class=\"govuk-hint\"\n [ngClass]=\"{'govuk-form-group--error': shareCaseErrorMessage.messages && shareCaseErrorMessage.messages.length > 0}\">\n {{'No cases to display.' | rpxTranslate}}\n </div>\n\n</div>\n\n<div id=\"share-case-nav\" class=\"govuk-button-group\">\n <button id=\"btn-continue\" class=\"govuk-button\" data-module=\"govuk-button\" (click)=\"onContinue()\" title=\"{{'Continue' | rpxTranslate}}\">\n {{'Continue' | rpxTranslate}}\n </button>\n <button id=\"btn-cancel\" class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\" title=\"{{'Cancel' | rpxTranslate}}\" [routerLink]=\"cancelLink\">\n {{'Cancel' | rpxTranslate}}\n </button>\n</div>\n", styles: ["select{width:100%}\n"] }]
7291
+ args: [{ selector: 'xuilib-share-case', template: "<xuilib-hmcts-error-summary\n [errorMessages]=\"validationErrors\"\n [header]=\"'There is a problem'\"\n></xuilib-hmcts-error-summary>\n<h1 *ngIf=\"title\" class=\"govuk-heading-xl govuk-!-margin-top-2\">\n <span *ngIf=\"fnTitle\" class=\"govuk-caption-xl\">{{fnTitle | rpxTranslate}}</span>\n {{title | rpxTranslate}}\n</h1>\n<div id=\"add-user\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-!-font-weight-bold\" for=\"add-user-input\">{{addUserLabel | rpxTranslate}}</label>\n <span id=\"add-user-hint\" class=\"govuk-hint\">\n {{'Search by name or email address. You can share access with as many people as you need.' | rpxTranslate}}\n </span>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <xuilib-user-select\n id=\"add-user-input\"\n aria-describedby=\"add-user-hint\"\n [users]=\"users\"\n (selected)=\"onSelectedUser($event)\">\n </xuilib-user-select>\n </div>\n <div class=\"govuk-grid-column-one-thirds\">\n <button id=\"btn-add-user\" (click)=\"addUser()\"\n class=\"govuk-button govuk-button--secondary\" [disabled]=\"isDisabledAdd()\"\n title=\"{{'Add user to selected cases' | rpxTranslate}}\">\n {{'Add' | rpxTranslate}}\n <span class=\"govuk-visually-hidden\">{{'user' | rpxTranslate}}</span>\n </button>\n </div>\n </div>\n <details id=\"add-user-help\" class=\"govuk-details\" data-module=\"govuk-details\">\n <summary class=\"govuk-details__summary\">\n <span id=\"content-why-can-not-find-email\" class=\"govuk-details__summary-text\">\n {{\"Can't find an email address?\" | rpxTranslate}}\n </span>\n </summary>\n <div id=\"content-reason-can-not-find-email\" class=\"govuk-details__text\">\n {{\"If you can't find your colleague's email address, they will need to complete their registration. Contact your administrator for help.\" | rpxTranslate}}\n </div>\n </details>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"showRemoveUsers\">\n <label class=\"govuk-label govuk-!-font-weight-bold\" for=\"remove-user-input\">\n {{'Remove a person from all cases' | rpxTranslate}}\n </label>\n <span id=\"remove-user-hint\" class=\"govuk-hint\">\n {{'Select a person to remove them from all selected cases.' | rpxTranslate}}\n </span>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <select [(ngModel)]=\"selectedUserToRemove\" class=\"govuk-select\" id=\"remove-user-input\" aria-describedby=\"remove-user-hint\">\n <option [ngValue]=\"null\" selected>Select a person</option>\n <option *ngFor=\"let user of assignedUsers\" [ngValue]=\"user\">{{user.firstName}} {{user.lastName}} - {{user.email}}</option>\n </select>\n </div>\n <div class=\"govuk-grid-column-one-thirds\">\n <button id=\"btn-remove-user\" (click)=\"removeUser()\" class=\"govuk-button govuk-button--secondary\" title=\"{{'Remove user from selected cases' | rpxTranslate}}\">\n {{'Remove' | rpxTranslate}}\n <span class=\"govuk-visually-hidden\"> {{'user' | rpxTranslate}}</span>\n </button>\n </div>\n </div>\n </div>\n</div>\n\n<div id=\"cases\" [ngClass]=\"{'govuk-form-group--error': shareCaseErrorMessage.messages && shareCaseErrorMessage.messages.length > 0}\">\n <h3 id=\"title-selected-cases\" class=\"govuk-heading-m\">\n {{'Selected cases' | rpxTranslate}}\n </h3>\n <xuilib-gov-uk-error-message [config]=\"selectedCasesErrorMessageConfig\" [errorMessage]=\"shareCaseErrorMessage\"></xuilib-gov-uk-error-message>\n <div *ngIf=\"shareCases && shareCases.length > 0\" class=\"govuk-accordion\" data-module=\"govuk-accordion\" id=\"accordion-with-summary-sections\">\n <xuilib-selected-case-list\n [shareCases$]=\"shareCases$\"\n [removeUserFromCaseToggleOn]=\"removeUserFromCaseToggleOn\"\n (unselect)=\"onUnselect($event)\"\n (synchronizeStore)=\"onSynchronizeStore($event)\"\n >\n </xuilib-selected-case-list>\n </div>\n\n <div id=\"noCaseDisplay\" *ngIf=\"shareCases && shareCases.length === 0\" class=\"govuk-hint\"\n [ngClass]=\"{'govuk-form-group--error': shareCaseErrorMessage.messages && shareCaseErrorMessage.messages.length > 0}\">\n {{'No cases to display.' | rpxTranslate}}\n </div>\n\n</div>\n\n<div id=\"share-case-nav\" class=\"govuk-button-group\">\n <button id=\"btn-continue\" class=\"govuk-button\" data-module=\"govuk-button\" (click)=\"onContinue()\" title=\"{{'Continue' | rpxTranslate}}\">\n {{'Continue' | rpxTranslate}}\n </button>\n <button id=\"btn-cancel\" class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\" title=\"{{'Cancel' | rpxTranslate}}\" [routerLink]=\"cancelLink\">\n {{'Cancel' | rpxTranslate}}\n </button>\n</div>\n", styles: ["select{width:100%}\n"] }]
7292
7292
  }], function () { return [{ type: CaseSharingStateService }, { type: i2$1.Router }]; }, { removeUserFromCaseToggleOn: [{
7293
7293
  type: Input
7294
7294
  }], shareCases$: [{
@@ -8214,7 +8214,7 @@ function CookieBannerComponent_div_0_Template(rf, ctx) {
8214
8214
  i0.ɵɵadvance(5);
8215
8215
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "We use some essential cookies to make this service work."));
8216
8216
  i0.ɵɵadvance(3);
8217
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 14, "We\u2019d also like to use analytics cookies so we can understand how you use the service and make improvements."));
8217
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 14, "We'd also like to use analytics cookies so we can understand how you use the service and make improvements."));
8218
8218
  i0.ɵɵadvance(4);
8219
8219
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 16, "Accept analytics cookies"), " ");
8220
8220
  i0.ɵɵadvance(3);
@@ -8308,7 +8308,7 @@ CookieBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cooki
8308
8308
  (function () {
8309
8309
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CookieBannerComponent, [{
8310
8310
  type: Component,
8311
- args: [{ selector: 'xuilib-cookie-banner', template: "<div class=\"govuk-cookie-banner \" role=\"region\" attr.aria-label=\"'Cookies on {{appName}}'\" *ngIf=\"isCookieBannerVisible\">\n <div class=\"govuk-cookie-banner__message govuk-width-container\">\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h2 class=\"govuk-cookie-banner__heading govuk-heading-m\">{{'Cookies on' | rpxTranslate}} {{appName | rpxTranslate}}</h2>\n\n <div class=\"govuk-cookie-banner__content\">\n <p>{{'We use some essential cookies to make this service work.' | rpxTranslate}}</p>\n <p>{{'We\\\u2019d also like to use analytics cookies so we can understand how you use the service and make improvements.' | rpxTranslate}}</p>\n </div>\n </div>\n </div>\n\n <div class=\"govuk-button-group\">\n <button value=\"accept\" type=\"button\" name=\"cookies\" class=\"govuk-button\" data-module=\"govuk-button\" (click)=\"acceptCookie()\">\n {{'Accept analytics cookies' | rpxTranslate}}\n </button>\n <button value=\"reject\" type=\"button\" name=\"cookies\" class=\"govuk-button\" data-module=\"govuk-button\" (click)=\"rejectCookie()\">\n {{'Reject analytics cookies' | rpxTranslate}}\n </button>\n <a class=\"govuk-link\" routerLink=\"/cookies\">{{'View cookies' | rpxTranslate}}</a>\n </div>\n </div>\n</div>\n" }]
8311
+ args: [{ selector: 'xuilib-cookie-banner', template: "<div class=\"govuk-cookie-banner \" role=\"region\" attr.aria-label=\"'Cookies on {{appName}}'\" *ngIf=\"isCookieBannerVisible\">\n <div class=\"govuk-cookie-banner__message govuk-width-container\">\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h2 class=\"govuk-cookie-banner__heading govuk-heading-m\">{{'Cookies on' | rpxTranslate}} {{appName | rpxTranslate}}</h2>\n\n <div class=\"govuk-cookie-banner__content\">\n <p>{{'We use some essential cookies to make this service work.' | rpxTranslate}}</p>\n <p>{{'We\\'d also like to use analytics cookies so we can understand how you use the service and make improvements.' | rpxTranslate}}</p>\n </div>\n </div>\n </div>\n\n <div class=\"govuk-button-group\">\n <button value=\"accept\" type=\"button\" name=\"cookies\" class=\"govuk-button\" data-module=\"govuk-button\" (click)=\"acceptCookie()\">\n {{'Accept analytics cookies' | rpxTranslate}}\n </button>\n <button value=\"reject\" type=\"button\" name=\"cookies\" class=\"govuk-button\" data-module=\"govuk-button\" (click)=\"rejectCookie()\">\n {{'Reject analytics cookies' | rpxTranslate}}\n </button>\n <a class=\"govuk-link\" routerLink=\"/cookies\">{{'View cookies' | rpxTranslate}}</a>\n </div>\n </div>\n</div>\n" }]
8312
8312
  }], function () {
8313
8313
  return [{ type: CookieService }, { type: undefined, decorators: [{
8314
8314
  type: Inject,
@@ -10464,7 +10464,7 @@ HmctsIdentityBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: H
10464
10464
  (function () {
10465
10465
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsIdentityBarComponent, [{
10466
10466
  type: Component,
10467
- args: [{ selector: 'xuilib-hmcts-identity-bar', template: "<div class=\"hmcts-identity-bar\" *ngIf=\"value\">\n\n <div class=\"hmcts-identity-bar__container\">\n\n <div class=\"hmcts-identity-bar__details\">\n\n <span class=\"hmcts-identity-bar__title\">{{value | rpxTranslate}}</span>\n\n </div>\n\n </div>\n\n</div>\n" }]
10467
+ args: [{ selector: 'xuilib-hmcts-identity-bar', template: "<div class=\"hmcts-identity-bar\" *ngIf=\"value\">\n <div class=\"hmcts-identity-bar__container\">\n <div class=\"hmcts-identity-bar__details\">\n <span class=\"hmcts-identity-bar__title\">{{value | rpxTranslate}}</span>\n </div>\n </div>\n</div>\n" }]
10468
10468
  }], function () { return []; }, { content: [{
10469
10469
  type: Input
10470
10470
  }] });