@alipay/ams-checkout 0.0.1758607092-dev.0 → 0.0.1758783821-dev.1
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/popupWindow.style.d.ts +18 -9
- package/esm/component/popupWindow.style.js +21 -11
- package/esm/config/index.d.ts +7 -7
- package/esm/config/index.js +7 -7
- package/esm/constant/index.d.ts +37 -0
- package/esm/constant/index.js +38 -0
- package/esm/core/component/element/EventCenter/index.d.ts +29 -0
- package/esm/core/component/element/EventCenter/index.js +141 -0
- package/esm/core/component/element/elementContainerService/containerService.js +3 -2
- package/esm/core/component/element/elementController/index.d.ts +28 -2
- package/esm/core/component/element/elementController/index.js +453 -190
- package/esm/core/component/element/elementProcessor/addressProcessor.js +3 -3
- package/esm/core/component/element/elementProcessor/paymentProcessor.js +20 -14
- package/esm/core/component/element/index.d.ts +9 -1
- package/esm/core/component/element/index.js +10 -2
- package/esm/core/component/element/type.d.ts +37 -4
- package/esm/core/component/element/type.js +45 -2
- package/esm/core/component/element/util.d.ts +17 -4
- package/esm/core/component/element/util.js +45 -6
- package/esm/foundation/service/container/index.js +10 -35
- package/esm/foundation/service/container/popup.d.ts +11 -0
- package/esm/foundation/service/container/popup.js +23 -2
- package/esm/foundation/service/log/keys.js +2 -0
- package/esm/foundation/service/requester/requester.js +2 -3
- package/esm/types/index.d.ts +5 -1
- package/esm/util/spm-map.d.ts +2 -0
- package/esm/util/spm-map.js +2 -1
- package/package.json +1 -1
package/esm/types/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { IApplePayContactField } from '../plugin/applepay/interface';
|
|
9
9
|
export type onChange = () => onCnageResult;
|
|
10
|
-
export { ElementType, PaymentElementLayout, ThemeType, type IElementOptions } from '../core/component/oldElement/type';
|
|
10
|
+
export { ElementType, PaymentElementLayout, ThemeType, type IElementOptions, } from '../core/component/oldElement/type';
|
|
11
11
|
interface onCnageResult {
|
|
12
12
|
complete: boolean;
|
|
13
13
|
addressValue: AddressItem[];
|
|
@@ -594,6 +594,10 @@ export interface CashierSdkActionQueryResult {
|
|
|
594
594
|
channelOrderId?: string;
|
|
595
595
|
};
|
|
596
596
|
errorActions?: Record<string, string>;
|
|
597
|
+
orderAmountView?: IAmountView;
|
|
598
|
+
paymentAmountView?: IAmountView;
|
|
599
|
+
paymentMethods?: IPaymentMethod[];
|
|
600
|
+
savedPaymentMethods?: IPaymentMethod[];
|
|
597
601
|
}
|
|
598
602
|
export interface CashierSdkActionQuerySessionResult extends IPaymentSessionMetaData {
|
|
599
603
|
success: boolean;
|
package/esm/util/spm-map.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const ELEMENT_SPM_MAP: {
|
|
|
7
7
|
auto_apple_pay_start: string;
|
|
8
8
|
auto_apple_pay_failed: string;
|
|
9
9
|
auto_apple_pay_success: string;
|
|
10
|
+
sdk_element_handleHeartBeat: string;
|
|
10
11
|
};
|
|
11
12
|
export declare const SPM_MAP: {
|
|
12
13
|
sdk_event_mount_element: string;
|
|
@@ -17,6 +18,7 @@ export declare const SPM_MAP: {
|
|
|
17
18
|
auto_apple_pay_start: string;
|
|
18
19
|
auto_apple_pay_failed: string;
|
|
19
20
|
auto_apple_pay_success: string;
|
|
21
|
+
sdk_element_handleHeartBeat: string;
|
|
20
22
|
sdk_error_runtime_error: string;
|
|
21
23
|
sdk_event_sdkQuery_failed: string;
|
|
22
24
|
container_error_error_insert_js: string;
|
package/esm/util/spm-map.js
CHANGED
|
@@ -14,7 +14,8 @@ export var ELEMENT_SPM_MAP = {
|
|
|
14
14
|
multiple_instance_error: 'a3753.b101271.c403950',
|
|
15
15
|
auto_apple_pay_start: 'a3753.b107385.c398110',
|
|
16
16
|
auto_apple_pay_failed: 'a3753.b107385.c398111',
|
|
17
|
-
auto_apple_pay_success: 'a3753.b107385.c398112'
|
|
17
|
+
auto_apple_pay_success: 'a3753.b107385.c398112',
|
|
18
|
+
sdk_element_handleHeartBeat: 'a3753.b101271.c388217.d624449'
|
|
18
19
|
};
|
|
19
20
|
export var SPM_MAP = _objectSpread({
|
|
20
21
|
sdk_error_runtime_error: 'a3753.b101271.c388188.d512342',
|