@hmcts/rpx-xui-common-lib 1.8.0-angular-upgrade-9 → 1.8.0-angular-upgrade-9-rc.8
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/bundles/hmcts-rpx-xui-common-lib.umd.js +128 -35
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +2 -2
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +20 -19
- package/esm2015/lib/components/find-location/find-location.component.js +18 -5
- package/esm2015/lib/components/find-person/find-person.component.js +12 -4
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +17 -4
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +2 -2
- package/esm2015/lib/components/search-location/search-location.component.js +10 -2
- package/esm2015/lib/components/search-venue/search-venue.component.js +2 -2
- package/esm2015/lib/exui-common-lib.module.js +6 -2
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +49 -0
- package/esm2015/lib/gov-ui/components/public_api.js +2 -1
- package/esm2015/lib/models/filter.model.js +1 -1
- package/esm5/hmcts-rpx-xui-common-lib.js +20 -19
- package/esm5/lib/components/find-location/find-location.component.js +18 -5
- package/esm5/lib/components/find-person/find-person.component.js +12 -4
- package/esm5/lib/components/generic-filter/generic-filter.component.js +17 -4
- package/esm5/lib/components/search-judicials/search-judicials.component.js +2 -2
- package/esm5/lib/components/search-location/search-location.component.js +10 -2
- package/esm5/lib/components/search-venue/search-venue.component.js +2 -2
- package/esm5/lib/exui-common-lib.module.js +6 -2
- package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +50 -0
- package/esm5/lib/gov-ui/components/public_api.js +2 -1
- package/esm5/lib/models/filter.model.js +1 -1
- package/fesm2015/hmcts-rpx-xui-common-lib.js +105 -14
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +106 -14
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.d.ts +19 -18
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/find-location/find-location.component.d.ts +4 -0
- package/lib/components/find-person/find-person.component.d.ts +2 -0
- package/lib/components/generic-filter/generic-filter.component.d.ts +1 -0
- package/lib/components/search-location/search-location.component.d.ts +2 -0
- package/lib/exui-common-lib.module.d.ts +2 -1
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +10 -0
- package/lib/gov-ui/components/public_api.d.ts +1 -0
- package/lib/models/filter.model.d.ts +2 -0
- package/package.json +7 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('rxjs/operators'), require('@angular/common/http'), require('rxjs'), require('@angular/material/autocomplete'), require('@angular/material/input'), require('@angular/material/tabs'), require('@angular/router'), require('launchdarkly-js-client-sdk'), require('@angular/platform-browser'), require('@ng-idle/core'), require('@ng-idle/keepalive')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@hmcts/rpx-xui-common-lib', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'rxjs/operators', '@angular/common/http', 'rxjs', '@angular/material/autocomplete', '@angular/material/input', '@angular/material/tabs', '@angular/router', 'launchdarkly-js-client-sdk', '@angular/platform-browser', '@ng-idle/core', '@ng-idle/keepalive'], factory) :
|
|
4
|
-
(global = global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts['rpx-xui-common-lib'] = {}), global.ng.core, global.ng.common, global.ng.forms, global.rxjs.operators, global.ng.common.http, global.rxjs, global.ng.material.autocomplete, global.ng.material.input, global.ng.material.tabs, global.ng.router, global.launchdarklyJsClientSdk, global.ng.platformBrowser, global.core$1, global.keepalive));
|
|
5
|
-
}(this, (function (exports, core, common, forms, operators, http, rxjs, autocomplete, input, tabs, router, launchdarklyJsClientSdk, platformBrowser, core$1, keepalive) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('rxjs/operators'), require('@angular/common/http'), require('rxjs'), require('@angular/material/autocomplete'), require('@angular/material/input'), require('@angular/material/tabs'), require('@angular/router'), require('ngx-pagination'), require('launchdarkly-js-client-sdk'), require('@angular/platform-browser'), require('@ng-idle/core'), require('@ng-idle/keepalive')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@hmcts/rpx-xui-common-lib', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'rxjs/operators', '@angular/common/http', 'rxjs', '@angular/material/autocomplete', '@angular/material/input', '@angular/material/tabs', '@angular/router', 'ngx-pagination', 'launchdarkly-js-client-sdk', '@angular/platform-browser', '@ng-idle/core', '@ng-idle/keepalive'], factory) :
|
|
4
|
+
(global = global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts['rpx-xui-common-lib'] = {}), global.ng.core, global.ng.common, global.ng.forms, global.rxjs.operators, global.ng.common.http, global.rxjs, global.ng.material.autocomplete, global.ng.material.input, global.ng.material.tabs, global.ng.router, global.ngxPagination, global.launchdarklyJsClientSdk, global.ng.platformBrowser, global.core$1, global.keepalive));
|
|
5
|
+
}(this, (function (exports, core, common, forms, operators, http, rxjs, autocomplete, input, tabs, router, ngxPagination, launchdarklyJsClientSdk, platformBrowser, core$1, keepalive) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -850,6 +850,7 @@
|
|
|
850
850
|
this.locations = [];
|
|
851
851
|
this.locationSelected = new core.EventEmitter();
|
|
852
852
|
this.locationInputChanged = new core.EventEmitter();
|
|
853
|
+
this.searchLocationChanged = new core.EventEmitter();
|
|
853
854
|
this.minSearchCharacters = 3;
|
|
854
855
|
this.term = '';
|
|
855
856
|
this.pSelectedLocations = [];
|
|
@@ -908,6 +909,9 @@
|
|
|
908
909
|
_this.showAutocomplete = true;
|
|
909
910
|
});
|
|
910
911
|
};
|
|
912
|
+
SearchLocationComponent.prototype.onInput = function () {
|
|
913
|
+
this.searchLocationChanged.emit();
|
|
914
|
+
};
|
|
911
915
|
SearchLocationComponent.prototype.getLocations = function (term) {
|
|
912
916
|
return this.locationService.getAllLocations(this.serviceIds, this.locationType, term);
|
|
913
917
|
};
|
|
@@ -974,6 +978,10 @@
|
|
|
974
978
|
core.Output(),
|
|
975
979
|
__metadata("design:type", core.EventEmitter)
|
|
976
980
|
], SearchLocationComponent.prototype, "locationInputChanged", void 0);
|
|
981
|
+
__decorate([
|
|
982
|
+
core.Output(),
|
|
983
|
+
__metadata("design:type", core.EventEmitter)
|
|
984
|
+
], SearchLocationComponent.prototype, "searchLocationChanged", void 0);
|
|
977
985
|
__decorate([
|
|
978
986
|
core.Input(),
|
|
979
987
|
__metadata("design:type", Boolean),
|
|
@@ -987,7 +995,7 @@
|
|
|
987
995
|
SearchLocationComponent = __decorate([
|
|
988
996
|
core.Component({
|
|
989
997
|
selector: 'exui-search-location',
|
|
990
|
-
template: "<div class=\"auto-complete-container\">\n <input\n id=\"inputLocationSearch\"\n [formControl]=\"form.controls.searchTerm\"\n [matAutocomplete]=\"autoSearchLocation\"\n class=\"govuk-input\"\n [attr.disabled]=\"disabled\">\n <mat-autocomplete class=\"mat-autocomplete-panel-extend\" autoActiveFirstOption #autoSearchLocation=\"matAutocomplete\">\n <mat-option *ngFor=\"let location of locations\"\n (onSelectionChange)=\"onSelectionChange(location)\">\n {{ location.site_name }}\n </mat-option>\n <mat-option *ngIf=\"!locations.length && showAutocomplete && term && term.length >= this.minSearchCharacters\">No results found</mat-option>\n </mat-autocomplete>\n</div>\n",
|
|
998
|
+
template: "<div class=\"auto-complete-container\">\n <input\n id=\"inputLocationSearch\"\n (input)=\"onInput()\"\n [formControl]=\"form.controls.searchTerm\"\n [matAutocomplete]=\"autoSearchLocation\"\n class=\"govuk-input\"\n [attr.disabled]=\"disabled\">\n <mat-autocomplete class=\"mat-autocomplete-panel-extend\" autoActiveFirstOption #autoSearchLocation=\"matAutocomplete\">\n <mat-option *ngFor=\"let location of locations\"\n (onSelectionChange)=\"onSelectionChange(location)\">\n {{ location.site_name }}\n </mat-option>\n <mat-option *ngIf=\"!locations.length && showAutocomplete && term && term.length >= this.minSearchCharacters\">No results found</mat-option>\n </mat-autocomplete>\n</div>\n",
|
|
991
999
|
styles: [".autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{box-shadow:rgba(0,0,0,.256863) 0 2px 6px;left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:solid #b1b4b6;border-width:1px 0;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width:641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.31579}}.div-action{display:inline-block}.add-location{display:inline}.remove-location-button{margin:5px}.hide-autocomplete{display:none}.auto-complete-container{min-width:550px;display:inline-block;margin-right:4px}.autocomplete__input{line-height:24px;font-size:19px}"]
|
|
992
1000
|
}),
|
|
993
1001
|
__metadata("design:paramtypes", [LocationService, forms.FormBuilder, core.ChangeDetectorRef])
|
|
@@ -997,10 +1005,12 @@
|
|
|
997
1005
|
|
|
998
1006
|
var FindLocationComponent = /** @class */ (function () {
|
|
999
1007
|
function FindLocationComponent() {
|
|
1008
|
+
this.locationFieldChanged = new core.EventEmitter();
|
|
1000
1009
|
this.selectedLocations = [];
|
|
1001
1010
|
this.submitted = true;
|
|
1002
1011
|
this.enableAddLocationButton = true;
|
|
1003
1012
|
this.locationTitle = 'Search for a location by name';
|
|
1013
|
+
this.disableInputField = false;
|
|
1004
1014
|
this.locations = [];
|
|
1005
1015
|
this.tempSelectedLocation = null;
|
|
1006
1016
|
this.serviceIds = 'SSCS,IA';
|
|
@@ -1016,7 +1026,7 @@
|
|
|
1016
1026
|
this.searchLocationComponent.resetSearchTerm();
|
|
1017
1027
|
this.removeSelectedValues();
|
|
1018
1028
|
}
|
|
1019
|
-
this.pDisabled =
|
|
1029
|
+
this.pDisabled = this.disableInputField === true ? true : null;
|
|
1020
1030
|
},
|
|
1021
1031
|
enumerable: true,
|
|
1022
1032
|
configurable: true
|
|
@@ -1028,7 +1038,7 @@
|
|
|
1028
1038
|
set: function (value) {
|
|
1029
1039
|
var _this = this;
|
|
1030
1040
|
this.pServices = value;
|
|
1031
|
-
var field = this.
|
|
1041
|
+
var field = this.fields.find(function (f) { return f.name === _this.field.findLocationField; });
|
|
1032
1042
|
if (field) {
|
|
1033
1043
|
if (typeof value === 'string') {
|
|
1034
1044
|
this.serviceIds = value;
|
|
@@ -1066,6 +1076,9 @@
|
|
|
1066
1076
|
this.removeSelectedValues();
|
|
1067
1077
|
}
|
|
1068
1078
|
};
|
|
1079
|
+
FindLocationComponent.prototype.onSearchInputChanged = function () {
|
|
1080
|
+
this.locationFieldChanged.emit();
|
|
1081
|
+
};
|
|
1069
1082
|
FindLocationComponent.prototype.onLocationSelected = function (location) {
|
|
1070
1083
|
if (this.field.maxSelected === 1) {
|
|
1071
1084
|
this.removeSelectedValues();
|
|
@@ -1103,6 +1116,10 @@
|
|
|
1103
1116
|
finally { if (e_1) throw e_1.error; }
|
|
1104
1117
|
}
|
|
1105
1118
|
};
|
|
1119
|
+
__decorate([
|
|
1120
|
+
core.Output(),
|
|
1121
|
+
__metadata("design:type", Object)
|
|
1122
|
+
], FindLocationComponent.prototype, "locationFieldChanged", void 0);
|
|
1106
1123
|
__decorate([
|
|
1107
1124
|
core.Input(),
|
|
1108
1125
|
__metadata("design:type", Array)
|
|
@@ -1131,6 +1148,10 @@
|
|
|
1131
1148
|
core.Input(),
|
|
1132
1149
|
__metadata("design:type", Object)
|
|
1133
1150
|
], FindLocationComponent.prototype, "locationTitle", void 0);
|
|
1151
|
+
__decorate([
|
|
1152
|
+
core.Input(),
|
|
1153
|
+
__metadata("design:type", Object)
|
|
1154
|
+
], FindLocationComponent.prototype, "disableInputField", void 0);
|
|
1134
1155
|
__decorate([
|
|
1135
1156
|
core.ViewChild(SearchLocationComponent, { static: true }),
|
|
1136
1157
|
__metadata("design:type", SearchLocationComponent)
|
|
@@ -1148,7 +1169,7 @@
|
|
|
1148
1169
|
FindLocationComponent = __decorate([
|
|
1149
1170
|
core.Component({
|
|
1150
1171
|
selector: 'xuilib-find-location',
|
|
1151
|
-
template: "<div class=\"location-picker-custom\">\n <div class=\"search-location\">\n <div>\n <label id=\"input-selected-location-label\" *ngIf=\"locationTitle\">{{locationTitle}}</label>\n </div>\n <exui-search-location class=\"search-location\"\n [locations]=\"locations\"\n [selectedLocations]=\"selectedLocations\"\n [singleMode]=\"field.maxSelected === 1\"\n [delay]=\"300\"\n [disabled]=\"disabled\"\n [serviceIds]=\"serviceIds\"\n (locationInputChanged)=\"onInputChanged($event)\"\n (locationSelected)=\"onLocationSelected($event)\"\n [locationType]=\"'case-management'\"></exui-search-location>\n <a href=\"javascript:void(0)\" (click)=\"addLocation()\" class=\"govuk-button\" data-module=\"govuk-button\" *ngIf=\"enableAddLocationButton\">\n Add location\n </a>\n </div>\n <ul class=\"hmcts-filter-tags selection-container\" *ngIf=\"field.maxSelected != 1\">\n <li class=\"location-selection\" *ngFor=\"let selection of selectedLocations\">\n <a class=\"hmcts-filter__tag\" (click)=\"removeLocation(selection)\" href=\"javascript:void(0)\">\n {{ selection.site_name }}\n </a>\n </li>\n </ul>\n</div>\n",
|
|
1172
|
+
template: "<div class=\"location-picker-custom\">\n <div class=\"search-location\">\n <div>\n <label id=\"input-selected-location-label\" *ngIf=\"locationTitle\">{{locationTitle}}</label>\n </div>\n <exui-search-location class=\"search-location\"\n [locations]=\"locations\"\n [selectedLocations]=\"selectedLocations\"\n [singleMode]=\"field.maxSelected === 1\"\n [delay]=\"300\"\n [disabled]=\"disabled\"\n [serviceIds]=\"serviceIds\"\n (locationInputChanged)=\"onInputChanged($event)\"\n (locationSelected)=\"onLocationSelected($event)\"\n (searchLocationChanged)=\"onSearchInputChanged()\"\n [locationType]=\"'case-management'\"></exui-search-location>\n <a href=\"javascript:void(0)\" (click)=\"addLocation()\" class=\"govuk-button\" data-module=\"govuk-button\" *ngIf=\"enableAddLocationButton\">\n Add location\n </a>\n </div>\n <ul class=\"hmcts-filter-tags selection-container\" *ngIf=\"field.maxSelected != 1\">\n <li class=\"location-selection\" *ngFor=\"let selection of selectedLocations\">\n <a class=\"hmcts-filter__tag\" (click)=\"removeLocation(selection)\" href=\"javascript:void(0)\">\n {{ selection.site_name }}\n </a>\n </li>\n </ul>\n</div>\n",
|
|
1152
1173
|
styles: [""]
|
|
1153
1174
|
})
|
|
1154
1175
|
], FindLocationComponent);
|
|
@@ -1367,6 +1388,7 @@
|
|
|
1367
1388
|
this.findPersonService = findPersonService;
|
|
1368
1389
|
this.cd = cd;
|
|
1369
1390
|
this.personSelected = new core.EventEmitter();
|
|
1391
|
+
this.personFieldChanged = new core.EventEmitter();
|
|
1370
1392
|
this.boldTitle = 'Find the person';
|
|
1371
1393
|
this.subTitle = 'Type the name of the person and select them.';
|
|
1372
1394
|
this.domain = exports.PersonRole.ALL;
|
|
@@ -1440,9 +1462,12 @@
|
|
|
1440
1462
|
return '';
|
|
1441
1463
|
}
|
|
1442
1464
|
if (selectedPerson.domain === exports.PersonRole.JUDICIAL && selectedPerson.knownAs) {
|
|
1443
|
-
return selectedPerson.knownAs + "(" + selectedPerson.email + ")";
|
|
1465
|
+
return selectedPerson.knownAs + " (" + selectedPerson.email + ")";
|
|
1444
1466
|
}
|
|
1445
|
-
return selectedPerson.email ? selectedPerson.name + "(" + selectedPerson.email + ")" : selectedPerson.name;
|
|
1467
|
+
return selectedPerson.email ? selectedPerson.name + " (" + selectedPerson.email + ")" : selectedPerson.name;
|
|
1468
|
+
};
|
|
1469
|
+
FindPersonComponent.prototype.onInput = function () {
|
|
1470
|
+
this.personFieldChanged.emit();
|
|
1446
1471
|
};
|
|
1447
1472
|
FindPersonComponent.ctorParameters = function () { return [
|
|
1448
1473
|
{ type: FindAPersonService },
|
|
@@ -1452,6 +1477,10 @@
|
|
|
1452
1477
|
core.Output(),
|
|
1453
1478
|
__metadata("design:type", Object)
|
|
1454
1479
|
], FindPersonComponent.prototype, "personSelected", void 0);
|
|
1480
|
+
__decorate([
|
|
1481
|
+
core.Output(),
|
|
1482
|
+
__metadata("design:type", Object)
|
|
1483
|
+
], FindPersonComponent.prototype, "personFieldChanged", void 0);
|
|
1455
1484
|
__decorate([
|
|
1456
1485
|
core.Input(),
|
|
1457
1486
|
__metadata("design:type", String)
|
|
@@ -1523,7 +1552,7 @@
|
|
|
1523
1552
|
FindPersonComponent = __decorate([
|
|
1524
1553
|
core.Component({
|
|
1525
1554
|
selector: 'xuilib-find-person',
|
|
1526
|
-
template: "<h1 class=\"govuk-heading-l\" *ngIf=\"title && title.length\">\n <span class=\"govuk-caption-l\">{{title}}</span>\n {{boldTitle}}\n</h1>\n<div class=\"govuk-form-group\" [formGroup]=\"findPersonGroup\"\n [ngClass]=\"{'form-group-error': findPersonGroup.get('findPersonControl').invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"sub-title-hint\">\n <div id=\"sub-title-hint\" class=\"govuk-hint\" *ngIf=\"subTitle && subTitle.length\">\n {{subTitle}}\n </div>\n <span id=\"validation-error\" class=\"govuk-error-message\" *ngIf=\"findPersonGroup && findPersonGroup.errors\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{findPersonGroup.errors.error ? findPersonGroup.errors.error : errorMessage}}\n </span>\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 <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\" (optionSelected)=\"onSelectionChange($event.option.value)\">\n <mat-option *ngFor=\"let option of filteredOptions\"\n [value]=\"option\"\n [ngClass]=\"{'hide-autocomplete': !showAutocomplete, 'select-option': showUpdatedColor}\">\n {{getDisplayName(option)}}\n </mat-option>\n <mat-option [ngClass]=\"{'select-option': showUpdatedColor}\" *ngIf=\"isNoResultsShown && !filteredOptions.length && showAutocomplete\">No results found</mat-option>\n </mat-autocomplete>\n </fieldset>\n</div>\n",
|
|
1555
|
+
template: "<h1 class=\"govuk-heading-l\" *ngIf=\"title && title.length\">\n <span class=\"govuk-caption-l\">{{title}}</span>\n {{boldTitle}}\n</h1>\n<div class=\"govuk-form-group\" [formGroup]=\"findPersonGroup\"\n [ngClass]=\"{'form-group-error': findPersonGroup.get('findPersonControl').invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"sub-title-hint\">\n <div id=\"sub-title-hint\" class=\"govuk-hint\" *ngIf=\"subTitle && subTitle.length\">\n {{subTitle}}\n </div>\n <span id=\"validation-error\" class=\"govuk-error-message\" *ngIf=\"findPersonGroup && findPersonGroup.errors\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{findPersonGroup.errors.error ? findPersonGroup.errors.error : errorMessage}}\n </span>\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 <mat-option *ngFor=\"let option of filteredOptions\"\n [value]=\"option\"\n [ngClass]=\"{'hide-autocomplete': !showAutocomplete, 'select-option': showUpdatedColor}\">\n {{getDisplayName(option)}}\n </mat-option>\n <mat-option [ngClass]=\"{'select-option': showUpdatedColor}\" *ngIf=\"isNoResultsShown && !filteredOptions.length && showAutocomplete\">No results found</mat-option>\n </mat-autocomplete>\n </fieldset>\n</div>\n",
|
|
1527
1556
|
styles: [".mat-option:hover{background:#2596be}.mat-option.select-option:hover{background:#1d70b8;color:#fff}.hide-autocomplete{display:none}"]
|
|
1528
1557
|
}),
|
|
1529
1558
|
__metadata("design:paramtypes", [FindAPersonService, core.ChangeDetectorRef])
|
|
@@ -1711,7 +1740,13 @@
|
|
|
1711
1740
|
}
|
|
1712
1741
|
}
|
|
1713
1742
|
}
|
|
1714
|
-
|
|
1743
|
+
// find-location is special case where need to reset textbox (by existing disabling functionality)
|
|
1744
|
+
// field.disable referred to component itself
|
|
1745
|
+
if (field.type === 'find-location') {
|
|
1746
|
+
return true;
|
|
1747
|
+
}
|
|
1748
|
+
// Note: field.disable decides whether to actually disable or not
|
|
1749
|
+
return field.disable ? field.disable : null;
|
|
1715
1750
|
};
|
|
1716
1751
|
GenericFilterComponent.prototype.applyFilter = function (form) {
|
|
1717
1752
|
this.submitted = true;
|
|
@@ -1749,6 +1784,13 @@
|
|
|
1749
1784
|
}
|
|
1750
1785
|
}
|
|
1751
1786
|
};
|
|
1787
|
+
// when user enters input change radio button
|
|
1788
|
+
GenericFilterComponent.prototype.inputChanged = function (field) {
|
|
1789
|
+
if (field.radioSelectionChange && typeof field.radioSelectionChange === 'string') {
|
|
1790
|
+
var _a = __read(field.enableCondition.split('='), 2), name_3 = _a[0], value = _a[1];
|
|
1791
|
+
this.form.get(name_3).patchValue(value);
|
|
1792
|
+
}
|
|
1793
|
+
};
|
|
1752
1794
|
GenericFilterComponent.prototype.cancelFilter = function () {
|
|
1753
1795
|
this.buildForm(this.config, this.settings, true);
|
|
1754
1796
|
if (this.config && this.config.cancelSetting) {
|
|
@@ -1971,7 +2013,7 @@
|
|
|
1971
2013
|
var defaultValues;
|
|
1972
2014
|
if (settings && settings.fields) {
|
|
1973
2015
|
defaultValues = settings.fields.find(function (f) { return f.name === field.name; });
|
|
1974
|
-
if (defaultValues) {
|
|
2016
|
+
if (defaultValues && defaultValues.value && defaultValues.value.length > 0) {
|
|
1975
2017
|
try {
|
|
1976
2018
|
for (var _b = __values(defaultValues.value), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1977
2019
|
var defaultValue = _c.value;
|
|
@@ -2050,7 +2092,7 @@
|
|
|
2050
2092
|
GenericFilterComponent = GenericFilterComponent_1 = __decorate([
|
|
2051
2093
|
core.Component({
|
|
2052
2094
|
selector: 'xuilib-generic-filter',
|
|
2053
|
-
template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n <div class=\"contain-classes\" *ngFor=\"let field of config.fields\">\n <hr *ngIf=\"field.lineBreakBefore\" class=\"govuk-section-break govuk-section-break--visible elevated-break\">\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?.minLength || form.get(field.name).errors?.maxLength)}\">\n <h3 *ngIf=\"field.title\" class=\"govuk-heading-s\">{{field.title}}</h3>\n <p class=\"govuk-body\" *ngIf=\"field.subTitle\">{{field.subTitle}}</p>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMinSelectedError && submitted && form.get(field.name).errors?.minLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.minSelectedError}}\n </span>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.maxSelectedError}}\n </span>\n <div class=\"govuk-body\" [ngSwitch]=\"field.type\">\n <ng-container *ngSwitchCase=\"'select'\">\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n <option class=\"govuk-radios__item\" *ngFor=\"let item of field.options\" [value]=\"item.key\">{{item.label}}</option>\n </select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" 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_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox-large'\">\n <div class=\"govuk-checkboxes\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" 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_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'radio'\">\n <div class=\"govuk-radios\">\n <div *ngFor=\"let item of field.options\" 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}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-person'\">\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, 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 ></xuilib-find-person>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-location'\">\n <xuilib-find-location [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle\"\n [enableAddLocationButton]=\"field.enableAddLocationButton\"\n [disabled]=\"disabled(field, form)\"\n [selectedLocations]=\"form.get(field.name)?.value\"\n [submitted]=\"submitted\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [field]=\"field\"\n ></xuilib-find-location>\n </ng-container>\n </div>\n </div>\n </div>\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'}}</button>\n <button *ngIf=\"config.showCancelFilterButton\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ config.cancelButtonText || 'Cancel'}}</button>\n </div>\n </div>\n</form>\n",
|
|
2095
|
+
template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n <div class=\"contain-classes\" *ngFor=\"let field of config.fields\">\n <hr *ngIf=\"field.lineBreakBefore\" class=\"govuk-section-break govuk-section-break--visible elevated-break\">\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?.minLength || form.get(field.name).errors?.maxLength)}\">\n <h3 *ngIf=\"field.title\" class=\"govuk-heading-s\">{{field.title}}</h3>\n <p class=\"govuk-body\" *ngIf=\"field.subTitle\">{{field.subTitle}}</p>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMinSelectedError && submitted && form.get(field.name).errors?.minLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.minSelectedError}}\n </span>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.maxSelectedError}}\n </span>\n <div class=\"govuk-body\" [ngSwitch]=\"field.type\">\n <ng-container *ngSwitchCase=\"'select'\">\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n <option class=\"govuk-radios__item\" *ngFor=\"let item of field.options\" [value]=\"item.key\">{{item.label}}</option>\n </select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" 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_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox-large'\">\n <div class=\"govuk-checkboxes\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" 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_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'radio'\">\n <div class=\"govuk-radios\">\n <div *ngFor=\"let item of field.options\" 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}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'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 ></xuilib-find-person>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-location'\">\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle\"\n [enableAddLocationButton]=\"field.enableAddLocationButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [selectedLocations]=\"form.get(field.name)?.value\"\n [submitted]=\"submitted\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [field]=\"field\"\n ></xuilib-find-location>\n </ng-container>\n </div>\n </div>\n </div>\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'}}</button>\n <button *ngIf=\"config.showCancelFilterButton\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ config.cancelButtonText || 'Cancel'}}</button>\n </div>\n </div>\n</form>\n",
|
|
2054
2096
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
2055
2097
|
encapsulation: core.ViewEncapsulation.None,
|
|
2056
2098
|
styles: [".contain-classes .elevated-break{position:relative;top:-10px}.contain-classes .xui-generic-filter .select-all{margin-bottom:10px}.contain-classes .xui-generic-filter .govuk-checkboxes{display:flex;flex-wrap:wrap}.contain-classes .xui-generic-filter .govuk-checkboxes>div{flex-grow:1;flex-shrink:0}"]
|
|
@@ -2353,7 +2395,7 @@
|
|
|
2353
2395
|
__metadata("design:type", Boolean)
|
|
2354
2396
|
], SearchVenueComponent.prototype, "submitted", void 0);
|
|
2355
2397
|
__decorate([
|
|
2356
|
-
core.ViewChild('inputSelectedLocation', { read: core.ElementRef }),
|
|
2398
|
+
core.ViewChild('inputSelectedLocation', { read: core.ElementRef, static: true }),
|
|
2357
2399
|
__metadata("design:type", core.ElementRef)
|
|
2358
2400
|
], SearchVenueComponent.prototype, "autoCompleteInputBox", void 0);
|
|
2359
2401
|
__decorate([
|
|
@@ -2529,7 +2571,7 @@
|
|
|
2529
2571
|
__metadata("design:type", String)
|
|
2530
2572
|
], SearchJudicialsComponent.prototype, "serviceId", void 0);
|
|
2531
2573
|
__decorate([
|
|
2532
|
-
core.ViewChild('inputSelection', { read: core.ElementRef }),
|
|
2574
|
+
core.ViewChild('inputSelection', { read: core.ElementRef, static: true }),
|
|
2533
2575
|
__metadata("design:type", core.ElementRef)
|
|
2534
2576
|
], SearchJudicialsComponent.prototype, "autoCompleteInputBox", void 0);
|
|
2535
2577
|
SearchJudicialsComponent = __decorate([
|
|
@@ -4389,6 +4431,53 @@
|
|
|
4389
4431
|
return HmctsMainWrapperComponent;
|
|
4390
4432
|
}());
|
|
4391
4433
|
|
|
4434
|
+
var HmctsPaginationComponent = /** @class */ (function () {
|
|
4435
|
+
function HmctsPaginationComponent() {
|
|
4436
|
+
this.maxSize = 7;
|
|
4437
|
+
this.pageSize = 10;
|
|
4438
|
+
this.showPageNumbers = true;
|
|
4439
|
+
this.showResultCount = true;
|
|
4440
|
+
this.pageChange = new core.EventEmitter();
|
|
4441
|
+
this.pageBoundsCorrection = new core.EventEmitter();
|
|
4442
|
+
}
|
|
4443
|
+
__decorate([
|
|
4444
|
+
core.Input(),
|
|
4445
|
+
__metadata("design:type", String)
|
|
4446
|
+
], HmctsPaginationComponent.prototype, "id", void 0);
|
|
4447
|
+
__decorate([
|
|
4448
|
+
core.Input(),
|
|
4449
|
+
__metadata("design:type", Number)
|
|
4450
|
+
], HmctsPaginationComponent.prototype, "maxSize", void 0);
|
|
4451
|
+
__decorate([
|
|
4452
|
+
core.Input(),
|
|
4453
|
+
__metadata("design:type", Number)
|
|
4454
|
+
], HmctsPaginationComponent.prototype, "pageSize", void 0);
|
|
4455
|
+
__decorate([
|
|
4456
|
+
core.Input(),
|
|
4457
|
+
__metadata("design:type", Boolean)
|
|
4458
|
+
], HmctsPaginationComponent.prototype, "showPageNumbers", void 0);
|
|
4459
|
+
__decorate([
|
|
4460
|
+
core.Input(),
|
|
4461
|
+
__metadata("design:type", Boolean)
|
|
4462
|
+
], HmctsPaginationComponent.prototype, "showResultCount", void 0);
|
|
4463
|
+
__decorate([
|
|
4464
|
+
core.Output(),
|
|
4465
|
+
__metadata("design:type", core.EventEmitter)
|
|
4466
|
+
], HmctsPaginationComponent.prototype, "pageChange", void 0);
|
|
4467
|
+
__decorate([
|
|
4468
|
+
core.Output(),
|
|
4469
|
+
__metadata("design:type", core.EventEmitter)
|
|
4470
|
+
], HmctsPaginationComponent.prototype, "pageBoundsCorrection", void 0);
|
|
4471
|
+
HmctsPaginationComponent = __decorate([
|
|
4472
|
+
core.Component({
|
|
4473
|
+
selector: 'xuilib-hmcts-pagination',
|
|
4474
|
+
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</p>\n <ul class=\"hmcts-pagination__list\" *ngIf=\"!(p.pages.length <= 1)\">\n\n <li class=\"hmcts-pagination__item hmcts-pagination__item--prev\" [class.disabled]=\"p.isFirstPage()\">\n <a [routerLink]=\"\" class=\"hmcts-pagination__link\" *ngIf=\"1 < p.getCurrent()\" (keyup.enter)=\"p.previous()\"\n (click)=\"p.previous()\">Previous <span class=\"govuk-visually-hidden\">set of pages</span></a>\n </li>\n\n <ng-container *ngIf=\"showPageNumbers\">\n <li class=\"hmcts-pagination__item\" [class.hmcts-pagination__item--active]=\"p.getCurrent() === page.value\"\n [class.hmcts-pagination__item--dots]=\"page.label === '...'\" *ngFor=\"let page of p.pages\">\n <a class=\"hmcts-pagination__link\" [routerLink]=\"\" (keyup.enter)=\"p.setCurrent(page.value)\"\n (click)=\"p.setCurrent(page.value)\" *ngIf=\"p.getCurrent() !== page.value\">\n <span class=\"govuk-visually-hidden\">page </span>\n <span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>\n </a>\n <ng-container *ngIf=\"p.getCurrent() === page.value\">\n <span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>\n </ng-container>\n </li>\n </ng-container>\n\n <li class=\"hmcts-pagination__item hmcts-pagination__item--next\" [class.disabled]=\"p.isLastPage()\">\n <a [routerLink]=\"\" class=\"hmcts-pagination__link\" *ngIf=\"!p.isLastPage()\" (keyup.enter)=\"p.next()\"\n (click)=\"p.next()\">Next<span class=\"govuk-visually-hidden\"> page</span></a>\n </li>\n\n </ul>\n <p class=\"hmcts-pagination__results\" *ngIf=\"showResultCount\">Showing <b>{{(p.getCurrent() * pageSize) - pageSize + 1}}</b>\n to <b>{{ p.getCurrent() * pageSize > p.getTotalItems() ? p.getTotalItems() : p.getCurrent() *\n pageSize}}</b> of <b>{{p.getTotalItems()}}</b> results</p>\n </nav>\n\n</pagination-template>",
|
|
4475
|
+
styles: [".hmcts-pagination__results{float:right}"]
|
|
4476
|
+
})
|
|
4477
|
+
], HmctsPaginationComponent);
|
|
4478
|
+
return HmctsPaginationComponent;
|
|
4479
|
+
}());
|
|
4480
|
+
|
|
4392
4481
|
var HmctsPrimaryNavigationComponent = /** @class */ (function () {
|
|
4393
4482
|
function HmctsPrimaryNavigationComponent() {
|
|
4394
4483
|
}
|
|
@@ -4517,6 +4606,7 @@
|
|
|
4517
4606
|
HmctsIdentityBarComponent,
|
|
4518
4607
|
HmctsSubNavigationComponent,
|
|
4519
4608
|
HmctsPrimaryNavigationComponent,
|
|
4609
|
+
HmctsPaginationComponent,
|
|
4520
4610
|
HmctsErrorSummaryComponent,
|
|
4521
4611
|
HmctsMainWrapperComponent,
|
|
4522
4612
|
HmctsBannerComponent,
|
|
@@ -4550,7 +4640,8 @@
|
|
|
4550
4640
|
router.RouterModule.forChild([]),
|
|
4551
4641
|
autocomplete.MatAutocompleteModule,
|
|
4552
4642
|
tabs.MatTabsModule,
|
|
4553
|
-
input.MatInputModule
|
|
4643
|
+
input.MatInputModule,
|
|
4644
|
+
ngxPagination.NgxPaginationModule
|
|
4554
4645
|
],
|
|
4555
4646
|
providers: [
|
|
4556
4647
|
{ provide: windowToken, useFactory: ɵ0 }
|
|
@@ -5129,6 +5220,7 @@
|
|
|
5129
5220
|
exports.HmctsErrorSummaryComponent = HmctsErrorSummaryComponent;
|
|
5130
5221
|
exports.HmctsIdentityBarComponent = HmctsIdentityBarComponent;
|
|
5131
5222
|
exports.HmctsMainWrapperComponent = HmctsMainWrapperComponent;
|
|
5223
|
+
exports.HmctsPaginationComponent = HmctsPaginationComponent;
|
|
5132
5224
|
exports.HmctsPrimaryNavigationComponent = HmctsPrimaryNavigationComponent;
|
|
5133
5225
|
exports.HmctsSessionDialogComponent = HmctsSessionDialogComponent;
|
|
5134
5226
|
exports.HmctsSubNavigationComponent = HmctsSubNavigationComponent;
|
|
@@ -5193,25 +5285,26 @@
|
|
|
5193
5285
|
exports.ɵbq = HmctsIdentityBarComponent;
|
|
5194
5286
|
exports.ɵbr = HmctsSubNavigationComponent;
|
|
5195
5287
|
exports.ɵbs = HmctsPrimaryNavigationComponent;
|
|
5196
|
-
exports.ɵbt =
|
|
5197
|
-
exports.ɵbu =
|
|
5198
|
-
exports.ɵbv =
|
|
5199
|
-
exports.ɵbw =
|
|
5200
|
-
exports.ɵbx =
|
|
5201
|
-
exports.ɵby =
|
|
5202
|
-
exports.ɵbz =
|
|
5288
|
+
exports.ɵbt = HmctsPaginationComponent;
|
|
5289
|
+
exports.ɵbu = HmctsErrorSummaryComponent;
|
|
5290
|
+
exports.ɵbv = HmctsMainWrapperComponent;
|
|
5291
|
+
exports.ɵbw = HmctsBannerComponent;
|
|
5292
|
+
exports.ɵbx = GovukTableComponent;
|
|
5293
|
+
exports.ɵby = GovUkInputComponent;
|
|
5294
|
+
exports.ɵbz = GovUkCheckboxComponent;
|
|
5203
5295
|
exports.ɵc = TcDisplayHtmlComponent;
|
|
5204
|
-
exports.ɵca =
|
|
5205
|
-
exports.ɵcb =
|
|
5206
|
-
exports.ɵcc =
|
|
5207
|
-
exports.ɵcd =
|
|
5208
|
-
exports.ɵce =
|
|
5209
|
-
exports.ɵcf =
|
|
5210
|
-
exports.ɵcg =
|
|
5211
|
-
exports.ɵch =
|
|
5212
|
-
exports.ɵci =
|
|
5213
|
-
exports.ɵcj =
|
|
5214
|
-
exports.ɵck =
|
|
5296
|
+
exports.ɵca = GovUkFormGroupWrapperComponent;
|
|
5297
|
+
exports.ɵcb = GovUkLabelComponent;
|
|
5298
|
+
exports.ɵcc = GovUkErrorMessageComponent;
|
|
5299
|
+
exports.ɵcd = GovUkFieldsetComponent;
|
|
5300
|
+
exports.ɵce = GovUkDateComponent;
|
|
5301
|
+
exports.ɵcf = GovUkCheckboxesComponent;
|
|
5302
|
+
exports.ɵcg = GovUkRadioComponent;
|
|
5303
|
+
exports.ɵch = GovUkRadiosComponent;
|
|
5304
|
+
exports.ɵci = GovUkSelectComponent;
|
|
5305
|
+
exports.ɵcj = GovUkTextareaComponent;
|
|
5306
|
+
exports.ɵck = GovUkFileUploadComponent;
|
|
5307
|
+
exports.ɵcl = RemoveHostDirective;
|
|
5215
5308
|
exports.ɵd = TcDisplayPlainComponent;
|
|
5216
5309
|
exports.ɵe = TcConfirmComponent;
|
|
5217
5310
|
exports.ɵf = ContactDetailsComponent;
|