@hmcts/rpx-xui-common-lib 3.2.8-rc1 → 3.2.9

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/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import * as i66 from '@angular/forms';
4
4
  import { FormGroup, FormBuilder, FormControl, AbstractControl, ValidatorFn } from '@angular/forms';
5
5
  import * as rxjs from 'rxjs';
6
6
  import { Observable, BehaviorSubject, Subscription, Subject } from 'rxjs';
7
+ import { Title, DomSanitizer } from '@angular/platform-browser';
7
8
  import * as i67 from '@angular/router';
8
9
  import { Router, ActivatedRouteSnapshot, UrlTree } from '@angular/router';
9
10
  import { MatLegacyOptionSelectionChange } from '@angular/material/legacy-core';
@@ -15,7 +16,6 @@ import * as i69 from '@angular/material/legacy-tabs';
15
16
  import * as i70 from '@angular/material/legacy-input';
16
17
  import * as i71 from 'ngx-pagination';
17
18
  import * as i72 from 'rpx-xui-translation';
18
- import { Title } from '@angular/platform-browser';
19
19
  import { Idle } from '@ng-idle/core';
20
20
  import { Keepalive } from '@ng-idle/keepalive';
21
21
 
@@ -1076,12 +1076,14 @@ interface ServiceMessages {
1076
1076
  }
1077
1077
 
1078
1078
  declare class ServiceMessageComponent {
1079
+ private sanitizer;
1079
1080
  message_en: string;
1080
1081
  message_cy?: string;
1081
1082
  key: ServiceMessages;
1082
1083
  hideMessage: EventEmitter<ServiceMessages>;
1083
- constructor();
1084
+ constructor(sanitizer: DomSanitizer);
1084
1085
  onHideMessageEvent(key: ServiceMessages): void;
1086
+ sanitizeHtml(content: string | null | undefined): string;
1085
1087
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceMessageComponent, never>;
1086
1088
  static ɵcmp: i0.ɵɵComponentDeclaration<ServiceMessageComponent, "xuilib-service-message", never, { "message_en": { "alias": "message_en"; "required": false; }; "message_cy": { "alias": "message_cy"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, { "hideMessage": "hideMessage"; }, never, never, false, never>;
1087
1089
  }
@@ -1216,8 +1218,10 @@ declare class TcDisplayPlainComponent {
1216
1218
  }
1217
1219
 
1218
1220
  declare class TermsAndConditionsComponent {
1221
+ private readonly sanitizer;
1219
1222
  document: TCDocument;
1220
- constructor();
1223
+ constructor(sanitizer: DomSanitizer);
1224
+ sanitizeHtml(content: string | null | undefined): string;
1221
1225
  static ɵfac: i0.ɵɵFactoryDeclaration<TermsAndConditionsComponent, never>;
1222
1226
  static ɵcmp: i0.ɵɵComponentDeclaration<TermsAndConditionsComponent, "xuilib-terms-and-conditions", never, { "document": { "alias": "document"; "required": false; }; }, {}, never, never, false, never>;
1223
1227
  }
@@ -2051,7 +2055,7 @@ declare class CapitalizePipe implements PipeTransform {
2051
2055
  static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", false>;
2052
2056
  }
2053
2057
 
2054
- declare const COMMON_COMPONENTS: (typeof CheckboxListComponent | typeof DueDateComponent | typeof GenericFilterComponent | typeof LoadingSpinnerComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof TcDisplayHtmlComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof SearchWorkTypeComponent | typeof SearchVenueComponent | typeof SearchJudicialsComponent | typeof FindPersonComponent | typeof FindTaskNameComponent | typeof WriteAddressFieldComponent | typeof FeatureToggleDirective | typeof LetDirective)[];
2058
+ declare const COMMON_COMPONENTS: (typeof CheckboxListComponent | typeof DueDateComponent | typeof GenericFilterComponent | typeof LoadingSpinnerComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessageComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof TcDisplayHtmlComponent | typeof TermsAndConditionsComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof SearchWorkTypeComponent | typeof SearchVenueComponent | typeof SearchJudicialsComponent | typeof FindPersonComponent | typeof FindTaskNameComponent | typeof WriteAddressFieldComponent | typeof FeatureToggleDirective | typeof LetDirective)[];
2055
2059
  declare const GOV_UI_COMPONENTS: (typeof GovUkErrorMessageComponent | typeof GovUkFormGroupWrapperComponent | typeof GovUkLabelComponent | typeof GovUkRadioComponent | typeof GovUkRadiosComponent | typeof GovukTableComponent | typeof HmctsBannerComponent | typeof HmctsErrorSummaryComponent | typeof HmctsIdentityBarComponent | typeof HmctsMainWrapperComponent | typeof HmctsPaginationComponent | typeof HmctsPrimaryNavigationComponent | typeof HmctsSubNavigationComponent | typeof RemoveHostDirective)[];
2056
2060
  declare class ExuiCommonLibModule {
2057
2061
  static ɵfac: i0.ɵɵFactoryDeclaration<ExuiCommonLibModule, never>;
package/package.json CHANGED
@@ -1,46 +1,16 @@
1
1
  {
2
2
  "name": "@hmcts/rpx-xui-common-lib",
3
- "version": "3.2.8-rc1",
4
- "engines": {
5
- "node": ">=20.0.0"
6
- },
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/hmcts/rpx-xui-common-lib.git"
10
- },
11
- "publishConfig": {
12
- "access": "public"
13
- },
14
- "dependencies": {
15
- "@angular/animations": "^20.3.18",
16
- "@angular/cdk": "16.2.0",
17
- "@angular/common": "^20.3.18",
18
- "@angular/compiler": "^20.3.18",
19
- "@angular/core": "^20.3.18",
20
- "@angular/forms": "^20.3.18",
21
- "@angular/localize": "^20.3.18",
22
- "@angular/material": "16.2.0",
23
- "@angular/platform-browser": "^20.3.18",
24
- "@angular/platform-browser-dynamic": "^20.3.18",
25
- "@angular/router": "^20.3.18",
26
- "@hmcts/frontend": "0.0.50-alpha",
27
- "@ng-idle/core": "^16.0.0",
28
- "@ng-idle/keepalive": "^16.0.0",
29
- "core-js": "^3.37.0",
30
- "govuk-frontend": "4.9.0",
31
- "launchdarkly-js-client-sdk": "^3.3.0",
32
- "ngx-pagination": "^6.0.3",
33
- "rpx-xui-translation": "1.1.2-CME-780-9",
34
- "rxjs": "^7.8.1",
35
- "tslib": "^2.6.1",
36
- "zone.js": "~0.15.1"
37
- },
3
+ "version": "3.2.9",
38
4
  "peerDependencies": {
39
5
  "launchdarkly-js-client-sdk": "^3.3.0",
40
6
  "ngx-pagination": "^3.2.1",
41
7
  "rpx-xui-translation": "1.1.2-CME-780-9"
42
8
  },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
43
12
  "license": "MIT",
13
+ "repository": "https://github.com/hmcts/rpx-xui-common-lib.git",
44
14
  "description": "Angular web component for EXUI common library - xui-common-lib",
45
15
  "author": "Elviani Huseyin <elviani.huseyin@hmcts.net>",
46
16
  "contributors": [
@@ -53,6 +23,9 @@
53
23
  "email": "ronald.mansveld@hmcts.net"
54
24
  }
55
25
  ],
26
+ "dependencies": {
27
+ "tslib": "^2.0.0"
28
+ },
56
29
  "module": "fesm2022/hmcts-rpx-xui-common-lib.mjs",
57
30
  "typings": "index.d.ts",
58
31
  "exports": {