@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.
- package/esm2020/lib/components/cookie-banner/cookie-banner.component.mjs +3 -3
- package/esm2020/lib/components/find-service/find-service.component.mjs +14 -9
- package/esm2020/lib/components/search-location/search-location.component.mjs +61 -30
- package/esm2020/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +30 -25
- package/esm2020/lib/components/share-case/share-case.component.mjs +71 -61
- package/esm2020/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +2 -2
- package/esm2020/lib/services/find-person/find-person.service.mjs +6 -37
- package/fesm2015/hmcts-rpx-xui-common-lib.mjs +179 -179
- package/fesm2015/hmcts-rpx-xui-common-lib.mjs.map +1 -1
- package/fesm2020/hmcts-rpx-xui-common-lib.mjs +179 -179
- package/fesm2020/hmcts-rpx-xui-common-lib.mjs.map +1 -1
- package/lib/components/search-location/search-location.component.d.ts +3 -0
- package/package.json +1 -1
- package/esm2020/lib/gov-ui/models/isession-storage.interface.mjs +0 -2
- package/esm2020/lib/gov-ui/util/session-storage/session-storage-utils.mjs +0 -22
- package/lib/gov-ui/models/isession-storage.interface.d.ts +0 -4
- package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +0 -6
|
@@ -2129,28 +2129,6 @@ function getValues(options, values) {
|
|
|
2129
2129
|
}, []);
|
|
2130
2130
|
}
|
|
2131
2131
|
|
|
2132
|
-
const getAllCaseworkersFromServices = (caseworkersByService) => {
|
|
2133
|
-
let allCaseworkers = [];
|
|
2134
|
-
caseworkersByService.forEach(caseworkerListByService => {
|
|
2135
|
-
allCaseworkers = allCaseworkers.concat(caseworkerListByService.caseworkers);
|
|
2136
|
-
});
|
|
2137
|
-
return allCaseworkers;
|
|
2138
|
-
};
|
|
2139
|
-
const getSessionStorageKeyForServiceId = (serviceId) => {
|
|
2140
|
-
return `${serviceId}-caseworkers`;
|
|
2141
|
-
};
|
|
2142
|
-
const getCaseworkers = (serviceId, sessionStorageService) => {
|
|
2143
|
-
const sessionKey = getSessionStorageKeyForServiceId(serviceId);
|
|
2144
|
-
const value = sessionStorageService.getItem(sessionKey);
|
|
2145
|
-
if (value) {
|
|
2146
|
-
return JSON.parse(value);
|
|
2147
|
-
}
|
|
2148
|
-
};
|
|
2149
|
-
const setCaseworkers = (serviceId, caseworkers, sessionStorageService) => {
|
|
2150
|
-
const sessionKey = getSessionStorageKeyForServiceId(serviceId);
|
|
2151
|
-
sessionStorageService.setItem(sessionKey, JSON.stringify(caseworkers));
|
|
2152
|
-
};
|
|
2153
|
-
|
|
2154
2132
|
class SessionStorageService {
|
|
2155
2133
|
/**
|
|
2156
2134
|
* Get an item from the session storage.
|
|
@@ -2216,35 +2194,8 @@ class FindAPersonService {
|
|
|
2216
2194
|
}
|
|
2217
2195
|
this.assignedUser = searchOptions.assignedUser ? searchOptions.assignedUser : null;
|
|
2218
2196
|
const fullServices = searchOptions.services;
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
const storedCaseworkersByService = [];
|
|
2222
|
-
fullServices.forEach(serviceId => {
|
|
2223
|
-
const serviceKey = getSessionStorageKeyForServiceId(serviceId);
|
|
2224
|
-
if (this.sessionStorageService.getItem(serviceKey)) {
|
|
2225
|
-
storedServices.push(serviceId);
|
|
2226
|
-
storedCaseworkersByService.push({ service: serviceId, caseworkers: JSON.parse(this.sessionStorageService.getItem(serviceKey)) });
|
|
2227
|
-
}
|
|
2228
|
-
else {
|
|
2229
|
-
newServices.push(serviceId);
|
|
2230
|
-
}
|
|
2231
|
-
});
|
|
2232
|
-
// if all services are stored then return the stored caseworkers by service
|
|
2233
|
-
if (storedServices.length === fullServices.length) {
|
|
2234
|
-
const storedCaseworkers = getAllCaseworkersFromServices(storedCaseworkersByService);
|
|
2235
|
-
return of$1(this.searchInCaseworkers(storedCaseworkers, searchOptions));
|
|
2236
|
-
}
|
|
2237
|
-
// all serviceIds passed in as node layer getting used anyway and caseworkers also stored there
|
|
2238
|
-
return this.http.post('/workallocation/retrieveCaseWorkersForServices', { fullServices }).pipe(tap(caseworkersByService => {
|
|
2239
|
-
caseworkersByService.forEach(caseworkerListByService => {
|
|
2240
|
-
// for any new service, ensure that they are then stored in the session
|
|
2241
|
-
if (newServices.includes(caseworkerListByService.service)) {
|
|
2242
|
-
setCaseworkers(caseworkerListByService.service, caseworkerListByService.caseworkers, this.sessionStorageService);
|
|
2243
|
-
}
|
|
2244
|
-
});
|
|
2245
|
-
}), map(caseworkersByService => {
|
|
2246
|
-
const givenCaseworkers = getAllCaseworkersFromServices(caseworkersByService);
|
|
2247
|
-
return this.searchInCaseworkers(givenCaseworkers, searchOptions);
|
|
2197
|
+
return this.http.post('/workallocation/caseworker/getUsersByServiceName', { services: fullServices, term: searchOptions.searchTerm }).pipe(map(caseworkers => {
|
|
2198
|
+
return this.searchInCaseworkers(caseworkers, searchOptions);
|
|
2248
2199
|
}));
|
|
2249
2200
|
}
|
|
2250
2201
|
mapCaseworkers(caseworkers, roleCategory) {
|
|
@@ -2276,11 +2227,9 @@ class FindAPersonService {
|
|
|
2276
2227
|
roleCategory = RoleCategory.CTSC;
|
|
2277
2228
|
}
|
|
2278
2229
|
}
|
|
2279
|
-
const searchTerm = searchOptions && searchOptions.searchTerm ? searchOptions.searchTerm.toLowerCase() : '';
|
|
2280
2230
|
const people = caseworkers ? this.mapCaseworkers(caseworkers, roleCategory) : [];
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
: finalPeopleList.filter(person => person && person.id !== this.userId && person.id !== this.assignedUser);
|
|
2231
|
+
return searchOptions.userIncluded ? people.filter(person => person && person.id !== this.assignedUser)
|
|
2232
|
+
: people.filter(person => person && person.id !== this.userId && person.id !== this.assignedUser);
|
|
2284
2233
|
}
|
|
2285
2234
|
searchJudicial(value, serviceId) {
|
|
2286
2235
|
return this.http.post('api/prd/judicial/getJudicialUsersSearch', { searchString: value, serviceCode: serviceId });
|
|
@@ -2550,19 +2499,19 @@ LocationService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Location
|
|
|
2550
2499
|
}]
|
|
2551
2500
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null); })();
|
|
2552
2501
|
|
|
2553
|
-
function
|
|
2554
|
-
const
|
|
2555
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
2556
|
-
i0.ɵɵlistener("onSelectionChange", function
|
|
2502
|
+
function SearchLocationComponent_ng_container_5_ng_container_1_mat_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2503
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
2504
|
+
i0.ɵɵelementStart(0, "mat-option", 7);
|
|
2505
|
+
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)); });
|
|
2557
2506
|
i0.ɵɵtext(1);
|
|
2558
2507
|
i0.ɵɵelementEnd();
|
|
2559
2508
|
} if (rf & 2) {
|
|
2560
|
-
const
|
|
2561
|
-
const
|
|
2509
|
+
const location_r7 = ctx.$implicit;
|
|
2510
|
+
const ctx_r5 = i0.ɵɵnextContext(3);
|
|
2562
2511
|
i0.ɵɵadvance(1);
|
|
2563
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
2512
|
+
i0.ɵɵtextInterpolate1(" ", location_r7[ctx_r5.propertyNameFilter], " ");
|
|
2564
2513
|
} }
|
|
2565
|
-
function
|
|
2514
|
+
function SearchLocationComponent_ng_container_5_ng_container_1_mat_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
2566
2515
|
i0.ɵɵelementStart(0, "mat-option");
|
|
2567
2516
|
i0.ɵɵtext(1);
|
|
2568
2517
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -2571,26 +2520,26 @@ function SearchLocationComponent_ng_container_4_ng_container_1_mat_option_2_Temp
|
|
|
2571
2520
|
i0.ɵɵadvance(1);
|
|
2572
2521
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "No results found"));
|
|
2573
2522
|
} }
|
|
2574
|
-
function
|
|
2523
|
+
function SearchLocationComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2575
2524
|
i0.ɵɵelementContainerStart(0);
|
|
2576
|
-
i0.ɵɵtemplate(1,
|
|
2577
|
-
i0.ɵɵtemplate(2,
|
|
2525
|
+
i0.ɵɵtemplate(1, SearchLocationComponent_ng_container_5_ng_container_1_mat_option_1_Template, 2, 1, "mat-option", 6);
|
|
2526
|
+
i0.ɵɵtemplate(2, SearchLocationComponent_ng_container_5_ng_container_1_mat_option_2_Template, 3, 3, "mat-option", 5);
|
|
2578
2527
|
i0.ɵɵelementContainerEnd();
|
|
2579
2528
|
} if (rf & 2) {
|
|
2580
|
-
const
|
|
2529
|
+
const filteredList_r3 = i0.ɵɵnextContext().ngIf;
|
|
2581
2530
|
i0.ɵɵadvance(1);
|
|
2582
|
-
i0.ɵɵproperty("ngForOf",
|
|
2531
|
+
i0.ɵɵproperty("ngForOf", filteredList_r3);
|
|
2583
2532
|
i0.ɵɵadvance(1);
|
|
2584
|
-
i0.ɵɵproperty("ngIf",
|
|
2533
|
+
i0.ɵɵproperty("ngIf", filteredList_r3.length === 0);
|
|
2585
2534
|
} }
|
|
2586
|
-
function
|
|
2535
|
+
function SearchLocationComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
2587
2536
|
i0.ɵɵelementContainerStart(0);
|
|
2588
|
-
i0.ɵɵtemplate(1,
|
|
2537
|
+
i0.ɵɵtemplate(1, SearchLocationComponent_ng_container_5_ng_container_1_Template, 3, 2, "ng-container", 5);
|
|
2589
2538
|
i0.ɵɵelementContainerEnd();
|
|
2590
2539
|
} if (rf & 2) {
|
|
2591
|
-
const
|
|
2540
|
+
const filteredList_r3 = ctx.ngIf;
|
|
2592
2541
|
i0.ɵɵadvance(1);
|
|
2593
|
-
i0.ɵɵproperty("ngIf",
|
|
2542
|
+
i0.ɵɵproperty("ngIf", filteredList_r3 && filteredList_r3.length >= 0);
|
|
2594
2543
|
} }
|
|
2595
2544
|
class SearchLocationComponent {
|
|
2596
2545
|
get reset() {
|
|
@@ -2620,6 +2569,7 @@ class SearchLocationComponent {
|
|
|
2620
2569
|
this.term = '';
|
|
2621
2570
|
this.pReset = true;
|
|
2622
2571
|
this.debounceTimeInput = 300;
|
|
2572
|
+
this.previousValue = '';
|
|
2623
2573
|
}
|
|
2624
2574
|
ngOnInit() {
|
|
2625
2575
|
const searchInputChanges$ = this.searchTermFormControl.valueChanges
|
|
@@ -2684,28 +2634,58 @@ class SearchLocationComponent {
|
|
|
2684
2634
|
}
|
|
2685
2635
|
return locations.filter(location => !selectedLocations.map(selectedLocation => selectedLocation.epimms_id).includes(location.epimms_id) && location[this.propertyNameFilter]);
|
|
2686
2636
|
}
|
|
2637
|
+
removeInvalidString(formInputValue) {
|
|
2638
|
+
if (!this.isCharacterValid(formInputValue)) {
|
|
2639
|
+
formInputValue.preventDefault();
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
isCharacterValid(event) {
|
|
2643
|
+
let pressed = undefined;
|
|
2644
|
+
if (event.key !== undefined) {
|
|
2645
|
+
pressed = event.key;
|
|
2646
|
+
if (pressed.length > 1) {
|
|
2647
|
+
switch (pressed) {
|
|
2648
|
+
case 'Tab':
|
|
2649
|
+
return true;
|
|
2650
|
+
case 'ArrowRight':
|
|
2651
|
+
return true;
|
|
2652
|
+
case 'ArrowLeft':
|
|
2653
|
+
return true;
|
|
2654
|
+
case 'Backspace':
|
|
2655
|
+
return true;
|
|
2656
|
+
case 'Enter':
|
|
2657
|
+
return true;
|
|
2658
|
+
default: return false;
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
else if (event.keyCode !== undefined) {
|
|
2663
|
+
pressed = String.fromCharCode(event.keyCode);
|
|
2664
|
+
}
|
|
2665
|
+
return pressed && (/[a-zA-Z \s'-]/).test(pressed);
|
|
2666
|
+
}
|
|
2687
2667
|
}
|
|
2688
2668
|
SearchLocationComponent.allLocationAPI = `api/locations/getLocations`;
|
|
2689
2669
|
SearchLocationComponent.ɵfac = function SearchLocationComponent_Factory(t) { return new (t || SearchLocationComponent)(i0.ɵɵdirectiveInject(LocationService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(RefDataService)); };
|
|
2690
|
-
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:
|
|
2691
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "input", 1);
|
|
2692
|
-
i0.ɵɵlistener("input", function SearchLocationComponent_Template_input_input_1_listener() { return ctx.onInput(); });
|
|
2670
|
+
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) { if (rf & 1) {
|
|
2671
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "input", 1, 2);
|
|
2672
|
+
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(); });
|
|
2693
2673
|
i0.ɵɵelementEnd();
|
|
2694
|
-
i0.ɵɵelementStart(
|
|
2695
|
-
i0.ɵɵtemplate(
|
|
2696
|
-
i0.ɵɵpipe(
|
|
2674
|
+
i0.ɵɵelementStart(3, "mat-autocomplete", 3, 4);
|
|
2675
|
+
i0.ɵɵtemplate(5, SearchLocationComponent_ng_container_5_Template, 2, 1, "ng-container", 5);
|
|
2676
|
+
i0.ɵɵpipe(6, "async");
|
|
2697
2677
|
i0.ɵɵelementEnd()();
|
|
2698
2678
|
} if (rf & 2) {
|
|
2699
|
-
const
|
|
2679
|
+
const _r1 = i0.ɵɵreference(4);
|
|
2700
2680
|
i0.ɵɵadvance(1);
|
|
2701
|
-
i0.ɵɵproperty("formControl", ctx.searchTermFormControl)("matAutocomplete",
|
|
2681
|
+
i0.ɵɵproperty("formControl", ctx.searchTermFormControl)("matAutocomplete", _r1);
|
|
2702
2682
|
i0.ɵɵattribute("disabled", ctx.disabled);
|
|
2703
|
-
i0.ɵɵadvance(
|
|
2704
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
2683
|
+
i0.ɵɵadvance(4);
|
|
2684
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 4, ctx.filteredList$));
|
|
2705
2685
|
} }, 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}"] });
|
|
2706
2686
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchLocationComponent, [{
|
|
2707
2687
|
type: Component,
|
|
2708
|
-
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"] }]
|
|
2688
|
+
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"] }]
|
|
2709
2689
|
}], function () { return [{ type: LocationService }, { type: SessionStorageService }, { type: RefDataService }]; }, { form: [{
|
|
2710
2690
|
type: Input
|
|
2711
2691
|
}], field: [{
|
|
@@ -3256,14 +3236,19 @@ function FindServiceComponent_a_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
3256
3236
|
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)); });
|
|
3257
3237
|
i0.ɵɵtext(1);
|
|
3258
3238
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
3259
|
-
i0.ɵɵ
|
|
3239
|
+
i0.ɵɵelementStart(3, "span", 10);
|
|
3240
|
+
i0.ɵɵtext(4);
|
|
3241
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
3242
|
+
i0.ɵɵelementEnd()();
|
|
3260
3243
|
} if (rf & 2) {
|
|
3261
3244
|
i0.ɵɵadvance(1);
|
|
3262
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2,
|
|
3245
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "Add"), " ");
|
|
3246
|
+
i0.ɵɵadvance(3);
|
|
3247
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "service"));
|
|
3263
3248
|
} }
|
|
3264
3249
|
function FindServiceComponent_ul_7_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
3265
3250
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
3266
|
-
i0.ɵɵelementStart(0, "li",
|
|
3251
|
+
i0.ɵɵelementStart(0, "li", 13)(1, "a", 14);
|
|
3267
3252
|
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)); });
|
|
3268
3253
|
i0.ɵɵtext(2);
|
|
3269
3254
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -3274,8 +3259,8 @@ function FindServiceComponent_ul_7_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
3274
3259
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, selection_r6.label), " ");
|
|
3275
3260
|
} }
|
|
3276
3261
|
function FindServiceComponent_ul_7_Template(rf, ctx) { if (rf & 1) {
|
|
3277
|
-
i0.ɵɵelementStart(0, "ul",
|
|
3278
|
-
i0.ɵɵtemplate(1, FindServiceComponent_ul_7_li_1_Template, 4, 3, "li",
|
|
3262
|
+
i0.ɵɵelementStart(0, "ul", 11);
|
|
3263
|
+
i0.ɵɵtemplate(1, FindServiceComponent_ul_7_li_1_Template, 4, 3, "li", 12);
|
|
3279
3264
|
i0.ɵɵelementEnd();
|
|
3280
3265
|
} if (rf & 2) {
|
|
3281
3266
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -3378,14 +3363,14 @@ FindServiceComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FindSe
|
|
|
3378
3363
|
} if (rf & 2) {
|
|
3379
3364
|
let _t;
|
|
3380
3365
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchServiceComponent = _t.first);
|
|
3381
|
-
} }, 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) { if (rf & 1) {
|
|
3366
|
+
} }, 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) { if (rf & 1) {
|
|
3382
3367
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
3383
3368
|
i0.ɵɵtemplate(3, FindServiceComponent_label_3_Template, 3, 3, "label", 3);
|
|
3384
3369
|
i0.ɵɵelementEnd();
|
|
3385
3370
|
i0.ɵɵelementStart(4, "div", 4)(5, "exui-search-service", 5);
|
|
3386
3371
|
i0.ɵɵlistener("optionChanged", function FindServiceComponent_Template_exui_search_service_optionChanged_5_listener($event) { return ctx.onOptionSelected($event); });
|
|
3387
3372
|
i0.ɵɵelementEnd();
|
|
3388
|
-
i0.ɵɵtemplate(6, FindServiceComponent_a_6_Template,
|
|
3373
|
+
i0.ɵɵtemplate(6, FindServiceComponent_a_6_Template, 6, 6, "a", 6);
|
|
3389
3374
|
i0.ɵɵelementEnd()();
|
|
3390
3375
|
i0.ɵɵtemplate(7, FindServiceComponent_ul_7_Template, 2, 1, "ul", 7);
|
|
3391
3376
|
i0.ɵɵelementEnd();
|
|
@@ -3401,7 +3386,7 @@ FindServiceComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FindSe
|
|
|
3401
3386
|
} }, dependencies: [i1.NgForOf, i1.NgIf, SearchServiceComponent, i2.RpxTranslatePipe], styles: ["#add-service[_ngcontent-%COMP%]{background-color:#ddd}"] });
|
|
3402
3387
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FindServiceComponent, [{
|
|
3403
3388
|
type: Component,
|
|
3404
|
-
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"] }]
|
|
3389
|
+
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"] }]
|
|
3405
3390
|
}], null, { field: [{
|
|
3406
3391
|
type: Input
|
|
3407
3392
|
}], serviceTitle: [{
|
|
@@ -5346,14 +5331,14 @@ CaseSharingStateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token:
|
|
|
5346
5331
|
}]
|
|
5347
5332
|
}], function () { return []; }, null); })();
|
|
5348
5333
|
|
|
5349
|
-
function
|
|
5350
|
-
i0.ɵɵelementStart(0, "tr",
|
|
5334
|
+
function SelectedCaseConfirmComponent_div_0_tr_25_Template(rf, ctx) { if (rf & 1) {
|
|
5335
|
+
i0.ɵɵelementStart(0, "tr", 9)(1, "td", 14);
|
|
5351
5336
|
i0.ɵɵtext(2);
|
|
5352
5337
|
i0.ɵɵelementEnd();
|
|
5353
|
-
i0.ɵɵelementStart(3, "td",
|
|
5338
|
+
i0.ɵɵelementStart(3, "td", 14);
|
|
5354
5339
|
i0.ɵɵtext(4);
|
|
5355
5340
|
i0.ɵɵelementEnd();
|
|
5356
|
-
i0.ɵɵelementStart(5, "td",
|
|
5341
|
+
i0.ɵɵelementStart(5, "td", 14)(6, "span", 15);
|
|
5357
5342
|
i0.ɵɵtext(7);
|
|
5358
5343
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
5359
5344
|
i0.ɵɵelementEnd()()();
|
|
@@ -5366,14 +5351,14 @@ function SelectedCaseConfirmComponent_div_0_tr_22_Template(rf, ctx) { if (rf & 1
|
|
|
5366
5351
|
i0.ɵɵadvance(3);
|
|
5367
5352
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 3, "To be added"));
|
|
5368
5353
|
} }
|
|
5369
|
-
function
|
|
5370
|
-
i0.ɵɵelementStart(0, "tr",
|
|
5354
|
+
function SelectedCaseConfirmComponent_div_0_tr_26_Template(rf, ctx) { if (rf & 1) {
|
|
5355
|
+
i0.ɵɵelementStart(0, "tr", 9)(1, "td", 14);
|
|
5371
5356
|
i0.ɵɵtext(2);
|
|
5372
5357
|
i0.ɵɵelementEnd();
|
|
5373
|
-
i0.ɵɵelementStart(3, "td",
|
|
5358
|
+
i0.ɵɵelementStart(3, "td", 14);
|
|
5374
5359
|
i0.ɵɵtext(4);
|
|
5375
5360
|
i0.ɵɵelementEnd();
|
|
5376
|
-
i0.ɵɵelementStart(5, "td",
|
|
5361
|
+
i0.ɵɵelementStart(5, "td", 14)(6, "span", 16);
|
|
5377
5362
|
i0.ɵɵtext(7);
|
|
5378
5363
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
5379
5364
|
i0.ɵɵelementEnd()()();
|
|
@@ -5396,22 +5381,25 @@ function SelectedCaseConfirmComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
5396
5381
|
i0.ɵɵelementStart(6, "a", 5);
|
|
5397
5382
|
i0.ɵɵtext(7);
|
|
5398
5383
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
5399
|
-
i0.ɵɵ
|
|
5400
|
-
i0.ɵɵ
|
|
5401
|
-
i0.ɵɵ
|
|
5402
|
-
i0.ɵɵ
|
|
5403
|
-
i0.ɵɵ
|
|
5404
|
-
i0.ɵɵelementStart(15, "th", 9);
|
|
5384
|
+
i0.ɵɵelementStart(9, "span", 6);
|
|
5385
|
+
i0.ɵɵtext(10);
|
|
5386
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
5387
|
+
i0.ɵɵelementEnd()()();
|
|
5388
|
+
i0.ɵɵelementStart(12, "table", 7)(13, "thead", 8)(14, "tr", 9)(15, "th", 10);
|
|
5405
5389
|
i0.ɵɵtext(16);
|
|
5406
5390
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
5407
5391
|
i0.ɵɵelementEnd();
|
|
5408
5392
|
i0.ɵɵelementStart(18, "th", 10);
|
|
5409
5393
|
i0.ɵɵtext(19);
|
|
5410
5394
|
i0.ɵɵpipe(20, "rpxTranslate");
|
|
5395
|
+
i0.ɵɵelementEnd();
|
|
5396
|
+
i0.ɵɵelementStart(21, "th", 11);
|
|
5397
|
+
i0.ɵɵtext(22);
|
|
5398
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
5411
5399
|
i0.ɵɵelementEnd()()();
|
|
5412
|
-
i0.ɵɵelementStart(
|
|
5413
|
-
i0.ɵɵtemplate(
|
|
5414
|
-
i0.ɵɵtemplate(
|
|
5400
|
+
i0.ɵɵelementStart(24, "tbody", 12);
|
|
5401
|
+
i0.ɵɵtemplate(25, SelectedCaseConfirmComponent_div_0_tr_25_Template, 9, 5, "tr", 13);
|
|
5402
|
+
i0.ɵɵtemplate(26, SelectedCaseConfirmComponent_div_0_tr_26_Template, 9, 5, "tr", 13);
|
|
5415
5403
|
i0.ɵɵelementEnd()()();
|
|
5416
5404
|
} if (rf & 2) {
|
|
5417
5405
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -5423,13 +5411,15 @@ function SelectedCaseConfirmComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
5423
5411
|
i0.ɵɵadvance(1);
|
|
5424
5412
|
i0.ɵɵproperty("routerLink", ctx_r0.changeLink);
|
|
5425
5413
|
i0.ɵɵadvance(1);
|
|
5426
|
-
i0.ɵɵ
|
|
5414
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 13, "Change"), " ");
|
|
5415
|
+
i0.ɵɵadvance(3);
|
|
5416
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "selected case"));
|
|
5427
5417
|
i0.ɵɵadvance(6);
|
|
5428
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
5418
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "Name"));
|
|
5429
5419
|
i0.ɵɵadvance(3);
|
|
5430
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
5420
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 19, "Email address"));
|
|
5431
5421
|
i0.ɵɵadvance(3);
|
|
5432
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
5422
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 21, "Actions"));
|
|
5433
5423
|
i0.ɵɵadvance(3);
|
|
5434
5424
|
i0.ɵɵproperty("ngForOf", ctx_r0.sharedCase.pendingShares)("ngForTrackBy", ctx_r0.trackByUserId);
|
|
5435
5425
|
i0.ɵɵadvance(1);
|
|
@@ -5455,14 +5445,14 @@ class SelectedCaseConfirmComponent {
|
|
|
5455
5445
|
}
|
|
5456
5446
|
}
|
|
5457
5447
|
SelectedCaseConfirmComponent.ɵfac = function SelectedCaseConfirmComponent_Factory(t) { return new (t || SelectedCaseConfirmComponent)(i0.ɵɵdirectiveInject(CaseSharingStateService)); };
|
|
5458
|
-
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) { if (rf & 1) {
|
|
5459
|
-
i0.ɵɵtemplate(0, SelectedCaseConfirmComponent_div_0_Template,
|
|
5448
|
+
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) { if (rf & 1) {
|
|
5449
|
+
i0.ɵɵtemplate(0, SelectedCaseConfirmComponent_div_0_Template, 27, 23, "div", 0);
|
|
5460
5450
|
} if (rf & 2) {
|
|
5461
5451
|
i0.ɵɵproperty("ngIf", ctx.showUserAccessBlock());
|
|
5462
5452
|
} }, dependencies: [i1.NgForOf, i1.NgIf, i2$1.RouterLink, i2.RpxTranslatePipe], styles: [".case-share-confirm__title[_ngcontent-%COMP%]{margin-bottom:0}.case-share-confirm__caption-area[_ngcontent-%COMP%]{border-bottom:1px solid #b1b4b6;padding-bottom:10px;display:inline-block;width:100%;clear:both}.case-share-confirm__caption[_ngcontent-%COMP%]{float:left}.case-share-confirm__change-link[_ngcontent-%COMP%]{float:right}.govuk-table-column-header[_ngcontent-%COMP%]{width:45%}.govuk-table-column-actions[_ngcontent-%COMP%]{width:10%}"] });
|
|
5463
5453
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectedCaseConfirmComponent, [{
|
|
5464
5454
|
type: Component,
|
|
5465
|
-
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\"
|
|
5455
|
+
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"] }]
|
|
5466
5456
|
}], function () { return [{ type: CaseSharingStateService }]; }, { sharedCase: [{
|
|
5467
5457
|
type: Input
|
|
5468
5458
|
}], changeLink: [{
|
|
@@ -6341,7 +6331,7 @@ HmctsErrorSummaryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
6341
6331
|
}] }); })();
|
|
6342
6332
|
|
|
6343
6333
|
function ShareCaseComponent_h1_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
6344
|
-
i0.ɵɵelementStart(0, "span",
|
|
6334
|
+
i0.ɵɵelementStart(0, "span", 27);
|
|
6345
6335
|
i0.ɵɵtext(1);
|
|
6346
6336
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
6347
6337
|
i0.ɵɵelementEnd();
|
|
@@ -6351,8 +6341,8 @@ function ShareCaseComponent_h1_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
6351
6341
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r4.fnTitle));
|
|
6352
6342
|
} }
|
|
6353
6343
|
function ShareCaseComponent_h1_1_Template(rf, ctx) { if (rf & 1) {
|
|
6354
|
-
i0.ɵɵelementStart(0, "h1",
|
|
6355
|
-
i0.ɵɵtemplate(1, ShareCaseComponent_h1_1_span_1_Template, 3, 3, "span",
|
|
6344
|
+
i0.ɵɵelementStart(0, "h1", 25);
|
|
6345
|
+
i0.ɵɵtemplate(1, ShareCaseComponent_h1_1_span_1_Template, 3, 3, "span", 26);
|
|
6356
6346
|
i0.ɵɵtext(2);
|
|
6357
6347
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
6358
6348
|
i0.ɵɵelementEnd();
|
|
@@ -6363,8 +6353,8 @@ function ShareCaseComponent_h1_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
6363
6353
|
i0.ɵɵadvance(1);
|
|
6364
6354
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r0.title), "\n");
|
|
6365
6355
|
} }
|
|
6366
|
-
function
|
|
6367
|
-
i0.ɵɵelementStart(0, "option",
|
|
6356
|
+
function ShareCaseComponent_div_29_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
6357
|
+
i0.ɵɵelementStart(0, "option", 34);
|
|
6368
6358
|
i0.ɵɵtext(1);
|
|
6369
6359
|
i0.ɵɵelementEnd();
|
|
6370
6360
|
} if (rf & 2) {
|
|
@@ -6373,35 +6363,38 @@ function ShareCaseComponent_div_26_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
6373
6363
|
i0.ɵɵadvance(1);
|
|
6374
6364
|
i0.ɵɵtextInterpolate3("", user_r6.firstName, " ", user_r6.lastName, " - ", user_r6.email, "");
|
|
6375
6365
|
} }
|
|
6376
|
-
function
|
|
6366
|
+
function ShareCaseComponent_div_29_Template(rf, ctx) { if (rf & 1) {
|
|
6377
6367
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
6378
|
-
i0.ɵɵelementStart(0, "div", 3)(1, "label",
|
|
6368
|
+
i0.ɵɵelementStart(0, "div", 3)(1, "label", 28);
|
|
6379
6369
|
i0.ɵɵtext(2);
|
|
6380
6370
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
6381
6371
|
i0.ɵɵelementEnd();
|
|
6382
|
-
i0.ɵɵelementStart(4, "span",
|
|
6372
|
+
i0.ɵɵelementStart(4, "span", 29);
|
|
6383
6373
|
i0.ɵɵtext(5);
|
|
6384
6374
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
6385
6375
|
i0.ɵɵelementEnd();
|
|
6386
|
-
i0.ɵɵelementStart(7, "div", 6)(8, "div", 7)(9, "select",
|
|
6387
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
6388
|
-
i0.ɵɵelementStart(10, "option",
|
|
6376
|
+
i0.ɵɵelementStart(7, "div", 6)(8, "div", 7)(9, "select", 30);
|
|
6377
|
+
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); });
|
|
6378
|
+
i0.ɵɵelementStart(10, "option", 31);
|
|
6389
6379
|
i0.ɵɵtext(11, "Select a person");
|
|
6390
6380
|
i0.ɵɵelementEnd();
|
|
6391
|
-
i0.ɵɵtemplate(12,
|
|
6381
|
+
i0.ɵɵtemplate(12, ShareCaseComponent_div_29_option_12_Template, 2, 4, "option", 32);
|
|
6392
6382
|
i0.ɵɵelementEnd()();
|
|
6393
|
-
i0.ɵɵelementStart(13, "div", 9)(14, "button",
|
|
6394
|
-
i0.ɵɵlistener("click", function
|
|
6383
|
+
i0.ɵɵelementStart(13, "div", 9)(14, "button", 33);
|
|
6384
|
+
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()); });
|
|
6395
6385
|
i0.ɵɵpipe(15, "rpxTranslate");
|
|
6396
6386
|
i0.ɵɵtext(16);
|
|
6397
6387
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
6398
|
-
i0.ɵɵ
|
|
6388
|
+
i0.ɵɵelementStart(18, "span", 11);
|
|
6389
|
+
i0.ɵɵtext(19);
|
|
6390
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
6391
|
+
i0.ɵɵelementEnd()()()()();
|
|
6399
6392
|
} if (rf & 2) {
|
|
6400
6393
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6401
6394
|
i0.ɵɵadvance(2);
|
|
6402
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3,
|
|
6395
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 8, "Remove a person from all cases"), " ");
|
|
6403
6396
|
i0.ɵɵadvance(3);
|
|
6404
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6,
|
|
6397
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 10, "Select a person to remove them from all selected cases."), " ");
|
|
6405
6398
|
i0.ɵɵadvance(4);
|
|
6406
6399
|
i0.ɵɵproperty("ngModel", ctx_r1.selectedUserToRemove);
|
|
6407
6400
|
i0.ɵɵadvance(1);
|
|
@@ -6409,14 +6402,16 @@ function ShareCaseComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
|
6409
6402
|
i0.ɵɵadvance(2);
|
|
6410
6403
|
i0.ɵɵproperty("ngForOf", ctx_r1.assignedUsers);
|
|
6411
6404
|
i0.ɵɵadvance(2);
|
|
6412
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15,
|
|
6405
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15, 12, "Remove user from selected cases"));
|
|
6413
6406
|
i0.ɵɵadvance(2);
|
|
6414
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17,
|
|
6407
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 14, "Remove"), " ");
|
|
6408
|
+
i0.ɵɵadvance(3);
|
|
6409
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 16, "user"), "");
|
|
6415
6410
|
} }
|
|
6416
|
-
function
|
|
6411
|
+
function ShareCaseComponent_div_35_Template(rf, ctx) { if (rf & 1) {
|
|
6417
6412
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
6418
|
-
i0.ɵɵelementStart(0, "div",
|
|
6419
|
-
i0.ɵɵlistener("unselect", function
|
|
6413
|
+
i0.ɵɵelementStart(0, "div", 35)(1, "xuilib-selected-case-list", 36);
|
|
6414
|
+
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)); });
|
|
6420
6415
|
i0.ɵɵelementEnd()();
|
|
6421
6416
|
} if (rf & 2) {
|
|
6422
6417
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -6424,8 +6419,8 @@ function ShareCaseComponent_div_32_Template(rf, ctx) { if (rf & 1) {
|
|
|
6424
6419
|
i0.ɵɵproperty("shareCases$", ctx_r2.shareCases$)("removeUserFromCaseToggleOn", ctx_r2.removeUserFromCaseToggleOn);
|
|
6425
6420
|
} }
|
|
6426
6421
|
const _c0$e = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
6427
|
-
function
|
|
6428
|
-
i0.ɵɵelementStart(0, "div",
|
|
6422
|
+
function ShareCaseComponent_div_36_Template(rf, ctx) { if (rf & 1) {
|
|
6423
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
6429
6424
|
i0.ɵɵtext(1);
|
|
6430
6425
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
6431
6426
|
i0.ɵɵelementEnd();
|
|
@@ -6613,7 +6608,7 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
|
|
|
6613
6608
|
} if (rf & 2) {
|
|
6614
6609
|
let _t;
|
|
6615
6610
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.userSelect = _t.first);
|
|
6616
|
-
} }, 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:
|
|
6611
|
+
} }, 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) { if (rf & 1) {
|
|
6617
6612
|
i0.ɵɵelement(0, "xuilib-hmcts-error-summary", 0);
|
|
6618
6613
|
i0.ɵɵtemplate(1, ShareCaseComponent_h1_1_Template, 4, 4, "h1", 1);
|
|
6619
6614
|
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "label", 4);
|
|
@@ -6632,61 +6627,66 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
|
|
|
6632
6627
|
i0.ɵɵpipe(15, "rpxTranslate");
|
|
6633
6628
|
i0.ɵɵtext(16);
|
|
6634
6629
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
6635
|
-
i0.ɵɵ
|
|
6636
|
-
i0.ɵɵ
|
|
6637
|
-
i0.ɵɵ
|
|
6638
|
-
i0.ɵɵ
|
|
6639
|
-
i0.ɵɵ
|
|
6640
|
-
i0.ɵɵelementStart(23, "div", 14);
|
|
6630
|
+
i0.ɵɵelementStart(18, "span", 11);
|
|
6631
|
+
i0.ɵɵtext(19);
|
|
6632
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
6633
|
+
i0.ɵɵelementEnd()()()();
|
|
6634
|
+
i0.ɵɵelementStart(21, "details", 12)(22, "summary", 13)(23, "span", 14);
|
|
6641
6635
|
i0.ɵɵtext(24);
|
|
6642
6636
|
i0.ɵɵpipe(25, "rpxTranslate");
|
|
6637
|
+
i0.ɵɵelementEnd()();
|
|
6638
|
+
i0.ɵɵelementStart(26, "div", 15);
|
|
6639
|
+
i0.ɵɵtext(27);
|
|
6640
|
+
i0.ɵɵpipe(28, "rpxTranslate");
|
|
6643
6641
|
i0.ɵɵelementEnd()()();
|
|
6644
|
-
i0.ɵɵtemplate(
|
|
6642
|
+
i0.ɵɵtemplate(29, ShareCaseComponent_div_29_Template, 21, 18, "div", 16);
|
|
6645
6643
|
i0.ɵɵelementEnd();
|
|
6646
|
-
i0.ɵɵelementStart(
|
|
6647
|
-
i0.ɵɵtext(
|
|
6648
|
-
i0.ɵɵpipe(
|
|
6644
|
+
i0.ɵɵelementStart(30, "div", 17)(31, "h3", 18);
|
|
6645
|
+
i0.ɵɵtext(32);
|
|
6646
|
+
i0.ɵɵpipe(33, "rpxTranslate");
|
|
6649
6647
|
i0.ɵɵelementEnd();
|
|
6650
|
-
i0.ɵɵelement(
|
|
6651
|
-
i0.ɵɵtemplate(
|
|
6652
|
-
i0.ɵɵtemplate(
|
|
6648
|
+
i0.ɵɵelement(34, "xuilib-gov-uk-error-message", 19);
|
|
6649
|
+
i0.ɵɵtemplate(35, ShareCaseComponent_div_35_Template, 2, 2, "div", 20);
|
|
6650
|
+
i0.ɵɵtemplate(36, ShareCaseComponent_div_36_Template, 3, 6, "div", 21);
|
|
6653
6651
|
i0.ɵɵelementEnd();
|
|
6654
|
-
i0.ɵɵelementStart(
|
|
6655
|
-
i0.ɵɵlistener("click", function
|
|
6656
|
-
i0.ɵɵpipe(
|
|
6657
|
-
i0.ɵɵtext(
|
|
6658
|
-
i0.ɵɵpipe(
|
|
6652
|
+
i0.ɵɵelementStart(37, "div", 22)(38, "button", 23);
|
|
6653
|
+
i0.ɵɵlistener("click", function ShareCaseComponent_Template_button_click_38_listener() { return ctx.onContinue(); });
|
|
6654
|
+
i0.ɵɵpipe(39, "rpxTranslate");
|
|
6655
|
+
i0.ɵɵtext(40);
|
|
6656
|
+
i0.ɵɵpipe(41, "rpxTranslate");
|
|
6659
6657
|
i0.ɵɵelementEnd();
|
|
6660
|
-
i0.ɵɵelementStart(
|
|
6661
|
-
i0.ɵɵpipe(
|
|
6662
|
-
i0.ɵɵtext(
|
|
6663
|
-
i0.ɵɵpipe(
|
|
6658
|
+
i0.ɵɵelementStart(42, "button", 24);
|
|
6659
|
+
i0.ɵɵpipe(43, "rpxTranslate");
|
|
6660
|
+
i0.ɵɵtext(44);
|
|
6661
|
+
i0.ɵɵpipe(45, "rpxTranslate");
|
|
6664
6662
|
i0.ɵɵelementEnd()();
|
|
6665
6663
|
} if (rf & 2) {
|
|
6666
6664
|
i0.ɵɵproperty("errorMessages", ctx.validationErrors)("header", "There is a problem");
|
|
6667
6665
|
i0.ɵɵadvance(1);
|
|
6668
6666
|
i0.ɵɵproperty("ngIf", ctx.title);
|
|
6669
6667
|
i0.ɵɵadvance(4);
|
|
6670
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6,
|
|
6668
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 24, ctx.addUserLabel));
|
|
6671
6669
|
i0.ɵɵadvance(3);
|
|
6672
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
6670
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 26, "Search by name or email address. You can share access with as many people as you need."), " ");
|
|
6673
6671
|
i0.ɵɵadvance(4);
|
|
6674
6672
|
i0.ɵɵproperty("users", ctx.users);
|
|
6675
6673
|
i0.ɵɵadvance(2);
|
|
6676
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15,
|
|
6674
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(15, 28, "Add user to selected cases"));
|
|
6677
6675
|
i0.ɵɵproperty("disabled", ctx.isDisabledAdd());
|
|
6678
6676
|
i0.ɵɵadvance(2);
|
|
6679
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17,
|
|
6677
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 30, "Add"), " ");
|
|
6678
|
+
i0.ɵɵadvance(3);
|
|
6679
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 32, "user"));
|
|
6680
6680
|
i0.ɵɵadvance(5);
|
|
6681
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
6681
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 34, "Can't find an email address?"), " ");
|
|
6682
6682
|
i0.ɵɵadvance(3);
|
|
6683
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
6683
|
+
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."), " ");
|
|
6684
6684
|
i0.ɵɵadvance(2);
|
|
6685
6685
|
i0.ɵɵproperty("ngIf", ctx.showRemoveUsers);
|
|
6686
6686
|
i0.ɵɵadvance(1);
|
|
6687
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
6687
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(48, _c0$e, ctx.shareCaseErrorMessage.messages && ctx.shareCaseErrorMessage.messages.length > 0));
|
|
6688
6688
|
i0.ɵɵadvance(2);
|
|
6689
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
6689
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(33, 38, "Selected cases"), " ");
|
|
6690
6690
|
i0.ɵɵadvance(2);
|
|
6691
6691
|
i0.ɵɵproperty("config", ctx.selectedCasesErrorMessageConfig)("errorMessage", ctx.shareCaseErrorMessage);
|
|
6692
6692
|
i0.ɵɵadvance(1);
|
|
@@ -6694,18 +6694,18 @@ ShareCaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareCas
|
|
|
6694
6694
|
i0.ɵɵadvance(1);
|
|
6695
6695
|
i0.ɵɵproperty("ngIf", ctx.shareCases && ctx.shareCases.length === 0);
|
|
6696
6696
|
i0.ɵɵadvance(2);
|
|
6697
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(
|
|
6697
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(39, 40, "Continue"));
|
|
6698
6698
|
i0.ɵɵadvance(2);
|
|
6699
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
6699
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 42, "Continue"), " ");
|
|
6700
6700
|
i0.ɵɵadvance(2);
|
|
6701
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(
|
|
6701
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(43, 44, "Cancel"));
|
|
6702
6702
|
i0.ɵɵproperty("routerLink", ctx.cancelLink);
|
|
6703
6703
|
i0.ɵɵadvance(2);
|
|
6704
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
6704
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(45, 46, "Cancel"), " ");
|
|
6705
6705
|
} }, 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%}"] });
|
|
6706
6706
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareCaseComponent, [{
|
|
6707
6707
|
type: Component,
|
|
6708
|
-
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"] }]
|
|
6708
|
+
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"] }]
|
|
6709
6709
|
}], function () { return [{ type: CaseSharingStateService }, { type: i2$1.Router }]; }, { removeUserFromCaseToggleOn: [{
|
|
6710
6710
|
type: Input
|
|
6711
6711
|
}], shareCases$: [{
|
|
@@ -7512,7 +7512,7 @@ function CookieBannerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
7512
7512
|
i0.ɵɵadvance(5);
|
|
7513
7513
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "We use some essential cookies to make this service work."));
|
|
7514
7514
|
i0.ɵɵadvance(3);
|
|
7515
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 14, "We
|
|
7515
|
+
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."));
|
|
7516
7516
|
i0.ɵɵadvance(4);
|
|
7517
7517
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 16, "Accept analytics cookies"), " ");
|
|
7518
7518
|
i0.ɵɵadvance(3);
|
|
@@ -7601,7 +7601,7 @@ CookieBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cooki
|
|
|
7601
7601
|
} }, dependencies: [i1.NgIf, i2$1.RouterLink, i2.RpxTranslatePipe], encapsulation: 2 });
|
|
7602
7602
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CookieBannerComponent, [{
|
|
7603
7603
|
type: Component,
|
|
7604
|
-
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
|
|
7604
|
+
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" }]
|
|
7605
7605
|
}], function () { return [{ type: CookieService }, { type: undefined, decorators: [{
|
|
7606
7606
|
type: Inject,
|
|
7607
7607
|
args: [windowToken]
|
|
@@ -9504,7 +9504,7 @@ HmctsIdentityBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: H
|
|
|
9504
9504
|
} }, dependencies: [i1.NgIf, i2.RpxTranslatePipe] });
|
|
9505
9505
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsIdentityBarComponent, [{
|
|
9506
9506
|
type: Component,
|
|
9507
|
-
args: [{ selector: 'xuilib-hmcts-identity-bar', template: "<div class=\"hmcts-identity-bar\" *ngIf=\"value\">\n
|
|
9507
|
+
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" }]
|
|
9508
9508
|
}], function () { return []; }, { content: [{
|
|
9509
9509
|
type: Input
|
|
9510
9510
|
}] }); })();
|