@alipay/ams-checkout 1.23.0 → 1.25.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/component/channel.d.ts +19 -0
- package/esm/component/channel.js +87 -0
- package/esm/component/component.inline.style.d.ts +10 -0
- package/esm/component/component.inline.style.js +121 -0
- package/esm/component/component.popup.style.d.ts +23 -0
- package/esm/component/component.popup.style.js +190 -0
- package/esm/component/popupWindow.style.d.ts +11 -0
- package/esm/component/popupWindow.style.js +121 -0
- package/esm/config/index.d.ts +7 -7
- package/esm/config/index.js +10 -10
- package/esm/constant/index.d.ts +9 -5
- package/esm/constant/index.js +12 -78
- package/esm/core/component/ckp/index.js +6 -5
- package/esm/core/component/element/components/address.d.ts +19 -0
- package/esm/core/component/element/components/address.js +68 -0
- package/esm/core/component/element/components/auth.d.ts +17 -0
- package/esm/core/component/element/components/auth.js +60 -0
- package/esm/core/component/element/components/payment.d.ts +19 -0
- package/esm/core/component/element/components/payment.js +74 -0
- package/esm/core/component/element/index.d.ts +47 -0
- package/esm/core/component/element/index.js +816 -0
- package/esm/core/component/element/mock.d.ts +4 -0
- package/esm/core/component/element/mock.js +491 -0
- package/esm/core/component/element/type.d.ts +190 -0
- package/esm/core/component/element/type.js +35 -0
- package/esm/core/component/element/utils.d.ts +13 -0
- package/esm/core/component/element/utils.js +6 -0
- package/esm/core/component/index.d.ts +4 -4
- package/esm/core/component/index.js +14 -14
- package/esm/core/drop-in/index.js +2 -2
- package/esm/core/instance/index.js +9 -9
- package/esm/foundation/core/index.d.ts +26 -0
- package/esm/foundation/core/index.js +366 -0
- package/esm/foundation/index.d.ts +75 -0
- package/esm/foundation/index.js +42 -0
- package/esm/foundation/product-processor/easysafepay/deps.d.ts +18 -0
- package/esm/foundation/product-processor/easysafepay/deps.js +12 -0
- package/esm/foundation/product-processor/easysafepay/index.d.ts +26 -0
- package/esm/foundation/product-processor/easysafepay/index.js +463 -0
- package/esm/foundation/service/api-bus/ability/callback.d.ts +9 -0
- package/esm/foundation/service/api-bus/ability/callback.js +55 -0
- package/esm/foundation/service/api-bus/ability/globalData.d.ts +10 -0
- package/esm/foundation/service/api-bus/ability/globalData.js +89 -0
- package/esm/foundation/service/api-bus/ability/request.d.ts +10 -0
- package/esm/foundation/service/api-bus/ability/request.js +151 -0
- package/esm/foundation/service/api-bus/ability/security.d.ts +12 -0
- package/esm/foundation/service/api-bus/ability/security.js +161 -0
- package/esm/foundation/service/api-bus/ability/tracker.d.ts +9 -0
- package/esm/foundation/service/api-bus/ability/tracker.js +80 -0
- package/esm/foundation/service/api-bus/busManager.d.ts +127 -0
- package/esm/foundation/service/api-bus/busManager.js +398 -0
- package/esm/foundation/service/api-bus/index.d.ts +20 -0
- package/esm/foundation/service/api-bus/index.js +88 -0
- package/esm/foundation/service/api-bus/interface.d.ts +48 -0
- package/esm/foundation/service/api-bus/interface.js +54 -0
- package/esm/foundation/service/container/index.d.ts +30 -0
- package/esm/foundation/service/container/index.js +298 -0
- package/esm/foundation/service/container/popup.d.ts +17 -0
- package/esm/foundation/service/container/popup.js +103 -0
- package/esm/foundation/service/container/utils.d.ts +7 -0
- package/esm/foundation/service/container/utils.js +48 -0
- package/esm/foundation/service/event-center.d.ts +76 -0
- package/esm/foundation/service/event-center.js +243 -0
- package/esm/foundation/service/global-data/index.d.ts +11 -0
- package/esm/foundation/service/global-data/index.js +68 -0
- package/esm/foundation/service/index.d.ts +19 -0
- package/esm/foundation/service/index.js +82 -0
- package/esm/foundation/service/log/index.d.ts +43 -0
- package/esm/foundation/service/log/index.js +235 -0
- package/esm/foundation/service/log/types.d.ts +32 -0
- package/esm/foundation/service/log/types.js +1 -0
- package/esm/foundation/service/requester/deps.d.ts +17 -0
- package/esm/foundation/service/requester/deps.js +11 -0
- package/esm/foundation/service/requester/requester.d.ts +22 -0
- package/esm/foundation/service/requester/requester.js +214 -0
- package/esm/foundation/service/security/index.d.ts +28 -0
- package/esm/foundation/service/security/index.js +286 -0
- package/esm/foundation/service/security/security.d.ts +33 -0
- package/esm/foundation/service/security/security.js +182 -0
- package/esm/foundation/utils/gray_scale_utils.d.ts +7 -0
- package/esm/foundation/utils/gray_scale_utils.js +40 -0
- package/esm/foundation/utils/payment_context_utils.d.ts +13 -0
- package/esm/foundation/utils/payment_context_utils.js +57 -0
- package/esm/foundation/utils/payment_product_utils.d.ts +13 -0
- package/esm/foundation/utils/payment_product_utils.js +38 -0
- package/esm/foundation/utils/redirect_utils.d.ts +11 -0
- package/esm/foundation/utils/redirect_utils.js +263 -0
- package/esm/foundation/utils/system_events.d.ts +4 -0
- package/esm/foundation/utils/system_events.js +66 -0
- package/esm/foundation/utils/web_app_url_utils.d.ts +46 -0
- package/esm/foundation/utils/web_app_url_utils.js +112 -0
- package/esm/index.d.ts +12 -6
- package/esm/index.js +75 -64
- package/esm/plugin/applepay/component.js +3 -3
- package/esm/plugin/applepay/service.d.ts +2 -2
- package/esm/plugin/applepay/service.js +2 -2
- package/esm/plugin/component/cashierApp.d.ts +7 -5
- package/esm/plugin/component/cashierApp.js +15 -8
- package/esm/plugin/component/channel.d.ts +4 -4
- package/esm/plugin/component/component.inline.style.d.ts +4 -4
- package/esm/plugin/component/component.inline.style.js +10 -8
- package/esm/plugin/component/component.popup.style.d.ts +6 -6
- package/esm/plugin/component/component.popup.style.js +6 -6
- package/esm/plugin/component/index.d.ts +8 -7
- package/esm/plugin/component/index.js +160 -103
- package/esm/plugin/const.js +5 -5
- package/esm/plugin/drop-in/index.d.ts +5 -5
- package/esm/plugin/drop-in/index.js +7 -7
- package/esm/plugin/type.d.ts +3 -3
- package/esm/service/element.d.ts +4 -0
- package/esm/service/element.js +51 -0
- package/esm/service/index.d.ts +1 -0
- package/esm/service/index.js +2 -0
- package/esm/types/index.d.ts +247 -39
- package/esm/types/index.js +109 -59
- package/esm/util/createIframeNode.d.ts +2 -2
- package/esm/util/createIframeNode.js +3 -3
- package/esm/util/getBackScheme.js +95 -3
- package/esm/util/security.d.ts +2 -2
- package/esm/util/security.js +2 -2
- package/package.json +2 -1
- package/esm/util/ua/index.d.ts +0 -2
- package/esm/util/ua/index.js +0 -2
- package/esm/util/ua/isAndroid.d.ts +0 -4
- package/esm/util/ua/isAndroid.js +0 -7
- package/esm/util/ua/isIOS.d.ts +0 -4
- package/esm/util/ua/isIOS.js +0 -7
@@ -0,0 +1,491 @@
|
|
1
|
+
export var sdkAction = {
|
2
|
+
accountInfo: {
|
3
|
+
accountStatus: 'EFFECTIVE',
|
4
|
+
email: 'test10@test.com'
|
5
|
+
},
|
6
|
+
amountConfirmRequired: false,
|
7
|
+
autoDebitWithToken: false,
|
8
|
+
errorActions: {},
|
9
|
+
extendInfo: {},
|
10
|
+
links: {
|
11
|
+
privacyLink: 'https://render.alipay.com/p/c/180021490000000150/index.html?agreementId=GL00100002',
|
12
|
+
cookieLink: 'https://render.alipay.com/p/c/180021490000000147/index.html?agreementId=GL00100001'
|
13
|
+
},
|
14
|
+
needInstallmentAbility: false,
|
15
|
+
needOtherElements: true,
|
16
|
+
openPopPaymentRetryAbility: 'Y',
|
17
|
+
orderAmount: {
|
18
|
+
amount: '289.86',
|
19
|
+
currency: 'USD',
|
20
|
+
currencyLabel: 'US $',
|
21
|
+
formattedAmount: '289.86',
|
22
|
+
formattedAmountWithCurrency: 'US $289.86',
|
23
|
+
value: '28986'
|
24
|
+
},
|
25
|
+
orderAmountView: {
|
26
|
+
currency: 'USD',
|
27
|
+
currencyDivider: ' ',
|
28
|
+
currencyLabel: '$',
|
29
|
+
currencySymbolPosition: 'L',
|
30
|
+
formattedValue: '289.86',
|
31
|
+
value: '289.86'
|
32
|
+
},
|
33
|
+
paymentAmount: {
|
34
|
+
amount: '289.86',
|
35
|
+
currency: 'USD',
|
36
|
+
currencyLabel: 'US $',
|
37
|
+
formattedAmount: '289.86',
|
38
|
+
formattedAmountWithCurrency: 'US $289.86',
|
39
|
+
value: '28986'
|
40
|
+
},
|
41
|
+
paymentAmountView: {
|
42
|
+
currency: 'USD',
|
43
|
+
currencyDivider: ' ',
|
44
|
+
currencyLabel: '$',
|
45
|
+
currencySymbolPosition: 'L',
|
46
|
+
formattedValue: '289.86',
|
47
|
+
value: '289.86'
|
48
|
+
},
|
49
|
+
paymentMethods: [{
|
50
|
+
antomPage: 'paymentMetaPage',
|
51
|
+
category: 'CARD',
|
52
|
+
expressCheckout: false,
|
53
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/07/15/c77c0d3d-a3d0-48ad-8a40-cb3e777a2608.svg',
|
54
|
+
iconName: 'Card',
|
55
|
+
links: [],
|
56
|
+
logoList: [{
|
57
|
+
cardBrand: 'VISA',
|
58
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/7/2/fb4ab30f-8f49-4632-8bb1-fd64b2f21861.svg'
|
59
|
+
}, {
|
60
|
+
cardBrand: 'MASTERCARD',
|
61
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/05/15/e9fc0f9a-14cb-4c32-9039-a746afa1a815.svg'
|
62
|
+
}, {
|
63
|
+
cardBrand: 'CARTEBANCAIRE',
|
64
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/2/23/dc4e43c8-0de1-421b-92b2-3c85f5f5a209.svg'
|
65
|
+
}],
|
66
|
+
paymentElements: [{
|
67
|
+
defaultValue: '',
|
68
|
+
elementMandatory: false,
|
69
|
+
elementType: 'DIGIT_32',
|
70
|
+
extendInfo: '{"needOtherElements":true,"isTempTokenization":"true"}',
|
71
|
+
paymentElementKey: 'paymentMethodId',
|
72
|
+
subPaymentElementView: [{
|
73
|
+
defaultText: 'Card number',
|
74
|
+
defaultValue: '',
|
75
|
+
elementMandatory: true,
|
76
|
+
elementRegx: '^\\d{14,19}$',
|
77
|
+
elementType: 'DIGIT_18',
|
78
|
+
extendInfo: '{"completeKey":"cc-number"}',
|
79
|
+
paramIllegalText: 'Enter a valid 14- to 19-digit card number.',
|
80
|
+
paymentElementKey: 'cardNo',
|
81
|
+
title: 'Enter card number',
|
82
|
+
validateFunction: '^\\d{14,19}$'
|
83
|
+
}, {
|
84
|
+
defaultText: 'Exp date (MM/YY)',
|
85
|
+
defaultValue: '',
|
86
|
+
elementMandatory: true,
|
87
|
+
elementType: 'DIGIT_4',
|
88
|
+
extendInfo: '{"completeKey":"cc-exp"}',
|
89
|
+
isPart: 'true',
|
90
|
+
paramIllegalText: 'Enter a valid expiry date.',
|
91
|
+
paymentElementKey: 'expiryYear'
|
92
|
+
}, {
|
93
|
+
defaultText: 'Exp date (MM/YY)',
|
94
|
+
defaultValue: '',
|
95
|
+
elementMandatory: true,
|
96
|
+
elementType: 'DIGIT_4',
|
97
|
+
extendInfo: '{"completeKey":"cc-exp"}',
|
98
|
+
isPart: 'true',
|
99
|
+
paramIllegalText: 'Enter a valid expiry date.',
|
100
|
+
paymentElementKey: 'expiryMonth'
|
101
|
+
}, {
|
102
|
+
defaultText: 'CVV',
|
103
|
+
defaultValue: '',
|
104
|
+
elementMandatory: true,
|
105
|
+
elementRegx: '^\\d{3,4}$',
|
106
|
+
elementType: 'TEXT',
|
107
|
+
extendInfo: '{}',
|
108
|
+
isPartEnd: 'true',
|
109
|
+
paramIllegalText: 'Enter a valid 3- or 4-digit CVV number.',
|
110
|
+
paymentElementKey: 'cardCVV',
|
111
|
+
validateFunction: '^\\d{3,4}$'
|
112
|
+
}, {
|
113
|
+
defaultText: 'Name on card',
|
114
|
+
defaultValue: '',
|
115
|
+
elementMandatory: true,
|
116
|
+
elementRegx: '^[\\w\\s]{1,128}$',
|
117
|
+
elementType: 'TEXT',
|
118
|
+
extendInfo: '{"completeKey":"cc-name"}',
|
119
|
+
paramIllegalText: 'Enter cardholder name as displayed on the card.',
|
120
|
+
paymentElementKey: 'cardHolderName',
|
121
|
+
validateFunction: '^[\\w\\s]{1,128}$'
|
122
|
+
}],
|
123
|
+
title: 'Card information'
|
124
|
+
}],
|
125
|
+
paymentMethod: 'CARD',
|
126
|
+
paymentMethodName: 'Card',
|
127
|
+
paymentMethodType: 'CARD',
|
128
|
+
recommend: false,
|
129
|
+
webRedirectType: 'PAGE_REFRESH'
|
130
|
+
}, {
|
131
|
+
antomPage: 'paymentMetaPage',
|
132
|
+
category: 'AC_WALLET',
|
133
|
+
expressCheckout: false,
|
134
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/8c2df293-4ff8-4a1c-bd39-457c26937acb.svg',
|
135
|
+
iconName: 'Rabbit LINE Pay',
|
136
|
+
interActionType: 'REDIRECT',
|
137
|
+
paymentMethodName: 'Rabbit LINE Pay',
|
138
|
+
paymentMethodType: 'RABBIT_LINE_PAY',
|
139
|
+
recommend: false,
|
140
|
+
webRedirectType: 'PAGE_REFRESH'
|
141
|
+
}, {
|
142
|
+
antomPage: 'paymentMetaPage',
|
143
|
+
category: 'AC_WALLET',
|
144
|
+
expressCheckout: false,
|
145
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/72aa8973-7638-4f3f-b657-7af0ae02e6cf.svg',
|
146
|
+
iconName: 'BPI',
|
147
|
+
interActionType: 'REDIRECT',
|
148
|
+
paymentMethodName: 'BPI',
|
149
|
+
paymentMethodType: 'BPI',
|
150
|
+
recommend: false,
|
151
|
+
webRedirectType: 'PAGE_REFRESH'
|
152
|
+
}, {
|
153
|
+
antomPage: 'paymentMetaPage',
|
154
|
+
category: 'AC_WALLET',
|
155
|
+
expressCheckout: true,
|
156
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/5b829130-42d9-46e7-a23d-6774f7352900.svg',
|
157
|
+
iconName: 'Alipay',
|
158
|
+
interActionType: 'REDIRECT',
|
159
|
+
paymentMethodName: 'Alipay',
|
160
|
+
paymentMethodType: 'ALIPAY_CN',
|
161
|
+
recommend: false,
|
162
|
+
webRedirectType: 'PAGE_REFRESH'
|
163
|
+
}, {
|
164
|
+
antomPage: 'paymentMetaPage',
|
165
|
+
category: 'AC_WALLET',
|
166
|
+
expressCheckout: false,
|
167
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/ed012d1a-06c4-4606-a493-0d81ead685b6.svg',
|
168
|
+
iconName: 'Akulaku PayLater',
|
169
|
+
interActionType: 'REDIRECT',
|
170
|
+
paymentMethodName: 'Akulaku PayLater PH',
|
171
|
+
paymentMethodType: 'AKULAKU_PAYLATER_PH',
|
172
|
+
recommend: false,
|
173
|
+
webRedirectType: 'PAGE_REFRESH'
|
174
|
+
}, {
|
175
|
+
antomPage: 'paymentMetaPage',
|
176
|
+
category: 'AC_WALLET',
|
177
|
+
expressCheckout: false,
|
178
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/ed012d1a-06c4-4606-a493-0d81ead685b6.svg',
|
179
|
+
iconName: 'Akulaku PayLater',
|
180
|
+
interActionType: 'REDIRECT',
|
181
|
+
paymentMethodName: 'Akulaku PayLater',
|
182
|
+
paymentMethodType: 'AKULAKU_PAYLATER',
|
183
|
+
recommend: false,
|
184
|
+
webRedirectType: 'PAGE_REFRESH'
|
185
|
+
}, {
|
186
|
+
antomPage: 'paymentMetaPage',
|
187
|
+
category: 'AC_WALLET',
|
188
|
+
expressCheckout: false,
|
189
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/fcf9ba5e-b2b4-4c33-a041-f21bcf1539e4.svg',
|
190
|
+
iconName: 'BillEase',
|
191
|
+
interActionType: 'REDIRECT',
|
192
|
+
paymentMethodName: 'BILLEASE',
|
193
|
+
paymentMethodType: 'BILLEASE',
|
194
|
+
recommend: false,
|
195
|
+
webRedirectType: 'PAGE_REFRESH'
|
196
|
+
}, {
|
197
|
+
antomPage: 'paymentMetaPage',
|
198
|
+
category: 'AC_WALLET',
|
199
|
+
expressCheckout: false,
|
200
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/dfcedf07-3135-49b6-9e39-6ab89b5ba5a1.svg',
|
201
|
+
iconName: 'Kredivo',
|
202
|
+
interActionType: 'REDIRECT',
|
203
|
+
paymentMethodName: 'KREDIVO',
|
204
|
+
paymentMethodType: 'KREDIVO_ID',
|
205
|
+
recommend: false,
|
206
|
+
webRedirectType: 'PAGE_REFRESH'
|
207
|
+
}, {
|
208
|
+
antomPage: 'paymentMetaPage',
|
209
|
+
category: 'AC_WALLET',
|
210
|
+
expressCheckout: false,
|
211
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/6c7baedf-cb9e-47b1-8c2e-d2477b0d3018.svg',
|
212
|
+
iconName: 'Toss Pay',
|
213
|
+
interActionType: 'REDIRECT',
|
214
|
+
paymentMethodName: 'Toss Pay',
|
215
|
+
paymentMethodType: 'TOSSPAY',
|
216
|
+
recommend: false,
|
217
|
+
webRedirectType: 'PAGE_REFRESH'
|
218
|
+
}, {
|
219
|
+
antomPage: 'paymentMetaPage',
|
220
|
+
category: 'AC_WALLET',
|
221
|
+
expressCheckout: false,
|
222
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/89c1063e-c7d3-4b60-82a0-6e4c40426612.svg',
|
223
|
+
iconName: 'Kakao Pay',
|
224
|
+
interActionType: 'REDIRECT',
|
225
|
+
paymentMethodName: 'KAKAOPAY',
|
226
|
+
paymentMethodType: 'KAKAOPAY',
|
227
|
+
recommend: false,
|
228
|
+
webRedirectType: 'PAGE_REFRESH'
|
229
|
+
}, {
|
230
|
+
antomPage: 'paymentMetaPage',
|
231
|
+
category: 'AC_WALLET',
|
232
|
+
expressCheckout: false,
|
233
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/46ac203c-21fd-4feb-80c6-fd19faf1a9b7.svg',
|
234
|
+
iconName: 'GCash',
|
235
|
+
interActionType: 'REDIRECT',
|
236
|
+
paymentMethodName: 'GCash',
|
237
|
+
paymentMethodType: 'GCASH',
|
238
|
+
recommend: false,
|
239
|
+
webRedirectType: 'PAGE_REFRESH'
|
240
|
+
}, {
|
241
|
+
antomPage: 'paymentMetaPage',
|
242
|
+
category: 'AC_WALLET',
|
243
|
+
expressCheckout: false,
|
244
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/8409ec96-3153-4d31-9bcb-a6b60f6ce11f.svg',
|
245
|
+
iconName: 'Boost',
|
246
|
+
interActionType: 'REDIRECT',
|
247
|
+
paymentMethodName: 'Boost',
|
248
|
+
paymentMethodType: 'BOOST',
|
249
|
+
recommend: false,
|
250
|
+
webRedirectType: 'PAGE_REFRESH'
|
251
|
+
}, {
|
252
|
+
antomPage: 'paymentMetaPage',
|
253
|
+
category: 'AC_WALLET',
|
254
|
+
expressCheckout: false,
|
255
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/dd81e7d9-d845-434e-95b8-87b726d44aa4.svg',
|
256
|
+
iconName: 'DOKU',
|
257
|
+
interActionType: 'REDIRECT',
|
258
|
+
paymentMethodName: 'DOKU',
|
259
|
+
paymentMethodType: 'DOKU',
|
260
|
+
recommend: false,
|
261
|
+
webRedirectType: 'PAGE_REFRESH'
|
262
|
+
}, {
|
263
|
+
antomPage: 'paymentMetaPage',
|
264
|
+
category: 'AC_WALLET',
|
265
|
+
expressCheckout: false,
|
266
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/2ec693a8-2c42-4efe-8acd-efdeeabd3210.svg',
|
267
|
+
iconName: 'K PLUS',
|
268
|
+
interActionType: 'REDIRECT',
|
269
|
+
paymentMethodName: 'KPLUS',
|
270
|
+
paymentMethodType: 'KPLUS',
|
271
|
+
recommend: false,
|
272
|
+
webRedirectType: 'PAGE_REFRESH'
|
273
|
+
}, {
|
274
|
+
antomPage: 'paymentMetaPage',
|
275
|
+
category: 'AC_WALLET',
|
276
|
+
expressCheckout: false,
|
277
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/82288753-bc33-4f4c-9c07-e54c5da5c8f8.svg',
|
278
|
+
iconName: "Touch'n Go eWallet",
|
279
|
+
interActionType: 'REDIRECT',
|
280
|
+
paymentMethodName: 'TNG',
|
281
|
+
paymentMethodType: 'TNG',
|
282
|
+
recommend: false,
|
283
|
+
webRedirectType: 'PAGE_REFRESH'
|
284
|
+
}, {
|
285
|
+
antomPage: 'paymentMetaPage',
|
286
|
+
category: 'AC_WALLET',
|
287
|
+
expressCheckout: false,
|
288
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/db94babb-71db-42c4-80be-a65de641631a.svg',
|
289
|
+
iconName: 'NAVER Pay',
|
290
|
+
interActionType: 'REDIRECT',
|
291
|
+
paymentMethodName: 'NAVER Pay',
|
292
|
+
paymentMethodType: 'NAVERPAY',
|
293
|
+
recommend: false,
|
294
|
+
webRedirectType: 'PAGE_REFRESH'
|
295
|
+
}, {
|
296
|
+
antomPage: 'paymentMetaPage',
|
297
|
+
category: 'AC_WALLET',
|
298
|
+
expressCheckout: false,
|
299
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/5b1ec246-b49f-4390-b356-3af2af5acf09.svg',
|
300
|
+
iconName: 'TrueMoney',
|
301
|
+
interActionType: 'REDIRECT',
|
302
|
+
paymentMethodName: 'TrueMoney Wallet',
|
303
|
+
paymentMethodType: 'TRUEMONEY',
|
304
|
+
recommend: false,
|
305
|
+
webRedirectType: 'PAGE_REFRESH'
|
306
|
+
}, {
|
307
|
+
antomPage: 'paymentMetaPage',
|
308
|
+
category: 'AC_WALLET',
|
309
|
+
expressCheckout: false,
|
310
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg',
|
311
|
+
iconName: 'AlipayHK',
|
312
|
+
interActionType: 'REDIRECT',
|
313
|
+
paymentMethodName: 'ALIPAY_HK',
|
314
|
+
paymentMethodType: 'ALIPAY_HK',
|
315
|
+
recommend: false,
|
316
|
+
webRedirectType: 'PAGE_REFRESH'
|
317
|
+
}, {
|
318
|
+
antomPage: 'paymentMetaPage',
|
319
|
+
category: 'AC_WALLET',
|
320
|
+
expressCheckout: false,
|
321
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/6148dd94-9d28-43d5-9073-c99bfb8e7ace.svg',
|
322
|
+
iconName: 'DANA',
|
323
|
+
interActionType: 'REDIRECT',
|
324
|
+
paymentMethodName: 'DANA',
|
325
|
+
paymentMethodType: 'DANA',
|
326
|
+
recommend: false,
|
327
|
+
webRedirectType: 'PAGE_REFRESH'
|
328
|
+
}],
|
329
|
+
redirectUrl: 'https://www.baidu.com',
|
330
|
+
savedPaymentMethods: [],
|
331
|
+
shippingInfo: {
|
332
|
+
shippingAddress: {
|
333
|
+
address1: "06 Raffles Place Cecil Marina People's Park",
|
334
|
+
address2: 'USD',
|
335
|
+
city: '',
|
336
|
+
region: 'SG',
|
337
|
+
state: '',
|
338
|
+
zipCode: '068898'
|
339
|
+
},
|
340
|
+
shippingFee: {
|
341
|
+
amount: '1.00',
|
342
|
+
currency: 'USD',
|
343
|
+
currencyLabel: 'US $',
|
344
|
+
formattedAmount: '1.00',
|
345
|
+
formattedAmountWithCurrency: 'US $1.00',
|
346
|
+
value: '100'
|
347
|
+
},
|
348
|
+
shippingFeeView: {
|
349
|
+
currency: 'USD',
|
350
|
+
currencyDivider: ' ',
|
351
|
+
currencyLabel: '$',
|
352
|
+
currencySymbolPosition: 'L',
|
353
|
+
formattedValue: '1.00',
|
354
|
+
value: '1.00'
|
355
|
+
},
|
356
|
+
shippingName: {
|
357
|
+
firstName: 'swd',
|
358
|
+
lastName: ''
|
359
|
+
},
|
360
|
+
shippingPhoneNo: '+651234571'
|
361
|
+
},
|
362
|
+
success: true
|
363
|
+
};
|
364
|
+
export var oneAccount = {
|
365
|
+
accountInfo: {
|
366
|
+
accountStatus: 'EFFECTIVE',
|
367
|
+
email: 'test10@test.com',
|
368
|
+
oneAccountId: '20241107190000000200000000000079939'
|
369
|
+
},
|
370
|
+
actionForm: {
|
371
|
+
challengeAutoTriggered: false,
|
372
|
+
challengeRetrySupported: true,
|
373
|
+
estimatedDuration: 0,
|
374
|
+
resendLeftTimes: 0
|
375
|
+
},
|
376
|
+
errorActions: {},
|
377
|
+
extendInfo: {},
|
378
|
+
paymentMethods: [],
|
379
|
+
shippings: [{
|
380
|
+
notes: '',
|
381
|
+
prefer: '1',
|
382
|
+
shippingAddress: {
|
383
|
+
address1: "06 Raffles Place Cecil Marina People's Park",
|
384
|
+
address2: 'USD',
|
385
|
+
city: '',
|
386
|
+
region: 'SG',
|
387
|
+
state: '',
|
388
|
+
zipCode: '068898'
|
389
|
+
},
|
390
|
+
shippingId: '20241109190000000600000000009947475',
|
391
|
+
shippingName: {
|
392
|
+
firstName: 'swd',
|
393
|
+
lastName: ''
|
394
|
+
},
|
395
|
+
shippingPhoneNo: '+651234571',
|
396
|
+
userId: '20241107190000000300000000010741992'
|
397
|
+
}],
|
398
|
+
success: true
|
399
|
+
};
|
400
|
+
export var paymentResult = {
|
401
|
+
success: true,
|
402
|
+
data: {
|
403
|
+
success: true,
|
404
|
+
data: {
|
405
|
+
paymentSessionData: 'y8YCw0/4HDCCF16rRvzkONkNdJkJuZmuZHZdDdekdqfEMzKn7ovplH0mL2gd4/h9rS/7yIwWdw2wA+eg7ydx9Q==&&SG&&188&&eyJhY3Rpb24iOnsibmVlZFZlcmlmeUFuZFJlc3VtZSI6ZmFsc2UsInNraXBTZGtRdWVyeSI6ZmFsc2V9LCJjbGllbnRJZCI6IjVKNVk5MjBMMlkySjZFMDIxODIiLCJjb25uZWN0RmFjdG9yIjp7ImVuYWJsZUNvbm5lY3QiOnRydWV9LCJleHRlbmRJbmZvIjoie1wiZXhwcmVzc0NoZWNrb3V0XCI6XCJmYWxzZVwiLFwidmVyc2lvbk1hcFwiOlwie1xcXCJ3ZWJcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fSxcXFwiaU9TXFxcIjp7XFxcIjEuMS4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjEuMFxcXCJ9LFxcXCIxLjIuMFxcXCI6e1xcXCJ0YXJnZXRXZWJWZXJpc29uXFxcIjpcXFwiMS4yLjBcXFwifX0sXFxcIkFuZHJvaWRcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fX1cIn0iLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiRUxFTUVOVF9QQVlNRU5UIiwicHJvZHVjdFNjZW5lVmVyc2lvbiI6IjEuMCJ9fQ==',
|
406
|
+
paymentSessionConfig: {
|
407
|
+
paymentMethodCategoryType: 'ALL',
|
408
|
+
productScene: 'ELEMENT_PAYMENT',
|
409
|
+
productSceneVersion: '1.0'
|
410
|
+
},
|
411
|
+
paymentMethod: {
|
412
|
+
paymentMethodType: 'CARD',
|
413
|
+
category: '',
|
414
|
+
paymentMethodDetail: {
|
415
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2022/9/26/dfd471f3-da7d-4ef1-8486-cfa4301045c6.svg',
|
416
|
+
cardBrand: 'VISA',
|
417
|
+
last4: '5914',
|
418
|
+
logoName: '**** ****5914'
|
419
|
+
}
|
420
|
+
},
|
421
|
+
paymentFactors: {
|
422
|
+
paymentMethodId: '20240715190000000400000002801015427',
|
423
|
+
paymentRedirectUrl: 'undefined/threed-page/index.html?sessionData=qv%2BMhtbdDKi7lGsorcg3h0SdB63hZsQlO0u5acUqsPL8cSDIEz%2FUDOlvezwHlDWQm%2F5RqaM%2FR9IZxWbuV58%2BnA%3D%3D%26%26SG%26%26188%26%26eyJhY3Rpb24iOnsibmVlZFZlcmlmeUFuZFJlc3VtZSI6ZmFsc2UsInNraXBTZGtRdWVyeSI6ZmFsc2V9LCJjbGllbnRJZCI6IjVKNVk5MjBMMlkySjZFMDIxODIiLCJjb25uZWN0RmFjdG9yIjp7ImVuYWJsZUNvbm5lY3QiOnRydWV9LCJleHRlbmRJbmZvIjoie1wiZXhwcmVzc0NoZWNrb3V0XCI6XCJmYWxzZVwiLFwidmVyc2lvbk1hcFwiOlwie1xcXCJ3ZWJcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fSxcXFwiaU9TXFxcIjp7XFxcIjEuMS4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjEuMFxcXCJ9LFxcXCIxLjIuMFxcXCI6e1xcXCJ0YXJnZXRXZWJWZXJpc29uXFxcIjpcXFwiMS4yLjBcXFwifX0sXFxcIkFuZHJvaWRcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fX1cIn0iLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiRUxFTUVOVF9QQVlNRU5UIiwicHJvZHVjdFNjZW5lVmVyc2lvbiI6IjEuMCJ9fQ%3D%3D&displayType=inline&locale=&instanceId=f84f56e3-35ca-450a-b9b5-de93ac752e0e&appMatched=false&analyticsEnabled=true&sdkVersion=1.21.0&refUrl=http%3A%2F%2Flocalhost%3A5174%2Fdemo%2Fsrc%2Fpages%2Fconnect-element-dev%2Findex.html%3Fenvironment%3Ddev%26_moreEnv%3Dtrue%26requestHost%3Dhttp%3A%2F%2Fimgs-9993.sggz00b.dl.alipaydev.com%2Fmgw.htm%26groupId%3DGROUP_20240816101823&_componentStartTime=1728642669250&isPreload=&hostSign=SG&requestHost=http%3A%2F%2Fimgs-9993.sggz00b.dl.alipaydev.com%2Fmgw.htm&groupId=GROUP_20240816101823&scene=callbackPage'
|
424
|
+
},
|
425
|
+
autofillConnectInfo: false
|
426
|
+
}
|
427
|
+
},
|
428
|
+
source: 'PAYMENT_ELEMENT',
|
429
|
+
target: 'CONTAINER_ELEMENT'
|
430
|
+
};
|
431
|
+
export var submitResult = {
|
432
|
+
"actionForm": {
|
433
|
+
"actionFormType": "RedirectActionForm",
|
434
|
+
"method": "GET",
|
435
|
+
"normalUrl": "https://open-sea.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=https%3A%2F%2Fglobal.alipay.com%2F281002040092rqa01k6Ed31LA96JETxv4IP8",
|
436
|
+
"redirectUrl": "https://open-sea.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=https%3A%2F%2Fglobal.alipay.com%2F281002040092rqa01k6Ed31LA96JETxv4IP8"
|
437
|
+
},
|
438
|
+
"codeFormViews": [{
|
439
|
+
"code": "https://global.alipay.com/281002040092rqa01k6Ed31LA96JETxv4IP8",
|
440
|
+
"codeExpireTime": "1732567070000",
|
441
|
+
"displayType": "QRCODE"
|
442
|
+
}],
|
443
|
+
"errorActions": {},
|
444
|
+
"extendInfo": {
|
445
|
+
"iconName": "AlipayHK",
|
446
|
+
"paymentRedirectUrl": "http://gol.alipay.net:8080/amsdemo/result?paymentRequestId=amsdmpay_20240410_143002_4shkjh123",
|
447
|
+
"icon": "https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg",
|
448
|
+
"paymentMethod": "ALIPAY_HK"
|
449
|
+
},
|
450
|
+
"orderAmount": {
|
451
|
+
"amount": "1.10",
|
452
|
+
"currency": "EUR",
|
453
|
+
"currencyLabel": "€",
|
454
|
+
"formattedAmount": "1,10",
|
455
|
+
"formattedAmountWithCurrency": "€ 1,10",
|
456
|
+
"value": "110"
|
457
|
+
},
|
458
|
+
"orderAmountView": {
|
459
|
+
"currency": "EUR",
|
460
|
+
"currencyDivider": " ",
|
461
|
+
"currencyLabel": "€",
|
462
|
+
"currencySymbolPosition": "L",
|
463
|
+
"formattedValue": "1,10",
|
464
|
+
"value": "1.10"
|
465
|
+
},
|
466
|
+
"paymentAmount": {
|
467
|
+
"amount": "1.10",
|
468
|
+
"currency": "EUR",
|
469
|
+
"currencyLabel": "€",
|
470
|
+
"formattedAmount": "1,10",
|
471
|
+
"formattedAmountWithCurrency": "€ 1,10",
|
472
|
+
"value": "110"
|
473
|
+
},
|
474
|
+
"paymentAmountView": {
|
475
|
+
"currency": "EUR",
|
476
|
+
"currencyDivider": " ",
|
477
|
+
"currencyLabel": "€",
|
478
|
+
"currencySymbolPosition": "L",
|
479
|
+
"formattedValue": "1,10",
|
480
|
+
"value": "1.10"
|
481
|
+
},
|
482
|
+
"paymentMethodType": "ALIPAY_HK",
|
483
|
+
"paymentResultCode": "PAYMENT_IN_PROCESS",
|
484
|
+
"paymentStatus": "PROCESSING",
|
485
|
+
"serverTime": "1731566233772",
|
486
|
+
"success": true,
|
487
|
+
"supportedLanguages": [{
|
488
|
+
"locale": "en_US",
|
489
|
+
"preferred": true
|
490
|
+
}]
|
491
|
+
};
|
@@ -0,0 +1,190 @@
|
|
1
|
+
import { ConnectErrorCode, ElementPaymentMethod, ActionForm } from '../../../types';
|
2
|
+
export declare enum ThemeType {
|
3
|
+
NostalgicGray = "nostalgicGray",
|
4
|
+
Default = "default",
|
5
|
+
Night = "night",
|
6
|
+
CherryBlossomPink = "cherryBlossomPink",
|
7
|
+
GamingPurple = "gamingPurple",
|
8
|
+
AgateGreen = "agateGreen"
|
9
|
+
}
|
10
|
+
export declare const addressTheme: {
|
11
|
+
default: string;
|
12
|
+
night: string;
|
13
|
+
};
|
14
|
+
export declare enum EventCallbackCode {
|
15
|
+
Failed = "Failed",
|
16
|
+
Completed = "Completed"
|
17
|
+
}
|
18
|
+
export declare enum ELEMENT_ENVIRONMENT {
|
19
|
+
DEV = "DEV",
|
20
|
+
TEST = "TEST",
|
21
|
+
SIT = "SIT",
|
22
|
+
PRE = "PRE",
|
23
|
+
PROD = "PROD"
|
24
|
+
}
|
25
|
+
export type ELEMENT_ENVIRONMENT_TYPE = keyof typeof ELEMENT_ENVIRONMENT | (typeof ELEMENT_ENVIRONMENT)[keyof typeof ELEMENT_ENVIRONMENT];
|
26
|
+
export interface IElementOptions {
|
27
|
+
sessionData: string;
|
28
|
+
environment?: ELEMENT_ENVIRONMENT_TYPE;
|
29
|
+
locale?: string;
|
30
|
+
mode?: string;
|
31
|
+
version?: string;
|
32
|
+
appearance?: {
|
33
|
+
theme: ThemeType.Default | ThemeType.Night;
|
34
|
+
};
|
35
|
+
onEventCallback?: ({ code, message }: {
|
36
|
+
code: EventCallbackCode;
|
37
|
+
message: string;
|
38
|
+
}) => void;
|
39
|
+
loading?: {
|
40
|
+
onStartLoading: () => void;
|
41
|
+
onEndLoading: () => void;
|
42
|
+
};
|
43
|
+
}
|
44
|
+
export interface AddressMountComponentsParams {
|
45
|
+
configParams?: AddressMountConfig;
|
46
|
+
prefillValue: Array<AddressSubmitData>;
|
47
|
+
appearance: {
|
48
|
+
themeType: string;
|
49
|
+
};
|
50
|
+
debugProps?: {
|
51
|
+
localLink: string;
|
52
|
+
};
|
53
|
+
elementProps?: {
|
54
|
+
elementLink: string;
|
55
|
+
};
|
56
|
+
}
|
57
|
+
interface BaseMountOptions<T = void> {
|
58
|
+
configParams?: T;
|
59
|
+
debugProps?: {
|
60
|
+
localLink: string;
|
61
|
+
};
|
62
|
+
elementProps?: {
|
63
|
+
elementLink: string;
|
64
|
+
};
|
65
|
+
}
|
66
|
+
type HideField = 'shippingCountry' | 'shippingName' | 'shippingPhoneNo' | 'shippingRegion' | 'shippingAddress1' | 'shippingZipCode' | 'shippingAddress2';
|
67
|
+
interface AddressMountConfig {
|
68
|
+
/**
|
69
|
+
* 是否开启地址联想功能
|
70
|
+
* 0 开启
|
71
|
+
* 1 关闭
|
72
|
+
*/
|
73
|
+
autoSaveAsDefaultAddress?: boolean;
|
74
|
+
/**
|
75
|
+
* 隐藏部分地址要素
|
76
|
+
*/
|
77
|
+
hideFields?: Array<HideField>;
|
78
|
+
}
|
79
|
+
export interface AddressMountOptions extends BaseMountOptions<AddressMountConfig> {
|
80
|
+
type: 'address';
|
81
|
+
prefillValue: Array<AddressSubmitData>;
|
82
|
+
appearance?: {
|
83
|
+
theme: ThemeType.Default | ThemeType.Night;
|
84
|
+
};
|
85
|
+
}
|
86
|
+
export interface LinkAuthMountOptions extends BaseMountOptions {
|
87
|
+
type: 'auth';
|
88
|
+
appearance?: {
|
89
|
+
theme: ThemeType;
|
90
|
+
};
|
91
|
+
}
|
92
|
+
export interface PaymentMountOptions extends BaseMountOptions {
|
93
|
+
type: 'payment';
|
94
|
+
appearance?: {
|
95
|
+
theme: ThemeType;
|
96
|
+
};
|
97
|
+
}
|
98
|
+
export declare enum AddressEventCallbackName {
|
99
|
+
SHIPPING_CHANGE = "SHIPPING_CHANGE"
|
100
|
+
}
|
101
|
+
interface BaseMountResult {
|
102
|
+
}
|
103
|
+
export interface AddressMountResult extends BaseMountResult {
|
104
|
+
on: (event: AddressEventCallbackName, callback: (data: any) => void) => void;
|
105
|
+
}
|
106
|
+
export interface LinkAuthMountResult extends BaseMountResult {
|
107
|
+
}
|
108
|
+
export interface PaymentMountResult extends BaseMountResult {
|
109
|
+
}
|
110
|
+
export interface EventCallbackData<T = {}> {
|
111
|
+
source?: ElementPaymentMethod;
|
112
|
+
target?: ElementPaymentMethod;
|
113
|
+
success?: boolean;
|
114
|
+
data?: T;
|
115
|
+
event?: AddressEventCallbackName;
|
116
|
+
}
|
117
|
+
export interface ValidateResult<T = {}> {
|
118
|
+
success: boolean;
|
119
|
+
data: {
|
120
|
+
success: boolean;
|
121
|
+
data: T;
|
122
|
+
};
|
123
|
+
}
|
124
|
+
export interface AuthSubmitData {
|
125
|
+
accountInfo: {
|
126
|
+
email: string;
|
127
|
+
};
|
128
|
+
}
|
129
|
+
export interface PaymentSubmitData {
|
130
|
+
paymentMethod: {
|
131
|
+
paymentMethodType: string;
|
132
|
+
paymentMethodDetail?: {
|
133
|
+
cardNo?: string;
|
134
|
+
};
|
135
|
+
cardHolderName?: {
|
136
|
+
firstName: string;
|
137
|
+
};
|
138
|
+
lastName: string;
|
139
|
+
};
|
140
|
+
paymentFactors: {
|
141
|
+
paymentRedirectUrl: string;
|
142
|
+
paymentMethodId?: string;
|
143
|
+
};
|
144
|
+
}
|
145
|
+
export interface AddressSubmitData {
|
146
|
+
shippingName: {
|
147
|
+
firstName: string;
|
148
|
+
lastName: string;
|
149
|
+
};
|
150
|
+
shippingPhoneNo: string;
|
151
|
+
shippingAddress: {
|
152
|
+
region: string;
|
153
|
+
address1: string;
|
154
|
+
address2: string;
|
155
|
+
city?: string;
|
156
|
+
province?: string;
|
157
|
+
zipCode: string;
|
158
|
+
districts?: string[];
|
159
|
+
districtValues?: {
|
160
|
+
[key: string]: string;
|
161
|
+
};
|
162
|
+
};
|
163
|
+
notes: string;
|
164
|
+
prefer: '1' | '0';
|
165
|
+
shippingId: string;
|
166
|
+
actionFlag?: 'I' | 'U' | 'D';
|
167
|
+
}
|
168
|
+
export interface SubmitServiceParams extends PaymentSubmitData {
|
169
|
+
accountInfo: AuthSubmitData['accountInfo'];
|
170
|
+
shipping?: AddressSubmitData;
|
171
|
+
}
|
172
|
+
interface SubmitResultActionForm extends ActionForm {
|
173
|
+
paymentCodeExpireTime: string;
|
174
|
+
}
|
175
|
+
export interface SubmitServiceResult {
|
176
|
+
success: boolean;
|
177
|
+
errorCode: ConnectErrorCode;
|
178
|
+
errorMessage: string;
|
179
|
+
errorStatus: string;
|
180
|
+
traceId: string;
|
181
|
+
actionForm?: SubmitResultActionForm;
|
182
|
+
codeFormViews?: Array<{
|
183
|
+
codeExpireTime?: string;
|
184
|
+
}>;
|
185
|
+
}
|
186
|
+
export interface SubmitFuncResult {
|
187
|
+
success: boolean;
|
188
|
+
msg: string;
|
189
|
+
}
|
190
|
+
export {};
|