pay-sdk-react 1.1.9 → 1.1.11
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/es/Airwallex/index.d.ts +1 -3
- package/dist/es/Airwallex/index.js +6 -7
- package/dist/es/Alipay/index.d.ts +1 -2
- package/dist/es/Alipay/index.js +5 -5
- package/dist/es/MAlipay/index.d.ts +1 -1
- package/dist/es/MAlipay/index.js +4 -3
- package/dist/es/MAlipay/m-alipay-auto-submit.d.ts +1 -1
- package/dist/es/Stripe/index.d.ts +1 -3
- package/dist/es/Stripe/index.js +6 -9
- package/dist/es/Wechat/index.d.ts +1 -2
- package/dist/es/Wechat/index.js +5 -5
- package/dist/es/index.d.ts +91 -6
- package/dist/es/index.js +43 -6
- package/dist/lib/Airwallex/index.js +5 -4
- package/dist/lib/Alipay/index.js +4 -3
- package/dist/lib/MAlipay/index.js +3 -2
- package/dist/lib/Stripe/index.js +6 -5
- package/dist/lib/Wechat/index.js +4 -3
- package/dist/lib/index.js +93 -19
- package/dist/umd/pay-sdk-react.umd.js +74 -36
- package/dist/umd/pay-sdk-react.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,4 @@ type AirwallexComponentType = typeof Airwallex & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const AirwallexComponent: AirwallexComponentType;
|
|
12
12
|
export default AirwallexComponent;
|
|
13
|
-
export {
|
|
14
|
-
export { default as AirwallexPopup } from './airwallex-popup';
|
|
15
|
-
export { default as AirwallexModal } from './airwallex-modal';
|
|
13
|
+
export { AirwallexButton, AirwallexPopup, AirwallexModal };
|
|
@@ -3,11 +3,10 @@ import AirwallexPopup from './airwallex-popup';
|
|
|
3
3
|
import AirwallexButton from './airwallex-button';
|
|
4
4
|
import AirwallexModal from './airwallex-modal';
|
|
5
5
|
export * from './interface';
|
|
6
|
-
var AirwallexComponent = Airwallex
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
var AirwallexComponent = Object.assign(Airwallex, {
|
|
7
|
+
Button: AirwallexButton,
|
|
8
|
+
Popup: AirwallexPopup,
|
|
9
|
+
Modal: AirwallexModal
|
|
10
|
+
});
|
|
10
11
|
export default AirwallexComponent;
|
|
11
|
-
export {
|
|
12
|
-
export { default as AirwallexPopup } from './airwallex-popup';
|
|
13
|
-
export { default as AirwallexModal } from './airwallex-modal';
|
|
12
|
+
export { AirwallexButton, AirwallexPopup, AirwallexModal };
|
|
@@ -8,5 +8,4 @@ type AlipayComponentType = typeof Alipay & {
|
|
|
8
8
|
declare const AlipayComponent: AlipayComponentType;
|
|
9
9
|
export * from './interface';
|
|
10
10
|
export default AlipayComponent;
|
|
11
|
-
export {
|
|
12
|
-
export { default as AlipayModal } from './alipay-modal';
|
|
11
|
+
export { AlipayButton, AlipayModal };
|
package/dist/es/Alipay/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import Alipay from './alipay';
|
|
2
2
|
import AlipayButton from './alipay-button';
|
|
3
3
|
import AlipayModal from './alipay-modal';
|
|
4
|
-
var AlipayComponent = Alipay
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
var AlipayComponent = Object.assign(Alipay, {
|
|
5
|
+
Button: AlipayButton,
|
|
6
|
+
Modal: AlipayModal
|
|
7
|
+
});
|
|
7
8
|
export * from './interface';
|
|
8
9
|
export default AlipayComponent;
|
|
9
|
-
export {
|
|
10
|
-
export { default as AlipayModal } from './alipay-modal';
|
|
10
|
+
export { AlipayButton, AlipayModal };
|
package/dist/es/MAlipay/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import MAlipay from './m-alipay-auto-submit';
|
|
2
2
|
import MAlipayButton from './m-alipay-button';
|
|
3
3
|
export * from './interface';
|
|
4
|
-
var MAlipayComponent = MAlipay
|
|
5
|
-
|
|
4
|
+
var MAlipayComponent = Object.assign(MAlipay, {
|
|
5
|
+
Button: MAlipayButton
|
|
6
|
+
});
|
|
6
7
|
export default MAlipayComponent;
|
|
7
|
-
export {
|
|
8
|
+
export { MAlipayButton };
|
|
@@ -10,6 +10,4 @@ type StripeComponentType = typeof Stripe & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const StripeComponent: StripeComponentType;
|
|
12
12
|
export default StripeComponent;
|
|
13
|
-
export {
|
|
14
|
-
export { default as StripePopup } from './stripe-popup';
|
|
15
|
-
export { default as StripeModal } from './stripe-modal';
|
|
13
|
+
export { StripeButton, StripePopup, StripeModal };
|
package/dist/es/Stripe/index.js
CHANGED
|
@@ -3,13 +3,10 @@ import StripePopup from './stripe-popup';
|
|
|
3
3
|
import StripeButton from './stripe-button';
|
|
4
4
|
import StripeModal from './stripe-modal';
|
|
5
5
|
export * from './interface';
|
|
6
|
-
var StripeComponent = Stripe
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
var StripeComponent = Object.assign(Stripe, {
|
|
7
|
+
Button: StripeButton,
|
|
8
|
+
Popup: StripePopup,
|
|
9
|
+
Modal: StripeModal
|
|
10
|
+
});
|
|
10
11
|
export default StripeComponent;
|
|
11
|
-
|
|
12
|
-
// 兼容:同时提供具名导出,便于内部与严格 ESM 环境避免默认导出初始化顺序问题
|
|
13
|
-
export { default as StripeButton } from './stripe-button';
|
|
14
|
-
export { default as StripePopup } from './stripe-popup';
|
|
15
|
-
export { default as StripeModal } from './stripe-modal';
|
|
12
|
+
export { StripeButton, StripePopup, StripeModal };
|
|
@@ -8,5 +8,4 @@ type WechatComponentType = typeof Wechat & {
|
|
|
8
8
|
declare const WechatComponent: WechatComponentType;
|
|
9
9
|
export * from './interface';
|
|
10
10
|
export default WechatComponent;
|
|
11
|
-
export {
|
|
12
|
-
export { default as WechatModal } from './wechat-modal';
|
|
11
|
+
export { WechatButton, WechatModal };
|
package/dist/es/Wechat/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import Wechat from './wechat';
|
|
2
2
|
import WechatButton from './wechat-button';
|
|
3
3
|
import WechatModal from './wechat-modal';
|
|
4
|
-
var WechatComponent = Wechat
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
var WechatComponent = Object.assign(Wechat, {
|
|
5
|
+
Button: WechatButton,
|
|
6
|
+
Modal: WechatModal
|
|
7
|
+
});
|
|
7
8
|
export * from './interface';
|
|
8
9
|
export default WechatComponent;
|
|
9
|
-
export {
|
|
10
|
-
export { default as WechatModal } from './wechat-modal';
|
|
10
|
+
export { WechatButton, WechatModal };
|
package/dist/es/index.d.ts
CHANGED
|
@@ -1,19 +1,104 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export type { PaypalButtonProps, PaypalButtonRef, CreateOrderPaypalFn, PaypalSecretMap, } from './Paypal/interface';
|
|
2
3
|
export { PaypalButton } from './Paypal';
|
|
3
4
|
export type { BasesStripeProps, StripeProps, StripePopupProps, StripePopupRef, StripeButtonProps, StripeButtonRef, CreateOrderStripeFn, StripeModalRef, } from './Stripe/interface';
|
|
4
|
-
|
|
5
|
+
import { StripeButton, StripePopup, StripeModal } from './Stripe';
|
|
6
|
+
declare const Stripe: import("react").NamedExoticComponent<Omit<import("./Stripe").BasesStripeProps & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
7
|
+
children?: import("react").ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
9
|
+
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
10
|
+
}> & {
|
|
11
|
+
readonly type: import("react").ForwardRefExoticComponent<import("./Stripe").BasesStripeProps & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
14
|
+
} & {
|
|
15
|
+
Button: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Stripe").StripeButtonProps & {
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
} & import("react").RefAttributes<import("./Stripe").StripeButtonRef>>>;
|
|
18
|
+
Popup: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Stripe").StripePopupProps & {
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
} & import("react").RefAttributes<import("./Stripe").StripePopupRef>>>;
|
|
21
|
+
Modal: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Stripe").StripeModalProps & {
|
|
22
|
+
children?: import("react").ReactNode;
|
|
23
|
+
} & import("react").RefAttributes<import("./Stripe").StripePopupRef>>>;
|
|
24
|
+
} & {
|
|
25
|
+
Button: typeof StripeButton;
|
|
26
|
+
Popup: typeof StripePopup;
|
|
27
|
+
Modal: typeof StripeModal;
|
|
28
|
+
};
|
|
29
|
+
export { Stripe };
|
|
30
|
+
export { StripeButton, StripePopup, StripeModal };
|
|
5
31
|
export type { AirwallexProps, AirwallexPopupProps, AirwallexPopupRef, AirwallexButtonProps, AirwallexButtonRef, CreateOrderAirwallexEmbeddedFn, CreateOrderAirwallexRedirectFn, AirwallexModalProps, AirwallexModalRef, } from './Airwallex/interface';
|
|
6
|
-
|
|
32
|
+
import { AirwallexButton, AirwallexPopup, AirwallexModal } from './Airwallex';
|
|
33
|
+
declare const Airwallex: import("react").NamedExoticComponent<Omit<import("./Airwallex").AirwallexProps & {
|
|
34
|
+
children?: import("react").ReactNode;
|
|
35
|
+
} & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
36
|
+
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
37
|
+
}> & {
|
|
38
|
+
readonly type: import("react").ForwardRefExoticComponent<import("./Airwallex").AirwallexProps & {
|
|
39
|
+
children?: import("react").ReactNode;
|
|
40
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
41
|
+
} & {
|
|
42
|
+
Button: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("react").PropsWithChildren<import("./Airwallex").AirwallexButtonProps> & import("react").RefAttributes<import("./Airwallex").AirwallexButtonRef>>>;
|
|
43
|
+
Popup: import("react").ForwardRefExoticComponent<import("./Airwallex").AirwallexPopupProps & {
|
|
44
|
+
children?: import("react").ReactNode;
|
|
45
|
+
} & import("react").RefAttributes<import("./Airwallex").AirwallexPopupRef>>;
|
|
46
|
+
Modal: import("react").ForwardRefExoticComponent<import("./Airwallex").AirwallexModalProps & {
|
|
47
|
+
children?: import("react").ReactNode;
|
|
48
|
+
} & import("react").RefAttributes<import("./Airwallex").AirwallexPopupRef>>;
|
|
49
|
+
} & {
|
|
50
|
+
Button: typeof AirwallexButton;
|
|
51
|
+
Popup: typeof AirwallexPopup;
|
|
52
|
+
Modal: typeof AirwallexModal;
|
|
53
|
+
};
|
|
54
|
+
export { Airwallex };
|
|
55
|
+
export { AirwallexButton, AirwallexPopup, AirwallexModal };
|
|
7
56
|
export type { PayssionButtonProps, PayssionButtonRef, CreateOrderPayssionFn, PayssionSecretMap, } from './Payssion/interface';
|
|
8
57
|
export { PayssionButton } from './Payssion';
|
|
9
58
|
export type { MWeChatButtonProps, MWeChatButtonRef, CreateOrderMWeChatFn, MWeChatFormData, } from './MWeChat/interface';
|
|
10
59
|
export { MWechatButton } from './MWeChat';
|
|
11
60
|
export type { MAlipayButtonProps, MAlipayButtonRef, CreateOrderMAlipayFn, MAlipayFormData, } from './MAlipay/interface';
|
|
12
|
-
|
|
61
|
+
import { MAlipayButton } from './MAlipay';
|
|
62
|
+
declare const MAlipay: import("react").NamedExoticComponent<import("./MAlipay/m-alipay-auto-submit").MAlipayAutoSubmitProps> & {
|
|
63
|
+
Button: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./MAlipay").MAlipayButtonProps & {
|
|
64
|
+
children?: import("react").ReactNode;
|
|
65
|
+
} & import("react").RefAttributes<import("./Button").ButtonRef>>>;
|
|
66
|
+
} & {
|
|
67
|
+
Button: typeof MAlipayButton;
|
|
68
|
+
};
|
|
69
|
+
export { MAlipay };
|
|
70
|
+
export { MAlipayButton };
|
|
13
71
|
export type { AlipayProps, AlipayModalProps, AlipayButtonProps, AlipayButtonRef, AlipayModalRef, } from './Alipay/interface';
|
|
14
|
-
|
|
72
|
+
import { AlipayButton, AlipayModal } from './Alipay';
|
|
73
|
+
declare const Alipay: import("react").NamedExoticComponent<import("./Alipay").AlipayProps> & {
|
|
74
|
+
Button: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Alipay").AlipayButtonProps & {
|
|
75
|
+
children?: import("react").ReactNode;
|
|
76
|
+
} & import("react").RefAttributes<import("./Alipay").AlipayButtonRef>>>;
|
|
77
|
+
Modal: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Alipay").AlipayModalProps & {
|
|
78
|
+
children?: import("react").ReactNode;
|
|
79
|
+
} & import("react").RefAttributes<import("./Alipay").AlipayModalRef>>>;
|
|
80
|
+
} & {
|
|
81
|
+
Button: typeof AlipayButton;
|
|
82
|
+
Modal: typeof AlipayModal;
|
|
83
|
+
};
|
|
84
|
+
export { Alipay };
|
|
85
|
+
export { AlipayButton, AlipayModal };
|
|
15
86
|
export type { WechatProps, WechatModalProps, WechatButtonProps, WechatButtonRef, WechatModalRef, } from './Wechat/interface';
|
|
16
|
-
|
|
87
|
+
import { WechatButton, WechatModal } from './Wechat';
|
|
88
|
+
declare const Wechat: import("react").NamedExoticComponent<import("./Wechat").WechatProps> & {
|
|
89
|
+
Button: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Wechat").WechatButtonProps & {
|
|
90
|
+
children?: import("react").ReactNode;
|
|
91
|
+
} & import("react").RefAttributes<import("./Wechat").WechatButtonRef>>>;
|
|
92
|
+
Modal: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Wechat").WechatModalProps & {
|
|
93
|
+
children?: import("react").ReactNode;
|
|
94
|
+
} & import("react").RefAttributes<import("./Wechat").WechatModalRef>>>;
|
|
95
|
+
} & {
|
|
96
|
+
Button: typeof WechatButton;
|
|
97
|
+
Modal: typeof WechatModal;
|
|
98
|
+
};
|
|
99
|
+
export { Wechat };
|
|
100
|
+
export { WechatButton, WechatModal };
|
|
17
101
|
export type { PayButtonProps, GenericPayButtonRef, } from './PayButton/interface';
|
|
18
|
-
|
|
102
|
+
import PayButton from './PayButton';
|
|
103
|
+
export { PayButton };
|
|
19
104
|
export * from './shared';
|
package/dist/es/index.js
CHANGED
|
@@ -1,10 +1,47 @@
|
|
|
1
1
|
export { PaypalButton } from './Paypal';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import StripeDefault from './Stripe';
|
|
3
|
+
import { StripeButton, StripePopup, StripeModal } from './Stripe';
|
|
4
|
+
var Stripe = Object.assign(StripeDefault, {
|
|
5
|
+
Button: StripeButton,
|
|
6
|
+
Popup: StripePopup,
|
|
7
|
+
Modal: StripeModal
|
|
8
|
+
});
|
|
9
|
+
export { Stripe };
|
|
10
|
+
export { StripeButton, StripePopup, StripeModal };
|
|
11
|
+
import AirwallexDefault from './Airwallex';
|
|
12
|
+
import { AirwallexButton, AirwallexPopup, AirwallexModal } from './Airwallex';
|
|
13
|
+
var Airwallex = Object.assign(AirwallexDefault, {
|
|
14
|
+
Button: AirwallexButton,
|
|
15
|
+
Popup: AirwallexPopup,
|
|
16
|
+
Modal: AirwallexModal
|
|
17
|
+
});
|
|
18
|
+
export { Airwallex };
|
|
19
|
+
export { AirwallexButton, AirwallexPopup, AirwallexModal };
|
|
4
20
|
export { PayssionButton } from './Payssion';
|
|
5
21
|
export { MWechatButton } from './MWeChat';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
import MAlipayDefault from './MAlipay';
|
|
23
|
+
import { MAlipayButton } from './MAlipay';
|
|
24
|
+
var MAlipay = Object.assign(MAlipayDefault, {
|
|
25
|
+
Button: MAlipayButton
|
|
26
|
+
});
|
|
27
|
+
export { MAlipay };
|
|
28
|
+
export { MAlipayButton };
|
|
29
|
+
import AlipayDefault from './Alipay';
|
|
30
|
+
import { AlipayButton, AlipayModal } from './Alipay';
|
|
31
|
+
var Alipay = Object.assign(AlipayDefault, {
|
|
32
|
+
Button: AlipayButton,
|
|
33
|
+
Modal: AlipayModal
|
|
34
|
+
});
|
|
35
|
+
export { Alipay };
|
|
36
|
+
export { AlipayButton, AlipayModal };
|
|
37
|
+
import WechatDefault from './Wechat';
|
|
38
|
+
import { WechatButton, WechatModal } from './Wechat';
|
|
39
|
+
var Wechat = Object.assign(WechatDefault, {
|
|
40
|
+
Button: WechatButton,
|
|
41
|
+
Modal: WechatModal
|
|
42
|
+
});
|
|
43
|
+
export { Wechat };
|
|
44
|
+
export { WechatButton, WechatModal };
|
|
45
|
+
import PayButton from './PayButton';
|
|
46
|
+
export { PayButton };
|
|
10
47
|
export * from './shared';
|
|
@@ -44,8 +44,9 @@ Object.keys(_interface).forEach(function (key) {
|
|
|
44
44
|
});
|
|
45
45
|
});
|
|
46
46
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
47
|
-
const AirwallexComponent = _airwallex.default
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
const AirwallexComponent = Object.assign(_airwallex.default, {
|
|
48
|
+
Button: _airwallexButton.default,
|
|
49
|
+
Popup: _airwallexPopup.default,
|
|
50
|
+
Modal: _airwallexModal.default
|
|
51
|
+
});
|
|
51
52
|
var _default = exports.default = AirwallexComponent;
|
package/dist/lib/Alipay/index.js
CHANGED
|
@@ -36,7 +36,8 @@ Object.keys(_interface).forEach(function (key) {
|
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
39
|
-
const AlipayComponent = _alipay.default
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
const AlipayComponent = Object.assign(_alipay.default, {
|
|
40
|
+
Button: _alipayButton.default,
|
|
41
|
+
Modal: _alipayModal.default
|
|
42
|
+
});
|
|
42
43
|
var _default = exports.default = AlipayComponent;
|
|
@@ -28,6 +28,7 @@ Object.keys(_interface).forEach(function (key) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
31
|
-
const MAlipayComponent = _mAlipayAutoSubmit.default
|
|
32
|
-
|
|
31
|
+
const MAlipayComponent = Object.assign(_mAlipayAutoSubmit.default, {
|
|
32
|
+
Button: _mAlipayButton.default
|
|
33
|
+
});
|
|
33
34
|
var _default = exports.default = MAlipayComponent;
|
package/dist/lib/Stripe/index.js
CHANGED
|
@@ -44,8 +44,9 @@ Object.keys(_interface).forEach(function (key) {
|
|
|
44
44
|
});
|
|
45
45
|
});
|
|
46
46
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
47
|
-
const StripeComponent = _stripe.default
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
const StripeComponent = Object.assign(_stripe.default, {
|
|
48
|
+
Button: _stripeButton.default,
|
|
49
|
+
Popup: _stripePopup.default,
|
|
50
|
+
Modal: _stripeModal.default
|
|
51
|
+
});
|
|
52
|
+
var _default = exports.default = StripeComponent;
|
package/dist/lib/Wechat/index.js
CHANGED
|
@@ -36,7 +36,8 @@ Object.keys(_interface).forEach(function (key) {
|
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
39
|
-
const WechatComponent = _wechat.default
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
const WechatComponent = Object.assign(_wechat.default, {
|
|
40
|
+
Button: _wechatButton.default,
|
|
41
|
+
Modal: _wechatModal.default
|
|
42
|
+
});
|
|
42
43
|
var _default = exports.default = WechatComponent;
|
package/dist/lib/index.js
CHANGED
|
@@ -4,32 +4,64 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
-
PaypalButton: true,
|
|
8
7
|
Stripe: true,
|
|
9
8
|
Airwallex: true,
|
|
10
|
-
PayssionButton: true,
|
|
11
|
-
MWechatButton: true,
|
|
12
9
|
MAlipay: true,
|
|
13
10
|
Alipay: true,
|
|
14
11
|
Wechat: true,
|
|
12
|
+
PaypalButton: true,
|
|
13
|
+
StripeButton: true,
|
|
14
|
+
StripePopup: true,
|
|
15
|
+
StripeModal: true,
|
|
16
|
+
AirwallexButton: true,
|
|
17
|
+
AirwallexPopup: true,
|
|
18
|
+
AirwallexModal: true,
|
|
19
|
+
PayssionButton: true,
|
|
20
|
+
MWechatButton: true,
|
|
21
|
+
MAlipayButton: true,
|
|
22
|
+
AlipayButton: true,
|
|
23
|
+
AlipayModal: true,
|
|
24
|
+
WechatButton: true,
|
|
25
|
+
WechatModal: true,
|
|
15
26
|
PayButton: true
|
|
16
27
|
};
|
|
17
|
-
|
|
28
|
+
exports.Airwallex = void 0;
|
|
29
|
+
Object.defineProperty(exports, "AirwallexButton", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return _Airwallex.AirwallexButton;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "AirwallexModal", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () {
|
|
38
|
+
return _Airwallex.AirwallexModal;
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "AirwallexPopup", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () {
|
|
44
|
+
return _Airwallex.AirwallexPopup;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
exports.Alipay = void 0;
|
|
48
|
+
Object.defineProperty(exports, "AlipayButton", {
|
|
18
49
|
enumerable: true,
|
|
19
50
|
get: function () {
|
|
20
|
-
return
|
|
51
|
+
return _Alipay.AlipayButton;
|
|
21
52
|
}
|
|
22
53
|
});
|
|
23
|
-
Object.defineProperty(exports, "
|
|
54
|
+
Object.defineProperty(exports, "AlipayModal", {
|
|
24
55
|
enumerable: true,
|
|
25
56
|
get: function () {
|
|
26
|
-
return _Alipay.
|
|
57
|
+
return _Alipay.AlipayModal;
|
|
27
58
|
}
|
|
28
59
|
});
|
|
29
|
-
|
|
60
|
+
exports.MAlipay = void 0;
|
|
61
|
+
Object.defineProperty(exports, "MAlipayButton", {
|
|
30
62
|
enumerable: true,
|
|
31
63
|
get: function () {
|
|
32
|
-
return _MAlipay.
|
|
64
|
+
return _MAlipay.MAlipayButton;
|
|
33
65
|
}
|
|
34
66
|
});
|
|
35
67
|
Object.defineProperty(exports, "MWechatButton", {
|
|
@@ -56,26 +88,46 @@ Object.defineProperty(exports, "PayssionButton", {
|
|
|
56
88
|
return _Payssion.PayssionButton;
|
|
57
89
|
}
|
|
58
90
|
});
|
|
59
|
-
|
|
91
|
+
exports.Stripe = void 0;
|
|
92
|
+
Object.defineProperty(exports, "StripeButton", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () {
|
|
95
|
+
return _Stripe.StripeButton;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "StripeModal", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return _Stripe.StripeModal;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "StripePopup", {
|
|
60
105
|
enumerable: true,
|
|
61
106
|
get: function () {
|
|
62
|
-
return _Stripe.
|
|
107
|
+
return _Stripe.StripePopup;
|
|
63
108
|
}
|
|
64
109
|
});
|
|
65
|
-
|
|
110
|
+
exports.Wechat = void 0;
|
|
111
|
+
Object.defineProperty(exports, "WechatButton", {
|
|
66
112
|
enumerable: true,
|
|
67
113
|
get: function () {
|
|
68
|
-
return _Wechat.
|
|
114
|
+
return _Wechat.WechatButton;
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "WechatModal", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () {
|
|
120
|
+
return _Wechat.WechatModal;
|
|
69
121
|
}
|
|
70
122
|
});
|
|
71
123
|
var _Paypal = require("./Paypal");
|
|
72
|
-
var _Stripe =
|
|
73
|
-
var _Airwallex =
|
|
124
|
+
var _Stripe = _interopRequireWildcard(require("./Stripe"));
|
|
125
|
+
var _Airwallex = _interopRequireWildcard(require("./Airwallex"));
|
|
74
126
|
var _Payssion = require("./Payssion");
|
|
75
127
|
var _MWeChat = require("./MWeChat");
|
|
76
|
-
var _MAlipay =
|
|
77
|
-
var _Alipay =
|
|
78
|
-
var _Wechat =
|
|
128
|
+
var _MAlipay = _interopRequireWildcard(require("./MAlipay"));
|
|
129
|
+
var _Alipay = _interopRequireWildcard(require("./Alipay"));
|
|
130
|
+
var _Wechat = _interopRequireWildcard(require("./Wechat"));
|
|
79
131
|
var _PayButton = _interopRequireDefault(require("./PayButton"));
|
|
80
132
|
var _shared = require("./shared");
|
|
81
133
|
Object.keys(_shared).forEach(function (key) {
|
|
@@ -89,4 +141,26 @@ Object.keys(_shared).forEach(function (key) {
|
|
|
89
141
|
}
|
|
90
142
|
});
|
|
91
143
|
});
|
|
92
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
144
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
145
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
146
|
+
const Stripe = exports.Stripe = Object.assign(_Stripe.default, {
|
|
147
|
+
Button: _Stripe.StripeButton,
|
|
148
|
+
Popup: _Stripe.StripePopup,
|
|
149
|
+
Modal: _Stripe.StripeModal
|
|
150
|
+
});
|
|
151
|
+
const Airwallex = exports.Airwallex = Object.assign(_Airwallex.default, {
|
|
152
|
+
Button: _Airwallex.AirwallexButton,
|
|
153
|
+
Popup: _Airwallex.AirwallexPopup,
|
|
154
|
+
Modal: _Airwallex.AirwallexModal
|
|
155
|
+
});
|
|
156
|
+
const MAlipay = exports.MAlipay = Object.assign(_MAlipay.default, {
|
|
157
|
+
Button: _MAlipay.MAlipayButton
|
|
158
|
+
});
|
|
159
|
+
const Alipay = exports.Alipay = Object.assign(_Alipay.default, {
|
|
160
|
+
Button: _Alipay.AlipayButton,
|
|
161
|
+
Modal: _Alipay.AlipayModal
|
|
162
|
+
});
|
|
163
|
+
const Wechat = exports.Wechat = Object.assign(_Wechat.default, {
|
|
164
|
+
Button: _Wechat.WechatButton,
|
|
165
|
+
Modal: _Wechat.WechatModal
|
|
166
|
+
});
|