@hmcts/ccpay-web-component 5.0.7-beta37 → 5.0.7-beta39

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 (27) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +204 -8
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/add-remission/add-remission.component.js +34 -2
  6. package/esm2015/lib/components/notification-preview/notification-preview.component.js +3 -3
  7. package/esm2015/lib/components/payment-view/payment-view.component.js +31 -2
  8. package/esm2015/lib/components/process-refund/process-refund.component.js +34 -3
  9. package/esm2015/lib/components/refund-status/refund-status.component.js +55 -2
  10. package/esm2015/lib/components/service-request/service-request.component.js +31 -2
  11. package/esm5/lib/components/add-remission/add-remission.component.js +39 -2
  12. package/esm5/lib/components/notification-preview/notification-preview.component.js +3 -3
  13. package/esm5/lib/components/payment-view/payment-view.component.js +36 -2
  14. package/esm5/lib/components/process-refund/process-refund.component.js +39 -3
  15. package/esm5/lib/components/refund-status/refund-status.component.js +67 -2
  16. package/esm5/lib/components/service-request/service-request.component.js +36 -2
  17. package/fesm2015/hmcts-ccpay-web-component.js +172 -8
  18. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  19. package/fesm5/hmcts-ccpay-web-component.js +204 -8
  20. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  21. package/hmcts-ccpay-web-component.metadata.json +1 -1
  22. package/lib/components/add-remission/add-remission.component.d.ts +2 -0
  23. package/lib/components/payment-view/payment-view.component.d.ts +1 -0
  24. package/lib/components/process-refund/process-refund.component.d.ts +3 -0
  25. package/lib/components/refund-status/refund-status.component.d.ts +6 -0
  26. package/lib/components/service-request/service-request.component.d.ts +1 -0
  27. package/package.json +1 -1
@@ -122,6 +122,7 @@ export declare class AddRemissionComponent implements OnInit {
122
122
  isStatusAllocated: boolean;
123
123
  isFromCheckAnsPage: boolean;
124
124
  refundAmtForFeeVolumes: number;
125
+ paymentObj: IPayment;
125
126
  notificationPreview: boolean;
126
127
  component: {
127
128
  account_number: string;
@@ -184,4 +185,5 @@ export declare class AddRemissionComponent implements OnInit {
184
185
  getFormattedCurrency(currency: number): string | number;
185
186
  showNotificationPreview(): void;
186
187
  hideNotificationPreview(): void;
188
+ getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
187
189
  }
@@ -92,6 +92,7 @@ export declare class PaymentViewComponent implements OnInit {
92
92
  resetOrderData(): void;
93
93
  goToPaymentFailuePage(payment: any): void;
94
94
  goBackToPaymentView(event: any): void;
95
+ getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
95
96
  showNotificationPreview(): void;
96
97
  hideNotificationPreview(): void;
97
98
  }
@@ -3,6 +3,7 @@ import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { RefundsService } from '../../services/refunds/refunds.service';
4
4
  import { IRefundAction } from '../../interfaces/IRefundAction';
5
5
  import { IRefundList } from '../../interfaces/IRefundList';
6
+ import { IPayment } from '../../interfaces/IPayment';
6
7
  import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
7
8
  import { OrderslistService } from '../../services/orderslist.service';
8
9
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
@@ -48,6 +49,7 @@ export declare class ProcessRefundComponent implements OnInit {
48
49
  cpoDetails: any;
49
50
  isCPODown: boolean;
50
51
  isConfirmButtondisabled: boolean;
52
+ paymentObj: IPayment;
51
53
  notificationPreview: boolean;
52
54
  notificationPreviewObj: INotificationPreview;
53
55
  constructor(RefundsService: RefundsService, paymentViewService: PaymentViewService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
@@ -66,6 +68,7 @@ export declare class ProcessRefundComponent implements OnInit {
66
68
  loadCaseTransactionPage(): void;
67
69
  resetForm(vals: any, field: any): void;
68
70
  goToCaseReview(): void;
71
+ getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
69
72
  showNotificationPreview(): void;
70
73
  hideNotificationPreview(): void;
71
74
  }
@@ -66,7 +66,10 @@ export declare class RefundStatusComponent implements OnInit {
66
66
  changeRefundReason: string;
67
67
  fees: IFee[];
68
68
  refundFees: IRefundFee[];
69
+ paymentObj: IPayment;
70
+ notificationSentViewIndex: number;
69
71
  notificationPreview: boolean;
72
+ notificationSentView: boolean;
70
73
  allowedRolesToAccessRefund: string[];
71
74
  constructor(formBuilder: FormBuilder, refundService: RefundsService, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService, paymentViewService: PaymentViewService);
72
75
  ngOnInit(): void;
@@ -95,6 +98,9 @@ export declare class RefundStatusComponent implements OnInit {
95
98
  putResend(notification: IRefundsNotifications): void;
96
99
  gotoCasetransationPageCancelBtnClicked(Event: Event): void;
97
100
  goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
101
+ getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
98
102
  showNotificationPreview(): void;
99
103
  hideNotificationPreview(): void;
104
+ showNotificationSentView(index: number): void;
105
+ hideNotificationSentView(): void;
100
106
  }
@@ -121,6 +121,7 @@ export declare class ServiceRequestComponent implements OnInit {
121
121
  gotoAddressPage(note?: IRefundContactDetails): void;
122
122
  processRefund(): void;
123
123
  getOverPaymentValue(): number;
124
+ getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
124
125
  showNotificationPreview(): void;
125
126
  hideNotificationPreview(): void;
126
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.7-beta37",
3
+ "version": "5.0.7-beta39",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },