@hmcts/ccpay-web-component 5.0.1-beta12 → 5.0.1-beta125

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 (96) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +2711 -1452
  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/hmcts-ccpay-web-component.js +41 -39
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +284 -162
  7. package/esm2015/lib/components/case-transactions/case-transactions.component.js +37 -59
  8. package/esm2015/lib/components/contact-details/contact-details.component.js +394 -0
  9. package/esm2015/lib/components/payment-view/payment-view.component.js +95 -18
  10. package/esm2015/lib/components/process-refund/process-refund.component.js +95 -9
  11. package/esm2015/lib/components/refund-list/refund-list.component.js +6 -10
  12. package/esm2015/lib/components/refund-status/refund-status.component.js +212 -121
  13. package/esm2015/lib/components/service-request/service-request.component.js +607 -0
  14. package/esm2015/lib/components/status-history/status-history.component.js +2 -2
  15. package/esm2015/lib/components/table/table.component.js +27 -10
  16. package/esm2015/lib/interfaces/IFee.js +3 -1
  17. package/esm2015/lib/interfaces/IPayment.js +3 -1
  18. package/esm2015/lib/interfaces/IPutNotificationRequest.js +25 -0
  19. package/esm2015/lib/interfaces/IRefundContactDetails.js +25 -0
  20. package/esm2015/lib/interfaces/IRefundList.js +3 -1
  21. package/esm2015/lib/interfaces/IRefundsNotifications.js +21 -0
  22. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +6 -2
  23. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +6 -2
  24. package/esm2015/lib/payment-lib.component.js +54 -9
  25. package/esm2015/lib/payment-lib.module.js +8 -4
  26. package/esm2015/lib/payment-lib.service.js +16 -1
  27. package/esm2015/lib/services/notification/notification.service.js +85 -0
  28. package/esm2015/lib/services/orderslist.service.js +193 -1
  29. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -29
  30. package/esm2015/lib/services/refunds/refunds.service.js +10 -1
  31. package/esm2015/lib/services/shared/error-handler.service.js +37 -19
  32. package/esm5/hmcts-ccpay-web-component.js +41 -39
  33. package/esm5/lib/components/add-remission/add-remission.component.js +311 -163
  34. package/esm5/lib/components/case-transactions/case-transactions.component.js +37 -69
  35. package/esm5/lib/components/contact-details/contact-details.component.js +419 -0
  36. package/esm5/lib/components/payment-view/payment-view.component.js +99 -18
  37. package/esm5/lib/components/process-refund/process-refund.component.js +98 -9
  38. package/esm5/lib/components/refund-list/refund-list.component.js +6 -10
  39. package/esm5/lib/components/refund-status/refund-status.component.js +240 -120
  40. package/esm5/lib/components/service-request/service-request.component.js +679 -0
  41. package/esm5/lib/components/status-history/status-history.component.js +2 -2
  42. package/esm5/lib/components/table/table.component.js +26 -11
  43. package/esm5/lib/interfaces/IFee.js +3 -1
  44. package/esm5/lib/interfaces/IPayment.js +3 -1
  45. package/esm5/lib/interfaces/IPutNotificationRequest.js +23 -0
  46. package/esm5/lib/interfaces/IRefundContactDetails.js +25 -0
  47. package/esm5/lib/interfaces/IRefundList.js +3 -1
  48. package/esm5/lib/interfaces/IRefundsNotifications.js +21 -0
  49. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +5 -2
  50. package/esm5/lib/interfaces/PostRefundRetroRemission.js +5 -2
  51. package/esm5/lib/payment-lib.component.js +52 -6
  52. package/esm5/lib/payment-lib.module.js +8 -4
  53. package/esm5/lib/payment-lib.service.js +23 -1
  54. package/esm5/lib/services/notification/notification.service.js +89 -0
  55. package/esm5/lib/services/orderslist.service.js +256 -1
  56. package/esm5/lib/services/payment-view/payment-view.service.js +1 -42
  57. package/esm5/lib/services/refunds/refunds.service.js +16 -1
  58. package/esm5/lib/services/shared/error-handler.service.js +37 -19
  59. package/fesm2015/hmcts-ccpay-web-component.js +1790 -709
  60. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  61. package/fesm5/hmcts-ccpay-web-component.js +7952 -6675
  62. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  63. package/hmcts-ccpay-web-component.d.ts +40 -38
  64. package/hmcts-ccpay-web-component.metadata.json +1 -1
  65. package/lib/components/add-remission/add-remission.component.d.ts +23 -1
  66. package/lib/components/case-transactions/case-transactions.component.d.ts +1 -6
  67. package/lib/components/contact-details/contact-details.component.d.ts +45 -0
  68. package/lib/components/payment-view/payment-view.component.d.ts +13 -3
  69. package/lib/components/process-refund/process-refund.component.d.ts +11 -1
  70. package/lib/components/refund-status/refund-status.component.d.ts +20 -5
  71. package/lib/components/service-request/service-request.component.d.ts +103 -0
  72. package/lib/components/table/table.component.d.ts +5 -2
  73. package/lib/interfaces/IFee.d.ts +1 -0
  74. package/lib/interfaces/IPayment.d.ts +1 -0
  75. package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
  76. package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
  77. package/lib/interfaces/IRefundList.d.ts +2 -0
  78. package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
  79. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
  80. package/lib/interfaces/PostRefundRetroRemission.d.ts +3 -1
  81. package/lib/payment-lib.component.d.ts +17 -3
  82. package/lib/payment-lib.service.d.ts +3 -0
  83. package/lib/services/notification/notification.service.d.ts +15 -0
  84. package/lib/services/orderslist.service.d.ts +34 -0
  85. package/lib/services/payment-view/payment-view.service.d.ts +0 -5
  86. package/lib/services/refunds/refunds.service.d.ts +2 -0
  87. package/package.json +1 -1
  88. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -199
  89. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
  90. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  91. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -216
  92. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  93. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
  94. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -27
  95. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -6
  96. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -7
@@ -1,25 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- var IserviceRequestPbaPayment = /** @class */ (function () {
6
- function IserviceRequestPbaPayment(account_number, amount, customer_reference) {
7
- this.account_number = account_number;
8
- this.amount = amount;
9
- this.currency = 'GBP';
10
- this.customer_reference = customer_reference;
11
- }
12
- return IserviceRequestPbaPayment;
13
- }());
14
- export { IserviceRequestPbaPayment };
15
- if (false) {
16
- /** @type {?} */
17
- IserviceRequestPbaPayment.prototype.account_number;
18
- /** @type {?} */
19
- IserviceRequestPbaPayment.prototype.amount;
20
- /** @type {?} */
21
- IserviceRequestPbaPayment.prototype.currency;
22
- /** @type {?} */
23
- IserviceRequestPbaPayment.prototype.customer_reference;
24
- }
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2ludGVyZmFjZXMvSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUE7SUFNSSxtQ0FBWSxjQUF1QixFQUFHLE1BQWUsRUFBRSxrQkFBMEI7UUFDN0UsSUFBSSxDQUFDLGNBQWMsR0FBRyxjQUFjLENBQUM7UUFDckMsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7UUFDckIsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUM7UUFDdEIsSUFBSSxDQUFDLGtCQUFrQixHQUFHLGtCQUFrQixDQUFDO0lBQ2pELENBQUM7SUFDTCxnQ0FBQztBQUFELENBQUMsQUFaRCxJQVlDOzs7O0lBWEcsbURBQXVCOztJQUN2QiwyQ0FBYzs7SUFDZCw2Q0FBZ0I7O0lBQ2hCLHVEQUEwQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJc2VydmljZVJlcXVlc3RQYmFQYXltZW50IHtcbiAgICBhY2NvdW50X251bWJlcjogc3RyaW5nO1xuICAgIGFtb3VudDogc3RyaW5nXG4gICAgY3VycmVuY3k6IHN0cmluZ1xuICAgIGN1c3RvbWVyX3JlZmVyZW5jZTogc3RyaW5nXG4gICAgXG4gICAgY29uc3RydWN0b3IoYWNjb3VudF9udW1iZXIgOiBzdHJpbmcsICBhbW91bnQgOiBzdHJpbmcsIGN1c3RvbWVyX3JlZmVyZW5jZTogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuYWNjb3VudF9udW1iZXIgPSBhY2NvdW50X251bWJlcjtcbiAgICAgICAgdGhpcy5hbW91bnQgPSBhbW91bnQ7XG4gICAgICAgIHRoaXMuY3VycmVuY3kgPSAnR0JQJztcbiAgICAgICAgdGhpcy5jdXN0b21lcl9yZWZlcmVuY2UgPSBjdXN0b21lcl9yZWZlcmVuY2U7XG4gICAgfSBcbn1cbiAgICAiXX0=
@@ -1,27 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
3
- import { PaymentLibComponent } from '../../payment-lib.component';
4
- export declare class PbaPaymentComponent implements OnInit {
5
- private paymentLibComponent;
6
- private paymentViewService;
7
- pbaPayOrderRef: any;
8
- viewStatus: string;
9
- pbaAccountList: string[];
10
- errorMsg: any;
11
- isCardPaymentSuccess: boolean;
12
- isInSufficiantFund: boolean;
13
- isPBAAccountNotExist: boolean;
14
- isPBAServerError: boolean;
15
- isGetPBAAccountSucceed: boolean;
16
- selectedPbaAccount: string;
17
- pbaAccountRef: string;
18
- isContinueButtondisabled: boolean;
19
- isPBAAccountPaymentSuccess: boolean;
20
- pbaAccountrPaymentResult: any;
21
- constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService);
22
- ngOnInit(): void;
23
- selectpbaaccount(args: any): void;
24
- saveAndContinue(): void;
25
- cardPayment(): void;
26
- gotoCasetransationPage(): void;
27
- }
@@ -1,6 +0,0 @@
1
- export declare class IserviceRequestCardPayment {
2
- amount: string;
3
- currency: string;
4
- language: string;
5
- constructor(amount: string);
6
- }
@@ -1,7 +0,0 @@
1
- export declare class IserviceRequestPbaPayment {
2
- account_number: string;
3
- amount: string;
4
- currency: string;
5
- customer_reference: string;
6
- constructor(account_number: string, amount: string, customer_reference: string);
7
- }