@alipay/ams-checkout 0.0.1720423407-dev.0 → 0.0.1720509876-dev.0
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/umd/ams-checkout.min.js +1 -1
- package/esm/config/index.d.ts +1 -0
- package/esm/config/index.js +8 -0
- package/esm/core/component/index.d.ts +1 -1
- package/esm/core/component/index.js +14 -6
- package/esm/index.d.ts +3 -3
- package/esm/index.js +24 -24
- package/esm/plugin/component/cashierApp.d.ts +3 -3
- package/esm/plugin/component/cashierApp.js +13 -3
- package/esm/plugin/component/component.popup.style.d.ts +1 -0
- package/esm/plugin/component/component.popup.style.js +3 -0
- package/esm/plugin/component/index.js +54 -68
- package/esm/plugin/payment-element/utils.d.ts +2 -0
- package/esm/plugin/payment-element/utils.js +6 -0
- package/esm/plugin/paypal/index.js +1 -0
- package/esm/types/index.d.ts +10 -6
- package/esm/types/index.js +7 -2
- package/package.json +1 -1
package/esm/types/index.d.ts
CHANGED
@@ -40,6 +40,9 @@ export interface IcreatePaymentParams {
|
|
40
40
|
backgroundColor?: string;
|
41
41
|
};
|
42
42
|
}
|
43
|
+
export declare enum ComponentSignEnumV2 {
|
44
|
+
'ELEMENT_PAYMENT' = "ELEMENT_PAYMENT_ALL"
|
45
|
+
}
|
43
46
|
export declare enum componentSignEnum {
|
44
47
|
'EASY_PAY_WALLET' = "EASY_PAY_WALLET",
|
45
48
|
'EASY_PAY_APM' = "EASY_PAY_APM",
|
@@ -47,24 +50,25 @@ export declare enum componentSignEnum {
|
|
47
50
|
'CASHIER_PAYMENT_BANK' = "CASHIER_PAYMENT_BANK",
|
48
51
|
'CASHIER_PAYMENT_APM' = "CASHIER_PAYMENT_APM",
|
49
52
|
'AUTO_DEBIT_WALLET' = "AUTO_DEBIT_WALLET",
|
50
|
-
'AUTO_DEBIT_PAY_WALLET' = "AUTO_DEBIT_PAY_WALLET",
|
51
53
|
'NONE' = "NONE",
|
52
|
-
'VAULTING_CARD' = "VAULTING_CARD"
|
54
|
+
'VAULTING_CARD' = "VAULTING_CARD",
|
55
|
+
'ELEMENT_PAYMENT' = "ELEMENT_PAYMENT_ALL"
|
53
56
|
}
|
54
57
|
export declare enum productSceneEnum {
|
55
58
|
'EASY_PAY' = "EASY_PAY",
|
56
59
|
'CASHIER_PAYMENT' = "CASHIER_PAYMENT",
|
57
60
|
'AUTO_DEBIT' = "AUTO_DEBIT",
|
58
|
-
'AUTO_DEBIT_PAY' = "AUTO_DEBIT_PAY",
|
59
61
|
'VAULTING' = "VAULTING",
|
60
62
|
'FLASH_BUY' = "FLASH_BUY",
|
61
|
-
'CARD_APPLE_PAY' = "CARD_APPLE_PAY"
|
63
|
+
'CARD_APPLE_PAY' = "CARD_APPLE_PAY",
|
64
|
+
'ELEMENT_PAYMENT' = "ELEMENT_PAYMENT"
|
62
65
|
}
|
63
66
|
export declare enum paymentMethodCategoryTypeEnum {
|
64
67
|
'CARD' = "CARD",
|
65
68
|
'WALLET' = "WALLET",
|
66
69
|
'BANK' = "BANK",
|
67
|
-
'APM' = "APM"
|
70
|
+
'APM' = "APM",
|
71
|
+
'ALL' = "ALL"
|
68
72
|
}
|
69
73
|
export interface DeviceIdParameter {
|
70
74
|
scene?: string;
|
@@ -117,7 +121,7 @@ export interface Isubmit {
|
|
117
121
|
}
|
118
122
|
export interface IpaymentSessionConfig {
|
119
123
|
productScene: productSceneEnum;
|
120
|
-
paymentMethodCategoryType
|
124
|
+
paymentMethodCategoryType?: paymentMethodCategoryTypeEnum;
|
121
125
|
productSceneVersion: string;
|
122
126
|
}
|
123
127
|
export interface IpaymentSecurityConfig {
|
package/esm/types/index.js
CHANGED
@@ -15,6 +15,10 @@ export var renderDisplayTypeEnum = /*#__PURE__*/function (renderDisplayTypeEnum)
|
|
15
15
|
renderDisplayTypeEnum["inline"] = "inline";
|
16
16
|
return renderDisplayTypeEnum;
|
17
17
|
}({});
|
18
|
+
export var ComponentSignEnumV2 = /*#__PURE__*/function (ComponentSignEnumV2) {
|
19
|
+
ComponentSignEnumV2["ELEMENT_PAYMENT"] = "ELEMENT_PAYMENT_ALL";
|
20
|
+
return ComponentSignEnumV2;
|
21
|
+
}({});
|
18
22
|
export var componentSignEnum = /*#__PURE__*/function (componentSignEnum) {
|
19
23
|
componentSignEnum["EASY_PAY_WALLET"] = "EASY_PAY_WALLET";
|
20
24
|
componentSignEnum["EASY_PAY_APM"] = "EASY_PAY_APM";
|
@@ -22,19 +26,19 @@ export var componentSignEnum = /*#__PURE__*/function (componentSignEnum) {
|
|
22
26
|
componentSignEnum["CASHIER_PAYMENT_BANK"] = "CASHIER_PAYMENT_BANK";
|
23
27
|
componentSignEnum["CASHIER_PAYMENT_APM"] = "CASHIER_PAYMENT_APM";
|
24
28
|
componentSignEnum["AUTO_DEBIT_WALLET"] = "AUTO_DEBIT_WALLET";
|
25
|
-
componentSignEnum["AUTO_DEBIT_PAY_WALLET"] = "AUTO_DEBIT_PAY_WALLET";
|
26
29
|
componentSignEnum["NONE"] = "NONE";
|
27
30
|
componentSignEnum["VAULTING_CARD"] = "VAULTING_CARD";
|
31
|
+
componentSignEnum["ELEMENT_PAYMENT"] = "ELEMENT_PAYMENT_ALL";
|
28
32
|
return componentSignEnum;
|
29
33
|
}({});
|
30
34
|
export var productSceneEnum = /*#__PURE__*/function (productSceneEnum) {
|
31
35
|
productSceneEnum["EASY_PAY"] = "EASY_PAY";
|
32
36
|
productSceneEnum["CASHIER_PAYMENT"] = "CASHIER_PAYMENT";
|
33
37
|
productSceneEnum["AUTO_DEBIT"] = "AUTO_DEBIT";
|
34
|
-
productSceneEnum["AUTO_DEBIT_PAY"] = "AUTO_DEBIT_PAY";
|
35
38
|
productSceneEnum["VAULTING"] = "VAULTING";
|
36
39
|
productSceneEnum["FLASH_BUY"] = "FLASH_BUY";
|
37
40
|
productSceneEnum["CARD_APPLE_PAY"] = "CARD_APPLE_PAY";
|
41
|
+
productSceneEnum["ELEMENT_PAYMENT"] = "ELEMENT_PAYMENT";
|
38
42
|
return productSceneEnum;
|
39
43
|
}({});
|
40
44
|
export var paymentMethodCategoryTypeEnum = /*#__PURE__*/function (paymentMethodCategoryTypeEnum) {
|
@@ -42,6 +46,7 @@ export var paymentMethodCategoryTypeEnum = /*#__PURE__*/function (paymentMethodC
|
|
42
46
|
paymentMethodCategoryTypeEnum["WALLET"] = "WALLET";
|
43
47
|
paymentMethodCategoryTypeEnum["BANK"] = "BANK";
|
44
48
|
paymentMethodCategoryTypeEnum["APM"] = "APM";
|
49
|
+
paymentMethodCategoryTypeEnum["ALL"] = "ALL";
|
45
50
|
return paymentMethodCategoryTypeEnum;
|
46
51
|
}({});
|
47
52
|
export var payPalConfigurationIntentEnum = /*#__PURE__*/function (payPalConfigurationIntentEnum) {
|