@hmcts/rpx-xui-common-lib 1.6.10 → 1.7.0-ao-rectification
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 +216 -44
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +28 -27
- package/esm2015/lib/components/find-location/find-location.component.js +5 -5
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +2 -2
- package/esm2015/lib/components/index.js +2 -2
- package/esm2015/lib/components/pagination-v1/pagination.component.js +130 -0
- package/esm2015/lib/components/public_api.js +2 -1
- package/esm2015/lib/components/search-location/search-location.component.js +6 -6
- package/esm2015/lib/components/user-list/user-list.component.js +57 -2
- package/esm2015/lib/exui-common-lib.module.js +12 -6
- package/esm2015/lib/models/filter.model.js +1 -3
- package/esm2015/lib/models/index.js +2 -1
- package/esm2015/lib/models/pagination.model.js +16 -0
- package/esm2015/public-api.js +2 -2
- package/esm5/hmcts-rpx-xui-common-lib.js +28 -27
- package/esm5/lib/components/find-location/find-location.component.js +5 -5
- package/esm5/lib/components/generic-filter/generic-filter.component.js +2 -2
- package/esm5/lib/components/index.js +2 -2
- package/esm5/lib/components/pagination-v1/pagination.component.js +144 -0
- package/esm5/lib/components/public_api.js +2 -1
- package/esm5/lib/components/search-location/search-location.component.js +6 -6
- package/esm5/lib/components/user-list/user-list.component.js +73 -2
- package/esm5/lib/exui-common-lib.module.js +13 -6
- package/esm5/lib/models/filter.model.js +1 -3
- package/esm5/lib/models/index.js +2 -1
- package/esm5/lib/models/pagination.model.js +16 -0
- package/esm5/public-api.js +2 -2
- package/fesm2015/hmcts-rpx-xui-common-lib.js +170 -16
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +200 -16
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.d.ts +26 -25
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/find-location/find-location.component.d.ts +1 -1
- package/lib/components/pagination-v1/pagination.component.d.ts +19 -0
- package/lib/components/public_api.d.ts +1 -0
- package/lib/components/user-list/user-list.component.d.ts +8 -0
- package/lib/models/filter.model.d.ts +0 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/pagination.model.d.ts +4 -0
- package/package.json +3 -2
|
@@ -9,7 +9,7 @@ export declare class FindLocationComponent {
|
|
|
9
9
|
form: FormGroup;
|
|
10
10
|
field: FilterFieldConfig;
|
|
11
11
|
fields: FilterFieldConfig[];
|
|
12
|
-
|
|
12
|
+
title: string;
|
|
13
13
|
locations: LocationByEPIMMSModel[];
|
|
14
14
|
tempSelectedLocation: LocationByEPIMMSModel;
|
|
15
15
|
serviceIds: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
export declare class PaginationV1Component {
|
|
3
|
+
visibilityLabel: string;
|
|
4
|
+
id: string;
|
|
5
|
+
maxSize: number;
|
|
6
|
+
directionLinks: boolean;
|
|
7
|
+
autoHide: boolean;
|
|
8
|
+
responsive: boolean;
|
|
9
|
+
previousLabel: string;
|
|
10
|
+
nextLabel: string;
|
|
11
|
+
screenReaderPaginationLabel: string;
|
|
12
|
+
screenReaderPageLabel: string;
|
|
13
|
+
screenReaderCurrentLabel: string;
|
|
14
|
+
pageChange: EventEmitter<number>;
|
|
15
|
+
pageBoundsCorrection: EventEmitter<number>;
|
|
16
|
+
private _directionLinks;
|
|
17
|
+
private _autoHide;
|
|
18
|
+
private _responsive;
|
|
19
|
+
}
|
|
@@ -25,3 +25,4 @@ export * from './cookie-banner/cookie-banner.component';
|
|
|
25
25
|
export * from './find-location/find-location.component';
|
|
26
26
|
export * from './search-location/search-location.component';
|
|
27
27
|
export * from './pagination/pagination.component';
|
|
28
|
+
export * from './pagination-v1/pagination.component';
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PaginationParameter } from '../../models/pagination.model';
|
|
2
3
|
import { User } from '../../models/user.model';
|
|
3
4
|
export declare class UserListComponent {
|
|
4
5
|
users: User[];
|
|
5
6
|
userClick: EventEmitter<User>;
|
|
7
|
+
pagination: PaginationParameter;
|
|
8
|
+
moreResultsToGo: boolean;
|
|
9
|
+
constructor();
|
|
6
10
|
onUserClick(user: User): void;
|
|
11
|
+
onPaginationHandler(pageNumber: number): void;
|
|
12
|
+
getFirstResult(rows: User[]): number;
|
|
13
|
+
getLastResult(rows: User[]): number;
|
|
14
|
+
getTotalResults(rows: User[]): number;
|
|
7
15
|
}
|
package/lib/models/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-ao-rectification",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^7.2.0",
|
|
6
6
|
"@angular/core": "^7.2.0",
|
|
7
7
|
"@angular/material": "^7.2.0",
|
|
8
8
|
"@angular/cdk": "^7.2.0",
|
|
9
|
-
"launchdarkly-js-client-sdk": "^2.15.2"
|
|
9
|
+
"launchdarkly-js-client-sdk": "^2.15.2",
|
|
10
|
+
"ngx-pagination": "^3.2.1"
|
|
10
11
|
},
|
|
11
12
|
"publishConfig": {
|
|
12
13
|
"access": "public"
|