@hmcts/ccpay-web-component 6.5.28-v1 → 6.5.28

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
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, AfterViewInit, OnDestroy, ChangeDetectorRef, ElementRef, EventEmitter, PipeTransform } from '@angular/core';
2
+ import { OnInit, ChangeDetectorRef, EventEmitter, PipeTransform } from '@angular/core';
3
3
  import { Observable, BehaviorSubject } from 'rxjs';
4
4
  import { HttpErrorResponse, HttpClient } from '@angular/common/http';
5
5
  import { Observable as Observable$1 } from 'rxjs/internal/Observable';
@@ -292,11 +292,10 @@ declare class AddRetroRemissionRequest {
292
292
  constructor(hwf_amount: number, hwf_reference: string);
293
293
  }
294
294
 
295
- declare class PaymentLibComponent implements OnInit, AfterViewInit, OnDestroy {
295
+ declare class PaymentLibComponent implements OnInit {
296
296
  private paymentLibService;
297
297
  private cd;
298
298
  private OrderslistService;
299
- private hostElement;
300
299
  API_ROOT: string;
301
300
  BULKSCAN_API_ROOT: string;
302
301
  REFUNDS_API_ROOT: string;
@@ -344,8 +343,6 @@ declare class PaymentLibComponent implements OnInit, AfterViewInit, OnDestroy {
344
343
  isFromPaymentDetailPage: boolean;
345
344
  pbaPayOrderRef: IPayment;
346
345
  isTakePayment: boolean;
347
- private govukObserver?;
348
- private govukInitialisationQueued;
349
346
  orderDetail: any[];
350
347
  orderRef: string;
351
348
  orderStatus: string;
@@ -361,12 +358,9 @@ declare class PaymentLibComponent implements OnInit, AfterViewInit, OnDestroy {
361
358
  paymentGroup: IPaymentGroup;
362
359
  overPaymentAmount: number;
363
360
  refunds: IRefundList[];
364
- constructor(paymentLibService: PaymentLibService, cd: ChangeDetectorRef, OrderslistService: OrderslistService, hostElement: ElementRef<HTMLElement>);
361
+ constructor(paymentLibService: PaymentLibService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
365
362
  ngAfterContentChecked(): void;
366
363
  ngOnInit(): void;
367
- ngAfterViewInit(): void;
368
- ngOnDestroy(): void;
369
- private queueGovukInitialisation;
370
364
  /**
371
365
  * Adds a remission to the payment group using data from the provided form group.
372
366
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "6.5.28-v1",
3
+ "version": "6.5.28",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,8 +11,7 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "@angular/common": "^20.3.1",
14
- "@angular/core": "~20.3.1",
15
- "govuk-frontend": "^6.4.0"
14
+ "@angular/core": "~20.3.1"
16
15
  },
17
16
  "license": "MIT",
18
17
  "repository": {