@alipay/ams-checkout 0.0.1766664288-dev.2 → 0.0.1766664288-dev.3
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.
|
@@ -449,7 +449,7 @@ var ElementController = /*#__PURE__*/function () {
|
|
|
449
449
|
_context3.next = 22;
|
|
450
450
|
break;
|
|
451
451
|
}
|
|
452
|
-
params.
|
|
452
|
+
params.handleActions = (_submitParams$handleA = submitParams === null || submitParams === void 0 ? void 0 : submitParams.handleActions) !== null && _submitParams$handleA !== void 0 ? _submitParams$handleA : true;
|
|
453
453
|
_context3.next = 18;
|
|
454
454
|
return _this3.onValidateAndSubmitPay(_this3.elementProcessors[ElementType.payment].eventCenter, ElementPaymentMethod.PAYMENT_ELEMENT, params);
|
|
455
455
|
case 18:
|
|
@@ -262,19 +262,19 @@ export interface AddressSubmitData {
|
|
|
262
262
|
actionFlag?: 'I' | 'U' | 'D';
|
|
263
263
|
}
|
|
264
264
|
export interface HandleAction {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
265
|
+
APM?: boolean;
|
|
266
|
+
CARD?: boolean;
|
|
267
|
+
VA?: boolean;
|
|
268
|
+
AC_WALLET?: boolean;
|
|
269
269
|
}
|
|
270
270
|
export type HandleActionType = boolean | HandleAction;
|
|
271
271
|
export interface SubmitFuncParams {
|
|
272
|
-
|
|
272
|
+
handleActions?: HandleActionType;
|
|
273
273
|
}
|
|
274
274
|
export interface SubmitServiceParams extends PaymentSubmitData {
|
|
275
275
|
accountInfo: AuthSubmitData['accountInfo'];
|
|
276
276
|
shipping?: AddressSubmitData;
|
|
277
|
-
|
|
277
|
+
handleActions?: HandleActionType;
|
|
278
278
|
}
|
|
279
279
|
interface SubmitResultActionForm extends ActionForm {
|
|
280
280
|
paymentCodeExpireTime: string;
|