@hmcts/rpx-xui-common-lib 3.2.28 → 3.2.29-govuk6-v1
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/fesm2022/hmcts-rpx-xui-common-lib.mjs +355 -312
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs.map +1 -1
- package/index.d.ts +13 -7
- package/package.json +12 -12
|
@@ -22,7 +22,7 @@ import * as i4 from '@angular/material/autocomplete';
|
|
|
22
22
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
23
23
|
import * as i1$4 from '@angular/material/tabs';
|
|
24
24
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i1$5 from 'ngx-pagination';
|
|
26
26
|
import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
|
|
27
27
|
import { MatInputModule } from '@angular/material/input';
|
|
28
28
|
|
|
@@ -1093,13 +1093,13 @@ function ContactDetailsComponent_Conditional_0_Conditional_1_Template(rf, ctx) {
|
|
|
1093
1093
|
i0.ɵɵtextInterpolate(ctx_r0.data.title);
|
|
1094
1094
|
} }
|
|
1095
1095
|
function ContactDetailsComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
1096
|
-
i0.ɵɵelementStart(0, "p")(1, "
|
|
1096
|
+
i0.ɵɵelementStart(0, "p")(1, "strong", 6);
|
|
1097
1097
|
i0.ɵɵtext(2);
|
|
1098
1098
|
i0.ɵɵelementEnd()();
|
|
1099
1099
|
} if (rf & 2) {
|
|
1100
1100
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
1101
1101
|
i0.ɵɵadvance();
|
|
1102
|
-
i0.ɵɵproperty("className", "
|
|
1102
|
+
i0.ɵɵproperty("className", "govuk-tag " + ctx_r0.data.badgeColour);
|
|
1103
1103
|
i0.ɵɵadvance();
|
|
1104
1104
|
i0.ɵɵtextInterpolate(ctx_r0.data.badgeText);
|
|
1105
1105
|
} }
|
|
@@ -1201,7 +1201,7 @@ class ContactDetailsComponent {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactDetailsComponent, [{
|
|
1203
1203
|
type: Component,
|
|
1204
|
-
args: [{ selector: 'xuilib-contact-details', standalone: false, template: "@if (data) {\n <div class=\"contact-details\">\n @if (data.title) {\n <h3 class=\"govuk-heading-m\">{{ data.title }}</h3>\n }\n @if (data.badgeText) {\n <p><
|
|
1204
|
+
args: [{ selector: 'xuilib-contact-details', standalone: false, template: "@if (data) {\n <div class=\"contact-details\">\n @if (data.title) {\n <h3 class=\"govuk-heading-m\">{{ data.title }}</h3>\n }\n @if (data.badgeText) {\n <p><strong [className]=\"'govuk-tag ' + data.badgeColour\">{{ data.badgeText }}</strong></p>\n }\n @if (data.email) {\n <div class=\"email\"><span class=\"govuk-!-font-weight-bold\">{{'Email:' | rpxTranslate}} </span> <a href=\"mailto:{{ data.email }}\">{{ data.email }}</a></div>\n }\n @if (data.contactDetails) {\n <div class=\"contactDetails\"><span class=\"govuk-!-font-weight-bold\">{{'Contact:' | rpxTranslate}} </span> <a rel=\"external\" href=\"{{ data.contactDetails.contactLink }}\">{{ data.contactDetails.name }}</a></div>\n }\n @if (data.phone) {\n <div class=\"phone\"><span class=\"govuk-!-font-weight-bold\">{{'Phone:' | rpxTranslate}} </span>{{ data.phone }}</div>\n }\n @if (data.openingTimes) {\n <div class=\"opening-times\"><span class=\"govuk-!-font-weight-bold\">{{'Opening times:' | rpxTranslate }} </span>{{ data.openingTimes}}</div>\n }\n </div>\n}", styles: [".contact-details{margin-top:30px}.contact-details h3,.contact-details p{margin-bottom:10px}\n"] }]
|
|
1205
1205
|
}], () => [], { data: [{
|
|
1206
1206
|
type: Input
|
|
1207
1207
|
}] }); })();
|
|
@@ -1209,14 +1209,14 @@ class ContactDetailsComponent {
|
|
|
1209
1209
|
|
|
1210
1210
|
var DateBadgeColour;
|
|
1211
1211
|
(function (DateBadgeColour) {
|
|
1212
|
-
DateBadgeColour["RED"] = "
|
|
1213
|
-
DateBadgeColour["ORANGE"] = "
|
|
1214
|
-
DateBadgeColour["GREEN"] = "
|
|
1212
|
+
DateBadgeColour["RED"] = "govuk-tag--red";
|
|
1213
|
+
DateBadgeColour["ORANGE"] = "govuk-tag--orange";
|
|
1214
|
+
DateBadgeColour["GREEN"] = "govuk-tag--green";
|
|
1215
1215
|
})(DateBadgeColour || (DateBadgeColour = {}));
|
|
1216
1216
|
const SECONDS_IN_A_DAY = 60 * 60 * 24;
|
|
1217
1217
|
|
|
1218
1218
|
function DueDateComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
1219
|
-
i0.ɵɵelementStart(0, "
|
|
1219
|
+
i0.ɵɵelementStart(0, "strong", 0);
|
|
1220
1220
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
1221
1221
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
1222
1222
|
i0.ɵɵtext(3);
|
|
@@ -1332,15 +1332,15 @@ class DueDateComponent {
|
|
|
1332
1332
|
return Math.floor(diffSecs / SECONDS_IN_A_DAY);
|
|
1333
1333
|
}
|
|
1334
1334
|
static { this.ɵfac = function DueDateComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DueDateComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
1335
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DueDateComponent, selectors: [["xuilib-due-date"]], inputs: { dueDate: "dueDate", highUrgencyCutoff: "highUrgencyCutoff", mediumUrgencyCutoff: "mediumUrgencyCutoff" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[1, "due-date", "
|
|
1336
|
-
i0.ɵɵconditionalCreate(0, DueDateComponent_Conditional_0_Template, 5, 10, "
|
|
1335
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DueDateComponent, selectors: [["xuilib-due-date"]], inputs: { dueDate: "dueDate", highUrgencyCutoff: "highUrgencyCutoff", mediumUrgencyCutoff: "mediumUrgencyCutoff" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[1, "due-date", "govuk-tag", 3, "ngClass", "title"]], template: function DueDateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1336
|
+
i0.ɵɵconditionalCreate(0, DueDateComponent_Conditional_0_Template, 5, 10, "strong", 0);
|
|
1337
1337
|
} if (rf & 2) {
|
|
1338
1338
|
i0.ɵɵconditional(ctx.dueDate ? 0 : -1);
|
|
1339
|
-
} }, dependencies: [i1.NgClass, i2.RpxTranslatePipe], styles: [".due-date{white-space:nowrap}
|
|
1339
|
+
} }, dependencies: [i1.NgClass, i2.RpxTranslatePipe], styles: [".due-date{white-space:nowrap}\n"], encapsulation: 2 }); }
|
|
1340
1340
|
}
|
|
1341
1341
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DueDateComponent, [{
|
|
1342
1342
|
type: Component,
|
|
1343
|
-
args: [{ selector: 'xuilib-due-date', encapsulation: ViewEncapsulation.None, standalone: false, template: "@if (dueDate) {\n <
|
|
1343
|
+
args: [{ selector: 'xuilib-due-date', encapsulation: ViewEncapsulation.None, standalone: false, template: "@if (dueDate) {\n <strong class=\"due-date govuk-tag\" [ngClass]=\"badge\"\n [title]=\"accessibleLabel | rpxTranslate\" [attr.aria-label]=\"accessibleLabel | rpxTranslate\">\n {{label | rpxTranslate}}\n </strong>\n}", styles: [".due-date{white-space:nowrap}\n"] }]
|
|
1344
1344
|
}], () => [{ type: i0.ChangeDetectorRef }], { dueDate: [{
|
|
1345
1345
|
type: Input
|
|
1346
1346
|
}], highUrgencyCutoff: [{
|
|
@@ -1520,9 +1520,9 @@ var SharedCaseErrorMessages;
|
|
|
1520
1520
|
|
|
1521
1521
|
var BadgeColour;
|
|
1522
1522
|
(function (BadgeColour) {
|
|
1523
|
-
BadgeColour["BADGE_RED"] = "
|
|
1524
|
-
BadgeColour["BADGE_BLUE"] = "
|
|
1525
|
-
BadgeColour["BADGE_GREEN"] = "
|
|
1523
|
+
BadgeColour["BADGE_RED"] = "govuk-tag--red";
|
|
1524
|
+
BadgeColour["BADGE_BLUE"] = "govuk-tag--blue";
|
|
1525
|
+
BadgeColour["BADGE_GREEN"] = "govuk-tag--green";
|
|
1526
1526
|
})(BadgeColour || (BadgeColour = {}));
|
|
1527
1527
|
|
|
1528
1528
|
class AnonymousFeatureUser {
|
|
@@ -2513,7 +2513,7 @@ class FindAPersonService {
|
|
|
2513
2513
|
}]
|
|
2514
2514
|
}], () => [{ type: i1$2.HttpClient }, { type: SessionStorageService }], null); })();
|
|
2515
2515
|
|
|
2516
|
-
const _c0$n = a0 => ({ "form-group
|
|
2516
|
+
const _c0$n = a0 => ({ "govuk-form-group--error": a0 });
|
|
2517
2517
|
const _c1$d = (a0, a1) => ({ "hide-autocomplete": a0, "select-option": a1 });
|
|
2518
2518
|
const _c2$5 = a0 => ({ "select-option": a0 });
|
|
2519
2519
|
function FindPersonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2703,7 +2703,7 @@ class FindPersonComponent {
|
|
|
2703
2703
|
}
|
|
2704
2704
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FindPersonComponent, [{
|
|
2705
2705
|
type: Component,
|
|
2706
|
-
args: [{ selector: 'xuilib-find-person', standalone: false, template: "@if (title && title.length) {\n <h1 class=\"govuk-heading-l\">\n <span class=\"govuk-caption-l\">{{title | rpxTranslate}}</span>\n {{boldTitle | rpxTranslate}}\n </h1>\n}\n<div class=\"govuk-form-group\" [formGroup]=\"findPersonGroup\"\n [ngClass]=\"{'form-group
|
|
2706
|
+
args: [{ selector: 'xuilib-find-person', standalone: false, template: "@if (title && title.length) {\n <h1 class=\"govuk-heading-l\">\n <span class=\"govuk-caption-l\">{{title | rpxTranslate}}</span>\n {{boldTitle | rpxTranslate}}\n </h1>\n}\n<div class=\"govuk-form-group\" [formGroup]=\"findPersonGroup\"\n [ngClass]=\"{'govuk-form-group--error': findPersonGroup.get('findPersonControl').invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" [attr.aria-describedby]=\"subTitle && subTitle.length ? 'sub-title-hint' : null\">\n <legend class=\"govuk-visually-hidden\">{{boldTitle | rpxTranslate}}</legend>\n @if (subTitle && subTitle.length) {\n <div id=\"sub-title-hint\" class=\"govuk-hint\">\n {{subTitle | rpxTranslate}}\n </div>\n }\n @if (findPersonGroup && findPersonGroup.errors) {\n <span id=\"validation-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span>{{findPersonGroup.errors.error ? findPersonGroup.errors.error : errorMessage}}\n </span>\n }\n <input id=\"inputSelectPerson{{idValue}}\" type=\"text\" aria-label=\"select a person\"\n formControlName=\"findPersonControl\"\n [matAutocomplete]=\"auto\"\n class=\"govuk-input govuk-!-width-one-third\"\n [placeholder]=\"placeholderContent\"\n [attr.disabled]=\"disabled\"\n (input)=\"onInput()\">\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\" (optionSelected)=\"onSelectionChange($event.option.value)\">\n @for (option of filteredOptions; track option) {\n <mat-option\n [value]=\"option\"\n [ngClass]=\"{'hide-autocomplete': !showAutocomplete, 'select-option': showUpdatedColor}\">\n {{getDisplayName(option) | rpxTranslate}}\n </mat-option>\n }\n @if (isNoResultsShown && !filteredOptions.length && showAutocomplete) {\n <mat-option [ngClass]=\"{'select-option': showUpdatedColor}\">{{'No results found' | rpxTranslate}}</mat-option>\n }\n </mat-autocomplete>\n </fieldset>\n</div>\n", styles: [".mat-option:hover{background:#2596be}.mat-option.select-option:hover{background:#1d70b8;color:#fff}.hide-autocomplete{display:none}\n"] }]
|
|
2707
2707
|
}], () => [{ type: FindAPersonService }, { type: i0.ChangeDetectorRef }], { personSelected: [{
|
|
2708
2708
|
type: Output
|
|
2709
2709
|
}], personFieldChanged: [{
|
|
@@ -3170,7 +3170,7 @@ class FindLocationComponent {
|
|
|
3170
3170
|
}] }); })();
|
|
3171
3171
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FindLocationComponent, { className: "FindLocationComponent", filePath: "lib/components/find-location/find-location.component.ts", lineNumber: 14 }); })();
|
|
3172
3172
|
|
|
3173
|
-
const _c0$m = a0 => ({ "form-group
|
|
3173
|
+
const _c0$m = a0 => ({ "govuk-form-group--error": a0 });
|
|
3174
3174
|
const _c1$c = (a0, a1) => ({ "hide-autocomplete": a0, "select-option": a1 });
|
|
3175
3175
|
const _c2$4 = a0 => ({ "select-option": a0 });
|
|
3176
3176
|
function FindTaskNameComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -3326,7 +3326,7 @@ class FindTaskNameComponent {
|
|
|
3326
3326
|
}
|
|
3327
3327
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FindTaskNameComponent, [{
|
|
3328
3328
|
type: Component,
|
|
3329
|
-
args: [{ selector: 'xuilib-find-task-name', standalone: false, template: "@if (title && title.length) {\n <h1 class=\"govuk-heading-l\">\n <span class=\"govuk-caption-l\">{{title}}</span>\n {{boldTitle}}\n </h1>\n}\n<div class=\"govuk-form-group\" [formGroup]=\"findTaskNameGroup\"\n [ngClass]=\"{'form-group
|
|
3329
|
+
args: [{ selector: 'xuilib-find-task-name', standalone: false, template: "@if (title && title.length) {\n <h1 class=\"govuk-heading-l\">\n <span class=\"govuk-caption-l\">{{title}}</span>\n {{boldTitle}}\n </h1>\n}\n<div class=\"govuk-form-group\" [formGroup]=\"findTaskNameGroup\"\n [ngClass]=\"{'govuk-form-group--error': findTaskNameGroup.get('findTaskNameControl')?.invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" [attr.aria-describedby]=\"subTitle && subTitle.length ? 'sub-title-hint' : null\">\n <legend class=\"govuk-visually-hidden\">{{ boldTitle }}</legend>\n @if (subTitle && subTitle.length) {\n <div id=\"sub-title-hint\" class=\"govuk-hint\">\n {{subTitle}}\n </div>\n }\n @if (findTaskNameGroup && findTaskNameGroup.errors) {\n <span id=\"validation-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{findTaskNameGroup.errors.error ? findTaskNameGroup.errors.error : errorMessage}}\n </span>\n }\n <input id=\"inputSelectTaskName{{idValue}}\" type=\"text\" aria-label=\"select a task name\"\n formControlName=\"findTaskNameControl\"\n [matAutocomplete]=\"auto\"\n class=\"govuk-input govuk-!-width-one-third\"\n [placeholder]=\"placeholderContent\"\n [attr.disabled]=\"disabled\"\n (input)=\"onInput()\">\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\" (optionSelected)=\"onSelectionChange($event.option.value)\">\n @for (option of filteredOptions; track option) {\n <mat-option\n [value]=\"option\"\n [ngClass]=\"{'hide-autocomplete': !showAutocomplete, 'select-option': showUpdatedColor}\">\n {{ getTaskTypeName(option) }}\n </mat-option>\n }\n @if (isNoResultsShown && !filteredOptions.length && showAutocomplete) {\n <mat-option [ngClass]=\"{'select-option': showUpdatedColor}\">No results found</mat-option>\n }\n </mat-autocomplete>\n </fieldset>\n</div>\n" }]
|
|
3330
3330
|
}], () => [{ type: i0.ChangeDetectorRef }, { type: TaskService }], { taskNameSelected: [{
|
|
3331
3331
|
type: Output
|
|
3332
3332
|
}], taskNameFieldChanged: [{
|
|
@@ -4050,7 +4050,7 @@ class CapitalizePipe {
|
|
|
4050
4050
|
}]
|
|
4051
4051
|
}], null, null); })();
|
|
4052
4052
|
|
|
4053
|
-
const _c0$l = a0 => ({ "form-group
|
|
4053
|
+
const _c0$l = a0 => ({ "govuk-form-group--error": a0 });
|
|
4054
4054
|
const _c1$b = a0 => ({ "govuk-!-font-weight-bold": a0 });
|
|
4055
4055
|
function GenericFilterComponent_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4056
4056
|
i0.ɵɵelement(0, "hr", 7);
|
|
@@ -5208,7 +5208,7 @@ class GenericFilterComponent {
|
|
|
5208
5208
|
}
|
|
5209
5209
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GenericFilterComponent, [{
|
|
5210
5210
|
type: Component,
|
|
5211
|
-
args: [{ selector: 'xuilib-generic-filter', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n @for (field of config.fields; track field) {\n <div class=\"contain-classes\">\n @if (field.lineBreakBefore) {\n <hr class=\"govuk-section-break govuk-section-break--visible elevated-break\">\n }\n @switch (field.type) {\n @case ('group-title') {\n <div [class]=\"field.titleClasses ? field.titleClasses: 'govuk-label govuk-label--m govuk-!-margin-bottom-4'\">\n {{ field.name | capitalize }}\n </div>\n }\n @default {\n <div class=\"govuk-form-group xui-generic-filter\"\n [hidden]=\"hidden(field, form)\"\n [id]=\"field.name\"\n [ngClass]=\"{'form-group-error': submitted && (form.get(field.name).errors?.required || form.get(field.name).errors?.minlength || form.get(field.name).errors?.maxLength)}\">\n @if (field.title) {\n <div class=\"xui-generic-filter__field-title\">\n <h3 [id]=\"field.name + '-label'\" [class]=\"field.titleClasses ? field.titleClasses : 'govuk-heading-s'\" style=\"margin-bottom: 0!important\">\n {{field.title | capitalize}}\n </h3>\n @if (field?.titleHint) {\n <div class=\"govuk-!-margin-left-2\">\n {{ field.titleHint }}\n </div>\n }\n </div>\n }\n @if (field.subTitle) {\n <p class=\"govuk-body\">{{field.subTitle}}</p>\n }\n @if (field.hintText) {\n <div\n [id]=\"field.hintText + '-hint'\" class=\"govuk-hint\">\n {{ field.hintText | rpxTranslate }}\n </div>\n }\n @if (field.displayMinSelectedError && submitted && (form.get(field.name).errors?.required || form.get(field.name).errors?.minlength)) {\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate}}</span> {{field.minSelectedError | rpxTranslate }}\n </span>\n }\n @if (field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength) {\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate}}</span> {{field.maxSelectedError | rpxTranslate }}\n </span>\n }\n @if (field.emailError && submitted && form.get(field.name).errors?.email) {\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\"\n >\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span> {{field.emailError | rpxTranslate }}\n </span>\n }\n <div class=\"govuk-body\" [class.govuk-body--maxWidth480px]=\"field.maxWidth480px\">\n @switch (field.type) {\n @case ('select') {\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [attr.aria-labelledby]=\"field.name + '-label'\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n @if (field.defaultOption) {\n <option [attr.selected]=\"true\" [value]=\"field.defaultOption.key\">{{field.defaultOption.label}}</option>\n }\n @for (item of field.options; track item) {\n <option class=\"govuk-radios__item\" [value]=\"item.key\">{{item.label}}</option>\n }\n </select>\n }\n @case ('group-select') {\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [attr.aria-labelledby]=\"field.name + '-label'\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n @if (field.defaultOption) {\n <option selected [value]=\"field.defaultOption.key\">{{field.defaultOption.label}}</option>\n }\n @for (grp of filteredSkillsByServices; track grp) {\n <optgroup label=\"{{grp.group | titlecase}}\">\n @for (item of grp.options; track item) {\n <option [value]=\"item.key\">{{item.label}}</option>\n }\n </optgroup>\n }\n </select>\n }\n @case ('checkbox') {\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n @for (item of field.options; track item; let i = $index) {\n <div class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + field.name + item.key\"\n [name]=\"'checkbox_' + field.name + item.key\"\n />\n <label\n [for]=\"'checkbox_' + field.name + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n }\n </div>\n }\n @case ('nested-checkbox') {\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n @for (item of filteredSkillsByServicesCheckbox; track item; let i = $index) {\n <div class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + field.name + item.key\"\n [name]=\"'checkbox_' + field.name + item.key\"\n />\n <label\n [for]=\"'checkbox_' + field.name + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label | rpxTranslate}}</label>\n </div>\n }\n </div>\n }\n @case ('checkbox-large') {\n <div class=\"govuk-checkboxes\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n @for (item of field.options; track item; let i = $index) {\n <div class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + field.name + item.key\"\n [name]=\"'checkbox_' + field.name + item.key\"\n />\n <label\n [for]=\"'checkbox_' + field.name + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label | rpxTranslate}}</label>\n </div>\n }\n </div>\n }\n @case ('radio') {\n <div class=\"govuk-radios\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\">\n @for (item of field.options; track item) {\n <div class=\"govuk-radios__item\">\n <input type=\"radio\"\n [formControlName]=\"field.name\"\n [id]=\"'radio_' + item.key\"\n [attr.disabled]=\"disabled(field, form)\"\n [checked]=\"item.key === form.get(field.name).value\"\n class=\"govuk-radios__input\"\n [value]=\"item.key\"\n (change)=\"fieldChanged(field, form)\"\n />\n <label [for]=\"'radio_' + item.key\" class=\"govuk-label govuk-radios__label\">{{item.label | rpxTranslate}}</label>\n </div>\n }\n </div>\n }\n @case ('find-person') {\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, field)\"\n (personFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findPersonGroup]=\"form\"\n [selectedPerson]=\"form.get(field.name)?.value?.email\"\n [userIncluded]=\"false\"\n [placeholderContent]=\"field.placeholderContent ? field.placeholderContent : ''\"\n [services]=\"form.get(field.servicesField)?.value\"\n ></xuilib-find-person>\n }\n @case ('find-location') {\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle || 'Search for a location by name'\"\n [enableAddLocationButton]=\"field.enableAddButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [submitted]=\"submitted\"\n [field]=\"field\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [formSubmissionEvent$]=\"formSubmissionEvent$\"\n ></xuilib-find-location>\n }\n @case ('find-task-name') {\n <xuilib-find-task-name subTitle=\"\" (taskNameSelected)=\"updateTaskNameControls($event, field)\"\n (taskNameFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findTaskNameGroup]=\"form\"\n [selectedTaskName]=\"form.get(field.name)?.value?.task_type_name\"\n [placeholderContent]=\"field.placeholderContent ? field.placeholderContent : ''\"\n [services]=\"form.get(field.servicesField)?.value\"\n ></xuilib-find-task-name>\n }\n @case ('find-service') {\n @if (isServiceSelected) {\n <span class=\"govuk-error-message\">{{serviceErrorMsg | rpxTranslate}}</span>\n }\n <xuilib-find-service (serviceFieldChanged)=\"inputServiceChanged(field)\"\n [field]=\"field\"\n [form]=\"form\"\n [formSubmissionEvent$]=\"formSubmissionEvent$\"\n [disabled]=\"disabled(field, form)\">\n </xuilib-find-service>\n }\n @case ('find-work-type') {\n <xuilib-find-work-type (workTypeFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [workTypeTitle]=\"field.workTypeTitle || 'Search for a work type by name'\"\n [enableAddWorkTypeButton]=\"field.enableAddButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [submitted]=\"submitted\"\n [field]=\"field\"\n [services]=\"form.get(field.findWorkTypeField)?.value\"\n [formSubmissionEvent$]=\"formSubmissionEvent$\"\n ></xuilib-find-work-type>\n }\n @case ('text-input') {\n <input class=\"govuk-input\" type=\"text\"\n [formControlName]=\"field.name\"\n [id]=\"field.name\"\n [attr.aria-labelledby]=\"field.name + '-label'\"\n [attr.disabled]=\"disabled(field, form)\"\n (change)=\"fieldChanged(field, form)\"\n [attr.maxlength]=\"field.maxlength ? field.maxlength : null\"\n [readonly]=\"field.readonly\"\n />\n }\n @case ('email-input') {\n <input class=\"govuk-input\" type=\"email\"\n [formControlName]=\"field.name\"\n [id]=\"field.name\"\n [attr.aria-labelledby]=\"field.name + '-label'\"\n [attr.disabled]=\"disabled(field, form)\"\n (change)=\"fieldChanged(field, form)\"\n [readonly]=\"field.readonly\"\n />\n }\n }\n </div>\n </div>\n }\n }\n </div>\n }\n <hr class=\"govuk-section-break govuk-section-break--m govuk-section-break--visible\"/>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <button\n class=\"govuk-button govuk-!-margin-right-1 govuk-!-margin-bottom-0\"\n type=\"submit\"\n id=\"applyFilter\"\n [disabled]=\"config.enableDisabledButton && form.invalid\"\n >{{(config.applyButtonText || 'Apply') | rpxTranslate}}</button>\n @if (config.showCancelFilterButton) {\n <button\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ (config.cancelButtonText || 'Cancel') | rpxTranslate}}</button>\n }\n </div>\n </div>\n</form>\n", styles: [".contain-classes .elevated-break{margin-bottom:20px}@media (min-width: 40.0625em){.contain-classes .elevated-break{margin-bottom:30px}}.contain-classes .govuk-body--maxWidth480px{max-width:480px}.contain-classes .xui-generic-filter .select-all{margin-bottom:10px}.contain-classes .xui-generic-filter .govuk-checkboxes{display:flex;flex-direction:column;flex-wrap:wrap}.contain-classes .xui-generic-filter .govuk-checkboxes>div{flex-grow:1;flex-shrink:0}.contain-classes .xui-generic-filter__field-title{display:flex;align-items:center;margin-bottom:10px}.contain-classes .govuk-select{width:100%}\n"] }]
|
|
5211
|
+
args: [{ selector: 'xuilib-generic-filter', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n @for (field of config.fields; track field) {\n <div class=\"contain-classes\">\n @if (field.lineBreakBefore) {\n <hr class=\"govuk-section-break govuk-section-break--visible elevated-break\">\n }\n @switch (field.type) {\n @case ('group-title') {\n <div [class]=\"field.titleClasses ? field.titleClasses: 'govuk-label govuk-label--m govuk-!-margin-bottom-4'\">\n {{ field.name | capitalize }}\n </div>\n }\n @default {\n <div class=\"govuk-form-group xui-generic-filter\"\n [hidden]=\"hidden(field, form)\"\n [id]=\"field.name\"\n [ngClass]=\"{'govuk-form-group--error': submitted && (form.get(field.name).errors?.required || form.get(field.name).errors?.minlength || form.get(field.name).errors?.maxLength)}\">\n @if (field.title) {\n <div class=\"xui-generic-filter__field-title\">\n <h3 [id]=\"field.name + '-label'\" [class]=\"field.titleClasses ? field.titleClasses : 'govuk-heading-s'\" style=\"margin-bottom: 0!important\">\n {{field.title | capitalize}}\n </h3>\n @if (field?.titleHint) {\n <div class=\"govuk-!-margin-left-2\">\n {{ field.titleHint }}\n </div>\n }\n </div>\n }\n @if (field.subTitle) {\n <p class=\"govuk-body\">{{field.subTitle}}</p>\n }\n @if (field.hintText) {\n <div\n [id]=\"field.hintText + '-hint'\" class=\"govuk-hint\">\n {{ field.hintText | rpxTranslate }}\n </div>\n }\n @if (field.displayMinSelectedError && submitted && (form.get(field.name).errors?.required || form.get(field.name).errors?.minlength)) {\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate}}</span> {{field.minSelectedError | rpxTranslate }}\n </span>\n }\n @if (field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength) {\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate}}</span> {{field.maxSelectedError | rpxTranslate }}\n </span>\n }\n @if (field.emailError && submitted && form.get(field.name).errors?.email) {\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\"\n >\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span> {{field.emailError | rpxTranslate }}\n </span>\n }\n <div class=\"govuk-body\" [class.govuk-body--maxWidth480px]=\"field.maxWidth480px\">\n @switch (field.type) {\n @case ('select') {\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [attr.aria-labelledby]=\"field.name + '-label'\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n @if (field.defaultOption) {\n <option [attr.selected]=\"true\" [value]=\"field.defaultOption.key\">{{field.defaultOption.label}}</option>\n }\n @for (item of field.options; track item) {\n <option class=\"govuk-radios__item\" [value]=\"item.key\">{{item.label}}</option>\n }\n </select>\n }\n @case ('group-select') {\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [attr.aria-labelledby]=\"field.name + '-label'\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n @if (field.defaultOption) {\n <option selected [value]=\"field.defaultOption.key\">{{field.defaultOption.label}}</option>\n }\n @for (grp of filteredSkillsByServices; track grp) {\n <optgroup label=\"{{grp.group | titlecase}}\">\n @for (item of grp.options; track item) {\n <option [value]=\"item.key\">{{item.label}}</option>\n }\n </optgroup>\n }\n </select>\n }\n @case ('checkbox') {\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n @for (item of field.options; track item; let i = $index) {\n <div class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + field.name + item.key\"\n [name]=\"'checkbox_' + field.name + item.key\"\n />\n <label\n [for]=\"'checkbox_' + field.name + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n }\n </div>\n }\n @case ('nested-checkbox') {\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n @for (item of filteredSkillsByServicesCheckbox; track item; let i = $index) {\n <div class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + field.name + item.key\"\n [name]=\"'checkbox_' + field.name + item.key\"\n />\n <label\n [for]=\"'checkbox_' + field.name + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label | rpxTranslate}}</label>\n </div>\n }\n </div>\n }\n @case ('checkbox-large') {\n <div class=\"govuk-checkboxes\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n @for (item of field.options; track item; let i = $index) {\n <div class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + field.name + item.key\"\n [name]=\"'checkbox_' + field.name + item.key\"\n />\n <label\n [for]=\"'checkbox_' + field.name + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label | rpxTranslate}}</label>\n </div>\n }\n </div>\n }\n @case ('radio') {\n <div class=\"govuk-radios\" role=\"group\" [attr.aria-labelledby]=\"field.name + '-label'\">\n @for (item of field.options; track item) {\n <div class=\"govuk-radios__item\">\n <input type=\"radio\"\n [formControlName]=\"field.name\"\n [id]=\"'radio_' + item.key\"\n [attr.disabled]=\"disabled(field, form)\"\n [checked]=\"item.key === form.get(field.name).value\"\n class=\"govuk-radios__input\"\n [value]=\"item.key\"\n (change)=\"fieldChanged(field, form)\"\n />\n <label [for]=\"'radio_' + item.key\" class=\"govuk-label govuk-radios__label\">{{item.label | rpxTranslate}}</label>\n </div>\n }\n </div>\n }\n @case ('find-person') {\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, field)\"\n (personFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findPersonGroup]=\"form\"\n [selectedPerson]=\"form.get(field.name)?.value?.email\"\n [userIncluded]=\"false\"\n [placeholderContent]=\"field.placeholderContent ? field.placeholderContent : ''\"\n [services]=\"form.get(field.servicesField)?.value\"\n ></xuilib-find-person>\n }\n @case ('find-location') {\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle || 'Search for a location by name'\"\n [enableAddLocationButton]=\"field.enableAddButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [submitted]=\"submitted\"\n [field]=\"field\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [formSubmissionEvent$]=\"formSubmissionEvent$\"\n ></xuilib-find-location>\n }\n @case ('find-task-name') {\n <xuilib-find-task-name subTitle=\"\" (taskNameSelected)=\"updateTaskNameControls($event, field)\"\n (taskNameFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findTaskNameGroup]=\"form\"\n [selectedTaskName]=\"form.get(field.name)?.value?.task_type_name\"\n [placeholderContent]=\"field.placeholderContent ? field.placeholderContent : ''\"\n [services]=\"form.get(field.servicesField)?.value\"\n ></xuilib-find-task-name>\n }\n @case ('find-service') {\n @if (isServiceSelected) {\n <span class=\"govuk-error-message\">{{serviceErrorMsg | rpxTranslate}}</span>\n }\n <xuilib-find-service (serviceFieldChanged)=\"inputServiceChanged(field)\"\n [field]=\"field\"\n [form]=\"form\"\n [formSubmissionEvent$]=\"formSubmissionEvent$\"\n [disabled]=\"disabled(field, form)\">\n </xuilib-find-service>\n }\n @case ('find-work-type') {\n <xuilib-find-work-type (workTypeFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [workTypeTitle]=\"field.workTypeTitle || 'Search for a work type by name'\"\n [enableAddWorkTypeButton]=\"field.enableAddButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [submitted]=\"submitted\"\n [field]=\"field\"\n [services]=\"form.get(field.findWorkTypeField)?.value\"\n [formSubmissionEvent$]=\"formSubmissionEvent$\"\n ></xuilib-find-work-type>\n }\n @case ('text-input') {\n <input class=\"govuk-input\" type=\"text\"\n [formControlName]=\"field.name\"\n [id]=\"field.name\"\n [attr.aria-labelledby]=\"field.name + '-label'\"\n [attr.disabled]=\"disabled(field, form)\"\n (change)=\"fieldChanged(field, form)\"\n [attr.maxlength]=\"field.maxlength ? field.maxlength : null\"\n [readonly]=\"field.readonly\"\n />\n }\n @case ('email-input') {\n <input class=\"govuk-input\" type=\"email\"\n [formControlName]=\"field.name\"\n [id]=\"field.name\"\n [attr.aria-labelledby]=\"field.name + '-label'\"\n [attr.disabled]=\"disabled(field, form)\"\n (change)=\"fieldChanged(field, form)\"\n [readonly]=\"field.readonly\"\n />\n }\n }\n </div>\n </div>\n }\n }\n </div>\n }\n <hr class=\"govuk-section-break govuk-section-break--m govuk-section-break--visible\"/>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <button\n class=\"govuk-button govuk-!-margin-right-1 govuk-!-margin-bottom-0\"\n type=\"submit\"\n id=\"applyFilter\"\n [disabled]=\"config.enableDisabledButton && form.invalid\"\n >{{(config.applyButtonText || 'Apply') | rpxTranslate}}</button>\n @if (config.showCancelFilterButton) {\n <button\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ (config.cancelButtonText || 'Cancel') | rpxTranslate}}</button>\n }\n </div>\n </div>\n</form>\n", styles: [".contain-classes .elevated-break{margin-bottom:20px}@media (min-width: 40.0625em){.contain-classes .elevated-break{margin-bottom:30px}}.contain-classes .govuk-body--maxWidth480px{max-width:480px}.contain-classes .xui-generic-filter .select-all{margin-bottom:10px}.contain-classes .xui-generic-filter .govuk-checkboxes{display:flex;flex-direction:column;flex-wrap:wrap}.contain-classes .xui-generic-filter .govuk-checkboxes>div{flex-grow:1;flex-shrink:0}.contain-classes .xui-generic-filter__field-title{display:flex;align-items:center;margin-bottom:10px}.contain-classes .govuk-select{width:100%}\n"] }]
|
|
5212
5212
|
}], () => [{ type: FilterService }, { type: i2$3.FormBuilder }, { type: i0.ChangeDetectorRef }], { config: [{
|
|
5213
5213
|
type: Input
|
|
5214
5214
|
}], settings: [{
|
|
@@ -5964,14 +5964,14 @@ class CaseSharingStateService {
|
|
|
5964
5964
|
}], () => [], null); })();
|
|
5965
5965
|
|
|
5966
5966
|
function _forTrack0$2($index, $item) { return this.trackByUserId($item); }
|
|
5967
|
-
function
|
|
5968
|
-
i0.ɵɵelementStart(0, "tr",
|
|
5967
|
+
function SelectedCaseConfirmComponent_Conditional_0_For_29_Template(rf, ctx) { if (rf & 1) {
|
|
5968
|
+
i0.ɵɵelementStart(0, "tr", 9)(1, "td", 13);
|
|
5969
5969
|
i0.ɵɵtext(2);
|
|
5970
5970
|
i0.ɵɵelementEnd();
|
|
5971
|
-
i0.ɵɵelementStart(3, "td",
|
|
5971
|
+
i0.ɵɵelementStart(3, "td", 13);
|
|
5972
5972
|
i0.ɵɵtext(4);
|
|
5973
5973
|
i0.ɵɵelementEnd();
|
|
5974
|
-
i0.ɵɵelementStart(5, "td",
|
|
5974
|
+
i0.ɵɵelementStart(5, "td", 13)(6, "strong", 14);
|
|
5975
5975
|
i0.ɵɵtext(7);
|
|
5976
5976
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
5977
5977
|
i0.ɵɵelementEnd()()();
|
|
@@ -5984,14 +5984,14 @@ function SelectedCaseConfirmComponent_Conditional_0_For_26_Template(rf, ctx) { i
|
|
|
5984
5984
|
i0.ɵɵadvance(3);
|
|
5985
5985
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 3, "To be added"));
|
|
5986
5986
|
} }
|
|
5987
|
-
function
|
|
5988
|
-
i0.ɵɵelementStart(0, "tr",
|
|
5987
|
+
function SelectedCaseConfirmComponent_Conditional_0_For_32_Template(rf, ctx) { if (rf & 1) {
|
|
5988
|
+
i0.ɵɵelementStart(0, "tr", 9)(1, "td", 13);
|
|
5989
5989
|
i0.ɵɵtext(2);
|
|
5990
5990
|
i0.ɵɵelementEnd();
|
|
5991
|
-
i0.ɵɵelementStart(3, "td",
|
|
5991
|
+
i0.ɵɵelementStart(3, "td", 13);
|
|
5992
5992
|
i0.ɵɵtext(4);
|
|
5993
5993
|
i0.ɵɵelementEnd();
|
|
5994
|
-
i0.ɵɵelementStart(5, "td",
|
|
5994
|
+
i0.ɵɵelementStart(5, "td", 13)(6, "strong", 15);
|
|
5995
5995
|
i0.ɵɵtext(7);
|
|
5996
5996
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
5997
5997
|
i0.ɵɵelementEnd()()();
|
|
@@ -6018,21 +6018,26 @@ function SelectedCaseConfirmComponent_Conditional_0_Template(rf, ctx) { if (rf &
|
|
|
6018
6018
|
i0.ɵɵtext(10);
|
|
6019
6019
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
6020
6020
|
i0.ɵɵelementEnd()()();
|
|
6021
|
-
i0.ɵɵelementStart(12, "table", 6)(13, "
|
|
6022
|
-
i0.ɵɵtext(
|
|
6023
|
-
i0.ɵɵpipe(
|
|
6021
|
+
i0.ɵɵelementStart(12, "table", 6)(13, "caption", 7);
|
|
6022
|
+
i0.ɵɵtext(14);
|
|
6023
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
6024
6024
|
i0.ɵɵelementEnd();
|
|
6025
|
-
i0.ɵɵelementStart(18, "th",
|
|
6025
|
+
i0.ɵɵelementStart(16, "thead", 8)(17, "tr", 9)(18, "th", 10);
|
|
6026
6026
|
i0.ɵɵtext(19);
|
|
6027
6027
|
i0.ɵɵpipe(20, "rpxTranslate");
|
|
6028
6028
|
i0.ɵɵelementEnd();
|
|
6029
6029
|
i0.ɵɵelementStart(21, "th", 10);
|
|
6030
6030
|
i0.ɵɵtext(22);
|
|
6031
6031
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
6032
|
+
i0.ɵɵelementEnd();
|
|
6033
|
+
i0.ɵɵelementStart(24, "th", 11);
|
|
6034
|
+
i0.ɵɵtext(25);
|
|
6035
|
+
i0.ɵɵpipe(26, "rpxTranslate");
|
|
6032
6036
|
i0.ɵɵelementEnd()()();
|
|
6033
|
-
i0.ɵɵelementStart(
|
|
6034
|
-
i0.ɵɵrepeaterCreate(
|
|
6035
|
-
i0.ɵɵ
|
|
6037
|
+
i0.ɵɵelementStart(27, "tbody", 12);
|
|
6038
|
+
i0.ɵɵrepeaterCreate(28, SelectedCaseConfirmComponent_Conditional_0_For_29_Template, 9, 5, "tr", 9, _forTrack0$2, true);
|
|
6039
|
+
i0.ɵɵtext(30, "yes ");
|
|
6040
|
+
i0.ɵɵrepeaterCreate(31, SelectedCaseConfirmComponent_Conditional_0_For_32_Template, 9, 5, "tr", 9, _forTrack0$2, true);
|
|
6036
6041
|
i0.ɵɵelementEnd()()();
|
|
6037
6042
|
} if (rf & 2) {
|
|
6038
6043
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -6044,18 +6049,20 @@ function SelectedCaseConfirmComponent_Conditional_0_Template(rf, ctx) { if (rf &
|
|
|
6044
6049
|
i0.ɵɵadvance();
|
|
6045
6050
|
i0.ɵɵproperty("routerLink", ctx_r2.changeLink);
|
|
6046
6051
|
i0.ɵɵadvance();
|
|
6047
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
6052
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 11, "Change"), " ");
|
|
6048
6053
|
i0.ɵɵadvance(3);
|
|
6049
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
6050
|
-
i0.ɵɵadvance(
|
|
6051
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6054
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "selected case"));
|
|
6055
|
+
i0.ɵɵadvance(4);
|
|
6056
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 15, "Pending case access changes"));
|
|
6057
|
+
i0.ɵɵadvance(5);
|
|
6058
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 17, "Name"));
|
|
6052
6059
|
i0.ɵɵadvance(3);
|
|
6053
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6060
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 19, "Email address"));
|
|
6054
6061
|
i0.ɵɵadvance(3);
|
|
6055
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6062
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 21, "Actions"));
|
|
6056
6063
|
i0.ɵɵadvance(3);
|
|
6057
6064
|
i0.ɵɵrepeater(ctx_r2.sharedCase.pendingShares);
|
|
6058
|
-
i0.ɵɵadvance(
|
|
6065
|
+
i0.ɵɵadvance(3);
|
|
6059
6066
|
i0.ɵɵrepeater(ctx_r2.sharedCase.pendingUnshares);
|
|
6060
6067
|
} }
|
|
6061
6068
|
class SelectedCaseConfirmComponent {
|
|
@@ -6077,15 +6084,15 @@ class SelectedCaseConfirmComponent {
|
|
|
6077
6084
|
return this.sharedCase.pendingUnshares && this.sharedCase.pendingUnshares.length > 0;
|
|
6078
6085
|
}
|
|
6079
6086
|
static { this.ɵfac = function SelectedCaseConfirmComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectedCaseConfirmComponent)(i0.ɵɵdirectiveInject(CaseSharingStateService)); }; }
|
|
6080
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectedCaseConfirmComponent, selectors: [["xuilib-selected-case-confirm"]], inputs: { sharedCase: "sharedCase", changeLink: "changeLink" }, standalone: false, decls: 1, vars: 1, consts: [[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"], [1, "govuk-table__cell"], [1, "
|
|
6081
|
-
i0.ɵɵconditionalCreate(0, SelectedCaseConfirmComponent_Conditional_0_Template,
|
|
6087
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectedCaseConfirmComponent, selectors: [["xuilib-selected-case-confirm"]], inputs: { sharedCase: "sharedCase", changeLink: "changeLink" }, standalone: false, decls: 1, vars: 1, consts: [[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__caption", "govuk-visually-hidden"], [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"], [1, "govuk-table__cell"], [1, "govuk-tag", "govuk-tag--green"], [1, "govuk-tag", "govuk-tag--red"]], template: function SelectedCaseConfirmComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6088
|
+
i0.ɵɵconditionalCreate(0, SelectedCaseConfirmComponent_Conditional_0_Template, 33, 23, "div", 0);
|
|
6082
6089
|
} if (rf & 2) {
|
|
6083
6090
|
i0.ɵɵconditional(ctx.showUserAccessBlock() ? 0 : -1);
|
|
6084
|
-
} }, dependencies: [i1$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 #
|
|
6091
|
+
} }, dependencies: [i1$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 var(--govuk-border-colour, #cecece);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%}"] }); }
|
|
6085
6092
|
}
|
|
6086
6093
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectedCaseConfirmComponent, [{
|
|
6087
6094
|
type: Component,
|
|
6088
|
-
args: [{ selector: 'xuilib-selected-case-confirm', standalone: false, template: "@if (showUserAccessBlock()) {\n <div id=\"user-access-block-{{ sharedCase.caseId }}\">\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 @for (user of sharedCase.pendingShares; track trackByUserId(user)) {\n <tr class=\"govuk-table__row\">\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 <
|
|
6095
|
+
args: [{ selector: 'xuilib-selected-case-confirm', standalone: false, template: "@if (showUserAccessBlock()) {\n <div id=\"user-access-block-{{ sharedCase.caseId }}\">\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 <caption class=\"govuk-table__caption govuk-visually-hidden\">{{'Pending case access changes' | rpxTranslate}}</caption>\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 @for (user of sharedCase.pendingShares; track trackByUserId(user)) {\n <tr class=\"govuk-table__row\">\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 <strong class=\"govuk-tag govuk-tag--green\">{{'To be added' | rpxTranslate}}</strong>\n </td>\n </tr>\n }yes \n @for (user of sharedCase.pendingUnshares; track trackByUserId(user)) {\n <tr class=\"govuk-table__row\">\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 <strong class=\"govuk-tag govuk-tag--red\">\n {{'To be removed' | rpxTranslate}}\n </strong>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n}\n", styles: [".case-share-confirm__title{margin-bottom:0}.case-share-confirm__caption-area{border-bottom:1px solid var(--govuk-border-colour, #cecece);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"] }]
|
|
6089
6096
|
}], () => [{ type: CaseSharingStateService }], { sharedCase: [{
|
|
6090
6097
|
type: Input
|
|
6091
6098
|
}], changeLink: [{
|
|
@@ -6131,13 +6138,13 @@ function SelectedCaseComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
6131
6138
|
i0.ɵɵadvance();
|
|
6132
6139
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, "Users from your organisation with access to this case."), " ");
|
|
6133
6140
|
} }
|
|
6134
|
-
function
|
|
6141
|
+
function SelectedCaseComponent_Conditional_19_For_20_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
6135
6142
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
6136
|
-
i0.ɵɵelementStart(0, "a",
|
|
6137
|
-
i0.ɵɵlistener("click", function
|
|
6143
|
+
i0.ɵɵelementStart(0, "a", 28);
|
|
6144
|
+
i0.ɵɵlistener("click", function SelectedCaseComponent_Conditional_19_For_20_Conditional_8_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const user_r4 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.onRemove(user_r4, ctx_r1.sharedCase); return i0.ɵɵresetView($event.preventDefault()); });
|
|
6138
6145
|
i0.ɵɵtext(1);
|
|
6139
6146
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
6140
|
-
i0.ɵɵelementStart(3, "span",
|
|
6147
|
+
i0.ɵɵelementStart(3, "span", 29);
|
|
6141
6148
|
i0.ɵɵtext(4);
|
|
6142
6149
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
6143
6150
|
i0.ɵɵelementEnd()();
|
|
@@ -6148,13 +6155,13 @@ function SelectedCaseComponent_Conditional_19_For_17_Conditional_8_Template(rf,
|
|
|
6148
6155
|
i0.ɵɵadvance(3);
|
|
6149
6156
|
i0.ɵɵtextInterpolate2("", user_r4.firstName + " " + user_r4.lastName, " ", i0.ɵɵpipeBind1(5, 5, "from case"));
|
|
6150
6157
|
} }
|
|
6151
|
-
function
|
|
6158
|
+
function SelectedCaseComponent_Conditional_19_For_20_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
6152
6159
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
6153
|
-
i0.ɵɵelementStart(0, "a",
|
|
6154
|
-
i0.ɵɵlistener("click", function
|
|
6160
|
+
i0.ɵɵelementStart(0, "a", 28);
|
|
6161
|
+
i0.ɵɵlistener("click", function SelectedCaseComponent_Conditional_19_For_20_Conditional_10_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const user_r4 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.onCancel(user_r4, ctx_r1.sharedCase); return i0.ɵɵresetView($event.preventDefault()); });
|
|
6155
6162
|
i0.ɵɵtext(1);
|
|
6156
6163
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
6157
|
-
i0.ɵɵelementStart(3, "span",
|
|
6164
|
+
i0.ɵɵelementStart(3, "span", 29);
|
|
6158
6165
|
i0.ɵɵtext(4);
|
|
6159
6166
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
6160
6167
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
@@ -6166,8 +6173,8 @@ function SelectedCaseComponent_Conditional_19_For_17_Conditional_10_Template(rf,
|
|
|
6166
6173
|
i0.ɵɵadvance(3);
|
|
6167
6174
|
i0.ɵɵtextInterpolate3("", i0.ɵɵpipeBind1(5, 6, "adding"), " ", user_r4.firstName + " " + user_r4.lastName, " ", i0.ɵɵpipeBind1(6, 8, "to case"));
|
|
6168
6175
|
} }
|
|
6169
|
-
function
|
|
6170
|
-
i0.ɵɵelementStart(0, "
|
|
6176
|
+
function SelectedCaseComponent_Conditional_19_For_20_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
6177
|
+
i0.ɵɵelementStart(0, "strong", 26);
|
|
6171
6178
|
i0.ɵɵtext(1);
|
|
6172
6179
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
6173
6180
|
i0.ɵɵelementEnd();
|
|
@@ -6175,8 +6182,8 @@ function SelectedCaseComponent_Conditional_19_For_17_Conditional_13_Template(rf,
|
|
|
6175
6182
|
i0.ɵɵadvance();
|
|
6176
6183
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "To be removed"));
|
|
6177
6184
|
} }
|
|
6178
|
-
function
|
|
6179
|
-
i0.ɵɵelementStart(0, "
|
|
6185
|
+
function SelectedCaseComponent_Conditional_19_For_20_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
6186
|
+
i0.ɵɵelementStart(0, "strong", 27);
|
|
6180
6187
|
i0.ɵɵtext(1);
|
|
6181
6188
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
6182
6189
|
i0.ɵɵelementEnd();
|
|
@@ -6184,37 +6191,37 @@ function SelectedCaseComponent_Conditional_19_For_17_Conditional_15_Template(rf,
|
|
|
6184
6191
|
i0.ɵɵadvance();
|
|
6185
6192
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "To be added"));
|
|
6186
6193
|
} }
|
|
6187
|
-
function
|
|
6188
|
-
i0.ɵɵelementStart(0, "tr",
|
|
6194
|
+
function SelectedCaseComponent_Conditional_19_For_20_Template(rf, ctx) { if (rf & 1) {
|
|
6195
|
+
i0.ɵɵelementStart(0, "tr", 18)(1, "td", 23);
|
|
6189
6196
|
i0.ɵɵpipe(2, "async");
|
|
6190
6197
|
i0.ɵɵtext(3);
|
|
6191
6198
|
i0.ɵɵelementEnd();
|
|
6192
|
-
i0.ɵɵelementStart(4, "td",
|
|
6199
|
+
i0.ɵɵelementStart(4, "td", 23);
|
|
6193
6200
|
i0.ɵɵpipe(5, "async");
|
|
6194
6201
|
i0.ɵɵtext(6);
|
|
6195
6202
|
i0.ɵɵelementEnd();
|
|
6196
|
-
i0.ɵɵelementStart(7, "td",
|
|
6197
|
-
i0.ɵɵconditionalCreate(8,
|
|
6203
|
+
i0.ɵɵelementStart(7, "td", 24);
|
|
6204
|
+
i0.ɵɵconditionalCreate(8, SelectedCaseComponent_Conditional_19_For_20_Conditional_8_Template, 6, 7, "a", 25);
|
|
6198
6205
|
i0.ɵɵpipe(9, "async");
|
|
6199
|
-
i0.ɵɵconditionalCreate(10,
|
|
6206
|
+
i0.ɵɵconditionalCreate(10, SelectedCaseComponent_Conditional_19_For_20_Conditional_10_Template, 7, 10, "a", 25);
|
|
6200
6207
|
i0.ɵɵpipe(11, "async");
|
|
6201
6208
|
i0.ɵɵelementEnd();
|
|
6202
|
-
i0.ɵɵelementStart(12, "td",
|
|
6203
|
-
i0.ɵɵconditionalCreate(13,
|
|
6209
|
+
i0.ɵɵelementStart(12, "td", 24);
|
|
6210
|
+
i0.ɵɵconditionalCreate(13, SelectedCaseComponent_Conditional_19_For_20_Conditional_13_Template, 3, 3, "strong", 26);
|
|
6204
6211
|
i0.ɵɵpipe(14, "async");
|
|
6205
|
-
i0.ɵɵconditionalCreate(15,
|
|
6212
|
+
i0.ɵɵconditionalCreate(15, SelectedCaseComponent_Conditional_19_For_20_Conditional_15_Template, 3, 3, "strong", 27);
|
|
6206
6213
|
i0.ɵɵpipe(16, "async");
|
|
6207
6214
|
i0.ɵɵelementEnd()();
|
|
6208
6215
|
} if (rf & 2) {
|
|
6209
6216
|
const user_r4 = ctx.$implicit;
|
|
6210
|
-
const ɵ$
|
|
6217
|
+
const ɵ$index_76_r6 = ctx.$index;
|
|
6211
6218
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
6212
6219
|
i0.ɵɵadvance();
|
|
6213
|
-
i0.ɵɵproperty("id", i0.ɵɵinterpolate1("user-full-name-", ctx_r1.userIdSetter(i0.ɵɵpipeBind1(2, 10, ctx_r1.canCancel(ctx_r1.sharedCase.caseId, user_r4)), ɵ$
|
|
6220
|
+
i0.ɵɵproperty("id", i0.ɵɵinterpolate1("user-full-name-", ctx_r1.userIdSetter(i0.ɵɵpipeBind1(2, 10, ctx_r1.canCancel(ctx_r1.sharedCase.caseId, user_r4)), ɵ$index_76_r6)));
|
|
6214
6221
|
i0.ɵɵadvance(2);
|
|
6215
6222
|
i0.ɵɵtextInterpolate(user_r4.firstName + " " + user_r4.lastName);
|
|
6216
6223
|
i0.ɵɵadvance();
|
|
6217
|
-
i0.ɵɵproperty("id", i0.ɵɵinterpolate1("user-email-", ctx_r1.userIdSetter(i0.ɵɵpipeBind1(5, 12, ctx_r1.canCancel(ctx_r1.sharedCase.caseId, user_r4)), ɵ$
|
|
6224
|
+
i0.ɵɵproperty("id", i0.ɵɵinterpolate1("user-email-", ctx_r1.userIdSetter(i0.ɵɵpipeBind1(5, 12, ctx_r1.canCancel(ctx_r1.sharedCase.caseId, user_r4)), ɵ$index_76_r6)));
|
|
6218
6225
|
i0.ɵɵadvance(2);
|
|
6219
6226
|
i0.ɵɵtextInterpolate(user_r4.email);
|
|
6220
6227
|
i0.ɵɵadvance(2);
|
|
@@ -6227,11 +6234,11 @@ function SelectedCaseComponent_Conditional_19_For_17_Template(rf, ctx) { if (rf
|
|
|
6227
6234
|
i0.ɵɵconditional(i0.ɵɵpipeBind1(16, 20, ctx_r1.isToBeAdded(ctx_r1.sharedCase.caseId, user_r4)) ? 15 : -1);
|
|
6228
6235
|
} }
|
|
6229
6236
|
function SelectedCaseComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
6230
|
-
i0.ɵɵelementStart(0, "table", 13)(1, "
|
|
6231
|
-
i0.ɵɵtext(
|
|
6232
|
-
i0.ɵɵpipe(
|
|
6237
|
+
i0.ɵɵelementStart(0, "table", 13)(1, "caption", 16);
|
|
6238
|
+
i0.ɵɵtext(2);
|
|
6239
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
6233
6240
|
i0.ɵɵelementEnd();
|
|
6234
|
-
i0.ɵɵelementStart(6, "th",
|
|
6241
|
+
i0.ɵɵelementStart(4, "thead", 17)(5, "tr", 18)(6, "th", 19);
|
|
6235
6242
|
i0.ɵɵtext(7);
|
|
6236
6243
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
6237
6244
|
i0.ɵɵelementEnd();
|
|
@@ -6242,28 +6249,34 @@ function SelectedCaseComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
6242
6249
|
i0.ɵɵelementStart(12, "th", 20);
|
|
6243
6250
|
i0.ɵɵtext(13);
|
|
6244
6251
|
i0.ɵɵpipe(14, "rpxTranslate");
|
|
6252
|
+
i0.ɵɵelementEnd();
|
|
6253
|
+
i0.ɵɵelementStart(15, "th", 21);
|
|
6254
|
+
i0.ɵɵtext(16);
|
|
6255
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
6245
6256
|
i0.ɵɵelementEnd()()();
|
|
6246
|
-
i0.ɵɵelementStart(
|
|
6247
|
-
i0.ɵɵrepeaterCreate(
|
|
6257
|
+
i0.ɵɵelementStart(18, "tbody", 22);
|
|
6258
|
+
i0.ɵɵrepeaterCreate(19, SelectedCaseComponent_Conditional_19_For_20_Template, 17, 22, "tr", 18, _forTrack0$1, true);
|
|
6248
6259
|
i0.ɵɵelementEnd()();
|
|
6249
6260
|
} if (rf & 2) {
|
|
6250
6261
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6251
|
-
i0.ɵɵadvance(
|
|
6262
|
+
i0.ɵɵadvance(2);
|
|
6263
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 13, "Users with access to this case"));
|
|
6264
|
+
i0.ɵɵadvance(4);
|
|
6252
6265
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx_r1.buildElementId("name-heading")));
|
|
6253
6266
|
i0.ɵɵadvance();
|
|
6254
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6267
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 15, "Name"));
|
|
6255
6268
|
i0.ɵɵadvance(2);
|
|
6256
6269
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx_r1.buildElementId("email-heading")));
|
|
6257
6270
|
i0.ɵɵadvance();
|
|
6258
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6271
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 17, "Email address"));
|
|
6259
6272
|
i0.ɵɵadvance(2);
|
|
6260
6273
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx_r1.buildElementId("action-heading")));
|
|
6261
6274
|
i0.ɵɵadvance();
|
|
6262
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6275
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 19, "Actions"));
|
|
6263
6276
|
i0.ɵɵadvance(2);
|
|
6264
6277
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx_r1.buildElementId("label-heading")));
|
|
6265
6278
|
i0.ɵɵadvance();
|
|
6266
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
6279
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Status"));
|
|
6267
6280
|
i0.ɵɵadvance(3);
|
|
6268
6281
|
i0.ɵɵrepeater(ctx_r1.combinedSortedShares);
|
|
6269
6282
|
} }
|
|
@@ -6402,7 +6415,7 @@ class SelectedCaseComponent {
|
|
|
6402
6415
|
return `${elementName}-${this.sharedCase.caseId}`;
|
|
6403
6416
|
}
|
|
6404
6417
|
static { this.ɵfac = function SelectedCaseComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectedCaseComponent)(i0.ɵɵdirectiveInject(CaseSharingStateService)); }; }
|
|
6405
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectedCaseComponent, selectors: [["xuilib-selected-case"]], inputs: { sharedCase: "sharedCase", selectedUser: "selectedUser", opened: "opened", removeUserFromCaseToggleOn: "removeUserFromCaseToggleOn", caseCount: "caseCount" }, outputs: { unselect: "unselect", synchronizeStore: "synchronizeStore" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 20, vars: 25, consts: [[1, "govuk-accordion__section", 3, "id"], [1, "govuk-grid-row", "govuk-case-header"], [1, "govuk-grid-column-three-quarters"], [1, "govuk-case-title", 3, "id"], [1, "govuk-case-sub-title", 3, "id"], [1, "govuk-grid-column-ten-percent"], ["title", "Deselect case", 1, "govuk-button", "hmcts-button--secondary", 3, "id"], [1, "govuk-accordion__section-header", "govuk-grid-column-ten-percent"], [1, "govuk-accordion__section-heading"], ["type", "button", "aria-expanded", "false", 1, "govuk-accordion__section-button", 3, "id", "title"], ["aria-hidden", "true", 1, "govuk-accordion__icon"], [1, "govuk-accordion__section-content", 3, "id"], [1, "govuk-grid-row"], [1, "govuk-table"], ["title", "Deselect case", 1, "govuk-button", "hmcts-button--secondary", 3, "click", "id"], [1, "govuk-div-align-left", 3, "id"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-header", 3, "id"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-actions", 3, "id"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-label", 3, "id"], [1, "govuk-table__body"], [1, "govuk-table__cell", 3, "id"], [1, "govuk-table__cell"], ["href", "#"], [1, "
|
|
6418
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectedCaseComponent, selectors: [["xuilib-selected-case"]], inputs: { sharedCase: "sharedCase", selectedUser: "selectedUser", opened: "opened", removeUserFromCaseToggleOn: "removeUserFromCaseToggleOn", caseCount: "caseCount" }, outputs: { unselect: "unselect", synchronizeStore: "synchronizeStore" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 20, vars: 25, consts: [[1, "govuk-accordion__section", 3, "id"], [1, "govuk-grid-row", "govuk-case-header"], [1, "govuk-grid-column-three-quarters"], [1, "govuk-case-title", 3, "id"], [1, "govuk-case-sub-title", 3, "id"], [1, "govuk-grid-column-ten-percent"], ["title", "Deselect case", 1, "govuk-button", "hmcts-button--secondary", 3, "id"], [1, "govuk-accordion__section-header", "govuk-grid-column-ten-percent"], [1, "govuk-accordion__section-heading"], ["type", "button", "aria-expanded", "false", 1, "govuk-accordion__section-button", 3, "id", "title"], ["aria-hidden", "true", 1, "govuk-accordion__icon"], [1, "govuk-accordion__section-content", 3, "id"], [1, "govuk-grid-row"], [1, "govuk-table"], ["title", "Deselect case", 1, "govuk-button", "hmcts-button--secondary", 3, "click", "id"], [1, "govuk-div-align-left", 3, "id"], [1, "govuk-table__caption", "govuk-visually-hidden"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-header", 3, "id"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-actions", 3, "id"], ["scope", "col", 1, "govuk-table__header", "govuk-table-column-label", 3, "id"], [1, "govuk-table__body"], [1, "govuk-table__cell", 3, "id"], [1, "govuk-table__cell"], ["href", "#"], [1, "govuk-tag", "govuk-tag--red"], [1, "govuk-tag", "govuk-tag--green"], ["href", "#", 3, "click"], [1, "govuk-visually-hidden"]], template: function SelectedCaseComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6406
6419
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "h3", 3);
|
|
6407
6420
|
i0.ɵɵtext(4);
|
|
6408
6421
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -6421,7 +6434,7 @@ class SelectedCaseComponent {
|
|
|
6421
6434
|
i0.ɵɵelementStart(16, "div", 11);
|
|
6422
6435
|
i0.ɵɵconditionalCreate(17, SelectedCaseComponent_Conditional_17_Template, 4, 5, "div", 12);
|
|
6423
6436
|
i0.ɵɵconditionalCreate(18, SelectedCaseComponent_Conditional_18_Template, 4, 5, "div", 12);
|
|
6424
|
-
i0.ɵɵconditionalCreate(19, SelectedCaseComponent_Conditional_19_Template,
|
|
6437
|
+
i0.ɵɵconditionalCreate(19, SelectedCaseComponent_Conditional_19_Template, 21, 23, "table", 13);
|
|
6425
6438
|
i0.ɵɵelementEnd()();
|
|
6426
6439
|
} if (rf & 2) {
|
|
6427
6440
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx.buildElementId("govuk-accordion__section")));
|
|
@@ -6447,11 +6460,11 @@ class SelectedCaseComponent {
|
|
|
6447
6460
|
i0.ɵɵconditional(ctx.showUserHasAccessInfo() ? 18 : -1);
|
|
6448
6461
|
i0.ɵɵadvance();
|
|
6449
6462
|
i0.ɵɵconditional(ctx.showUserAccessTable() ? 19 : -1);
|
|
6450
|
-
} }, dependencies: [i1.AsyncPipe, i2.RpxTranslatePipe], styles: [".govuk-case-header[_ngcontent-%COMP%]{border-top:1px solid #
|
|
6463
|
+
} }, dependencies: [i1.AsyncPipe, i2.RpxTranslatePipe], styles: [".govuk-case-header[_ngcontent-%COMP%]{border-top:1px solid #cecece}.govuk-case-title[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.govuk-case-title[_ngcontent-%COMP%]{font-family:sans-serif}}.govuk-case-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.3125rem;line-height:1.1904761905}@media (min-width: 40.0625em){.govuk-case-title[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.25}}@media print{.govuk-case-title[_ngcontent-%COMP%]{font-size:18pt;line-height:1.15}}.govuk-case-title[_ngcontent-%COMP%]{color:#1d70b8;padding-left:0}.govuk-case-sub-title[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-case-sub-title[_ngcontent-%COMP%]{font-family:sans-serif}}.govuk-case-sub-title[_ngcontent-%COMP%]{font-weight:400;font-size:1rem;line-height:1.25}@media print{.govuk-case-sub-title[_ngcontent-%COMP%]{font-size:14pt;line-height:1.2}}.govuk-case-sub-title[_ngcontent-%COMP%]{color:var(--govuk-secondary-text-colour, #484949);padding-left:0}.govuk-grid-row[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.govuk-grid-column-three-quarters[_ngcontent-%COMP%]{padding-top:5px;padding-left:0}.govuk-grid-column-twenty-percent[_ngcontent-%COMP%]{box-sizing:border-box;padding-top:10px;width:20%;float:left}.govuk-grid-column-ten-percent[_ngcontent-%COMP%]{box-sizing:border-box;padding-top:10px;width:10%;float:left}.govuk-grid-column-five-percent[_ngcontent-%COMP%]{box-sizing:border-box;padding-top:15px;width:5%;float:left}.govuk-table-column-header[_ngcontent-%COMP%]{width:38%}.govuk-table-column-actions[_ngcontent-%COMP%], .govuk-table-column-label[_ngcontent-%COMP%]{width:12%}.govuk-div-align-left[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-div-align-left[_ngcontent-%COMP%]{font-family:sans-serif}}.govuk-div-align-left[_ngcontent-%COMP%]{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.govuk-div-align-left[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.govuk-div-align-left[_ngcontent-%COMP%]{text-align:left;margin-bottom:20px;padding-left:0;color:var(--govuk-text-colour, #0b0c0c)}.govuk-accordion__section-header[_ngcontent-%COMP%]{border-top:0}.govuk-accordion__section-content[_ngcontent-%COMP%]{padding-top:0}.govuk-accordion__section-heading[_ngcontent-%COMP%], .govuk-accordion__section-button[_ngcontent-%COMP%]{border-top:0}\n\n"] }); }
|
|
6451
6464
|
}
|
|
6452
6465
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectedCaseComponent, [{
|
|
6453
6466
|
type: Component,
|
|
6454
|
-
args: [{ selector: 'xuilib-selected-case', standalone: false, template: "<div id=\"{{buildElementId('govuk-accordion__section')}}\" class=\"govuk-accordion__section\">\n <div class=\"govuk-grid-row govuk-case-header\">\n <div class=\"govuk-grid-column-three-quarters\">\n <h3 id=\"{{buildElementId('case-title')}}\" class=\"govuk-case-title\">{{ sharedCase.caseTitle | rpxTranslate }}</h3>\n <h3 id=\"{{buildElementId('case-id')}}\" class=\"govuk-case-sub-title\">{{ sharedCase.caseId | rpxTranslate }}</h3>\n </div>\n <div class=\"govuk-grid-column-ten-percent\">\n @if (caseCount > 1) {\n <button\n id=\"{{buildElementId('btn-deselect-case')}}\"\n class=\"govuk-button hmcts-button--secondary\"\n (click)=\"onDeselect(sharedCase)\" title=\"Deselect case\">\n {{'Deselect case' | rpxTranslate}}\n </button>\n }\n </div>\n <div class=\"govuk-accordion__section-header govuk-grid-column-ten-percent\">\n <div class=\"govuk-accordion__section-heading\">\n <button type=\"button\" id=\"{{buildElementId('accordion-with-summary-sections-heading')}}\"\n [attr.aria-controls]=\"'accordion-with-summary-sections-content' + buildElementId('accordion-with-summary-sections-heading')\" class=\"govuk-accordion__section-button\"\n aria-expanded=\"false\" [title]=\"'Expand or Collapse' | rpxTranslate\">\n <span class=\"govuk-accordion__icon\" aria-hidden=\"true\"></span></button>\n </div>\n </div>\n </div>\n <div id=\"{{buildElementId('accordion-with-summary-sections-content')}}\" class=\"govuk-accordion__section-content\"\n [attr.aria-labelledby]=\"buildElementId('accordion-with-summary-sections-heading')\" >\n @if (showNoUsersAccessInfo()) {\n <div class=\"govuk-grid-row\">\n <span id=\"{{buildElementId('access-info-no-user')}}\" class=\"govuk-div-align-left\">\n {{'No users from your organisation currently have access to this case.' | rpxTranslate}}\n </span>\n </div>\n }\n @if (showUserHasAccessInfo()) {\n <div class=\"govuk-grid-row\">\n <span id=\"{{buildElementId('access-info-has-users')}}\" class=\"govuk-div-align-left\">\n {{'Users from your organisation with access to this case.' | rpxTranslate}}\n </span>\n </div>\n }\n @if (showUserAccessTable()) {\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th id=\"{{buildElementId('name-heading')}}\" class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Name' | rpxTranslate}}</th>\n <th id=\"{{buildElementId('email-heading')}}\" class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Email address' | rpxTranslate}}</th>\n <th id=\"{{buildElementId('action-heading')}}\" class=\"govuk-table__header govuk-table-column-actions\" scope=\"col\">{{'Actions' | rpxTranslate}}</th>\n <th id=\"{{buildElementId('label-heading')}}\" class=\"govuk-table__header govuk-table-column-label\" scope=\"col\">{{ 'Status' | rpxTranslate }}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n @for (user of combinedSortedShares; track trackByUserId(user); let idx = $index) {\n <tr class=\"govuk-table__row\">\n <td id=\"user-full-name-{{ userIdSetter(canCancel(sharedCase.caseId, user) | async, idx) }}\" class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td id=\"user-email-{{ userIdSetter(canCancel(sharedCase.caseId, user) | async, idx) }}\" class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n @if (canRemove(sharedCase.caseId, user) | async) {\n <a (click)=\"onRemove(user, sharedCase); $event.preventDefault()\" href=\"#\">{{'Remove' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{ user.firstName + ' ' + user.lastName }} {{'from case' | rpxTranslate}}</span></a>\n }\n @if (canCancel(sharedCase.caseId, user) | async) {\n <a (click)=\"onCancel(user, sharedCase); $event.preventDefault()\" href=\"#\">{{'Cancel' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{'adding' | rpxTranslate}} {{ user.firstName + ' ' + user.lastName }} {{'to case' | rpxTranslate}}</span></a>\n }\n </td>\n <td class=\"govuk-table__cell\">\n @if (isToBeRemoved(sharedCase.caseId, user) | async) {\n <
|
|
6467
|
+
args: [{ selector: 'xuilib-selected-case', standalone: false, template: "<div id=\"{{buildElementId('govuk-accordion__section')}}\" class=\"govuk-accordion__section\">\n <div class=\"govuk-grid-row govuk-case-header\">\n <div class=\"govuk-grid-column-three-quarters\">\n <h3 id=\"{{buildElementId('case-title')}}\" class=\"govuk-case-title\">{{ sharedCase.caseTitle | rpxTranslate }}</h3>\n <h3 id=\"{{buildElementId('case-id')}}\" class=\"govuk-case-sub-title\">{{ sharedCase.caseId | rpxTranslate }}</h3>\n </div>\n <div class=\"govuk-grid-column-ten-percent\">\n @if (caseCount > 1) {\n <button\n id=\"{{buildElementId('btn-deselect-case')}}\"\n class=\"govuk-button hmcts-button--secondary\"\n (click)=\"onDeselect(sharedCase)\" title=\"Deselect case\">\n {{'Deselect case' | rpxTranslate}}\n </button>\n }\n </div>\n <div class=\"govuk-accordion__section-header govuk-grid-column-ten-percent\">\n <div class=\"govuk-accordion__section-heading\">\n <button type=\"button\" id=\"{{buildElementId('accordion-with-summary-sections-heading')}}\"\n [attr.aria-controls]=\"'accordion-with-summary-sections-content' + buildElementId('accordion-with-summary-sections-heading')\" class=\"govuk-accordion__section-button\"\n aria-expanded=\"false\" [title]=\"'Expand or Collapse' | rpxTranslate\">\n <span class=\"govuk-accordion__icon\" aria-hidden=\"true\"></span></button>\n </div>\n </div>\n </div>\n <div id=\"{{buildElementId('accordion-with-summary-sections-content')}}\" class=\"govuk-accordion__section-content\"\n [attr.aria-labelledby]=\"buildElementId('accordion-with-summary-sections-heading')\" >\n @if (showNoUsersAccessInfo()) {\n <div class=\"govuk-grid-row\">\n <span id=\"{{buildElementId('access-info-no-user')}}\" class=\"govuk-div-align-left\">\n {{'No users from your organisation currently have access to this case.' | rpxTranslate}}\n </span>\n </div>\n }\n @if (showUserHasAccessInfo()) {\n <div class=\"govuk-grid-row\">\n <span id=\"{{buildElementId('access-info-has-users')}}\" class=\"govuk-div-align-left\">\n {{'Users from your organisation with access to this case.' | rpxTranslate}}\n </span>\n </div>\n }\n @if (showUserAccessTable()) {\n <table class=\"govuk-table\">\n <caption class=\"govuk-table__caption govuk-visually-hidden\">{{'Users with access to this case' | rpxTranslate}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th id=\"{{buildElementId('name-heading')}}\" class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Name' | rpxTranslate}}</th>\n <th id=\"{{buildElementId('email-heading')}}\" class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">{{'Email address' | rpxTranslate}}</th>\n <th id=\"{{buildElementId('action-heading')}}\" class=\"govuk-table__header govuk-table-column-actions\" scope=\"col\">{{'Actions' | rpxTranslate}}</th>\n <th id=\"{{buildElementId('label-heading')}}\" class=\"govuk-table__header govuk-table-column-label\" scope=\"col\">{{ 'Status' | rpxTranslate }}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n @for (user of combinedSortedShares; track trackByUserId(user); let idx = $index) {\n <tr class=\"govuk-table__row\">\n <td id=\"user-full-name-{{ userIdSetter(canCancel(sharedCase.caseId, user) | async, idx) }}\" class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td id=\"user-email-{{ userIdSetter(canCancel(sharedCase.caseId, user) | async, idx) }}\" class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n @if (canRemove(sharedCase.caseId, user) | async) {\n <a (click)=\"onRemove(user, sharedCase); $event.preventDefault()\" href=\"#\">{{'Remove' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{ user.firstName + ' ' + user.lastName }} {{'from case' | rpxTranslate}}</span></a>\n }\n @if (canCancel(sharedCase.caseId, user) | async) {\n <a (click)=\"onCancel(user, sharedCase); $event.preventDefault()\" href=\"#\">{{'Cancel' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{'adding' | rpxTranslate}} {{ user.firstName + ' ' + user.lastName }} {{'to case' | rpxTranslate}}</span></a>\n }\n </td>\n <td class=\"govuk-table__cell\">\n @if (isToBeRemoved(sharedCase.caseId, user) | async) {\n <strong class=\"govuk-tag govuk-tag--red\">{{'To be removed' | rpxTranslate}}</strong>\n }\n @if (isToBeAdded(sharedCase.caseId, user) | async) {\n <strong class=\"govuk-tag govuk-tag--green\">{{'To be added' | rpxTranslate}}</strong>\n }\n </td>\n </tr>\n }\n </tbody>\n </table>\n }\n </div>\n </div>\n", styles: [".govuk-case-header{border-top:1px solid #cecece}.govuk-case-title{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.govuk-case-title{font-family:sans-serif}}.govuk-case-title{font-weight:700;font-size:1.3125rem;line-height:1.1904761905}@media (min-width: 40.0625em){.govuk-case-title{font-size:1.5rem;line-height:1.25}}@media print{.govuk-case-title{font-size:18pt;line-height:1.15}}.govuk-case-title{color:#1d70b8;padding-left:0}.govuk-case-sub-title{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-case-sub-title{font-family:sans-serif}}.govuk-case-sub-title{font-weight:400;font-size:1rem;line-height:1.25}@media print{.govuk-case-sub-title{font-size:14pt;line-height:1.2}}.govuk-case-sub-title{color:var(--govuk-secondary-text-colour, #484949);padding-left:0}.govuk-grid-row{margin-left:0;margin-right:0}.govuk-grid-column-three-quarters{padding-top:5px;padding-left:0}.govuk-grid-column-twenty-percent{box-sizing:border-box;padding-top:10px;width:20%;float:left}.govuk-grid-column-ten-percent{box-sizing:border-box;padding-top:10px;width:10%;float:left}.govuk-grid-column-five-percent{box-sizing:border-box;padding-top:15px;width:5%;float:left}.govuk-table-column-header{width:38%}.govuk-table-column-actions,.govuk-table-column-label{width:12%}.govuk-div-align-left{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.govuk-div-align-left{font-family:sans-serif}}.govuk-div-align-left{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.govuk-div-align-left{font-size:14pt;line-height:1.15}}.govuk-div-align-left{text-align:left;margin-bottom:20px;padding-left:0;color:var(--govuk-text-colour, #0b0c0c)}.govuk-accordion__section-header{border-top:0}.govuk-accordion__section-content{padding-top:0}.govuk-accordion__section-heading,.govuk-accordion__section-button{border-top:0}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
6455
6468
|
}], () => [{ type: CaseSharingStateService }], { sharedCase: [{
|
|
6456
6469
|
type: Input
|
|
6457
6470
|
}], selectedUser: [{
|
|
@@ -7538,53 +7551,51 @@ class TcConfirmComponent {
|
|
|
7538
7551
|
this.confirm.emit();
|
|
7539
7552
|
}
|
|
7540
7553
|
static { this.ɵfac = function TcConfirmComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TcConfirmComponent)(); }; }
|
|
7541
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcConfirmComponent, selectors: [["xuilib-tc-confirm"]], inputs: { buttonText: "buttonText" }, outputs: { confirm: "confirm" }, standalone: false, decls:
|
|
7542
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "main", 1)(2, "div", 2)(3, "div", 3)(4, "
|
|
7543
|
-
i0.ɵɵtext(
|
|
7544
|
-
i0.ɵɵpipe(
|
|
7554
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcConfirmComponent, selectors: [["xuilib-tc-confirm"]], inputs: { buttonText: "buttonText" }, outputs: { confirm: "confirm" }, standalone: false, decls: 24, vars: 18, consts: [[1, "govuk-width-container"], ["role", "main", "id", "content", 1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-heading-m"], ["routerLink", "/terms-and-conditions", "rel", "noopener noreferrer", "target", "_blank"], [1, "govuk-button", 3, "click"]], template: function TcConfirmComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7555
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "main", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
7556
|
+
i0.ɵɵtext(5);
|
|
7557
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
7545
7558
|
i0.ɵɵelementEnd();
|
|
7546
|
-
i0.ɵɵelementStart(
|
|
7547
|
-
i0.ɵɵtext(
|
|
7548
|
-
i0.ɵɵpipe(
|
|
7559
|
+
i0.ɵɵelementStart(7, "h2", 5);
|
|
7560
|
+
i0.ɵɵtext(8);
|
|
7561
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
7549
7562
|
i0.ɵɵelementEnd();
|
|
7550
|
-
i0.ɵɵelementStart(
|
|
7551
|
-
i0.ɵɵtext(
|
|
7552
|
-
i0.ɵɵpipe(
|
|
7553
|
-
i0.ɵɵelementStart(
|
|
7554
|
-
i0.ɵɵtext(
|
|
7555
|
-
i0.ɵɵpipe(
|
|
7563
|
+
i0.ɵɵelementStart(10, "p");
|
|
7564
|
+
i0.ɵɵtext(11);
|
|
7565
|
+
i0.ɵɵpipe(12, "rpxTranslate");
|
|
7566
|
+
i0.ɵɵelementStart(13, "a", 6);
|
|
7567
|
+
i0.ɵɵtext(14);
|
|
7568
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
7556
7569
|
i0.ɵɵelementEnd();
|
|
7557
|
-
i0.ɵɵtext(
|
|
7570
|
+
i0.ɵɵtext(16, ". ");
|
|
7558
7571
|
i0.ɵɵelementEnd();
|
|
7559
|
-
i0.ɵɵelementStart(
|
|
7560
|
-
i0.ɵɵtext(
|
|
7561
|
-
i0.ɵɵpipe(
|
|
7572
|
+
i0.ɵɵelementStart(17, "p");
|
|
7573
|
+
i0.ɵɵtext(18);
|
|
7574
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
7562
7575
|
i0.ɵɵelementEnd();
|
|
7563
|
-
i0.ɵɵelementStart(
|
|
7564
|
-
i0.ɵɵlistener("click", function
|
|
7565
|
-
i0.ɵɵtext(
|
|
7566
|
-
i0.ɵɵpipe(
|
|
7567
|
-
i0.ɵɵelementEnd()()()()();
|
|
7568
|
-
i0.ɵɵelement(25, "div", 9);
|
|
7569
|
-
i0.ɵɵelementEnd()();
|
|
7576
|
+
i0.ɵɵelementStart(20, "p")(21, "button", 7);
|
|
7577
|
+
i0.ɵɵlistener("click", function TcConfirmComponent_Template_button_click_21_listener() { return ctx.onClick(); });
|
|
7578
|
+
i0.ɵɵtext(22);
|
|
7579
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
7580
|
+
i0.ɵɵelementEnd()()()()()();
|
|
7570
7581
|
} if (rf & 2) {
|
|
7571
|
-
i0.ɵɵadvance(
|
|
7572
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
7582
|
+
i0.ɵɵadvance(5);
|
|
7583
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, "Using this service"));
|
|
7573
7584
|
i0.ɵɵadvance(3);
|
|
7574
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
7585
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 8, "Terms and conditions"));
|
|
7575
7586
|
i0.ɵɵadvance(3);
|
|
7576
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
7587
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(12, 10, "We've recently updated the"), " ");
|
|
7577
7588
|
i0.ɵɵadvance(3);
|
|
7578
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
7589
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 12, "terms and conditions"));
|
|
7579
7590
|
i0.ɵɵadvance(4);
|
|
7580
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
7591
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(19, 14, "You must review and accept them."), " ");
|
|
7581
7592
|
i0.ɵɵadvance(4);
|
|
7582
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
7593
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 16, ctx.buttonText), " ");
|
|
7583
7594
|
} }, dependencies: [i1$1.RouterLink, i2.RpxTranslatePipe], encapsulation: 2 }); }
|
|
7584
7595
|
}
|
|
7585
7596
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcConfirmComponent, [{
|
|
7586
7597
|
type: Component,
|
|
7587
|
-
args: [{ selector: 'xuilib-tc-confirm', standalone: false, template: "<div class=\"govuk-width-container\">\n <main role=\"main\" class=\"govuk-main-wrapper\" id=\"content\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <
|
|
7598
|
+
args: [{ selector: 'xuilib-tc-confirm', standalone: false, template: "<div class=\"govuk-width-container\">\n <main role=\"main\" class=\"govuk-main-wrapper\" id=\"content\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">{{'Using this service' | rpxTranslate}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Terms and conditions' | rpxTranslate}}</h2>\n <p>{{'We\\'ve recently updated the' | rpxTranslate}}\n <a\n routerLink=\"/terms-and-conditions\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >{{'terms and conditions' | rpxTranslate}}</a\n >.\n </p>\n <p>{{'You must review and accept them.' | rpxTranslate}}\n </p>\n <p>\n <button class=\"govuk-button\" (click)=\"onClick()\">\n {{ buttonText | rpxTranslate }}\n </button>\n </p>\n </div>\n </div>\n </main>\n</div>\n" }]
|
|
7588
7599
|
}], () => [], { buttonText: [{
|
|
7589
7600
|
type: Input
|
|
7590
7601
|
}], confirm: [{
|
|
@@ -7955,113 +7966,130 @@ class UserDetailsComponent {
|
|
|
7955
7966
|
}] }); })();
|
|
7956
7967
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserDetailsComponent, { className: "UserDetailsComponent", filePath: "lib/components/user-details/user-details.component.ts", lineNumber: 10 }); })();
|
|
7957
7968
|
|
|
7958
|
-
function
|
|
7969
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
7959
7970
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
7960
|
-
i0.ɵɵelementStart(0, "a",
|
|
7961
|
-
i0.ɵɵlistener("
|
|
7962
|
-
i0.ɵɵ
|
|
7963
|
-
i0.ɵɵ
|
|
7964
|
-
i0.ɵɵ
|
|
7965
|
-
i0.ɵɵ
|
|
7966
|
-
i0.ɵɵ
|
|
7967
|
-
i0.ɵɵ
|
|
7971
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "a", 8);
|
|
7972
|
+
i0.ɵɵlistener("click", function HmctsPaginationComponent_Conditional_2_Conditional_2_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(2); const p_r4 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx_r2.onPrevious($event, p_r4)); });
|
|
7973
|
+
i0.ɵɵnamespaceSVG();
|
|
7974
|
+
i0.ɵɵelementStart(2, "svg", 9);
|
|
7975
|
+
i0.ɵɵelement(3, "path", 10);
|
|
7976
|
+
i0.ɵɵelementEnd();
|
|
7977
|
+
i0.ɵɵnamespaceHTML();
|
|
7978
|
+
i0.ɵɵelementStart(4, "span", 11);
|
|
7979
|
+
i0.ɵɵtext(5);
|
|
7980
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
7981
|
+
i0.ɵɵelementStart(7, "span", 12);
|
|
7982
|
+
i0.ɵɵtext(8);
|
|
7983
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
7984
|
+
i0.ɵɵelementEnd()()()();
|
|
7968
7985
|
} if (rf & 2) {
|
|
7986
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
7987
|
+
i0.ɵɵadvance(4);
|
|
7988
|
+
i0.ɵɵclassProp("govuk-pagination__link-title--decorated", !ctx_r2.showPageNumbers);
|
|
7969
7989
|
i0.ɵɵadvance();
|
|
7970
|
-
i0.ɵɵ
|
|
7990
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Previous"));
|
|
7971
7991
|
i0.ɵɵadvance(3);
|
|
7972
|
-
i0.ɵɵ
|
|
7992
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 6, "page"));
|
|
7973
7993
|
} }
|
|
7974
|
-
function
|
|
7975
|
-
|
|
7976
|
-
i0.ɵɵ
|
|
7977
|
-
i0.ɵɵlistener("keyup.enter", function HmctsPaginationComponent_Conditional_6_Conditional_3_For_1_Conditional_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(3); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.setCurrent(page_r5.value)); })("click", function HmctsPaginationComponent_Conditional_6_Conditional_3_For_1_Conditional_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(3); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.setCurrent(page_r5.value)); });
|
|
7978
|
-
i0.ɵɵelementStart(1, "span", 10);
|
|
7979
|
-
i0.ɵɵtext(2);
|
|
7980
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
7994
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7995
|
+
i0.ɵɵelementStart(0, "li", 13);
|
|
7996
|
+
i0.ɵɵtext(1, "\u22EF");
|
|
7981
7997
|
i0.ɵɵelementEnd();
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
i0.ɵɵ
|
|
7998
|
+
} }
|
|
7999
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8000
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
8001
|
+
i0.ɵɵelementStart(0, "li", 15)(1, "a", 16);
|
|
8002
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
8003
|
+
i0.ɵɵlistener("click", function HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Conditional_1_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r5); const page_r6 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); const p_r4 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx_r2.onPage($event, p_r4, page_r6.value)); });
|
|
8004
|
+
i0.ɵɵtext(3);
|
|
8005
|
+
i0.ɵɵpipe(4, "number");
|
|
7985
8006
|
i0.ɵɵelementEnd()();
|
|
7986
8007
|
} if (rf & 2) {
|
|
7987
|
-
const
|
|
8008
|
+
const page_r6 = i0.ɵɵnextContext().$implicit;
|
|
8009
|
+
i0.ɵɵnextContext(3);
|
|
8010
|
+
const p_r4 = i0.ɵɵreference(1);
|
|
8011
|
+
i0.ɵɵclassProp("govuk-pagination__item--current", p_r4.getCurrent() === page_r6.value);
|
|
8012
|
+
i0.ɵɵadvance();
|
|
8013
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 5, "Page") + " " + page_r6.value)("aria-current", p_r4.getCurrent() === page_r6.value ? "page" : null);
|
|
7988
8014
|
i0.ɵɵadvance(2);
|
|
7989
|
-
i0.ɵɵ
|
|
7990
|
-
i0.ɵɵadvance(3);
|
|
7991
|
-
i0.ɵɵtextInterpolate(page_r5.label === "..." ? page_r5.label : i0.ɵɵpipeBind2(6, 4, page_r5.label, ""));
|
|
8015
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(4, 7, page_r6.label, ""));
|
|
7992
8016
|
} }
|
|
7993
|
-
function
|
|
7994
|
-
i0.ɵɵ
|
|
7995
|
-
i0.ɵɵtext(1);
|
|
7996
|
-
i0.ɵɵpipe(2, "number");
|
|
7997
|
-
i0.ɵɵelementEnd();
|
|
8017
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
8018
|
+
i0.ɵɵconditionalCreate(0, HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Conditional_0_Template, 2, 0, "li", 13)(1, HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Conditional_1_Template, 5, 10, "li", 14);
|
|
7998
8019
|
} if (rf & 2) {
|
|
7999
|
-
const
|
|
8000
|
-
i0.ɵɵ
|
|
8001
|
-
i0.ɵɵtextInterpolate(page_r5.label === "..." ? page_r5.label : i0.ɵɵpipeBind2(2, 1, page_r5.label, ""));
|
|
8020
|
+
const page_r6 = ctx.$implicit;
|
|
8021
|
+
i0.ɵɵconditional(page_r6.label === "..." ? 0 : 1);
|
|
8002
8022
|
} }
|
|
8003
|
-
function
|
|
8004
|
-
i0.ɵɵelementStart(0, "
|
|
8005
|
-
i0.ɵɵ
|
|
8006
|
-
i0.ɵɵconditionalCreate(2, HmctsPaginationComponent_Conditional_6_Conditional_3_For_1_Conditional_2_Template, 3, 4, "span");
|
|
8023
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8024
|
+
i0.ɵɵelementStart(0, "ul", 6);
|
|
8025
|
+
i0.ɵɵrepeaterCreate(1, HmctsPaginationComponent_Conditional_2_Conditional_3_For_2_Template, 2, 1, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
8007
8026
|
i0.ɵɵelementEnd();
|
|
8008
8027
|
} if (rf & 2) {
|
|
8009
|
-
|
|
8010
|
-
i0.ɵɵ
|
|
8011
|
-
const p_r3 = i0.ɵɵreference(1);
|
|
8012
|
-
i0.ɵɵclassProp("hmcts-pagination__item--active", p_r3.getCurrent() === page_r5.value)("hmcts-pagination__item--dots", page_r5.label === "...");
|
|
8013
|
-
i0.ɵɵadvance();
|
|
8014
|
-
i0.ɵɵconditional(p_r3.getCurrent() !== page_r5.value ? 1 : -1);
|
|
8028
|
+
i0.ɵɵnextContext(2);
|
|
8029
|
+
const p_r4 = i0.ɵɵreference(1);
|
|
8015
8030
|
i0.ɵɵadvance();
|
|
8016
|
-
i0.ɵɵ
|
|
8031
|
+
i0.ɵɵrepeater(p_r4.pages);
|
|
8017
8032
|
} }
|
|
8018
|
-
function
|
|
8019
|
-
i0.ɵɵ
|
|
8020
|
-
|
|
8021
|
-
i0.ɵɵ
|
|
8022
|
-
|
|
8023
|
-
i0.ɵɵrepeater(p_r3.pages);
|
|
8033
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8034
|
+
i0.ɵɵnamespaceSVG();
|
|
8035
|
+
i0.ɵɵelementStart(0, "svg", 18);
|
|
8036
|
+
i0.ɵɵelement(1, "path", 19);
|
|
8037
|
+
i0.ɵɵelementEnd();
|
|
8024
8038
|
} }
|
|
8025
|
-
function
|
|
8026
|
-
|
|
8027
|
-
i0.ɵɵelementStart(0, "
|
|
8028
|
-
i0.ɵɵ
|
|
8029
|
-
i0.ɵɵ
|
|
8030
|
-
|
|
8031
|
-
|
|
8039
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_4_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
8040
|
+
i0.ɵɵnamespaceSVG();
|
|
8041
|
+
i0.ɵɵelementStart(0, "svg", 18);
|
|
8042
|
+
i0.ɵɵelement(1, "path", 19);
|
|
8043
|
+
i0.ɵɵelementEnd();
|
|
8044
|
+
} }
|
|
8045
|
+
function HmctsPaginationComponent_Conditional_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
8046
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
8047
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "a", 17);
|
|
8048
|
+
i0.ɵɵlistener("click", function HmctsPaginationComponent_Conditional_2_Conditional_4_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(2); const p_r4 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx_r2.onNext($event, p_r4)); });
|
|
8049
|
+
i0.ɵɵconditionalCreate(2, HmctsPaginationComponent_Conditional_2_Conditional_4_Conditional_2_Template, 2, 0, ":svg:svg", 18);
|
|
8050
|
+
i0.ɵɵelementStart(3, "span", 11);
|
|
8032
8051
|
i0.ɵɵtext(4);
|
|
8033
8052
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
8053
|
+
i0.ɵɵelementStart(6, "span", 12);
|
|
8054
|
+
i0.ɵɵtext(7);
|
|
8055
|
+
i0.ɵɵpipe(8, "rpxTranslate");
|
|
8056
|
+
i0.ɵɵelementEnd()();
|
|
8057
|
+
i0.ɵɵconditionalCreate(9, HmctsPaginationComponent_Conditional_2_Conditional_4_Conditional_9_Template, 2, 0, ":svg:svg", 18);
|
|
8034
8058
|
i0.ɵɵelementEnd()();
|
|
8035
8059
|
} if (rf & 2) {
|
|
8060
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
8061
|
+
i0.ɵɵadvance(2);
|
|
8062
|
+
i0.ɵɵconditional(!ctx_r2.showPageNumbers ? 2 : -1);
|
|
8036
8063
|
i0.ɵɵadvance();
|
|
8037
|
-
i0.ɵɵ
|
|
8064
|
+
i0.ɵɵclassProp("govuk-pagination__link-title--decorated", !ctx_r2.showPageNumbers);
|
|
8065
|
+
i0.ɵɵadvance();
|
|
8066
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, "Next"));
|
|
8038
8067
|
i0.ɵɵadvance(3);
|
|
8039
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
8068
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 8, "page"));
|
|
8069
|
+
i0.ɵɵadvance(2);
|
|
8070
|
+
i0.ɵɵconditional(ctx_r2.showPageNumbers ? 9 : -1);
|
|
8040
8071
|
} }
|
|
8041
|
-
function
|
|
8042
|
-
i0.ɵɵelementStart(0, "
|
|
8043
|
-
i0.ɵɵ
|
|
8072
|
+
function HmctsPaginationComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8073
|
+
i0.ɵɵelementStart(0, "nav", 4);
|
|
8074
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
8075
|
+
i0.ɵɵconditionalCreate(2, HmctsPaginationComponent_Conditional_2_Conditional_2_Template, 10, 8, "div", 5);
|
|
8076
|
+
i0.ɵɵconditionalCreate(3, HmctsPaginationComponent_Conditional_2_Conditional_3_Template, 3, 0, "ul", 6);
|
|
8077
|
+
i0.ɵɵconditionalCreate(4, HmctsPaginationComponent_Conditional_2_Conditional_4_Template, 10, 10, "div", 7);
|
|
8044
8078
|
i0.ɵɵelementEnd();
|
|
8045
|
-
i0.ɵɵconditionalCreate(3, HmctsPaginationComponent_Conditional_6_Conditional_3_Template, 2, 0);
|
|
8046
|
-
i0.ɵɵelementStart(4, "li", 8);
|
|
8047
|
-
i0.ɵɵconditionalCreate(5, HmctsPaginationComponent_Conditional_6_Conditional_5_Template, 6, 6, "a", 7);
|
|
8048
|
-
i0.ɵɵelementEnd()();
|
|
8049
8079
|
} if (rf & 2) {
|
|
8050
|
-
const
|
|
8051
|
-
const
|
|
8052
|
-
i0.ɵɵ
|
|
8053
|
-
i0.ɵɵ
|
|
8054
|
-
i0.ɵɵadvance();
|
|
8055
|
-
i0.ɵɵconditional(
|
|
8056
|
-
i0.ɵɵadvance();
|
|
8057
|
-
i0.ɵɵconditional(ctx_r6.showPageNumbers ? 3 : -1);
|
|
8080
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
8081
|
+
const p_r4 = i0.ɵɵreference(1);
|
|
8082
|
+
i0.ɵɵclassProp("govuk-pagination--block", !ctx_r2.showPageNumbers);
|
|
8083
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 6, "Pagination"));
|
|
8084
|
+
i0.ɵɵadvance(2);
|
|
8085
|
+
i0.ɵɵconditional(!p_r4.isFirstPage() ? 2 : -1);
|
|
8058
8086
|
i0.ɵɵadvance();
|
|
8059
|
-
i0.ɵɵ
|
|
8087
|
+
i0.ɵɵconditional(ctx_r2.showPageNumbers ? 3 : -1);
|
|
8060
8088
|
i0.ɵɵadvance();
|
|
8061
|
-
i0.ɵɵconditional(!
|
|
8089
|
+
i0.ɵɵconditional(!p_r4.isLastPage() ? 4 : -1);
|
|
8062
8090
|
} }
|
|
8063
|
-
function
|
|
8064
|
-
i0.ɵɵelementStart(0, "p",
|
|
8091
|
+
function HmctsPaginationComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8092
|
+
i0.ɵɵelementStart(0, "p", 3);
|
|
8065
8093
|
i0.ɵɵtext(1);
|
|
8066
8094
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
8067
8095
|
i0.ɵɵelementStart(3, "b");
|
|
@@ -8081,22 +8109,22 @@ function HmctsPaginationComponent_Conditional_7_Template(rf, ctx) { if (rf & 1)
|
|
|
8081
8109
|
i0.ɵɵpipe(14, "rpxTranslate");
|
|
8082
8110
|
i0.ɵɵelementEnd();
|
|
8083
8111
|
} if (rf & 2) {
|
|
8084
|
-
const
|
|
8085
|
-
const
|
|
8112
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
8113
|
+
const p_r4 = i0.ɵɵreference(1);
|
|
8086
8114
|
i0.ɵɵadvance();
|
|
8087
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 7, "Showing"), " ");
|
|
8115
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 7, "Showing"), " ");
|
|
8088
8116
|
i0.ɵɵadvance(3);
|
|
8089
|
-
i0.ɵɵtextInterpolate(
|
|
8117
|
+
i0.ɵɵtextInterpolate(ctx_r2.firstItemOnPage(p_r4));
|
|
8090
8118
|
i0.ɵɵadvance();
|
|
8091
8119
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 9, "to"), " ");
|
|
8092
8120
|
i0.ɵɵadvance(3);
|
|
8093
|
-
i0.ɵɵtextInterpolate(
|
|
8121
|
+
i0.ɵɵtextInterpolate(ctx_r2.lastItemOnPage(p_r4));
|
|
8094
8122
|
i0.ɵɵadvance();
|
|
8095
8123
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 11, "of"), " ");
|
|
8096
8124
|
i0.ɵɵadvance(3);
|
|
8097
|
-
i0.ɵɵtextInterpolate(
|
|
8125
|
+
i0.ɵɵtextInterpolate(p_r4.getTotalItems());
|
|
8098
8126
|
i0.ɵɵadvance();
|
|
8099
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "results"));
|
|
8127
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "results"), " ");
|
|
8100
8128
|
} }
|
|
8101
8129
|
class HmctsPaginationComponent {
|
|
8102
8130
|
constructor() {
|
|
@@ -8107,32 +8135,46 @@ class HmctsPaginationComponent {
|
|
|
8107
8135
|
this.pageChange = new EventEmitter();
|
|
8108
8136
|
this.pageBoundsCorrection = new EventEmitter();
|
|
8109
8137
|
}
|
|
8138
|
+
onPrevious(event, api) {
|
|
8139
|
+
event.preventDefault();
|
|
8140
|
+
api.previous();
|
|
8141
|
+
}
|
|
8142
|
+
onNext(event, api) {
|
|
8143
|
+
event.preventDefault();
|
|
8144
|
+
api.next();
|
|
8145
|
+
}
|
|
8146
|
+
onPage(event, api, page) {
|
|
8147
|
+
event.preventDefault();
|
|
8148
|
+
if (api.getCurrent() !== page) {
|
|
8149
|
+
api.setCurrent(page);
|
|
8150
|
+
}
|
|
8151
|
+
}
|
|
8152
|
+
firstItemOnPage(api) {
|
|
8153
|
+
return (api.getCurrent() * this.pageSize) - this.pageSize + 1;
|
|
8154
|
+
}
|
|
8155
|
+
lastItemOnPage(api) {
|
|
8156
|
+
return Math.min(api.getCurrent() * this.pageSize, api.getTotalItems());
|
|
8157
|
+
}
|
|
8110
8158
|
static { this.ɵfac = function HmctsPaginationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HmctsPaginationComponent)(); }; }
|
|
8111
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsPaginationComponent, selectors: [["xuilib-hmcts-pagination"]], inputs: { id: "id", maxSize: "maxSize", pageSize: "pageSize", showPageNumbers: "showPageNumbers", showResultCount: "showResultCount" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, standalone: false, decls:
|
|
8159
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsPaginationComponent, selectors: [["xuilib-hmcts-pagination"]], inputs: { id: "id", maxSize: "maxSize", pageSize: "pageSize", showPageNumbers: "showPageNumbers", showResultCount: "showResultCount" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, standalone: false, decls: 4, vars: 4, consts: [["p", "paginationApi"], [3, "pageChange", "pageBoundsCorrection", "id", "maxSize"], [1, "govuk-pagination", 3, "govuk-pagination--block"], ["data-pagination-results", "", 1, "xuilib-pagination__results"], [1, "govuk-pagination"], [1, "govuk-pagination__prev"], [1, "govuk-pagination__list"], [1, "govuk-pagination__next"], ["href", "#", "rel", "prev", 1, "govuk-link", "govuk-pagination__link", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "height", "13", "width", "15", "aria-hidden", "true", "focusable", "false", "viewBox", "0 0 15 13", 1, "govuk-pagination__icon", "govuk-pagination__icon--prev"], ["d", "m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z"], [1, "govuk-pagination__link-title"], [1, "govuk-visually-hidden"], [1, "govuk-pagination__item", "govuk-pagination__item--ellipsis"], [1, "govuk-pagination__item", 3, "govuk-pagination__item--current"], [1, "govuk-pagination__item"], ["href", "#", 1, "govuk-link", "govuk-pagination__link", 3, "click"], ["href", "#", "rel", "next", 1, "govuk-link", "govuk-pagination__link", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "height", "13", "width", "15", "aria-hidden", "true", "focusable", "false", "viewBox", "0 0 15 13", 1, "govuk-pagination__icon", "govuk-pagination__icon--next"], ["d", "m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z"]], template: function HmctsPaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8112
8160
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
8113
8161
|
i0.ɵɵelementStart(0, "pagination-template", 1, 0);
|
|
8114
8162
|
i0.ɵɵlistener("pageChange", function HmctsPaginationComponent_Template_pagination_template_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageChange.emit($event)); })("pageBoundsCorrection", function HmctsPaginationComponent_Template_pagination_template_pageBoundsCorrection_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageBoundsCorrection.emit($event)); });
|
|
8115
|
-
i0.ɵɵ
|
|
8116
|
-
i0.ɵɵ
|
|
8117
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
8163
|
+
i0.ɵɵconditionalCreate(2, HmctsPaginationComponent_Conditional_2_Template, 5, 8, "nav", 2);
|
|
8164
|
+
i0.ɵɵconditionalCreate(3, HmctsPaginationComponent_Conditional_3_Template, 15, 15, "p", 3);
|
|
8118
8165
|
i0.ɵɵelementEnd();
|
|
8119
|
-
i0.ɵɵconditionalCreate(6, HmctsPaginationComponent_Conditional_6_Template, 6, 7, "ul", 4);
|
|
8120
|
-
i0.ɵɵconditionalCreate(7, HmctsPaginationComponent_Conditional_7_Template, 15, 15, "p", 5);
|
|
8121
|
-
i0.ɵɵelementEnd()();
|
|
8122
8166
|
} if (rf & 2) {
|
|
8123
|
-
const
|
|
8167
|
+
const p_r4 = i0.ɵɵreference(1);
|
|
8124
8168
|
i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
|
|
8125
|
-
i0.ɵɵadvance(4);
|
|
8126
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "Pagination navigation"));
|
|
8127
8169
|
i0.ɵɵadvance(2);
|
|
8128
|
-
i0.ɵɵconditional(
|
|
8170
|
+
i0.ɵɵconditional(p_r4.pages.length > 1 ? 2 : -1);
|
|
8129
8171
|
i0.ɵɵadvance();
|
|
8130
|
-
i0.ɵɵconditional(ctx.showResultCount ?
|
|
8131
|
-
} }, dependencies: [i1$
|
|
8172
|
+
i0.ɵɵconditional(ctx.showResultCount ? 3 : -1);
|
|
8173
|
+
} }, dependencies: [i1$5.PaginationControlsDirective, i1.DecimalPipe, i2.RpxTranslatePipe], styles: ["[_ngcontent-%COMP%]:root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}[_ngcontent-%COMP%]:root{--govuk-frontend-version: \"6.4.0\"}[_ngcontent-%COMP%]:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{[_ngcontent-%COMP%]:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-pagination[_ngcontent-%COMP%]{margin-bottom:20px}@media (min-width: 40.0625em){.govuk-pagination[_ngcontent-%COMP%]{margin-bottom:30px}}.govuk-pagination[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center}@media (min-width: 40.0625em){.govuk-pagination[_ngcontent-%COMP%]{flex-direction:row;align-items:flex-start}}.govuk-pagination__list[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-family:sans-serif}}.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{box-sizing:border-box;position:relative;min-width:45px;min-height:45px;padding:10px 15px;float:left}.govuk-pagination__item[_ngcontent-%COMP%]:hover, .govuk-pagination__next[_ngcontent-%COMP%]:hover, .govuk-pagination__prev[_ngcontent-%COMP%]:hover{background-color:#f3f3f3}.govuk-pagination__item[_ngcontent-%COMP%]{display:none;text-align:center}@media (min-width: 40.0625em){.govuk-pagination__item[_ngcontent-%COMP%]{display:block}}.govuk-pagination__prev[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%]{font-weight:700}.govuk-pagination__prev[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]{display:flex;align-items:center}.govuk-pagination__prev[_ngcontent-%COMP%]{padding-left:0}.govuk-pagination__next[_ngcontent-%COMP%]{padding-right:0}.govuk-pagination__item--current[_ngcontent-%COMP%], .govuk-pagination__item--ellipsis[_ngcontent-%COMP%], .govuk-pagination__item[_ngcontent-%COMP%]:first-child, .govuk-pagination__item[_ngcontent-%COMP%]:last-child{display:block}.govuk-pagination__item--current[_ngcontent-%COMP%]{font-weight:700;outline:1px solid transparent;background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current[_ngcontent-%COMP%]:hover{background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:link, .govuk-pagination__item--current[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:visited{color:var(--govuk-inverse-text-colour, #ffffff)}.govuk-pagination__item--current[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:focus{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__item--ellipsis[_ngcontent-%COMP%]{font-weight:700;color:var(--govuk-secondary-text-colour, #484949)}.govuk-pagination__item--ellipsis[_ngcontent-%COMP%]:hover{background-color:transparent}.govuk-pagination__link[_ngcontent-%COMP%]{display:block;min-width:15px}@media screen{.govuk-pagination__link[_ngcontent-%COMP%]:after{content:\"\";position:absolute;inset:0}}.govuk-pagination__link[_ngcontent-%COMP%]:hover .govuk-pagination__link-title--decorated[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:active .govuk-pagination__link-title--decorated[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-pagination__link[_ngcontent-%COMP%]:hover .govuk-pagination__link-label[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:hover .govuk-pagination__link-title--decorated[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:active .govuk-pagination__link-label[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:active .govuk-pagination__link-title--decorated[_ngcontent-%COMP%]{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-pagination__link[_ngcontent-%COMP%]:focus .govuk-pagination__icon[_ngcontent-%COMP%]{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__link[_ngcontent-%COMP%]:focus .govuk-pagination__link-label[_ngcontent-%COMP%]{text-decoration:none}.govuk-pagination__link[_ngcontent-%COMP%]:focus .govuk-pagination__link-title--decorated[_ngcontent-%COMP%]{text-decoration:none}.govuk-pagination__link-title[_ngcontent-%COMP%]{text-decoration-thickness:inherit}.govuk-pagination__link-label[_ngcontent-%COMP%]{font-weight:400;text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em;display:inline-block}.govuk-pagination__icon[_ngcontent-%COMP%]{width:.9375rem;height:.8125rem;color:var(--govuk-secondary-text-colour, #484949);fill:currentcolor;forced-color-adjust:auto}.govuk-pagination__icon--prev[_ngcontent-%COMP%]{margin-right:15px}.govuk-pagination__icon--next[_ngcontent-%COMP%]{margin-left:15px}.govuk-pagination--block[_ngcontent-%COMP%]{display:block}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__prev[_ngcontent-%COMP%]{padding-left:0;float:none}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__next[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%], .govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__prev[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]{display:inline-block}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__next[_ngcontent-%COMP%]{padding-right:15px}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__prev[_ngcontent-%COMP%] + .govuk-pagination__next[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:var(--govuk-border-colour, #cecece)}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__link-title[_ngcontent-%COMP%]:after{content:\"\";display:block}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]{padding-left:30px;text-align:left}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:not(:focus){text-decoration:none}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__icon[_ngcontent-%COMP%]{margin-top:.326em;margin-left:-30px;float:left}.xuilib-pagination__results[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.xuilib-pagination__results[_ngcontent-%COMP%]{font-family:sans-serif}}.xuilib-pagination__results[_ngcontent-%COMP%]{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.xuilib-pagination__results[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.xuilib-pagination__results[_ngcontent-%COMP%]{color:var(--govuk-text-colour, #0b0c0c);margin-top:0;margin-bottom:20px}\n\n"] }); }
|
|
8132
8174
|
}
|
|
8133
8175
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsPaginationComponent, [{
|
|
8134
8176
|
type: Component,
|
|
8135
|
-
args: [{ selector: 'xuilib-hmcts-pagination', standalone: false, template: "<pagination-template #p=\"paginationApi\" [id]=\"id\" [maxSize]=\"maxSize\" (pageChange)=\"pageChange.emit($event)\"\n (pageBoundsCorrection)=\"pageBoundsCorrection.emit($event)\">\n\n <nav class=\"hmcts-pagination\" id=\"pagination-label\">\n <p class=\"govuk-visually-hidden\" aria-labelledby=\"pagination-label\">{{'Pagination navigation' | rpxTranslate}}</p>\n @if (!(p.pages.length <= 1)) {\n <ul class=\"hmcts-pagination__list\">\n <li class=\"hmcts-pagination__item hmcts-pagination__item--prev\" [class.disabled]=\"p.isFirstPage()\">\n @if (1 < p.getCurrent()) {\n <a [routerLink]=\"\" class=\"hmcts-pagination__link\" (keyup.enter)=\"p.previous()\"\n (click)=\"p.previous()\">{{'Previous' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{'set of pages' | rpxTranslate}}</span></a>\n }\n </li>\n @if (showPageNumbers) {\n @for (page of p.pages; track page) {\n <li class=\"hmcts-pagination__item\" [class.hmcts-pagination__item--active]=\"p.getCurrent() === page.value\"\n [class.hmcts-pagination__item--dots]=\"page.label === '...'\">\n @if (p.getCurrent() !== page.value) {\n <a class=\"hmcts-pagination__link\" [routerLink]=\"\" (keyup.enter)=\"p.setCurrent(page.value)\"\n (click)=\"p.setCurrent(page.value)\">\n <span class=\"govuk-visually-hidden\">{{'page' | rpxTranslate}} </span>\n <span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>\n </a>\n }\n @if (p.getCurrent() === page.value) {\n <span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>\n }\n </li>\n }\n }\n <li class=\"hmcts-pagination__item hmcts-pagination__item--next\" [class.disabled]=\"p.isLastPage()\">\n @if (!p.isLastPage()) {\n <a [routerLink]=\"\" class=\"hmcts-pagination__link\" (keyup.enter)=\"p.next()\"\n (click)=\"p.next()\">{{'Next' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'page' | rpxTranslate}}</span></a>\n }\n </li>\n </ul>\n }\n @if (showResultCount) {\n <p class=\"hmcts-pagination__results\">{{'Showing' | rpxTranslate}} <b>{{(p.getCurrent() * pageSize) - pageSize + 1}}</b>\n {{'to' | rpxTranslate}} <b>{{ p.getCurrent() * pageSize > p.getTotalItems() ? p.getTotalItems() : p.getCurrent() *\n pageSize}}</b> {{'of' | rpxTranslate}} <b>{{p.getTotalItems()}}</b> {{'results' | rpxTranslate}}</p>\n }\n </nav>\n\n </pagination-template>\n", styles: ["@media (min-width: 48.0625em){.hmcts-pagination{margin-left:-govuk-spacing(1);margin-right:-govuk-spacing(1);font-size:0;text-align:justify}.hmcts-pagination:after{content:\"\";display:inline-block;width:100%}}.hmcts-pagination__list{list-style:none;margin:0;padding:0}@media (min-width: 48.0625em){.hmcts-pagination__list{display:inline-block;margin-bottom:0;vertical-align:middle}}.hmcts-pagination__item{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\");font-display:fallback}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\");font-display:fallback}@media print{.hmcts-pagination__item{font-family:sans-serif}}.hmcts-pagination__item{font-weight:400;font-size:1rem;line-height:1.25}@media (min-width: 40.0625em){.hmcts-pagination__item{font-size:1.1875rem;line-height:1.3157894737}}@media print{.hmcts-pagination__item{font-size:14pt;line-height:1.15}}.hmcts-pagination__item{display:inline-block}.hmcts-pagination__item--active,.hmcts-pagination__item--dots{font-weight:700;height:25px;padding:5px 10px;text-align:center}.hmcts-pagination__item--dots{padding-left:0;padding-right:0}.hmcts-pagination__item--prev .hmcts-pagination__link:before,.hmcts-pagination__item--prev .hmcts-pagination__link:after,.hmcts-pagination__item--next .hmcts-pagination__link:before,.hmcts-pagination__item--next .hmcts-pagination__link:after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 36'%3E%3Cpath fill='%231d70b8' fill-rule='evenodd' clip-rule='evenodd' d='M8.9 18L0 9l8.9-9L11 2.1 4.2 9l6.8 6.9L8.9 18zM11 33.9l6.8-6.9-6.8-6.9 2.1-2.1 8.9 9-8.9 9-2.1-2.1z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:22px 36px;background-position:0 0;display:inline-block;height:18px;vertical-align:middle;position:relative;top:-1px;width:11px}.hmcts-pagination__item--prev .hmcts-pagination__link:before{background-position:0 0;content:\"\";margin-right:10px}.hmcts-pagination__item--next .hmcts-pagination__link:after{background-position:-11px -18px;content:\"\";margin-left:10px}.hmcts-pagination__link{display:block;padding:5px;text-align:center;text-decoration:none;min-width:25px}.hmcts-pagination__link:link,.hmcts-pagination__link:visited{color:#1d70b8}.hmcts-pagination__link:hover{color:#5694ca}.hmcts-pagination__link:focus{color:#0b0c0c}.hmcts-pagination__results{padding:5px}@media (min-width: 48.0625em){.hmcts-pagination__results{display:inline-block;margin-bottom:0;vertical-align:middle}}.hmcts-pagination__results{float:right}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
8177
|
+
args: [{ selector: 'xuilib-hmcts-pagination', standalone: false, template: "<pagination-template #p=\"paginationApi\" [id]=\"id\" [maxSize]=\"maxSize\" (pageChange)=\"pageChange.emit($event)\"\n (pageBoundsCorrection)=\"pageBoundsCorrection.emit($event)\">\n\n @if (p.pages.length > 1) {\n <nav class=\"govuk-pagination\" [class.govuk-pagination--block]=\"!showPageNumbers\"\n [attr.aria-label]=\"'Pagination' | rpxTranslate\">\n @if (!p.isFirstPage()) {\n <div class=\"govuk-pagination__prev\">\n <a href=\"#\" class=\"govuk-link govuk-pagination__link\" rel=\"prev\" (click)=\"onPrevious($event, p)\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\" [class.govuk-pagination__link-title--decorated]=\"!showPageNumbers\">{{'Previous' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'page' | rpxTranslate}}</span></span>\n </a>\n </div>\n }\n\n @if (showPageNumbers) {\n <ul class=\"govuk-pagination__list\">\n @for (page of p.pages; track $index) {\n @if (page.label === '...') {\n <li class=\"govuk-pagination__item govuk-pagination__item--ellipsis\">⋯</li>\n } @else {\n <li class=\"govuk-pagination__item\" [class.govuk-pagination__item--current]=\"p.getCurrent() === page.value\">\n <a href=\"#\" class=\"govuk-link govuk-pagination__link\"\n [attr.aria-label]=\"('Page' | rpxTranslate) + ' ' + page.value\"\n [attr.aria-current]=\"p.getCurrent() === page.value ? 'page' : null\"\n (click)=\"onPage($event, p, page.value)\">{{ page.label | number:'' }}</a>\n </li>\n }\n }\n </ul>\n }\n\n @if (!p.isLastPage()) {\n <div class=\"govuk-pagination__next\">\n <a href=\"#\" class=\"govuk-link govuk-pagination__link\" rel=\"next\" (click)=\"onNext($event, p)\">\n @if (!showPageNumbers) {\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n }\n <span class=\"govuk-pagination__link-title\" [class.govuk-pagination__link-title--decorated]=\"!showPageNumbers\">{{'Next' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'page' | rpxTranslate}}</span></span>\n @if (showPageNumbers) {\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n }\n </a>\n </div>\n }\n </nav>\n }\n\n @if (showResultCount) {\n <p class=\"xuilib-pagination__results\" data-pagination-results>\n {{'Showing' | rpxTranslate}} <b>{{ firstItemOnPage(p) }}</b>\n {{'to' | rpxTranslate}} <b>{{ lastItemOnPage(p) }}</b>\n {{'of' | rpxTranslate}} <b>{{ p.getTotalItems() }}</b> {{'results' | rpxTranslate}}\n </p>\n }\n\n</pagination-template>\n", styles: [":root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}:root{--govuk-frontend-version: \"6.4.0\"}:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-pagination{margin-bottom:20px}@media (min-width: 40.0625em){.govuk-pagination{margin-bottom:30px}}.govuk-pagination{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center}@media (min-width: 40.0625em){.govuk-pagination{flex-direction:row;align-items:flex-start}}.govuk-pagination__list{margin:0;padding:0;list-style:none}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-family:sans-serif}}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-size:14pt;line-height:1.15}}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{box-sizing:border-box;position:relative;min-width:45px;min-height:45px;padding:10px 15px;float:left}.govuk-pagination__item:hover,.govuk-pagination__next:hover,.govuk-pagination__prev:hover{background-color:#f3f3f3}.govuk-pagination__item{display:none;text-align:center}@media (min-width: 40.0625em){.govuk-pagination__item{display:block}}.govuk-pagination__prev,.govuk-pagination__next{font-weight:700}.govuk-pagination__prev .govuk-pagination__link,.govuk-pagination__next .govuk-pagination__link{display:flex;align-items:center}.govuk-pagination__prev{padding-left:0}.govuk-pagination__next{padding-right:0}.govuk-pagination__item--current,.govuk-pagination__item--ellipsis,.govuk-pagination__item:first-child,.govuk-pagination__item:last-child{display:block}.govuk-pagination__item--current{font-weight:700;outline:1px solid transparent;background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current:hover{background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current .govuk-pagination__link:link,.govuk-pagination__item--current .govuk-pagination__link:visited{color:var(--govuk-inverse-text-colour, #ffffff)}.govuk-pagination__item--current .govuk-pagination__link:focus{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__item--ellipsis{font-weight:700;color:var(--govuk-secondary-text-colour, #484949)}.govuk-pagination__item--ellipsis:hover{background-color:transparent}.govuk-pagination__link{display:block;min-width:15px}@media screen{.govuk-pagination__link:after{content:\"\";position:absolute;inset:0}}.govuk-pagination__link:hover .govuk-pagination__link-title--decorated,.govuk-pagination__link:active .govuk-pagination__link-title--decorated{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-pagination__link:hover .govuk-pagination__link-label,.govuk-pagination__link:hover .govuk-pagination__link-title--decorated,.govuk-pagination__link:active .govuk-pagination__link-label,.govuk-pagination__link:active .govuk-pagination__link-title--decorated{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-pagination__link:focus .govuk-pagination__icon{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__link:focus .govuk-pagination__link-label{text-decoration:none}.govuk-pagination__link:focus .govuk-pagination__link-title--decorated{text-decoration:none}.govuk-pagination__link-title{text-decoration-thickness:inherit}.govuk-pagination__link-label{font-weight:400;text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em;display:inline-block}.govuk-pagination__icon{width:.9375rem;height:.8125rem;color:var(--govuk-secondary-text-colour, #484949);fill:currentcolor;forced-color-adjust:auto}.govuk-pagination__icon--prev{margin-right:15px}.govuk-pagination__icon--next{margin-left:15px}.govuk-pagination--block{display:block}.govuk-pagination--block .govuk-pagination__next,.govuk-pagination--block .govuk-pagination__prev{padding-left:0;float:none}.govuk-pagination--block .govuk-pagination__next .govuk-pagination__link,.govuk-pagination--block .govuk-pagination__prev .govuk-pagination__link{display:inline-block}.govuk-pagination--block .govuk-pagination__next{padding-right:15px}.govuk-pagination--block .govuk-pagination__prev+.govuk-pagination__next{border-top:1px solid;border-top-color:var(--govuk-border-colour, #cecece)}.govuk-pagination--block .govuk-pagination__link-title:after{content:\"\";display:block}.govuk-pagination--block .govuk-pagination__link{padding-left:30px;text-align:left}.govuk-pagination--block .govuk-pagination__link:not(:focus){text-decoration:none}.govuk-pagination--block .govuk-pagination__icon{margin-top:.326em;margin-left:-30px;float:left}.xuilib-pagination__results{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{.xuilib-pagination__results{font-family:sans-serif}}.xuilib-pagination__results{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.xuilib-pagination__results{font-size:14pt;line-height:1.15}}.xuilib-pagination__results{color:var(--govuk-text-colour, #0b0c0c);margin-top:0;margin-bottom:20px}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
8136
8178
|
}], null, { id: [{
|
|
8137
8179
|
type: Input
|
|
8138
8180
|
}], maxSize: [{
|
|
@@ -8148,7 +8190,7 @@ class HmctsPaginationComponent {
|
|
|
8148
8190
|
}], pageBoundsCorrection: [{
|
|
8149
8191
|
type: Output
|
|
8150
8192
|
}] }); })();
|
|
8151
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsPaginationComponent, { className: "HmctsPaginationComponent", filePath: "lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.ts", lineNumber:
|
|
8193
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsPaginationComponent, { className: "HmctsPaginationComponent", filePath: "lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.ts", lineNumber: 10 }); })();
|
|
8152
8194
|
|
|
8153
8195
|
const _c0$b = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
8154
8196
|
function UserListComponent_For_14_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -8192,7 +8234,7 @@ class UserListComponent {
|
|
|
8192
8234
|
this.pageChange.emit(pageNumber);
|
|
8193
8235
|
}
|
|
8194
8236
|
static { this.ɵfac = function UserListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UserListComponent)(); }; }
|
|
8195
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserListComponent, selectors: [["xuilib-user-list"]], inputs: { users: "users", currentPageNumber: "currentPageNumber", pageTotalSize: "pageTotalSize" }, outputs: { userClick: "userClick", pageChange: "pageChange" }, standalone: false, decls: 17, vars: 17, consts: [[1, "govuk-table"], [
|
|
8237
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserListComponent, selectors: [["xuilib-user-list"]], inputs: { users: "users", currentPageNumber: "currentPageNumber", pageTotalSize: "pageTotalSize" }, outputs: { userClick: "userClick", pageChange: "pageChange" }, standalone: false, decls: 17, vars: 17, consts: [[1, "govuk-table"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header"], [1, "govuk-table__body"], ["data-selector", "table-row", 1, "govuk-table__row"], [3, "pageChange", "pageSize"], ["data-selector", "table-cell", 1, "govuk-table__cell"], [1, "govuk-link", 3, "click", "routerLink"]], template: function UserListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8196
8238
|
i0.ɵɵelementStart(0, "table", 0)(1, "thead", 1)(2, "tr", 2)(3, "th", 3);
|
|
8197
8239
|
i0.ɵɵtext(4);
|
|
8198
8240
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -8223,11 +8265,11 @@ class UserListComponent {
|
|
|
8223
8265
|
i0.ɵɵrepeater(i0.ɵɵpipeBind2(15, 10, ctx.users, i0.ɵɵpureFunction3(13, _c0$b, ctx.pagination.itemsPerPage, ctx.currentPageNumber, ctx.pagination.totalItems)));
|
|
8224
8266
|
i0.ɵɵadvance(3);
|
|
8225
8267
|
i0.ɵɵproperty("pageSize", ctx.pagination.itemsPerPage);
|
|
8226
|
-
} }, dependencies: [i1$1.RouterLink, HmctsPaginationComponent,
|
|
8268
|
+
} }, dependencies: [i1$1.RouterLink, HmctsPaginationComponent, i1$5.PaginatePipe, i2.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block}"] }); }
|
|
8227
8269
|
}
|
|
8228
8270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserListComponent, [{
|
|
8229
8271
|
type: Component,
|
|
8230
|
-
args: [{ selector: 'xuilib-user-list', standalone: false, template: "<table class=\"govuk-table\">\n
|
|
8272
|
+
args: [{ selector: 'xuilib-user-list', standalone: false, template: "<table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"col\">{{'Name' | rpxTranslate}}</th>\n <th class=\"govuk-table__header\" scope=\"col\">{{'Email' | rpxTranslate}}</th>\n <th class=\"govuk-table__header\" scope=\"col\">{{'Status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n @for (u of users | paginate: { itemsPerPage: pagination.itemsPerPage, currentPage: currentPageNumber, totalItems: pagination.totalItems }; track u) {\n <tr class=\"govuk-table__row\" data-selector=\"table-row\">\n <td class=\"govuk-table__cell\" data-selector=\"table-cell\">\n <a class=\"govuk-link\" [attr.title]=\"u.routerLinkTitle\" [routerLink]=\"u.routerLink\" (click)=\"onUserClick(u)\">{{ u.fullName }}</a>\n </td>\n <td class=\"govuk-table__cell\" data-selector=\"table-cell\">{{ u.email }}</td>\n <td class=\"govuk-table__cell\" data-selector=\"table-cell\">{{ u.status }}</td>\n </tr>\n }\n </tbody>\n</table>\n<xuilib-hmcts-pagination (pageChange)=\"emitPageClickEvent($event)\" [pageSize]=\"pagination.itemsPerPage\"></xuilib-hmcts-pagination>\n", styles: [":host{display:block}\n"] }]
|
|
8231
8273
|
}], null, { users: [{
|
|
8232
8274
|
type: Input
|
|
8233
8275
|
}], currentPageNumber: [{
|
|
@@ -8384,45 +8426,49 @@ class CookieBannerComponent {
|
|
|
8384
8426
|
}] }); })();
|
|
8385
8427
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CookieBannerComponent, { className: "CookieBannerComponent", filePath: "lib/components/cookie-banner/cookie-banner.component.ts", lineNumber: 11 }); })();
|
|
8386
8428
|
|
|
8387
|
-
function
|
|
8429
|
+
function PaginationComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8388
8430
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
8389
|
-
i0.ɵɵelementStart(0, "a",
|
|
8390
|
-
i0.ɵɵlistener("click", function
|
|
8391
|
-
i0.ɵɵ
|
|
8392
|
-
i0.ɵɵ
|
|
8393
|
-
i0.ɵɵ
|
|
8394
|
-
} if (rf & 2) {
|
|
8395
|
-
i0.ɵɵadvance();
|
|
8396
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Previous page"), " ");
|
|
8397
|
-
} }
|
|
8398
|
-
function PaginationComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
8399
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
8400
|
-
i0.ɵɵtext(1);
|
|
8401
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
8431
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "a", 3);
|
|
8432
|
+
i0.ɵɵlistener("click", function PaginationComponent_Conditional_2_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.onPrevious(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
8433
|
+
i0.ɵɵnamespaceSVG();
|
|
8434
|
+
i0.ɵɵelementStart(2, "svg", 4);
|
|
8435
|
+
i0.ɵɵelement(3, "path", 5);
|
|
8402
8436
|
i0.ɵɵelementEnd();
|
|
8437
|
+
i0.ɵɵnamespaceHTML();
|
|
8438
|
+
i0.ɵɵelementStart(4, "span", 6);
|
|
8439
|
+
i0.ɵɵtext(5);
|
|
8440
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
8441
|
+
i0.ɵɵelementStart(7, "span", 7);
|
|
8442
|
+
i0.ɵɵtext(8);
|
|
8443
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
8444
|
+
i0.ɵɵelementEnd()()()();
|
|
8403
8445
|
} if (rf & 2) {
|
|
8404
|
-
i0.ɵɵadvance();
|
|
8405
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
8446
|
+
i0.ɵɵadvance(5);
|
|
8447
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 2, "Previous"));
|
|
8448
|
+
i0.ɵɵadvance(3);
|
|
8449
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 4, "page"));
|
|
8406
8450
|
} }
|
|
8407
|
-
function
|
|
8451
|
+
function PaginationComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8408
8452
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
8409
|
-
i0.ɵɵelementStart(0, "a",
|
|
8410
|
-
i0.ɵɵlistener("click", function
|
|
8411
|
-
i0.ɵɵ
|
|
8412
|
-
i0.ɵɵ
|
|
8413
|
-
i0.ɵɵ
|
|
8414
|
-
} if (rf & 2) {
|
|
8415
|
-
i0.ɵɵadvance();
|
|
8416
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Next page"));
|
|
8417
|
-
} }
|
|
8418
|
-
function PaginationComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
8419
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
8420
|
-
i0.ɵɵtext(1);
|
|
8421
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
8453
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "a", 8);
|
|
8454
|
+
i0.ɵɵlistener("click", function PaginationComponent_Conditional_3_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.onNext(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
8455
|
+
i0.ɵɵnamespaceSVG();
|
|
8456
|
+
i0.ɵɵelementStart(2, "svg", 9);
|
|
8457
|
+
i0.ɵɵelement(3, "path", 10);
|
|
8422
8458
|
i0.ɵɵelementEnd();
|
|
8459
|
+
i0.ɵɵnamespaceHTML();
|
|
8460
|
+
i0.ɵɵelementStart(4, "span", 6);
|
|
8461
|
+
i0.ɵɵtext(5);
|
|
8462
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
8463
|
+
i0.ɵɵelementStart(7, "span", 7);
|
|
8464
|
+
i0.ɵɵtext(8);
|
|
8465
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
8466
|
+
i0.ɵɵelementEnd()()()();
|
|
8423
8467
|
} if (rf & 2) {
|
|
8424
|
-
i0.ɵɵadvance();
|
|
8425
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
8468
|
+
i0.ɵɵadvance(5);
|
|
8469
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 2, "Next"));
|
|
8470
|
+
i0.ɵɵadvance(3);
|
|
8471
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 4, "page"));
|
|
8426
8472
|
} }
|
|
8427
8473
|
class PaginationComponent {
|
|
8428
8474
|
constructor() {
|
|
@@ -8436,29 +8482,23 @@ class PaginationComponent {
|
|
|
8436
8482
|
this.nextPage.emit(null);
|
|
8437
8483
|
}
|
|
8438
8484
|
static { this.ɵfac = function PaginationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationComponent)(); }; }
|
|
8439
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["xuilib-pagination"]], inputs: { moreItems: "moreItems", firstRecord: "firstRecord" }, outputs: { previousPage: "previousPage", nextPage: "nextPage" }, standalone: false, decls:
|
|
8440
|
-
i0.ɵɵelementStart(0, "nav", 0)
|
|
8441
|
-
i0.ɵɵ
|
|
8442
|
-
i0.ɵɵ
|
|
8443
|
-
i0.ɵɵ
|
|
8444
|
-
i0.ɵɵelementStart(4, "ul", 2)(5, "li", 3);
|
|
8445
|
-
i0.ɵɵconditionalCreate(6, PaginationComponent_Conditional_6_Template, 3, 3, "a", 4)(7, PaginationComponent_Conditional_7_Template, 3, 3, "span", 5);
|
|
8485
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["xuilib-pagination"]], inputs: { moreItems: "moreItems", firstRecord: "firstRecord" }, outputs: { previousPage: "previousPage", nextPage: "nextPage" }, standalone: false, decls: 4, vars: 5, consts: [[1, "govuk-pagination", "govuk-pagination--block"], [1, "govuk-pagination__prev"], [1, "govuk-pagination__next"], ["href", "#", "rel", "prev", 1, "govuk-link", "govuk-pagination__link", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "height", "13", "width", "15", "aria-hidden", "true", "focusable", "false", "viewBox", "0 0 15 13", 1, "govuk-pagination__icon", "govuk-pagination__icon--prev"], ["d", "m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z"], [1, "govuk-pagination__link-title", "govuk-pagination__link-title--decorated"], [1, "govuk-visually-hidden"], ["href", "#", "rel", "next", 1, "govuk-link", "govuk-pagination__link", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "height", "13", "width", "15", "aria-hidden", "true", "focusable", "false", "viewBox", "0 0 15 13", 1, "govuk-pagination__icon", "govuk-pagination__icon--next"], ["d", "m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8486
|
+
i0.ɵɵelementStart(0, "nav", 0);
|
|
8487
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
8488
|
+
i0.ɵɵconditionalCreate(2, PaginationComponent_Conditional_2_Template, 10, 6, "div", 1);
|
|
8489
|
+
i0.ɵɵconditionalCreate(3, PaginationComponent_Conditional_3_Template, 10, 6, "div", 2);
|
|
8446
8490
|
i0.ɵɵelementEnd();
|
|
8447
|
-
i0.ɵɵelementStart(8, "li", 6);
|
|
8448
|
-
i0.ɵɵconditionalCreate(9, PaginationComponent_Conditional_9_Template, 3, 3, "a", 4)(10, PaginationComponent_Conditional_10_Template, 3, 3, "span", 5);
|
|
8449
|
-
i0.ɵɵelementEnd()()();
|
|
8450
8491
|
} if (rf & 2) {
|
|
8492
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 3, "Pagination"));
|
|
8451
8493
|
i0.ɵɵadvance(2);
|
|
8452
|
-
i0.ɵɵ
|
|
8453
|
-
i0.ɵɵadvance(
|
|
8454
|
-
i0.ɵɵconditional(ctx.
|
|
8455
|
-
|
|
8456
|
-
i0.ɵɵconditional(ctx.moreItems ? 9 : 10);
|
|
8457
|
-
} }, dependencies: [i2.RpxTranslatePipe], styles: ["span.hmcts-pagination__link[_ngcontent-%COMP%]:hover{color:revert}"] }); }
|
|
8494
|
+
i0.ɵɵconditional(ctx.firstRecord > 1 ? 2 : -1);
|
|
8495
|
+
i0.ɵɵadvance();
|
|
8496
|
+
i0.ɵɵconditional(ctx.moreItems ? 3 : -1);
|
|
8497
|
+
} }, dependencies: [i2.RpxTranslatePipe], styles: ["[_ngcontent-%COMP%]:root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}[_ngcontent-%COMP%]:root{--govuk-frontend-version: \"6.4.0\"}[_ngcontent-%COMP%]:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{[_ngcontent-%COMP%]:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-pagination[_ngcontent-%COMP%]{margin-bottom:20px}@media (min-width: 40.0625em){.govuk-pagination[_ngcontent-%COMP%]{margin-bottom:30px}}.govuk-pagination[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center}@media (min-width: 40.0625em){.govuk-pagination[_ngcontent-%COMP%]{flex-direction:row;align-items:flex-start}}.govuk-pagination__list[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-family:sans-serif}}.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.govuk-pagination__item[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination__prev[_ngcontent-%COMP%]{box-sizing:border-box;position:relative;min-width:45px;min-height:45px;padding:10px 15px;float:left}.govuk-pagination__item[_ngcontent-%COMP%]:hover, .govuk-pagination__next[_ngcontent-%COMP%]:hover, .govuk-pagination__prev[_ngcontent-%COMP%]:hover{background-color:#f3f3f3}.govuk-pagination__item[_ngcontent-%COMP%]{display:none;text-align:center}@media (min-width: 40.0625em){.govuk-pagination__item[_ngcontent-%COMP%]{display:block}}.govuk-pagination__prev[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%]{font-weight:700}.govuk-pagination__prev[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%], .govuk-pagination__next[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]{display:flex;align-items:center}.govuk-pagination__prev[_ngcontent-%COMP%]{padding-left:0}.govuk-pagination__next[_ngcontent-%COMP%]{padding-right:0}.govuk-pagination__item--current[_ngcontent-%COMP%], .govuk-pagination__item--ellipsis[_ngcontent-%COMP%], .govuk-pagination__item[_ngcontent-%COMP%]:first-child, .govuk-pagination__item[_ngcontent-%COMP%]:last-child{display:block}.govuk-pagination__item--current[_ngcontent-%COMP%]{font-weight:700;outline:1px solid transparent;background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current[_ngcontent-%COMP%]:hover{background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:link, .govuk-pagination__item--current[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:visited{color:var(--govuk-inverse-text-colour, #ffffff)}.govuk-pagination__item--current[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:focus{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__item--ellipsis[_ngcontent-%COMP%]{font-weight:700;color:var(--govuk-secondary-text-colour, #484949)}.govuk-pagination__item--ellipsis[_ngcontent-%COMP%]:hover{background-color:transparent}.govuk-pagination__link[_ngcontent-%COMP%]{display:block;min-width:15px}@media screen{.govuk-pagination__link[_ngcontent-%COMP%]:after{content:\"\";position:absolute;inset:0}}.govuk-pagination__link[_ngcontent-%COMP%]:hover .govuk-pagination__link-title--decorated[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:active .govuk-pagination__link-title--decorated[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-pagination__link[_ngcontent-%COMP%]:hover .govuk-pagination__link-label[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:hover .govuk-pagination__link-title--decorated[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:active .govuk-pagination__link-label[_ngcontent-%COMP%], .govuk-pagination__link[_ngcontent-%COMP%]:active .govuk-pagination__link-title--decorated[_ngcontent-%COMP%]{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-pagination__link[_ngcontent-%COMP%]:focus .govuk-pagination__icon[_ngcontent-%COMP%]{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__link[_ngcontent-%COMP%]:focus .govuk-pagination__link-label[_ngcontent-%COMP%]{text-decoration:none}.govuk-pagination__link[_ngcontent-%COMP%]:focus .govuk-pagination__link-title--decorated[_ngcontent-%COMP%]{text-decoration:none}.govuk-pagination__link-title[_ngcontent-%COMP%]{text-decoration-thickness:inherit}.govuk-pagination__link-label[_ngcontent-%COMP%]{font-weight:400;text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em;display:inline-block}.govuk-pagination__icon[_ngcontent-%COMP%]{width:.9375rem;height:.8125rem;color:var(--govuk-secondary-text-colour, #484949);fill:currentcolor;forced-color-adjust:auto}.govuk-pagination__icon--prev[_ngcontent-%COMP%]{margin-right:15px}.govuk-pagination__icon--next[_ngcontent-%COMP%]{margin-left:15px}.govuk-pagination--block[_ngcontent-%COMP%]{display:block}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__next[_ngcontent-%COMP%], .govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__prev[_ngcontent-%COMP%]{padding-left:0;float:none}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__next[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%], .govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__prev[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]{display:inline-block}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__next[_ngcontent-%COMP%]{padding-right:15px}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__prev[_ngcontent-%COMP%] + .govuk-pagination__next[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:var(--govuk-border-colour, #cecece)}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__link-title[_ngcontent-%COMP%]:after{content:\"\";display:block}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]{padding-left:30px;text-align:left}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__link[_ngcontent-%COMP%]:not(:focus){text-decoration:none}.govuk-pagination--block[_ngcontent-%COMP%] .govuk-pagination__icon[_ngcontent-%COMP%]{margin-top:.326em;margin-left:-30px;float:left}\n\n"] }); }
|
|
8458
8498
|
}
|
|
8459
8499
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
8460
8500
|
type: Component,
|
|
8461
|
-
args: [{ selector: 'xuilib-pagination', standalone: false, template: "<nav class=\"
|
|
8501
|
+
args: [{ selector: 'xuilib-pagination', standalone: false, template: "<nav class=\"govuk-pagination govuk-pagination--block\" [attr.aria-label]=\"'Pagination' | rpxTranslate\">\n @if (firstRecord > 1) {\n <div class=\"govuk-pagination__prev\">\n <a href=\"#\" class=\"govuk-link govuk-pagination__link\" rel=\"prev\"\n (click)=\"onPrevious(); $event.preventDefault()\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">{{'Previous' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'page' | rpxTranslate}}</span></span>\n </a>\n </div>\n }\n\n @if (moreItems) {\n <div class=\"govuk-pagination__next\">\n <a href=\"#\" class=\"govuk-link govuk-pagination__link\" rel=\"next\"\n (click)=\"onNext(); $event.preventDefault()\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">{{'Next' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'page' | rpxTranslate}}</span></span>\n </a>\n </div>\n }\n</nav>\n", styles: [":root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}:root{--govuk-frontend-version: \"6.4.0\"}:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-pagination{margin-bottom:20px}@media (min-width: 40.0625em){.govuk-pagination{margin-bottom:30px}}.govuk-pagination{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center}@media (min-width: 40.0625em){.govuk-pagination{flex-direction:row;align-items:flex-start}}.govuk-pagination__list{margin:0;padding:0;list-style:none}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-family:sans-serif}}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{font-size:14pt;line-height:1.15}}.govuk-pagination__item,.govuk-pagination__next,.govuk-pagination__prev{box-sizing:border-box;position:relative;min-width:45px;min-height:45px;padding:10px 15px;float:left}.govuk-pagination__item:hover,.govuk-pagination__next:hover,.govuk-pagination__prev:hover{background-color:#f3f3f3}.govuk-pagination__item{display:none;text-align:center}@media (min-width: 40.0625em){.govuk-pagination__item{display:block}}.govuk-pagination__prev,.govuk-pagination__next{font-weight:700}.govuk-pagination__prev .govuk-pagination__link,.govuk-pagination__next .govuk-pagination__link{display:flex;align-items:center}.govuk-pagination__prev{padding-left:0}.govuk-pagination__next{padding-right:0}.govuk-pagination__item--current,.govuk-pagination__item--ellipsis,.govuk-pagination__item:first-child,.govuk-pagination__item:last-child{display:block}.govuk-pagination__item--current{font-weight:700;outline:1px solid transparent;background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current:hover{background-color:var(--govuk-link-colour, #1a65a6)}.govuk-pagination__item--current .govuk-pagination__link:link,.govuk-pagination__item--current .govuk-pagination__link:visited{color:var(--govuk-inverse-text-colour, #ffffff)}.govuk-pagination__item--current .govuk-pagination__link:focus{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__item--ellipsis{font-weight:700;color:var(--govuk-secondary-text-colour, #484949)}.govuk-pagination__item--ellipsis:hover{background-color:transparent}.govuk-pagination__link{display:block;min-width:15px}@media screen{.govuk-pagination__link:after{content:\"\";position:absolute;inset:0}}.govuk-pagination__link:hover .govuk-pagination__link-title--decorated,.govuk-pagination__link:active .govuk-pagination__link-title--decorated{text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em}.govuk-pagination__link:hover .govuk-pagination__link-label,.govuk-pagination__link:hover .govuk-pagination__link-title--decorated,.govuk-pagination__link:active .govuk-pagination__link-label,.govuk-pagination__link:active .govuk-pagination__link-title--decorated{text-decoration-thickness:max(3px,.1875rem,.12em);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;text-decoration-skip:none}.govuk-pagination__link:focus .govuk-pagination__icon{color:var(--govuk-focus-text-colour, #0b0c0c)}.govuk-pagination__link:focus .govuk-pagination__link-label{text-decoration:none}.govuk-pagination__link:focus .govuk-pagination__link-title--decorated{text-decoration:none}.govuk-pagination__link-title{text-decoration-thickness:inherit}.govuk-pagination__link-label{font-weight:400;text-decoration:underline;text-decoration-thickness:max(1px,.0625rem);text-underline-offset:.1578em;display:inline-block}.govuk-pagination__icon{width:.9375rem;height:.8125rem;color:var(--govuk-secondary-text-colour, #484949);fill:currentcolor;forced-color-adjust:auto}.govuk-pagination__icon--prev{margin-right:15px}.govuk-pagination__icon--next{margin-left:15px}.govuk-pagination--block{display:block}.govuk-pagination--block .govuk-pagination__next,.govuk-pagination--block .govuk-pagination__prev{padding-left:0;float:none}.govuk-pagination--block .govuk-pagination__next .govuk-pagination__link,.govuk-pagination--block .govuk-pagination__prev .govuk-pagination__link{display:inline-block}.govuk-pagination--block .govuk-pagination__next{padding-right:15px}.govuk-pagination--block .govuk-pagination__prev+.govuk-pagination__next{border-top:1px solid;border-top-color:var(--govuk-border-colour, #cecece)}.govuk-pagination--block .govuk-pagination__link-title:after{content:\"\";display:block}.govuk-pagination--block .govuk-pagination__link{padding-left:30px;text-align:left}.govuk-pagination--block .govuk-pagination__link:not(:focus){text-decoration:none}.govuk-pagination--block .govuk-pagination__icon{margin-top:.326em;margin-left:-30px;float:left}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
8462
8502
|
}], () => [], { moreItems: [{
|
|
8463
8503
|
type: Input
|
|
8464
8504
|
}], firstRecord: [{
|
|
@@ -9081,7 +9121,7 @@ function WriteAddressFieldComponent_Conditional_2_Conditional_8_Template(rf, ctx
|
|
|
9081
9121
|
i0.ɵɵadvance(3);
|
|
9082
9122
|
i0.ɵɵtextInterpolate1("", ctx_r0.postcodeErrorMessage, " ");
|
|
9083
9123
|
} }
|
|
9084
|
-
function
|
|
9124
|
+
function WriteAddressFieldComponent_Conditional_2_Conditional_13_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
9085
9125
|
i0.ɵɵelementStart(0, "p", 1)(1, "span", 4);
|
|
9086
9126
|
i0.ɵɵtext(2, "Error:");
|
|
9087
9127
|
i0.ɵɵelementEnd();
|
|
@@ -9092,8 +9132,8 @@ function WriteAddressFieldComponent_Conditional_2_Conditional_13_Conditional_5_T
|
|
|
9092
9132
|
i0.ɵɵadvance(3);
|
|
9093
9133
|
i0.ɵɵtextInterpolate1("", ctx_r0.selectErrorMessage, " ");
|
|
9094
9134
|
} }
|
|
9095
|
-
function
|
|
9096
|
-
i0.ɵɵelementStart(0, "option",
|
|
9135
|
+
function WriteAddressFieldComponent_Conditional_2_Conditional_13_For_7_Template(rf, ctx) { if (rf & 1) {
|
|
9136
|
+
i0.ɵɵelementStart(0, "option", 17);
|
|
9097
9137
|
i0.ɵɵtext(1);
|
|
9098
9138
|
i0.ɵɵelementEnd();
|
|
9099
9139
|
} if (rf & 2) {
|
|
@@ -9104,26 +9144,26 @@ function WriteAddressFieldComponent_Conditional_2_Conditional_13_For_8_Template(
|
|
|
9104
9144
|
} }
|
|
9105
9145
|
function WriteAddressFieldComponent_Conditional_2_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
9106
9146
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
9107
|
-
i0.ɵɵelementStart(0, "div", 12)(1, "div", 14)(2, "label", 15)
|
|
9108
|
-
i0.ɵɵtext(
|
|
9109
|
-
i0.ɵɵelementEnd()
|
|
9110
|
-
i0.ɵɵconditionalCreate(
|
|
9111
|
-
i0.ɵɵelementStart(
|
|
9112
|
-
i0.ɵɵlistener("change", function
|
|
9113
|
-
i0.ɵɵrepeaterCreate(
|
|
9147
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "div", 14)(2, "label", 15);
|
|
9148
|
+
i0.ɵɵtext(3, " Select an address ");
|
|
9149
|
+
i0.ɵɵelementEnd();
|
|
9150
|
+
i0.ɵɵconditionalCreate(4, WriteAddressFieldComponent_Conditional_2_Conditional_13_Conditional_4_Template, 4, 1, "p", 1);
|
|
9151
|
+
i0.ɵɵelementStart(5, "select", 16);
|
|
9152
|
+
i0.ɵɵlistener("change", function WriteAddressFieldComponent_Conditional_2_Conditional_13_Template_select_change_5_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.addressSelected()); });
|
|
9153
|
+
i0.ɵɵrepeaterCreate(6, WriteAddressFieldComponent_Conditional_2_Conditional_13_For_7_Template, 2, 2, "option", 17, i0.ɵɵrepeaterTrackByIdentity);
|
|
9114
9154
|
i0.ɵɵelementEnd()()();
|
|
9115
9155
|
} if (rf & 2) {
|
|
9116
9156
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
9117
9157
|
i0.ɵɵadvance();
|
|
9118
9158
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$6, ctx_r0.postcodeErrorPresent(false)));
|
|
9119
|
-
i0.ɵɵadvance(
|
|
9120
|
-
i0.ɵɵconditional(ctx_r0.postcodeErrorPresent(false) ?
|
|
9159
|
+
i0.ɵɵadvance(3);
|
|
9160
|
+
i0.ɵɵconditional(ctx_r0.postcodeErrorPresent(false) ? 4 : -1);
|
|
9121
9161
|
i0.ɵɵadvance(2);
|
|
9122
9162
|
i0.ɵɵrepeater(ctx_r0.addressOptions);
|
|
9123
9163
|
} }
|
|
9124
9164
|
function WriteAddressFieldComponent_Conditional_2_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
9125
9165
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
9126
|
-
i0.ɵɵelementStart(0, "a",
|
|
9166
|
+
i0.ɵɵelementStart(0, "a", 18);
|
|
9127
9167
|
i0.ɵɵlistener("click", function WriteAddressFieldComponent_Conditional_2_Conditional_14_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.blankAddress(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
9128
9168
|
i0.ɵɵtext(1, "I can't enter a UK postcode");
|
|
9129
9169
|
i0.ɵɵelementEnd();
|
|
@@ -9143,7 +9183,7 @@ function WriteAddressFieldComponent_Conditional_2_Template(rf, ctx) { if (rf & 1
|
|
|
9143
9183
|
i0.ɵɵlistener("click", function WriteAddressFieldComponent_Conditional_2_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.findAddress()); });
|
|
9144
9184
|
i0.ɵɵtext(12, "Find address");
|
|
9145
9185
|
i0.ɵɵelementEnd()()();
|
|
9146
|
-
i0.ɵɵconditionalCreate(13, WriteAddressFieldComponent_Conditional_2_Conditional_13_Template,
|
|
9186
|
+
i0.ɵɵconditionalCreate(13, WriteAddressFieldComponent_Conditional_2_Conditional_13_Template, 8, 4, "div", 12);
|
|
9147
9187
|
i0.ɵɵconditionalCreate(14, WriteAddressFieldComponent_Conditional_2_Conditional_14_Template, 2, 0, "a", 13);
|
|
9148
9188
|
i0.ɵɵelementEnd();
|
|
9149
9189
|
} if (rf & 2) {
|
|
@@ -9167,19 +9207,19 @@ function WriteAddressFieldComponent_Conditional_3_Conditional_10_Template(rf, ct
|
|
|
9167
9207
|
} }
|
|
9168
9208
|
function WriteAddressFieldComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
9169
9209
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
9170
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "div",
|
|
9210
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 19)(2, "input", 20);
|
|
9171
9211
|
i0.ɵɵlistener("click", function WriteAddressFieldComponent_Conditional_3_Template_input_click_2_listener() { i0.ɵɵrestoreView(_r6); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.setInternationalAddress(false)); });
|
|
9172
9212
|
i0.ɵɵelementEnd();
|
|
9173
|
-
i0.ɵɵelementStart(3, "label",
|
|
9213
|
+
i0.ɵɵelementStart(3, "label", 21);
|
|
9174
9214
|
i0.ɵɵtext(4, " Yes ");
|
|
9175
9215
|
i0.ɵɵelementEnd()();
|
|
9176
|
-
i0.ɵɵelementStart(5, "div",
|
|
9216
|
+
i0.ɵɵelementStart(5, "div", 19)(6, "input", 22);
|
|
9177
9217
|
i0.ɵɵlistener("click", function WriteAddressFieldComponent_Conditional_3_Template_input_click_6_listener() { i0.ɵɵrestoreView(_r6); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.setInternationalAddress(true)); });
|
|
9178
9218
|
i0.ɵɵelementEnd();
|
|
9179
|
-
i0.ɵɵelementStart(7, "label",
|
|
9219
|
+
i0.ɵɵelementStart(7, "label", 23);
|
|
9180
9220
|
i0.ɵɵtext(8, " No ");
|
|
9181
9221
|
i0.ɵɵelementEnd()();
|
|
9182
|
-
i0.ɵɵelementStart(9, "div",
|
|
9222
|
+
i0.ɵɵelementStart(9, "div", 24);
|
|
9183
9223
|
i0.ɵɵconditionalCreate(10, WriteAddressFieldComponent_Conditional_3_Conditional_10_Template, 1, 3, "xuilib-write-address-inputs", 3);
|
|
9184
9224
|
i0.ɵɵelementEnd()();
|
|
9185
9225
|
} if (rf & 2) {
|
|
@@ -9346,7 +9386,7 @@ class WriteAddressFieldComponent {
|
|
|
9346
9386
|
this.addressFormGroup.get('postcode').patchValue(postcodeNeeded ? this.formGroup.get('address').get('postCode').value : '');
|
|
9347
9387
|
}
|
|
9348
9388
|
static { this.ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressService)); }; }
|
|
9349
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["xuilib-write-address-field"]], inputs: { formGroup: "formGroup", internationalMode: "internationalMode", isInternational: "isInternational", submissionAttempted: "submissionAttempted", startedInternational: "startedInternational", addressChosen: "addressChosen" }, outputs: { postcodeOptionSelected: "postcodeOptionSelected", internationalModeStart: "internationalModeStart", ukAddressOptionSelected: "ukAddressOptionSelected", canSelectAddress: "canSelectAddress", resetSubmission: "resetSubmission" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 5, vars: 8, consts: [[1, "govuk-form-group", 3, "formGroup", "ngClass"], [1, "govuk-error-message"], ["id", "govuk-radios", "data-module", "govuk-radios", 1, "govuk-radios"], [3, "formGroup", "isInternational", "submissionAttempted"], [1, "govuk-visually-hidden"], [1, "govuk-label"], ["id", "addressLookup", 1, "govuk-body", "postcode-lookup", 3, "ngClass"], ["for", "postcodeInput"], [1, "govuk-hint"], [1, "govuk-body"], ["type", "text", "id", "postcodeInput", "name", "postcode", "formControlName", "postcode", 1, "govuk-input", "govuk-!-width-one-third", "postcodeinput", "inline-block", 3, "ngClass"], ["type", "button", 1, "govuk-button", "find-address", 3, "click"], ["id", "selectAddress", 1, "govuk-body"], ["href", "#", 1, "manual-link", "govuk-link"], [1, "govuk-body", 3, "ngClass"], ["for", "addressList", 1, "govuk-label"], [
|
|
9389
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["xuilib-write-address-field"]], inputs: { formGroup: "formGroup", internationalMode: "internationalMode", isInternational: "isInternational", submissionAttempted: "submissionAttempted", startedInternational: "startedInternational", addressChosen: "addressChosen" }, outputs: { postcodeOptionSelected: "postcodeOptionSelected", internationalModeStart: "internationalModeStart", ukAddressOptionSelected: "ukAddressOptionSelected", canSelectAddress: "canSelectAddress", resetSubmission: "resetSubmission" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 5, vars: 8, consts: [[1, "govuk-form-group", 3, "formGroup", "ngClass"], [1, "govuk-error-message"], ["id", "govuk-radios", "data-module", "govuk-radios", 1, "govuk-radios"], [3, "formGroup", "isInternational", "submissionAttempted"], [1, "govuk-visually-hidden"], [1, "govuk-label"], ["id", "addressLookup", 1, "govuk-body", "postcode-lookup", 3, "ngClass"], ["for", "postcodeInput"], [1, "govuk-hint"], [1, "govuk-body"], ["type", "text", "id", "postcodeInput", "name", "postcode", "formControlName", "postcode", 1, "govuk-input", "govuk-!-width-one-third", "postcodeinput", "inline-block", 3, "ngClass"], ["type", "button", 1, "govuk-button", "find-address", 3, "click"], ["id", "selectAddress", 1, "govuk-body"], ["href", "#", 1, "manual-link", "govuk-link"], [1, "govuk-body", 3, "ngClass"], ["for", "addressList", 1, "govuk-label"], ["id", "addressList", "name", "address", "formControlName", "addressList", "focusElement", "", 1, "govuk-select", "ccd-dropdown", "addressList", 3, "change"], [3, "ngValue"], ["href", "#", 1, "manual-link", "govuk-link", 3, "click"], [1, "govuk-radios__item"], ["id", "yes", "value", "yes", "name", "ukAddress", "type", "radio", "data-aria-controls", "address-fields", "formControlName", "ukAddress", 1, "govuk-radios__input", 3, "click"], ["for", "yes", 1, "govuk-label", "govuk-radios__label"], ["id", "no", "value", "no", "name", "ukAddress", "type", "radio", "data-aria-controls", "address-fields", "formControlName", "ukAddress", 1, "govuk-radios__input", 3, "click"], ["for", "no", 1, "govuk-label", "govuk-radios__label"], ["id", "address-fields", 1, "govuk-radios__conditional"]], template: function WriteAddressFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9350
9390
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9351
9391
|
i0.ɵɵconditionalCreate(1, WriteAddressFieldComponent_Conditional_1_Template, 4, 1, "p", 1);
|
|
9352
9392
|
i0.ɵɵconditionalCreate(2, WriteAddressFieldComponent_Conditional_2_Template, 15, 9, "div");
|
|
@@ -9367,7 +9407,7 @@ class WriteAddressFieldComponent {
|
|
|
9367
9407
|
}
|
|
9368
9408
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteAddressFieldComponent, [{
|
|
9369
9409
|
type: Component,
|
|
9370
|
-
args: [{ selector: 'xuilib-write-address-field', standalone: false, template: "<div class=\"govuk-form-group\" [formGroup]=\"addressFormGroup\"\n [ngClass]=\"{'govuk-form-group--error': optionErrorsPresent}\">\n @if (optionErrorsPresent) {\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{optionErrorMessage}}\n </p>\n }\n @if (postcodeLookupVisible()) {\n <div>\n <span class=\"govuk-label\"><strong>Provide address details</strong></span>\n <div class=\"govuk-body postcode-lookup\" id=\"addressLookup\"\n [ngClass]=\"{'govuk-form-group--error': missingPostcode || postcodeErrorPresent(true)}\">\n <label for=\"postcodeInput\">\n <span class=\"govuk-hint\">Enter a UK postcode</span>\n </label>\n @if (missingPostcode || postcodeErrorPresent(true)) {\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{postcodeErrorMessage}}\n </p>\n }\n <div class=\"govuk-body\">\n <input type=\"text\" [ngClass]=\"{'govuk-input--error': missingPostcode}\" id=\"postcodeInput\" name=\"postcode\"\n class=\"govuk-input govuk-!-width-one-third postcodeinput inline-block\" formControlName=\"postcode\">\n <button type=\"button\" class=\"govuk-button find-address\" (click)=\"findAddress()\">Find address</button>\n </div>\n </div>\n @if (addressOptions) {\n <div class=\"govuk-body\" id=\"selectAddress\">\n <div class=\"govuk-body\" [ngClass]=\"{'govuk-form-group--error': postcodeErrorPresent(false)}\">\n <label class=\"govuk-label\" for=\"addressList\">\n
|
|
9410
|
+
args: [{ selector: 'xuilib-write-address-field', standalone: false, template: "<div class=\"govuk-form-group\" [formGroup]=\"addressFormGroup\"\n [ngClass]=\"{'govuk-form-group--error': optionErrorsPresent}\">\n @if (optionErrorsPresent) {\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{optionErrorMessage}}\n </p>\n }\n @if (postcodeLookupVisible()) {\n <div>\n <span class=\"govuk-label\"><strong>Provide address details</strong></span>\n <div class=\"govuk-body postcode-lookup\" id=\"addressLookup\"\n [ngClass]=\"{'govuk-form-group--error': missingPostcode || postcodeErrorPresent(true)}\">\n <label for=\"postcodeInput\">\n <span class=\"govuk-hint\">Enter a UK postcode</span>\n </label>\n @if (missingPostcode || postcodeErrorPresent(true)) {\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{postcodeErrorMessage}}\n </p>\n }\n <div class=\"govuk-body\">\n <input type=\"text\" [ngClass]=\"{'govuk-input--error': missingPostcode}\" id=\"postcodeInput\" name=\"postcode\"\n class=\"govuk-input govuk-!-width-one-third postcodeinput inline-block\" formControlName=\"postcode\">\n <button type=\"button\" class=\"govuk-button find-address\" (click)=\"findAddress()\">Find address</button>\n </div>\n </div>\n @if (addressOptions) {\n <div class=\"govuk-body\" id=\"selectAddress\">\n <div class=\"govuk-body\" [ngClass]=\"{'govuk-form-group--error': postcodeErrorPresent(false)}\">\n <label class=\"govuk-label\" for=\"addressList\">\n Select an address\n </label>\n @if (postcodeErrorPresent(false)) {\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{selectErrorMessage}}\n </p>\n }\n <select class=\"govuk-select ccd-dropdown addressList\" id=\"addressList\" name=\"address\"\n formControlName=\"addressList\" (change)=\"addressSelected()\" focusElement>\n @for (addressOption of addressOptions; track addressOption) {\n <option [ngValue]=\"addressOption.value\">\n {{addressOption.description}}\n </option>\n }\n </select>\n </div>\n </div>\n }\n @if (!shouldShowDetailFields() || (!startedInternational && !addressChosen)) {\n <a class=\"manual-link govuk-link\"\n (click)=\"blankAddress(); $event.preventDefault()\" href=\"#\">I can't enter a UK postcode</a>\n }\n </div>\n }\n\n @if (shouldShowDetailFields() && internationalMode && startedInternational && !addressChosen) {\n <div id=\"govuk-radios\" class=\"govuk-radios\" data-module=\"govuk-radios\"\n >\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"yes\" value=\"yes\" name=\"ukAddress\" type=\"radio\"\n data-aria-controls=\"address-fields\" (click)=\"setInternationalAddress(false)\" formControlName=\"ukAddress\">\n <label class=\"govuk-label govuk-radios__label\" for=\"yes\">\n Yes\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"no\" value=\"no\" name=\"ukAddress\" type=\"radio\"\n data-aria-controls=\"address-fields\" (click)=\"setInternationalAddress(true)\" formControlName=\"ukAddress\">\n <label class=\"govuk-label govuk-radios__label\" for=\"no\">\n No\n </label>\n </div>\n <div class=\"govuk-radios__conditional\" id=\"address-fields\">\n @if (isInternational !== undefined) {\n <xuilib-write-address-inputs [formGroup]=\"formGroup\"\n [isInternational]=\"isInternational\" [submissionAttempted]=\"submissionAttempted\">\n </xuilib-write-address-inputs>\n }\n </div>\n </div>\n }\n\n @if (shouldShowDetailFields() && (addressChosen || !internationalMode)) {\n <xuilib-write-address-inputs\n [formGroup]=\"formGroup\" [isInternational]=\"false\" [submissionAttempted]=\"submissionAttempted\">\n </xuilib-write-address-inputs>\n }\n\n</div>", styles: [".manual-link{cursor:pointer;display:block;text-decoration:underline;font-size:1.1875rem}.postcode-lookup{margin-bottom:-20px}.find-address{left:1%}:host{display:block}\n"] }]
|
|
9371
9411
|
}], () => [{ type: AddressService }], { formGroup: [{
|
|
9372
9412
|
type: Input
|
|
9373
9413
|
}], internationalMode: [{
|
|
@@ -9594,12 +9634,12 @@ const _c0$4 = a0 => ({ "govuk-form-group--error": a0 });
|
|
|
9594
9634
|
const _c1$2 = (a0, a1, a2, a3, a4) => ({ legend: a0, classes: a1, id: a2, hint: a3, isPageHeading: a4 });
|
|
9595
9635
|
const _c2 = (a0, a1, a2) => ({ label: a0, name: a1, id: a2, classes: "govuk-date-input__label" });
|
|
9596
9636
|
const _c3 = a0 => ({ "govuk-input--error": a0 });
|
|
9597
|
-
const _c4 =
|
|
9637
|
+
const _c4 = a0 => ({ id: a0 });
|
|
9598
9638
|
function GovUkDateComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
9599
9639
|
i0.ɵɵelement(0, "xuilib-gov-uk-error-message", 2);
|
|
9600
9640
|
} if (rf & 2) {
|
|
9601
9641
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
9602
|
-
i0.ɵɵproperty("config", i0.ɵɵ
|
|
9642
|
+
i0.ɵɵproperty("config", i0.ɵɵpureFunction1(2, _c4, ctx_r0.config.id))("errorMessage", ctx_r0.errorMessage);
|
|
9603
9643
|
} }
|
|
9604
9644
|
/*
|
|
9605
9645
|
* Gov UK Date Component
|
|
@@ -9660,9 +9700,9 @@ class GovUkDateComponent {
|
|
|
9660
9700
|
};
|
|
9661
9701
|
}
|
|
9662
9702
|
static { this.ɵfac = function GovUkDateComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GovUkDateComponent)(); }; }
|
|
9663
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkDateComponent, selectors: [["xuilib-gov-uk-date"]], inputs: { config: "config", errorMessage: "errorMessage", formGroup: "formGroup", isOptional: "isOptional" }, standalone: false, decls: 20, vars:
|
|
9703
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkDateComponent, selectors: [["xuilib-gov-uk-date"]], inputs: { config: "config", errorMessage: "errorMessage", formGroup: "formGroup", isOptional: "isOptional" }, standalone: false, decls: 20, vars: 56, consts: [[1, "govuk-form-group", 3, "ngClass", "formGroup"], [1, "date-input-container"], [3, "config", "errorMessage"], [1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [3, "config"], ["type", "text", "value", "", "pattern", "\\d*", "maxlength", "2", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "ngClass", "id", "name", "formControlName"], ["type", "text", "value", "", "pattern", "\\d*", "maxlength", "4", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "ngClass", "id", "name", "formControlName"]], template: function GovUkDateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9664
9704
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "xuilib-gov-uk-fieldset", 2);
|
|
9665
|
-
i0.ɵɵconditionalCreate(3, GovUkDateComponent_Conditional_3_Template, 1,
|
|
9705
|
+
i0.ɵɵconditionalCreate(3, GovUkDateComponent_Conditional_3_Template, 1, 4, "xuilib-gov-uk-error-message", 2);
|
|
9666
9706
|
i0.ɵɵelementStart(4, "div", 3)(5, "div", 4)(6, "div", 5);
|
|
9667
9707
|
i0.ɵɵelement(7, "xuilib-gov-label", 6);
|
|
9668
9708
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
@@ -9679,30 +9719,33 @@ class GovUkDateComponent {
|
|
|
9679
9719
|
i0.ɵɵelement(19, "input", 8);
|
|
9680
9720
|
i0.ɵɵelementEnd()()()()()();
|
|
9681
9721
|
} if (rf & 2) {
|
|
9682
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9722
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(30, _c0$4, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid))("formGroup", ctx.formGroup);
|
|
9683
9723
|
i0.ɵɵadvance(2);
|
|
9684
|
-
i0.ɵɵproperty("config", i0.ɵɵpureFunction5(
|
|
9724
|
+
i0.ɵɵproperty("config", i0.ɵɵpureFunction5(32, _c1$2, ctx.config.label || "Date component", ctx.config.classes || "govuk-label--m", ctx.config.id, ctx.config.hint != null ? ctx.config.hint : "For example, 12 11 2007", ctx.config.isPageHeading || false))("errorMessage", ctx.errorMessage);
|
|
9685
9725
|
i0.ɵɵadvance();
|
|
9686
9726
|
i0.ɵɵconditional(ctx.errorMessage ? 3 : -1);
|
|
9687
9727
|
i0.ɵɵadvance();
|
|
9688
9728
|
i0.ɵɵproperty("id", ctx.config.id + "-date");
|
|
9689
9729
|
i0.ɵɵadvance(3);
|
|
9690
|
-
i0.ɵɵproperty("config", i0.ɵɵpureFunction3(
|
|
9730
|
+
i0.ɵɵproperty("config", i0.ɵɵpureFunction3(38, _c2, i0.ɵɵpipeBind1(8, 24, "Day"), ctx.config.id + "-day", ctx.config.id + "-day"));
|
|
9691
9731
|
i0.ɵɵadvance(2);
|
|
9692
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9732
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(42, _c3, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid))("id", ctx.config.id + "-day")("name", ctx.config.id + "-day")("formControlName", ctx.config.id + "_day");
|
|
9733
|
+
i0.ɵɵattribute("aria-describedby", (ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid) ? ctx.config.id + "-error" : null);
|
|
9693
9734
|
i0.ɵɵadvance(3);
|
|
9694
|
-
i0.ɵɵproperty("config", i0.ɵɵpureFunction3(
|
|
9735
|
+
i0.ɵɵproperty("config", i0.ɵɵpureFunction3(44, _c2, i0.ɵɵpipeBind1(13, 26, "Month"), ctx.config.id + "-month", ctx.config.id + "-month"));
|
|
9695
9736
|
i0.ɵɵadvance(2);
|
|
9696
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9737
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(48, _c3, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid))("id", ctx.config.id + "-month")("name", ctx.config.id + "-month")("formControlName", ctx.config.id + "_month");
|
|
9738
|
+
i0.ɵɵattribute("aria-describedby", (ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid) ? ctx.config.id + "-error" : null);
|
|
9697
9739
|
i0.ɵɵadvance(3);
|
|
9698
|
-
i0.ɵɵproperty("config", i0.ɵɵpureFunction3(
|
|
9740
|
+
i0.ɵɵproperty("config", i0.ɵɵpureFunction3(50, _c2, i0.ɵɵpipeBind1(18, 28, "Year"), ctx.config.id + "-year", ctx.config.id + "-year"));
|
|
9699
9741
|
i0.ɵɵadvance(2);
|
|
9700
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9742
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(54, _c3, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid))("id", ctx.config.id + "-year")("name", ctx.config.id + "-year")("formControlName", ctx.config.id + "_year");
|
|
9743
|
+
i0.ɵɵattribute("aria-describedby", (ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid) ? ctx.config.id + "-error" : null);
|
|
9701
9744
|
} }, dependencies: [i1.NgClass, i2$3.DefaultValueAccessor, i2$3.NgControlStatus, i2$3.NgControlStatusGroup, i2$3.MaxLengthValidator, i2$3.PatternValidator, i2$3.FormGroupDirective, i2$3.FormControlName, GovUkLabelComponent, GovUkErrorMessageComponent, GovUkFieldsetComponent, i2.RpxTranslatePipe], styles: [".govuk-form-group[_ngcontent-%COMP%] .date-input-container[_ngcontent-%COMP%]{margin-bottom:30px}.govuk-form-group[_ngcontent-%COMP%] .date-input-container[_ngcontent-%COMP%] .govuk-date-input[_ngcontent-%COMP%] .govuk-date-input__item[_ngcontent-%COMP%] .govuk-form-group[_ngcontent-%COMP%]{margin-bottom:0}"] }); }
|
|
9702
9745
|
}
|
|
9703
9746
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkDateComponent, [{
|
|
9704
9747
|
type: Component,
|
|
9705
|
-
args: [{ selector: 'xuilib-gov-uk-date', standalone: false, template: "<div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': errorMessage?.isInvalid}\" [formGroup]=\"formGroup\">\n <div class=\"date-input-container\">\n <xuilib-gov-uk-fieldset\n [config]=\"{\n legend: config.label || 'Date component',\n classes: config.classes || 'govuk-label--m',\n id: config.id,\n hint: config.hint != null ? config.hint : 'For example, 12 11 2007',\n isPageHeading: config.isPageHeading || false}\"\n [errorMessage]=\"errorMessage\">\n @if (errorMessage) {\n <xuilib-gov-uk-error-message\n [config]=\"{id:
|
|
9748
|
+
args: [{ selector: 'xuilib-gov-uk-date', standalone: false, template: "<div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': errorMessage?.isInvalid}\" [formGroup]=\"formGroup\">\n <div class=\"date-input-container\">\n <xuilib-gov-uk-fieldset\n [config]=\"{\n legend: config.label || 'Date component',\n classes: config.classes || 'govuk-label--m',\n id: config.id,\n hint: config.hint != null ? config.hint : 'For example, 12 11 2007',\n isPageHeading: config.isPageHeading || false}\"\n [errorMessage]=\"errorMessage\">\n @if (errorMessage) {\n <xuilib-gov-uk-error-message\n [config]=\"{id: config.id}\"\n [errorMessage]=\"errorMessage\">\n </xuilib-gov-uk-error-message>\n }\n <div class=\"govuk-date-input\" [id]=\"config.id+'-date'\">\n <div class=\"govuk-date-input__item\">\n <div class=\"govuk-form-group\">\n <xuilib-gov-label\n [config]=\"{label: 'Day' | rpxTranslate, name: config.id+'-day', id: config.id+'-day', classes: 'govuk-date-input__label'}\">\n </xuilib-gov-label>\n <input class=\"govuk-input govuk-date-input__input govuk-input--width-2\"\n [ngClass]=\"{'govuk-input--error': errorMessage?.isInvalid}\"\n [attr.aria-describedby]=\"errorMessage?.isInvalid ? config.id + '-error' : null\"\n [id]=\"config.id+'-day'\"\n [name]=\"config.id+'-day'\" type=\"text\" value=\"\" pattern=\"\\d*\" maxlength=\"2\"\n [formControlName]=\"config.id+'_day'\">\n </div>\n </div>\n <div class=\"govuk-date-input__item\">\n <div class=\"govuk-form-group\">\n <xuilib-gov-label\n [config]=\"{label: 'Month' | rpxTranslate, name: config.id+'-month', id: config.id+'-month', classes: 'govuk-date-input__label'}\">\n </xuilib-gov-label>\n <input class=\"govuk-input govuk-date-input__input govuk-input--width-2\"\n [ngClass]=\"{'govuk-input--error': errorMessage?.isInvalid}\"\n [attr.aria-describedby]=\"errorMessage?.isInvalid ? config.id + '-error' : null\"\n [id]=\"config.id+'-month'\"\n [name]=\"config.id+'-month'\" type=\"text\" value=\"\" pattern=\"\\d*\" maxlength=\"2\"\n [formControlName]=\"config.id+'_month'\">\n </div>\n </div>\n <div class=\"govuk-date-input__item\">\n <div class=\"govuk-form-group\">\n <xuilib-gov-label\n [config]=\"{label: 'Year' | rpxTranslate, name: config.id+'-year', id: config.id+'-year', classes: 'govuk-date-input__label'}\">\n </xuilib-gov-label>\n <input class=\"govuk-input govuk-date-input__input govuk-input--width-4\"\n [ngClass]=\"{'govuk-input--error': errorMessage?.isInvalid}\"\n [attr.aria-describedby]=\"errorMessage?.isInvalid ? config.id + '-error' : null\"\n [id]=\"config.id+'-year'\"\n [name]=\"config.id+'-year'\" type=\"text\" value=\"\" pattern=\"\\d*\" maxlength=\"4\"\n [formControlName]=\"config.id+'_year'\">\n </div>\n </div>\n </div>\n </xuilib-gov-uk-fieldset>\n </div>\n</div>\n", styles: [".govuk-form-group .date-input-container{margin-bottom:30px}.govuk-form-group .date-input-container .govuk-date-input .govuk-date-input__item .govuk-form-group{margin-bottom:0}\n"] }]
|
|
9706
9749
|
}], () => [], { config: [{
|
|
9707
9750
|
type: Input
|
|
9708
9751
|
}], errorMessage: [{
|
|
@@ -10220,11 +10263,11 @@ class HmctsBannerComponent {
|
|
|
10220
10263
|
i0.ɵɵconditionalCreate(0, HmctsBannerComponent_Conditional_0_Template, 10, 13);
|
|
10221
10264
|
} if (rf & 2) {
|
|
10222
10265
|
i0.ɵɵconditional(ctx.message && ctx.type ? 0 : -1);
|
|
10223
|
-
} }, dependencies: [i2.RpxTranslatePipe], styles: ["@charset \"UTF-8\";.hmcts-banner-title[_ngcontent-%COMP%]{color:#fff;background-color:#1d70b8;font-weight:700;padding:10px 15px 5px}.hmcts-banner-title--success[_ngcontent-%COMP%]{background-color:#
|
|
10266
|
+
} }, dependencies: [i2.RpxTranslatePipe], styles: ["@charset \"UTF-8\";.hmcts-banner-title[_ngcontent-%COMP%]{color:#fff;background-color:#1d70b8;font-weight:700;padding:10px 15px 5px}.hmcts-banner-title--success[_ngcontent-%COMP%]{background-color:#0f7a52}.hmcts-banner-title--warning[_ngcontent-%COMP%]{background-color:#ca3535}.hmcts-banner[_ngcontent-%COMP%]{border:5px solid #1d70b8;color:#1d70b8;font-size:0;margin-bottom:30px;padding:10px}.hmcts-banner--success[_ngcontent-%COMP%]{border-color:#0f7a52;color:#0f7a52}.hmcts-banner--warning[_ngcontent-%COMP%]{border-color:#ca3535;color:#ca3535}.hmcts-banner__icon[_ngcontent-%COMP%]{fill:currentColor;float:left;margin-right:10px}.hmcts-banner__message[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-banner__message[_ngcontent-%COMP%]{font-family:sans-serif}}.hmcts-banner__message[_ngcontent-%COMP%]{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.hmcts-banner__message[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.hmcts-banner__message[_ngcontent-%COMP%]{color:#0b0c0c;display:block;overflow:hidden}.hmcts-banner__message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:10px}.hmcts-banner__message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:last-child{margin-bottom:0}.hmcts-banner__message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.hmcts-banner__message--bold[_ngcontent-%COMP%]{font-weight:700}.hmcts-banner__assistive[_ngcontent-%COMP%]{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important;-webkit-user-select:none;-ms-user-select:none;user-select:none}.hmcts-banner__assistive[_ngcontent-%COMP%]:before{content:\"\\a0\"}.hmcts-banner__assistive[_ngcontent-%COMP%]:after{content:\"\\a0\"}\n\n"] }); }
|
|
10224
10267
|
}
|
|
10225
10268
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsBannerComponent, [{
|
|
10226
10269
|
type: Component,
|
|
10227
|
-
args: [{ selector: 'xuilib-hmcts-banner', standalone: false, template: "@if (message && type) {\n @if (title) {\n <div\n class=\"hmcts-banner-title hmcts-banner-title--{{ type }}\">\n {{ title }}\n </div>\n }\n <div class=\"hmcts-banner hmcts-banner--{{ type }}\">\n @if (showMessageIcon) {\n @switch (type) {\n @case ('warning') {\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--warning\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\"></path>\n </svg>\n }\n @case ('success') {\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--success\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n }\n @case ('information') {\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--information\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z\"></path>\n </svg>\n }\n }\n }\n <div class=\"hmcts-banner__message\" [class.hmcts-banner__message--bold]=\"messageBoldText\">\n <span class=\"hmcts-banner__assistive\">{{type | rpxTranslate}}</span>\n <span class=\"hmcts-banner__message-text govuk-!-font-weight-bold\">{{message | rpxTranslate}}</span>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";.hmcts-banner-title{color:#fff;background-color:#1d70b8;font-weight:700;padding:10px 15px 5px}.hmcts-banner-title--success{background-color:#
|
|
10270
|
+
args: [{ selector: 'xuilib-hmcts-banner', standalone: false, template: "@if (message && type) {\n @if (title) {\n <div\n class=\"hmcts-banner-title hmcts-banner-title--{{ type }}\">\n {{ title }}\n </div>\n }\n <div class=\"hmcts-banner hmcts-banner--{{ type }}\">\n @if (showMessageIcon) {\n @switch (type) {\n @case ('warning') {\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--warning\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\"></path>\n </svg>\n }\n @case ('success') {\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--success\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n }\n @case ('information') {\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--information\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z\"></path>\n </svg>\n }\n }\n }\n <div class=\"hmcts-banner__message\" [class.hmcts-banner__message--bold]=\"messageBoldText\">\n <span class=\"hmcts-banner__assistive\">{{type | rpxTranslate}}</span>\n <span class=\"hmcts-banner__message-text govuk-!-font-weight-bold\">{{message | rpxTranslate}}</span>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";.hmcts-banner-title{color:#fff;background-color:#1d70b8;font-weight:700;padding:10px 15px 5px}.hmcts-banner-title--success{background-color:#0f7a52}.hmcts-banner-title--warning{background-color:#ca3535}.hmcts-banner{border:5px solid #1d70b8;color:#1d70b8;font-size:0;margin-bottom:30px;padding:10px}.hmcts-banner--success{border-color:#0f7a52;color:#0f7a52}.hmcts-banner--warning{border-color:#ca3535;color:#ca3535}.hmcts-banner__icon{fill:currentColor;float:left;margin-right:10px}.hmcts-banner__message{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-banner__message{font-family:sans-serif}}.hmcts-banner__message{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.hmcts-banner__message{font-size:14pt;line-height:1.15}}.hmcts-banner__message{color:#0b0c0c;display:block;overflow:hidden}.hmcts-banner__message h2{margin-bottom:10px}.hmcts-banner__message h2:last-child{margin-bottom:0}.hmcts-banner__message p:last-child{margin-bottom:0}.hmcts-banner__message--bold{font-weight:700}.hmcts-banner__assistive{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important;-webkit-user-select:none;-ms-user-select:none;user-select:none}.hmcts-banner__assistive:before{content:\"\\a0\"}.hmcts-banner__assistive:after{content:\"\\a0\"}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
10228
10271
|
}], null, { message: [{
|
|
10229
10272
|
type: Input
|
|
10230
10273
|
}], type: [{
|
|
@@ -10258,11 +10301,11 @@ class HmctsIdentityBarComponent {
|
|
|
10258
10301
|
i0.ɵɵconditionalCreate(0, HmctsIdentityBarComponent_Conditional_0_Template, 6, 3, "div", 0);
|
|
10259
10302
|
} if (rf & 2) {
|
|
10260
10303
|
i0.ɵɵconditional(ctx.value ? 0 : -1);
|
|
10261
|
-
} }, dependencies: [i2.RpxTranslatePipe], styles: [".govuk-width-container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-identity-bar[_ngcontent-%COMP%]:after{content:\"\";display:block;clear:both}.hmcts-identity-bar[_ngcontent-%COMP%]{background-color:#
|
|
10304
|
+
} }, dependencies: [i2.RpxTranslatePipe], styles: ["[_ngcontent-%COMP%]:root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}[_ngcontent-%COMP%]:root{--govuk-frontend-version: \"6.4.0\"}[_ngcontent-%COMP%]:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{[_ngcontent-%COMP%]:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-width-container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-identity-bar[_ngcontent-%COMP%]:after{content:\"\";display:block;clear:both}.hmcts-identity-bar[_ngcontent-%COMP%]{background-color:#f3f3f3;box-shadow:inset 0 -1px #cecece;color:#0b0c0c;padding-bottom:9px;padding-top:10px}.hmcts-identity-bar__container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.hmcts-identity-bar__container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.hmcts-identity-bar__container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.hmcts-identity-bar__container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.hmcts-identity-bar__container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.hmcts-identity-bar__container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-identity-bar__container[_ngcontent-%COMP%]{font-size:0;text-align:justify}.hmcts-identity-bar__container[_ngcontent-%COMP%]:after{content:\"\";display:inline-block;width:100%}.hmcts-identity-bar__title[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-identity-bar__title[_ngcontent-%COMP%]{font-family:sans-serif}}.hmcts-identity-bar__title[_ngcontent-%COMP%]{font-weight:400;font-size:1rem;line-height:1.25}@media print{.hmcts-identity-bar__title[_ngcontent-%COMP%]{font-size:14pt;line-height:1.2}}.hmcts-identity-bar__title[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.hmcts-identity-bar__details[_ngcontent-%COMP%]{margin-right:10px;padding-top:5px;padding-bottom:5px}@media (min-width: 40.0625em){.hmcts-identity-bar__details[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;padding-top:11px;padding-bottom:9px}}\n\n"] }); }
|
|
10262
10305
|
}
|
|
10263
10306
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsIdentityBarComponent, [{
|
|
10264
10307
|
type: Component,
|
|
10265
|
-
args: [{ selector: 'xuilib-hmcts-identity-bar', standalone: false, template: "@if (value) {\n <div class=\"hmcts-identity-bar\">\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}\n", styles: [".govuk-width-container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container{margin-right:auto;margin-left:auto}}}.hmcts-identity-bar:after{content:\"\";display:block;clear:both}.hmcts-identity-bar{background-color:#
|
|
10308
|
+
args: [{ selector: 'xuilib-hmcts-identity-bar', standalone: false, template: "@if (value) {\n <div class=\"hmcts-identity-bar\">\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}\n", styles: [":root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}:root{--govuk-frontend-version: \"6.4.0\"}:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-width-container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container{margin-right:auto;margin-left:auto}}}.hmcts-identity-bar:after{content:\"\";display:block;clear:both}.hmcts-identity-bar{background-color:#f3f3f3;box-shadow:inset 0 -1px #cecece;color:#0b0c0c;padding-bottom:9px;padding-top:10px}.hmcts-identity-bar__container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.hmcts-identity-bar__container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.hmcts-identity-bar__container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.hmcts-identity-bar__container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.hmcts-identity-bar__container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.hmcts-identity-bar__container{margin-right:auto;margin-left:auto}}}.hmcts-identity-bar__container{font-size:0;text-align:justify}.hmcts-identity-bar__container:after{content:\"\";display:inline-block;width:100%}.hmcts-identity-bar__title{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-identity-bar__title{font-family:sans-serif}}.hmcts-identity-bar__title{font-weight:400;font-size:1rem;line-height:1.25}@media print{.hmcts-identity-bar__title{font-size:14pt;line-height:1.2}}.hmcts-identity-bar__title{display:inline-block;vertical-align:top}.hmcts-identity-bar__details{margin-right:10px;padding-top:5px;padding-bottom:5px}@media (min-width: 40.0625em){.hmcts-identity-bar__details{display:inline-block;vertical-align:top;padding-top:11px;padding-bottom:9px}}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
10266
10309
|
}], () => [], { content: [{
|
|
10267
10310
|
type: Input
|
|
10268
10311
|
}] }); })();
|
|
@@ -10431,11 +10474,11 @@ class HmctsPrimaryNavigationComponent {
|
|
|
10431
10474
|
i0.ɵɵconditionalCreate(0, HmctsPrimaryNavigationComponent_Conditional_0_Template, 6, 2, "nav", 0);
|
|
10432
10475
|
} if (rf & 2) {
|
|
10433
10476
|
i0.ɵɵconditional(ctx.isUserLoggedIn ? 0 : -1);
|
|
10434
|
-
} }, dependencies: [i1$1.RouterLink, i2.RpxTranslatePipe], styles: [".govuk-width-container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation[_ngcontent-%COMP%]{background-color:#0b0c0c}.hmcts-primary-navigation__container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation__container[_ngcontent-%COMP%]{font-size:0;text-align:justify}.hmcts-primary-navigation__container[_ngcontent-%COMP%]:after{content:\"\";display:inline-block;width:100%}.hmcts-primary-navigation__list[_ngcontent-%COMP%]{font-size:0;list-style:none;margin:0;padding:0}.hmcts-primary-navigation__item[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")
|
|
10477
|
+
} }, dependencies: [i1$1.RouterLink, i2.RpxTranslatePipe], styles: ["[_ngcontent-%COMP%]:root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}[_ngcontent-%COMP%]:root{--govuk-frontend-version: \"6.4.0\"}[_ngcontent-%COMP%]:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{[_ngcontent-%COMP%]:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-width-container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation[_ngcontent-%COMP%]{background-color:#0b0c0c}.hmcts-primary-navigation__container[_ngcontent-%COMP%]{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.hmcts-primary-navigation__container[_ngcontent-%COMP%]{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation__container[_ngcontent-%COMP%]{font-size:0;text-align:justify}.hmcts-primary-navigation__container[_ngcontent-%COMP%]:after{content:\"\";display:inline-block;width:100%}.hmcts-primary-navigation__list[_ngcontent-%COMP%]{font-size:0;list-style:none;margin:0;padding:0}.hmcts-primary-navigation__item[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-primary-navigation__item[_ngcontent-%COMP%]{font-family:sans-serif}}.hmcts-primary-navigation__item[_ngcontent-%COMP%]{font-weight:700;font-size:1.1875rem;line-height:1.3157894737}@media print{.hmcts-primary-navigation__item[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.hmcts-primary-navigation__item[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;margin-top:0}.hmcts-primary-navigation__item[_ngcontent-%COMP%]:last-child{margin-right:0}.hmcts-primary-navigation__link[_ngcontent-%COMP%]{display:block;padding-bottom:13px;padding-top:12px;text-decoration:underline}.hmcts-primary-navigation__link[_ngcontent-%COMP%]:link, .hmcts-primary-navigation__link[_ngcontent-%COMP%]:visited{color:#fff}.hmcts-primary-navigation__link[_ngcontent-%COMP%]:focus{color:#0b0c0c;position:relative;z-index:1}.hmcts-primary-navigation__link[aria-current][_ngcontent-%COMP%]{color:#fff;position:relative;text-decoration:none}.hmcts-primary-navigation__link[aria-current][_ngcontent-%COMP%]:before{background-color:#fff;content:\"\";display:block;height:5px;position:absolute;bottom:0;left:0;width:100%}.hmcts-primary-navigation__link[aria-current][_ngcontent-%COMP%]:focus{color:#0b0c0c;position:relative}.hmcts-primary-navigation__link[aria-current][_ngcontent-%COMP%]:focus:before{background-color:#0b0c0c}\n\n"] }); }
|
|
10435
10478
|
}
|
|
10436
10479
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsPrimaryNavigationComponent, [{
|
|
10437
10480
|
type: Component,
|
|
10438
|
-
args: [{ selector: 'xuilib-hmcts-primary-navigation', standalone: false, template: "@if (isUserLoggedIn) {\n <nav class=\"hmcts-primary-navigation\" [attr.aria-label]=\"label\">\n <div class=\"hmcts-primary-navigation__container\">\n @if (isBrandedHeader) {\n <div class=\"govuk-header__logo\"></div>\n }\n <ul class=\"hmcts-primary-navigation__list\">\n @for (item of items; track item) {\n <li class=\"hmcts-primary-navigation__item\" >\n <a class=\"hmcts-primary-navigation__link\" [attr.aria-current]=\"item.active ? true: null\" [routerLink]=\"item.href\" [innerHTML]=\"item.text | rpxTranslate\"></a>\n </li>\n }\n </ul>\n </div>\n </nav>\n}\n", styles: [".govuk-width-container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation{background-color:#0b0c0c}.hmcts-primary-navigation__container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.hmcts-primary-navigation__container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.hmcts-primary-navigation__container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.hmcts-primary-navigation__container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.hmcts-primary-navigation__container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.hmcts-primary-navigation__container{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation__container{font-size:0;text-align:justify}.hmcts-primary-navigation__container:after{content:\"\";display:inline-block;width:100%}.hmcts-primary-navigation__list{font-size:0;list-style:none;margin:0;padding:0}.hmcts-primary-navigation__item{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")
|
|
10481
|
+
args: [{ selector: 'xuilib-hmcts-primary-navigation', standalone: false, template: "@if (isUserLoggedIn) {\n <nav class=\"hmcts-primary-navigation\" [attr.aria-label]=\"label\">\n <div class=\"hmcts-primary-navigation__container\">\n @if (isBrandedHeader) {\n <div class=\"govuk-header__logo\"></div>\n }\n <ul class=\"hmcts-primary-navigation__list\">\n @for (item of items; track item) {\n <li class=\"hmcts-primary-navigation__item\" >\n <a class=\"hmcts-primary-navigation__link\" [attr.aria-current]=\"item.active ? true: null\" [routerLink]=\"item.href\" [innerHTML]=\"item.text | rpxTranslate\"></a>\n </li>\n }\n </ul>\n </div>\n </nav>\n}\n", styles: [":root{--govuk-breakpoint-mobile: 20rem;--govuk-breakpoint-tablet: 40.0625rem;--govuk-breakpoint-desktop: 48.0625rem}:root{--govuk-frontend-version: \"6.4.0\"}:root{--govuk-brand-colour: #1d70b8;--govuk-text-colour: #0b0c0c;--govuk-inverse-text-colour: #ffffff;--govuk-template-background-colour: #f4f8fb;--govuk-body-background-colour: #ffffff;--govuk-print-text-colour: #000000;--govuk-secondary-text-colour: #484949;--govuk-focus-colour: #ffdd00;--govuk-focus-text-colour: #0b0c0c;--govuk-error-colour: #ca3535;--govuk-success-colour: #0f7a52;--govuk-border-colour: #cecece;--govuk-input-border-colour: #0b0c0c;--govuk-hover-colour: #cecece;--govuk-link-colour: #1a65a6;--govuk-link-visited-colour: #54319f;--govuk-link-hover-colour: #0f385c;--govuk-link-active-colour: #0b0c0c;--govuk-surface-background-colour: #f4f8fb;--govuk-surface-text-colour: #0b0c0c;--govuk-surface-border-colour: #8eb8dc}@media print{:root{--govuk-text-colour: var(--govuk-print-text-colour, #000000)}}.govuk-width-container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.govuk-width-container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.govuk-width-container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.govuk-width-container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.govuk-width-container{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation{background-color:#0b0c0c}.hmcts-primary-navigation__container{max-width:960px;margin-right:15px;margin-left:15px}@supports (margin: max(0px)){.hmcts-primary-navigation__container{margin-right:max(15px,calc(15px + env(safe-area-inset-right)));margin-left:max(15px,calc(15px + env(safe-area-inset-left)))}}@media (min-width: 40.0625em){.hmcts-primary-navigation__container{margin-right:30px;margin-left:30px}@supports (margin: max(0px)){.hmcts-primary-navigation__container{margin-right:max(30px,calc(15px + env(safe-area-inset-right)));margin-left:max(30px,calc(15px + env(safe-area-inset-left)))}}}@media (min-width: 1020px){.hmcts-primary-navigation__container{margin-right:auto;margin-left:auto}@supports (margin: max(0px)){.hmcts-primary-navigation__container{margin-right:auto;margin-left:auto}}}.hmcts-primary-navigation__container{font-size:0;text-align:justify}.hmcts-primary-navigation__container:after{content:\"\";display:inline-block;width:100%}.hmcts-primary-navigation__list{font-size:0;list-style:none;margin:0;padding:0}.hmcts-primary-navigation__item{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-primary-navigation__item{font-family:sans-serif}}.hmcts-primary-navigation__item{font-weight:700;font-size:1.1875rem;line-height:1.3157894737}@media print{.hmcts-primary-navigation__item{font-size:14pt;line-height:1.15}}.hmcts-primary-navigation__item{display:inline-block;margin-right:20px;margin-top:0}.hmcts-primary-navigation__item:last-child{margin-right:0}.hmcts-primary-navigation__link{display:block;padding-bottom:13px;padding-top:12px;text-decoration:underline}.hmcts-primary-navigation__link:link,.hmcts-primary-navigation__link:visited{color:#fff}.hmcts-primary-navigation__link:focus{color:#0b0c0c;position:relative;z-index:1}.hmcts-primary-navigation__link[aria-current]{color:#fff;position:relative;text-decoration:none}.hmcts-primary-navigation__link[aria-current]:before{background-color:#fff;content:\"\";display:block;height:5px;position:absolute;bottom:0;left:0;width:100%}.hmcts-primary-navigation__link[aria-current]:focus{color:#0b0c0c;position:relative}.hmcts-primary-navigation__link[aria-current]:focus:before{background-color:#0b0c0c}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
10439
10482
|
}], () => [], { userLoggedIn: [{
|
|
10440
10483
|
type: Input
|
|
10441
10484
|
}], label: [{
|
|
@@ -10488,11 +10531,11 @@ class HmctsSubNavigationComponent {
|
|
|
10488
10531
|
i0.ɵɵconditionalCreate(0, HmctsSubNavigationComponent_Conditional_0_Template, 4, 1, "nav", 0);
|
|
10489
10532
|
} if (rf & 2) {
|
|
10490
10533
|
i0.ɵɵconditional(ctx.items ? 0 : -1);
|
|
10491
|
-
} }, dependencies: [i1$1.RouterLink, i2.RpxTranslatePipe], styles: [".hmcts-sub-navigation[_ngcontent-%COMP%]{margin-bottom:40px}.hmcts-sub-navigation__list[_ngcontent-%COMP%]{font-size:0;list-style:none;margin:0;padding:0}@media (min-width: 40.0625em){.hmcts-sub-navigation__list[_ngcontent-%COMP%]{box-shadow:inset 0 -1px #
|
|
10534
|
+
} }, dependencies: [i1$1.RouterLink, i2.RpxTranslatePipe], styles: [".hmcts-sub-navigation[_ngcontent-%COMP%]{margin-bottom:40px}.hmcts-sub-navigation__list[_ngcontent-%COMP%]{font-size:0;list-style:none;margin:0;padding:0}@media (min-width: 40.0625em){.hmcts-sub-navigation__list[_ngcontent-%COMP%]{box-shadow:inset 0 -1px 0 var(--govuk-border-colour, #cecece);width:100%}}.hmcts-sub-navigation__item[_ngcontent-%COMP%]{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-sub-navigation__item[_ngcontent-%COMP%]{font-family:sans-serif}}.hmcts-sub-navigation__item[_ngcontent-%COMP%]{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.hmcts-sub-navigation__item[_ngcontent-%COMP%]{font-size:14pt;line-height:1.15}}.hmcts-sub-navigation__item[_ngcontent-%COMP%]{box-shadow:inset 0 -1px 0 var(--govuk-border-colour, #cecece);display:block;margin-top:-1px}.hmcts-sub-navigation__item[_ngcontent-%COMP%]:last-child{box-shadow:none}@media (min-width: 40.0625em){.hmcts-sub-navigation__item[_ngcontent-%COMP%]{box-shadow:none;display:inline-block;margin-right:20px;margin-top:0}}.hmcts-sub-navigation__link[_ngcontent-%COMP%]{display:block;padding-top:12px;padding-bottom:12px;padding-left:15px;text-decoration:underline}@media (min-width: 40.0625em){.hmcts-sub-navigation__link[_ngcontent-%COMP%]{padding-left:0}}.hmcts-sub-navigation__link[_ngcontent-%COMP%]:focus{color:#0b0c0c;position:relative}.hmcts-sub-navigation__link[aria-current=page][_ngcontent-%COMP%]{color:#0b0c0c;position:relative;text-decoration:none}.hmcts-sub-navigation__link[aria-current=page][_ngcontent-%COMP%]:before{background-color:#1d70b8;content:\"\";display:block;height:100%;position:absolute;bottom:0;left:0;width:5px}@media (min-width: 40.0625em){.hmcts-sub-navigation__link[aria-current=page][_ngcontent-%COMP%]:before{height:5px;width:100%}}.hmcts-sub-navigation__link[aria-current=page][_ngcontent-%COMP%]:focus:before{background-color:#0b0c0c}.xui-alert-link__number[_ngcontent-%COMP%]{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.78571;border-radius:50%;background-color:#1d70b8;color:#fff;font-weight:700;width:25px;height:25px;margin-left:5px;text-align:center;display:inline-block;text-decoration:none}\n\n"] }); }
|
|
10492
10535
|
}
|
|
10493
10536
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsSubNavigationComponent, [{
|
|
10494
10537
|
type: Component,
|
|
10495
|
-
args: [{ selector: 'xuilib-hmcts-sub-navigation', standalone: false, template: "@if (items) {\n <nav class=\"hmcts-sub-navigation\" attr.aria-label=\"{{label}}\" role=\"navigation\">\n <ul class=\"hmcts-sub-navigation__list\">\n @for (item of items; track item) {\n <li class=\"hmcts-sub-navigation__item\">\n <a data-selector=\"sub-nav-link\" class=\"hmcts-sub-navigation__link\" [routerLink]=\"item.href\"\n [attr.aria-current]=\"item.active ? 'page' : null\">\n {{item.text | rpxTranslate}}\n @if (item.roundel && item.roundel > 0 ) {\n <span class=\"xui-alert-link__number\"> {{item.roundel}} </span>\n }\n </a>\n </li>\n }\n </ul>\n </nav>\n}\n", styles: [".hmcts-sub-navigation{margin-bottom:40px}.hmcts-sub-navigation__list{font-size:0;list-style:none;margin:0;padding:0}@media (min-width: 40.0625em){.hmcts-sub-navigation__list{box-shadow:inset 0 -1px #
|
|
10538
|
+
args: [{ selector: 'xuilib-hmcts-sub-navigation', standalone: false, template: "@if (items) {\n <nav class=\"hmcts-sub-navigation\" attr.aria-label=\"{{label}}\" role=\"navigation\">\n <ul class=\"hmcts-sub-navigation__list\">\n @for (item of items; track item) {\n <li class=\"hmcts-sub-navigation__item\">\n <a data-selector=\"sub-nav-link\" class=\"hmcts-sub-navigation__link\" [routerLink]=\"item.href\"\n [attr.aria-current]=\"item.active ? 'page' : null\">\n {{item.text | rpxTranslate}}\n @if (item.roundel && item.roundel > 0 ) {\n <span class=\"xui-alert-link__number\"> {{item.roundel}} </span>\n }\n </a>\n </li>\n }\n </ul>\n </nav>\n}\n", styles: [".hmcts-sub-navigation{margin-bottom:40px}.hmcts-sub-navigation__list{font-size:0;list-style:none;margin:0;padding:0}@media (min-width: 40.0625em){.hmcts-sub-navigation__list{box-shadow:inset 0 -1px 0 var(--govuk-border-colour, #cecece);width:100%}}.hmcts-sub-navigation__item{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:GDS Transport;font-style:normal;font-weight:400;font-display:fallback;src:url(/assets/fonts/light-94a07e06a1-v2.woff2) format(\"woff2\"),url(/assets/fonts/light-f591b13f7d-v2.woff) format(\"woff\")}@font-face{font-family:GDS Transport;font-style:normal;font-weight:700;font-display:fallback;src:url(/assets/fonts/bold-b542beb274-v2.woff2) format(\"woff2\"),url(/assets/fonts/bold-affa96571d-v2.woff) format(\"woff\")}@media print{.hmcts-sub-navigation__item{font-family:sans-serif}}.hmcts-sub-navigation__item{font-weight:400;font-size:1.1875rem;line-height:1.3157894737}@media print{.hmcts-sub-navigation__item{font-size:14pt;line-height:1.15}}.hmcts-sub-navigation__item{box-shadow:inset 0 -1px 0 var(--govuk-border-colour, #cecece);display:block;margin-top:-1px}.hmcts-sub-navigation__item:last-child{box-shadow:none}@media (min-width: 40.0625em){.hmcts-sub-navigation__item{box-shadow:none;display:inline-block;margin-right:20px;margin-top:0}}.hmcts-sub-navigation__link{display:block;padding-top:12px;padding-bottom:12px;padding-left:15px;text-decoration:underline}@media (min-width: 40.0625em){.hmcts-sub-navigation__link{padding-left:0}}.hmcts-sub-navigation__link:focus{color:#0b0c0c;position:relative}.hmcts-sub-navigation__link[aria-current=page]{color:#0b0c0c;position:relative;text-decoration:none}.hmcts-sub-navigation__link[aria-current=page]:before{background-color:#1d70b8;content:\"\";display:block;height:100%;position:absolute;bottom:0;left:0;width:5px}@media (min-width: 40.0625em){.hmcts-sub-navigation__link[aria-current=page]:before{height:5px;width:100%}}.hmcts-sub-navigation__link[aria-current=page]:focus:before{background-color:#0b0c0c}.xui-alert-link__number{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:14px;font-size:.875rem;line-height:1.78571;border-radius:50%;background-color:#1d70b8;color:#fff;font-weight:700;width:25px;height:25px;margin-left:5px;text-align:center;display:inline-block;text-decoration:none}\n/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */\n"] }]
|
|
10496
10539
|
}], null, { label: [{
|
|
10497
10540
|
type: Input
|
|
10498
10541
|
}], items: [{
|