@hmcts/rpx-xui-common-lib 2.0.0-rc.4 → 2.1.1-angular-upgrade-11

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.
Files changed (180) hide show
  1. package/bundles/hmcts-rpx-xui-common-lib.umd.js +8004 -3340
  2. package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
  3. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +15 -1
  4. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-rpx-xui-common-lib.js +60 -45
  6. package/esm2015/lib/components/accessibility/accessibility.component.js +2 -2
  7. package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +129 -0
  8. package/esm2015/lib/components/due-date/due-date.component.js +6 -7
  9. package/esm2015/lib/components/find-location/find-location.component.js +229 -0
  10. package/esm2015/lib/components/find-person/find-person.component.js +259 -0
  11. package/esm2015/lib/components/generic-filter/generic-filter-utils.js +65 -0
  12. package/esm2015/lib/components/generic-filter/generic-filter.component.js +630 -0
  13. package/esm2015/lib/components/index.js +2 -2
  14. package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +6 -35
  15. package/esm2015/lib/components/pagination/pagination.component.js +50 -0
  16. package/esm2015/lib/components/public_api.js +9 -6
  17. package/esm2015/lib/components/search-judicials/search-judicials.component.js +249 -0
  18. package/esm2015/lib/components/search-location/search-location.component.js +265 -0
  19. package/esm2015/lib/components/search-venue/search-venue.component.js +246 -0
  20. package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +4 -11
  21. package/esm2015/lib/components/service-messages/service-messages.component.js +2 -2
  22. package/esm2015/lib/components/share-case/share-case.component.js +2 -2
  23. package/esm2015/lib/components/user-list/user-list.component.js +29 -3
  24. package/esm2015/lib/exui-common-lib.module.js +48 -26
  25. package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +81 -9
  26. package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +2 -2
  27. package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +49 -0
  28. package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +7 -2
  29. package/esm2015/lib/gov-ui/components/index.js +2 -2
  30. package/esm2015/lib/gov-ui/components/public_api.js +1 -20
  31. package/esm2015/lib/gov-ui/gov-ui.service.js +1 -1
  32. package/esm2015/lib/gov-ui/index.js +2 -2
  33. package/esm2015/lib/gov-ui/models/isession-storage.interface.js +24 -0
  34. package/esm2015/lib/gov-ui/public_api.js +2 -4
  35. package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +58 -0
  36. package/esm2015/lib/models/contact-details.model.js +8 -1
  37. package/esm2015/lib/models/due-date.model.js +8 -1
  38. package/esm2015/lib/models/filter.model.js +118 -0
  39. package/esm2015/lib/models/index.js +14 -2
  40. package/esm2015/lib/models/location.model.js +108 -0
  41. package/esm2015/lib/models/pagination.model.js +18 -0
  42. package/esm2015/lib/models/person.model.js +92 -0
  43. package/esm2015/lib/models/public_api.js +4 -9
  44. package/esm2015/lib/models/search-options.model.js +22 -0
  45. package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +1 -1
  46. package/esm2015/lib/services/cookie/cookie.service.js +110 -0
  47. package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +8 -2
  48. package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +4 -3
  49. package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +28 -21
  50. package/esm2015/lib/services/filter/filter.service.js +118 -0
  51. package/esm2015/lib/services/find-person/find-person.service.js +214 -0
  52. package/esm2015/lib/services/google-analytics/google-analytics.service.js +1 -1
  53. package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +1 -1
  54. package/esm2015/lib/services/index.js +2 -2
  55. package/esm2015/lib/services/loading/loading.service.js +10 -11
  56. package/esm2015/lib/services/locations/location.service.js +55 -0
  57. package/esm2015/lib/services/manage-session/manage-session.services.js +3 -3
  58. package/esm2015/lib/services/public-api.js +9 -4
  59. package/esm2015/lib/services/role-guard/role.guard.js +1 -1
  60. package/esm2015/lib/services/role-guard/role.service.js +1 -1
  61. package/esm2015/lib/services/session-storage/session-storage.service.js +55 -0
  62. package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +3 -3
  63. package/esm2015/public-api.js +6 -6
  64. package/esm5/hmcts-rpx-xui-common-lib.js +60 -45
  65. package/esm5/lib/components/accessibility/accessibility.component.js +2 -2
  66. package/esm5/lib/components/cookie-banner/cookie-banner.component.js +154 -0
  67. package/esm5/lib/components/due-date/due-date.component.js +6 -7
  68. package/esm5/lib/components/find-location/find-location.component.js +279 -0
  69. package/esm5/lib/components/find-person/find-person.component.js +286 -0
  70. package/esm5/lib/components/generic-filter/generic-filter-utils.js +66 -0
  71. package/esm5/lib/components/generic-filter/generic-filter.component.js +822 -0
  72. package/esm5/lib/components/index.js +2 -2
  73. package/esm5/lib/components/loading-spinner/loading-spinner.component.js +6 -38
  74. package/esm5/lib/components/pagination/pagination.component.js +58 -0
  75. package/esm5/lib/components/public_api.js +9 -6
  76. package/esm5/lib/components/search-judicials/search-judicials.component.js +291 -0
  77. package/esm5/lib/components/search-location/search-location.component.js +302 -0
  78. package/esm5/lib/components/search-venue/search-venue.component.js +290 -0
  79. package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +4 -11
  80. package/esm5/lib/components/service-messages/service-messages.component.js +2 -2
  81. package/esm5/lib/components/share-case/share-case.component.js +2 -2
  82. package/esm5/lib/components/user-list/user-list.component.js +36 -3
  83. package/esm5/lib/exui-common-lib.module.js +51 -29
  84. package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +95 -8
  85. package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +2 -2
  86. package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +51 -0
  87. package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +7 -2
  88. package/esm5/lib/gov-ui/components/index.js +2 -2
  89. package/esm5/lib/gov-ui/components/public_api.js +1 -20
  90. package/esm5/lib/gov-ui/gov-ui.service.js +1 -1
  91. package/esm5/lib/gov-ui/index.js +2 -2
  92. package/esm5/lib/gov-ui/models/isession-storage.interface.js +24 -0
  93. package/esm5/lib/gov-ui/public_api.js +2 -4
  94. package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +58 -0
  95. package/esm5/lib/models/contact-details.model.js +8 -1
  96. package/esm5/lib/models/due-date.model.js +8 -1
  97. package/esm5/lib/models/filter.model.js +122 -0
  98. package/esm5/lib/models/index.js +14 -2
  99. package/esm5/lib/models/location.model.js +108 -0
  100. package/esm5/lib/models/pagination.model.js +18 -0
  101. package/esm5/lib/models/person.model.js +92 -0
  102. package/esm5/lib/models/public_api.js +4 -9
  103. package/esm5/lib/models/search-options.model.js +22 -0
  104. package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +1 -1
  105. package/esm5/lib/services/cookie/cookie.service.js +136 -0
  106. package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +8 -2
  107. package/esm5/lib/services/feature-toggle/feature-toggle.service.js +5 -3
  108. package/esm5/lib/services/feature-toggle/launch-darkly.service.js +29 -19
  109. package/esm5/lib/services/filter/filter.service.js +153 -0
  110. package/esm5/lib/services/find-person/find-person.service.js +238 -0
  111. package/esm5/lib/services/google-analytics/google-analytics.service.js +1 -1
  112. package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +1 -1
  113. package/esm5/lib/services/index.js +2 -2
  114. package/esm5/lib/services/loading/loading.service.js +24 -15
  115. package/esm5/lib/services/locations/location.service.js +82 -0
  116. package/esm5/lib/services/manage-session/manage-session.services.js +3 -3
  117. package/esm5/lib/services/public-api.js +9 -4
  118. package/esm5/lib/services/role-guard/role.guard.js +1 -1
  119. package/esm5/lib/services/role-guard/role.service.js +1 -1
  120. package/esm5/lib/services/session-storage/session-storage.service.js +96 -0
  121. package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +3 -3
  122. package/esm5/public-api.js +6 -6
  123. package/fesm2015/hmcts-rpx-xui-common-lib.js +6320 -2429
  124. package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
  125. package/fesm5/hmcts-rpx-xui-common-lib.js +7208 -2719
  126. package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
  127. package/hmcts-rpx-xui-common-lib.d.ts +58 -43
  128. package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
  129. package/lib/components/cookie-banner/cookie-banner.component.d.ts +20 -0
  130. package/lib/components/find-location/find-location.component.d.ts +31 -0
  131. package/lib/components/find-person/find-person.component.d.ts +40 -0
  132. package/lib/components/generic-filter/generic-filter-utils.d.ts +8 -0
  133. package/lib/components/generic-filter/generic-filter.component.d.ts +40 -0
  134. package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +1 -1
  135. package/lib/components/invite-user-form/invite-user-form.component.d.ts +1 -1
  136. package/lib/components/loading-spinner/loading-spinner.component.d.ts +1 -7
  137. package/lib/components/pagination/pagination.component.d.ts +10 -0
  138. package/lib/components/public_api.d.ts +8 -5
  139. package/lib/components/search-judicials/search-judicials.component.d.ts +37 -0
  140. package/lib/components/search-location/search-location.component.d.ts +38 -0
  141. package/lib/components/search-venue/search-venue.component.d.ts +37 -0
  142. package/lib/components/user-list/user-list.component.d.ts +9 -2
  143. package/lib/exui-common-lib.module.d.ts +13 -11
  144. package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +8 -0
  145. package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +10 -0
  146. package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +2 -0
  147. package/lib/gov-ui/components/public_api.d.ts +0 -19
  148. package/lib/gov-ui/models/isession-storage.interface.d.ts +4 -0
  149. package/lib/gov-ui/public_api.d.ts +0 -2
  150. package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +6 -0
  151. package/lib/models/contact-details.model.d.ts +5 -1
  152. package/lib/models/due-date.model.d.ts +5 -0
  153. package/lib/models/filter.model.d.ts +65 -0
  154. package/lib/models/index.d.ts +12 -0
  155. package/lib/models/location.model.d.ts +49 -0
  156. package/lib/models/pagination.model.d.ts +5 -0
  157. package/lib/models/person.model.d.ts +43 -0
  158. package/lib/models/public_api.d.ts +2 -7
  159. package/lib/models/search-options.model.d.ts +8 -0
  160. package/lib/services/cookie/cookie.service.d.ts +9 -0
  161. package/lib/services/feature-toggle/feature-toggle.service.d.ts +1 -1
  162. package/lib/services/feature-toggle/launch-darkly.service.d.ts +4 -5
  163. package/lib/services/filter/filter.service.d.ts +15 -0
  164. package/lib/services/find-person/find-person.service.d.ts +17 -0
  165. package/lib/services/loading/loading.service.d.ts +1 -1
  166. package/lib/services/locations/location.service.d.ts +23 -0
  167. package/lib/services/public-api.d.ts +7 -2
  168. package/lib/services/session-storage/session-storage.service.d.ts +20 -0
  169. package/lib/window.d.ts +1 -1
  170. package/package.json +5 -3
  171. package/public-api.d.ts +2 -2
  172. package/esm2015/lib/gov-ui/directives/index.js +0 -7
  173. package/esm2015/lib/gov-ui/directives/public_api.js +0 -7
  174. package/esm2015/lib/models/badge-colour.enum.js +0 -14
  175. package/esm5/lib/gov-ui/directives/index.js +0 -7
  176. package/esm5/lib/gov-ui/directives/public_api.js +0 -7
  177. package/esm5/lib/models/badge-colour.enum.js +0 -14
  178. package/lib/gov-ui/directives/index.d.ts +0 -1
  179. package/lib/gov-ui/directives/public_api.d.ts +0 -1
  180. package/lib/models/badge-colour.enum.d.ts +0 -6
@@ -0,0 +1,43 @@
1
+ export interface Person {
2
+ id: string;
3
+ name: string;
4
+ email?: string;
5
+ domain: string;
6
+ knownAs?: string;
7
+ }
8
+ export interface JudicialUserModel {
9
+ emailId: string;
10
+ fullName: string;
11
+ idamId: string;
12
+ isJudge: string;
13
+ isMagistrate: string;
14
+ isPanelMember: string;
15
+ knownAs: string;
16
+ personalCode: string;
17
+ surname: string;
18
+ title: string;
19
+ }
20
+ export interface CaseworkersByService {
21
+ service: string;
22
+ caseworkers: Caseworker[];
23
+ }
24
+ export interface Caseworker {
25
+ idamId: string;
26
+ firstName: string;
27
+ lastName: string;
28
+ email: string;
29
+ knownAs?: string;
30
+ roleCategory: string;
31
+ }
32
+ export declare enum PersonRole {
33
+ JUDICIAL = "Judicial",
34
+ CASEWORKER = "Legal Ops",
35
+ ADMIN = "Admin",
36
+ ALL = "All"
37
+ }
38
+ export declare enum RoleCategory {
39
+ JUDICIAL = "JUDICIAL",
40
+ CASEWORKER = "LEGAL_OPERATIONS",
41
+ ADMIN = "ADMIN",
42
+ ALL = "ALL"
43
+ }
@@ -1,10 +1,5 @@
1
- export * from './badge-colour.enum';
2
- export * from './case-share.model';
1
+ export * from './tcDocument.model';
3
2
  export * from './contact-details.model';
4
- export * from './due-date.model';
5
3
  export * from './feature-user';
6
- export * from './idle-config.model';
7
- export * from './tcDocument.model';
8
- export * from './timeout-notification.model';
9
- export * from './user-details.model';
10
4
  export * from './user.model';
5
+ export * from './filter.model';
@@ -0,0 +1,8 @@
1
+ import { PersonRole } from './person.model';
2
+ export interface SearchOptions {
3
+ searchTerm: string;
4
+ userRole: PersonRole;
5
+ services: string[];
6
+ userIncluded?: boolean;
7
+ assignedUser?: string;
8
+ }
@@ -0,0 +1,9 @@
1
+ export declare class CookieService {
2
+ private readonly document?;
3
+ constructor(doc?: any);
4
+ setCookie(key: string, value: string, expiryDate?: string): void;
5
+ getCookie(key: string): string;
6
+ deleteCookie(key: string, path?: string, domain?: string): void;
7
+ deleteCookieByPartialMatch(key: string, path?: string, domain?: string): void;
8
+ checkCookie(key: string): boolean;
9
+ }
@@ -1,7 +1,7 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { FeatureUser } from '../../models/feature-user';
3
3
  export declare class FeatureToggleService {
4
- initialize(_user: FeatureUser): void;
4
+ initialize(_user: FeatureUser, _clientId: string): void;
5
5
  isEnabled(_feature: string): Observable<boolean>;
6
6
  getValue<R>(_key: string, _defaultValue: R): Observable<R>;
7
7
  getValueOnce<R>(_key: string, _defaultValue: R): Observable<R>;
@@ -1,14 +1,13 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  import { Observable } from 'rxjs';
3
2
  import { FeatureUser } from '../../models/feature-user';
4
3
  import { FeatureToggleService } from './feature-toggle.service';
5
- export declare const LAUNCHDARKLYKEY: InjectionToken<string>;
6
4
  export declare class LaunchDarklyService implements FeatureToggleService {
7
- private readonly client;
5
+ private client;
8
6
  private readonly ready;
9
7
  private readonly features;
10
- constructor(key: string);
11
- initialize(user?: FeatureUser): void;
8
+ private user;
9
+ private clientId;
10
+ initialize(user: FeatureUser, clientId: string): void;
12
11
  isEnabled(feature: string): Observable<boolean>;
13
12
  getArray<R = any>(feature: string): Observable<R[]>;
14
13
  getValue<R>(feature: string, defaultValue: R): Observable<R>;
@@ -0,0 +1,15 @@
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { FilterError, FilterPersistence, FilterSetting } from '../../models';
3
+ export declare class FilterService {
4
+ givenErrors: BehaviorSubject<FilterError[]>;
5
+ isInitialSetting: boolean;
6
+ private readonly filterSettings;
7
+ private readonly streams;
8
+ persist(setting: FilterSetting, persistence: FilterPersistence): void;
9
+ get(id: string): FilterSetting | null;
10
+ getStream(id: string): Observable<FilterSetting>;
11
+ private persistLocal;
12
+ private persistSession;
13
+ private persistMemory;
14
+ private updateStreams;
15
+ }
@@ -0,0 +1,17 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { Caseworker, JudicialUserModel, Person, SearchOptions } from '../../models';
4
+ import { SessionStorageService } from '../session-storage/session-storage.service';
5
+ export declare class FindAPersonService {
6
+ private readonly http;
7
+ private readonly sessionStorageService;
8
+ static caseworkersKey: string;
9
+ userId: string;
10
+ assignedUser: string;
11
+ constructor(http: HttpClient, sessionStorageService: SessionStorageService);
12
+ find(searchOptions: SearchOptions): Observable<Person[]>;
13
+ findCaseworkers(searchOptions: SearchOptions): Observable<Person[]>;
14
+ mapCaseworkers(caseworkers: Caseworker[], roleCategory: string): Person[];
15
+ searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
16
+ searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
17
+ }
@@ -1,6 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  export declare abstract class HasLoadingState {
3
- abstract readonly isLoading: Observable<boolean>;
3
+ readonly isLoading: Observable<boolean>;
4
4
  }
5
5
  export declare class LoadingService implements HasLoadingState {
6
6
  private readonly registered;
@@ -0,0 +1,23 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { LocationByEPIMMSModel } from '../../models/location.model';
4
+ export declare class LocationService {
5
+ private readonly http;
6
+ constructor(http: HttpClient);
7
+ /**
8
+ * @description getAllLocations from service Ids/location type/search term
9
+ * @param serviceIds: SSCS | SSCS,IA split with ','
10
+ * @param locationType: optional | hearing | case_management
11
+ * @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
12
+ * @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
13
+ */
14
+ getAllLocations(serviceIds: string, locationType: string, searchTerm: string): Observable<LocationByEPIMMSModel[]>;
15
+ /**
16
+ * @description searchLocations from service Ids/location type/search term
17
+ * @param serviceIds: BBA3 | BBA3,BFA1 split with ','
18
+ * @param locationType: optional | hearing | case_management
19
+ * @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
20
+ * @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
21
+ */
22
+ searchLocations(serviceIds: string, locationType: string, searchTerm: string): Observable<LocationByEPIMMSModel[]>;
23
+ }
@@ -4,8 +4,13 @@ export * from './feature-toggle/feature-toggle.service';
4
4
  export * from './feature-toggle/launch-darkly.service';
5
5
  export * from './google-analytics/google-analytics.service';
6
6
  export * from './google-tag-manager/google-tag-manager.service';
7
- export * from './loading/loading.service';
8
7
  export * from './manage-session/manage-session.services';
8
+ export * from './timeout-notifications/timeout-notifications.service';
9
9
  export * from './role-guard/role.guard';
10
10
  export * from './role-guard/role.service';
11
- export * from './timeout-notifications/timeout-notifications.service';
11
+ export * from './cookie/cookie.service';
12
+ export * from './loading/loading.service';
13
+ export * from './locations/location.service';
14
+ export * from './filter/filter.service';
15
+ export * from './find-person/find-person.service';
16
+ export * from './session-storage/session-storage.service';
@@ -0,0 +1,20 @@
1
+ export declare class SessionStorageService {
2
+ /**
3
+ * Get an item from the session storage.
4
+ * If remove is true, the item will be removed once read
5
+ * @param removeAfterRead removed the key once it has been read
6
+ */
7
+ getItem(key: string, removeAfterRead?: boolean): string;
8
+ /**
9
+ * Set an item in the session storage.
10
+ */
11
+ setItem(key: string, value: string): void;
12
+ /**
13
+ * Remove an item in the session storage.
14
+ */
15
+ removeItem(key: string): void;
16
+ /**
17
+ * Clear all the items held in session storage.
18
+ */
19
+ clear(): void;
20
+ }
package/lib/window.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- export declare const windowToken: InjectionToken<{}>;
2
+ export declare const windowToken: InjectionToken<unknown>;
3
3
  export declare function windowProvider(): Window;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@hmcts/rpx-xui-common-lib",
3
- "version": "2.0.0-rc.4",
3
+ "version": "2.1.1-angular-upgrade-11",
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"
@@ -26,7 +27,8 @@
26
27
  }
27
28
  ],
28
29
  "devDependencies": {
29
- "ngx-spec": "^2.1.4"
30
+ "ngx-spec": "^2.1.4",
31
+ "node-sass": "^4.0.0"
30
32
  },
31
33
  "main": "bundles/hmcts-rpx-xui-common-lib.umd.js",
32
34
  "module": "fesm5/hmcts-rpx-xui-common-lib.js",
package/public-api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
+ export * from './lib/components';
2
+ export * from './lib/directives';
1
3
  export * from './lib/exui-common-lib.module';
2
4
  export * from './lib/gov-ui';
3
5
  export * from './lib/models';
4
- export * from './lib/directives';
5
- export * from './lib/components';
6
6
  export * from './lib/services';
7
7
  export * from './lib/window';
@@ -1,7 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/gov-ui/directives/index.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
- export { RemoveHostDirective } from './public_api';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL2dvdi11aS9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsb0NBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
@@ -1,7 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/gov-ui/directives/public_api.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
- export { RemoveHostDirective } from './remove-host.directive';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvZ292LXVpL2RpcmVjdGl2ZXMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9DQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZW1vdmUtaG9zdC5kaXJlY3RpdmUnO1xuIl19
@@ -1,14 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/models/badge-colour.enum.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
- /** @enum {string} */
7
- const BadgeColour = {
8
- RED: "hmcts-badge--red",
9
- ORANGE: "hmcts-badge--orange",
10
- GREEN: "hmcts-badge--green",
11
- BLUE: "hmcts-badge--blue",
12
- };
13
- export { BadgeColour };
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UtY29sb3VyLmVudW0uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9iYWRnZS1jb2xvdXIuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxNQUFZLFdBQVc7SUFDbkIsR0FBRyxvQkFBcUI7SUFDeEIsTUFBTSx1QkFBd0I7SUFDOUIsS0FBSyxzQkFBdUI7SUFDNUIsSUFBSSxxQkFBc0I7RUFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBCYWRnZUNvbG91ciB7XG4gICAgUkVEID0gJ2htY3RzLWJhZGdlLS1yZWQnLFxuICAgIE9SQU5HRSA9ICdobWN0cy1iYWRnZS0tb3JhbmdlJyxcbiAgICBHUkVFTiA9ICdobWN0cy1iYWRnZS0tZ3JlZW4nLFxuICAgIEJMVUUgPSAnaG1jdHMtYmFkZ2UtLWJsdWUnLFxufVxuIl19
@@ -1,7 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/gov-ui/directives/index.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
- export { RemoveHostDirective } from './public_api';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL2dvdi11aS9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsb0NBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
@@ -1,7 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/gov-ui/directives/public_api.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
- export { RemoveHostDirective } from './remove-host.directive';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvZ292LXVpL2RpcmVjdGl2ZXMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9DQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZW1vdmUtaG9zdC5kaXJlY3RpdmUnO1xuIl19
@@ -1,14 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/models/badge-colour.enum.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
- /** @enum {string} */
7
- var BadgeColour = {
8
- RED: "hmcts-badge--red",
9
- ORANGE: "hmcts-badge--orange",
10
- GREEN: "hmcts-badge--green",
11
- BLUE: "hmcts-badge--blue",
12
- };
13
- export { BadgeColour };
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UtY29sb3VyLmVudW0uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9iYWRnZS1jb2xvdXIuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxJQUFZLFdBQVc7SUFDbkIsR0FBRyxvQkFBcUI7SUFDeEIsTUFBTSx1QkFBd0I7SUFDOUIsS0FBSyxzQkFBdUI7SUFDNUIsSUFBSSxxQkFBc0I7RUFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBCYWRnZUNvbG91ciB7XG4gICAgUkVEID0gJ2htY3RzLWJhZGdlLS1yZWQnLFxuICAgIE9SQU5HRSA9ICdobWN0cy1iYWRnZS0tb3JhbmdlJyxcbiAgICBHUkVFTiA9ICdobWN0cy1iYWRnZS0tZ3JlZW4nLFxuICAgIEJMVUUgPSAnaG1jdHMtYmFkZ2UtLWJsdWUnLFxufVxuIl19
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export * from './remove-host.directive';
@@ -1,6 +0,0 @@
1
- export declare enum BadgeColour {
2
- RED = "hmcts-badge--red",
3
- ORANGE = "hmcts-badge--orange",
4
- GREEN = "hmcts-badge--green",
5
- BLUE = "hmcts-badge--blue"
6
- }