@fractalpay/fractalpay-next 0.0.16 → 0.0.17
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/dist/PayButtonWithForm-HT442HV7.mjs +729 -0
- package/dist/chunk-Q2O5O2BN.mjs +512 -0
- package/dist/index.d.mts +20 -33
- package/dist/index.d.ts +20 -33
- package/dist/index.js +1632 -1630
- package/dist/index.mjs +26 -1263
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
interface Props$
|
|
4
|
+
interface Props$6 {
|
|
4
5
|
merchantPublicKey: string;
|
|
5
6
|
customerId?: string;
|
|
6
7
|
orderID?: string;
|
|
@@ -16,9 +17,9 @@ interface Props$7 {
|
|
|
16
17
|
require_3ds?: boolean;
|
|
17
18
|
pass_fee?: boolean;
|
|
18
19
|
}
|
|
19
|
-
declare function RequestPayment(props: Props$
|
|
20
|
+
declare function RequestPayment(props: Props$6): React__default.JSX.Element;
|
|
20
21
|
|
|
21
|
-
interface Props$
|
|
22
|
+
interface Props$5 {
|
|
22
23
|
merchantPublicKey: string;
|
|
23
24
|
customerId?: string;
|
|
24
25
|
orderID?: string;
|
|
@@ -33,9 +34,9 @@ interface Props$6 {
|
|
|
33
34
|
surcharge?: string;
|
|
34
35
|
require_3ds?: boolean;
|
|
35
36
|
}
|
|
36
|
-
declare function RequestPreAuthPayment(props: Props$
|
|
37
|
+
declare function RequestPreAuthPayment(props: Props$5): React__default.JSX.Element;
|
|
37
38
|
|
|
38
|
-
type Props$
|
|
39
|
+
type Props$4 = {
|
|
39
40
|
merchantPublicKey: string;
|
|
40
41
|
customerId?: string;
|
|
41
42
|
orderID?: string;
|
|
@@ -46,9 +47,9 @@ type Props$5 = {
|
|
|
46
47
|
surcharge?: string;
|
|
47
48
|
pass_fee?: boolean;
|
|
48
49
|
};
|
|
49
|
-
declare function GetPaymentPage(props: Props$
|
|
50
|
+
declare function GetPaymentPage(props: Props$4): React__default.JSX.Element;
|
|
50
51
|
|
|
51
|
-
type Props$
|
|
52
|
+
type Props$3 = {
|
|
52
53
|
merchantPublicKey: string;
|
|
53
54
|
customerId?: string;
|
|
54
55
|
orderID?: string;
|
|
@@ -59,15 +60,15 @@ type Props$4 = {
|
|
|
59
60
|
surcharge?: string;
|
|
60
61
|
pass_fee?: boolean;
|
|
61
62
|
};
|
|
62
|
-
declare function PreAuthPayment(props: Props$
|
|
63
|
+
declare function PreAuthPayment(props: Props$3): React__default.JSX.Element;
|
|
63
64
|
|
|
64
|
-
type Props$
|
|
65
|
+
type Props$2 = {
|
|
65
66
|
merchantPublicKey: string;
|
|
66
67
|
customerId?: string;
|
|
67
68
|
};
|
|
68
|
-
declare function AddCardEasyPay(props: Props$
|
|
69
|
+
declare function AddCardEasyPay(props: Props$2): React__default.JSX.Element;
|
|
69
70
|
|
|
70
|
-
type Props$
|
|
71
|
+
type Props$1 = {
|
|
71
72
|
session_token: string;
|
|
72
73
|
callback: (resp: any) => void;
|
|
73
74
|
isloading: boolean;
|
|
@@ -77,27 +78,11 @@ type Props$2 = {
|
|
|
77
78
|
signCheckbox: boolean;
|
|
78
79
|
checkedSignCheckbox: boolean;
|
|
79
80
|
onCheckSign: (val: boolean) => void;
|
|
81
|
+
cancelbtnClass: string;
|
|
82
|
+
savebtnClass: string;
|
|
83
|
+
inputClass: string;
|
|
80
84
|
};
|
|
81
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign }: Props$
|
|
82
|
-
|
|
83
|
-
type Props$1 = {
|
|
84
|
-
session_token: string;
|
|
85
|
-
surcharge: string;
|
|
86
|
-
amount: string;
|
|
87
|
-
submitBtnText?: string;
|
|
88
|
-
submitBtnClass?: string;
|
|
89
|
-
customerId?: string;
|
|
90
|
-
callback: (resp: any) => void;
|
|
91
|
-
merchantName: string;
|
|
92
|
-
isPreAuth: boolean;
|
|
93
|
-
submitBtnIcon?: any;
|
|
94
|
-
isRequest?: boolean;
|
|
95
|
-
pass_fee?: boolean;
|
|
96
|
-
pass_fee_amount?: number | string;
|
|
97
|
-
bankAmount: string;
|
|
98
|
-
bankSurcharge?: string;
|
|
99
|
-
};
|
|
100
|
-
declare const PaymentWidget: ({ amount, bankAmount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, pass_fee, pass_fee_amount }: Props$1) => React.JSX.Element;
|
|
85
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass }: Props$1): React__default.JSX.Element;
|
|
101
86
|
|
|
102
87
|
type Props = {
|
|
103
88
|
merchantPublicKey: string;
|
|
@@ -114,6 +99,8 @@ type Props = {
|
|
|
114
99
|
allowPartial: boolean;
|
|
115
100
|
cashDiscount?: string;
|
|
116
101
|
};
|
|
117
|
-
declare function PartialPayment(props: Props):
|
|
102
|
+
declare function PartialPayment(props: Props): React__default.JSX.Element;
|
|
103
|
+
|
|
104
|
+
declare const PaymentWidget: React.ComponentType<any>;
|
|
118
105
|
|
|
119
106
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|