@alipay/ams-checkout 0.0.1779094014-dev.11 → 0.0.1779094014-dev.13

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.
@@ -1,4 +1,4 @@
1
- import { AMSPOPUP_PREFIX, ANIMATION_TIME, MOCKUP_ID, POPUPLOADING_ID } from "../constant";
1
+ import { AMSPOPUP_PREFIX, ANIMATION_TIME, DEFAULT_IFRAME_COLOR_SCHEME, MOCKUP_ID, POPUPLOADING_ID } from "../constant";
2
2
  import { getDesignFontSize } from "../util";
3
3
  // CSS样式字符串
4
4
  var modalStyles = "\n .".concat(AMSPOPUP_PREFIX, "modal {\n /* \u6DFB\u52A0\u5F39\u7A97\u6837\u5F0F */\n background-color: #fff;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 9999; /* \u8BBE\u7F6E\u5F39\u7A97\u7684\u5C42\u7EA7\u4E3A 9999 */\n overflow: hidden;\n }\n .").concat(AMSPOPUP_PREFIX, "modal-mobile{\n background-color: #fff;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n position: fixed;\n bottom: 0;\n left: 0%;\n z-index: 9999; /* \u8BBE\u7F6E\u5F39\u7A97\u7684\u5C42\u7EA7\u4E3A 9999 */\n overflow: hidden;\n }\n\n .").concat(AMSPOPUP_PREFIX, "overlay {\n /* \u6DFB\u52A0\u8499\u5C42\u6837\u5F0F */\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n z-index: 999;\n }\n\n .").concat(AMSPOPUP_PREFIX, "fadeIn {\n /* \u6DFB\u52A0\u6DE1\u5165\u52A8\u753B */\n animation: fadeIn ").concat(ANIMATION_TIME, "ms;\n animation-fill-mode: forwards;\n }\n\n .").concat(AMSPOPUP_PREFIX, "fadeOut {\n /* \u6DFB\u52A0\u6DE1\u51FA\u52A8\u753B */\n animation: fadeOut ").concat(ANIMATION_TIME, "ms;\n animation-fill-mode: forwards;\n }\n\n .").concat(AMSPOPUP_PREFIX, "-drawer-enter {\n animation: slideIn ").concat(ANIMATION_TIME, "ms forwards;\n }\n\n @keyframes slideIn {\n from {\n transform: translateY(100%); /* \u6ED1\u5165\u65F6\u5728\u89C6\u53E3\u5E95\u90E8\u5916 */\n opacity: 0; /* \u521D\u59CB\u900F\u660E\u5EA6\u4E3A 0 */\n }\n to {\n transform: translateY(0); /* \u6ED1\u5165\u7ED3\u675F\u65F6\u5728\u539F\u4F4D\u7F6E */\n opacity: 1; /* \u7ED3\u675F\u65F6\u900F\u660E\u5EA6\u4E3A 1 */\n }\n }\n\n /* \u62BD\u5C49\u4ECE\u5E95\u90E8\u6ED1\u51FA */\n .").concat(AMSPOPUP_PREFIX, "-drawer-exit {\n animation: slideOut ").concat(ANIMATION_TIME, "ms forwards;\n }\n\n @keyframes slideOut {\n from {\n transform: translateY(0); /* \u6ED1\u51FA\u65F6\u4ECE\u5F53\u524D\u4F4D\u7F6E\u5F00\u59CB */\n opacity: 1; /* \u521D\u59CB\u900F\u660E\u5EA6\u4E3A 1 */\n }\n to {\n transform: translateY(100%); /* \u6ED1\u51FA\u7ED3\u675F\u65F6\u5728\u89C6\u53E3\u5E95\u90E8\u5916 */\n opacity: 0; /* \u7ED3\u675F\u65F6\u900F\u660E\u5EA6\u4E3A 0 */\n }\n }\n\n /* \u5B9A\u4E49\u6DE1\u5165\u52A8\u753B */\n @keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n\n @-webkit-keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n\n @-moz-keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n\n /* \u5B9A\u4E49\u6DE1\u51FA\u52A8\u753B */\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n\n @-webkit-keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n\n @-moz-keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n\n\n.ams-component-popup-loading {\n width: 0.8em;\n height:0.8em;\n border-radius: 8px;\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 1001;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n.ams-component-popup-loading .line {\n width: 40px;\n height: 40px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.ams-component-popup-loading .line div {\n position: absolute;\n left: 17.67px;\n top: 0;\n width: 5.33px;\n height: 40px;\n}\n\n.ams-component-popup-loading .line div:before,\n.ams-component-popup-loading .line div:after {\n content: '';\n display: block;\n height: 13.33px;\n background: black;\n border-radius: 5.3px;\n}\n.ams-component-popup-loading .line div:after {\n margin-top: 13.33px;\n}\n\n.ams-component-popup-loading .line div:nth-child(2) {\n -webkit-transform: rotate(45deg);\n}\n\n.ams-component-popup-loading .line div:nth-child(3) {\n -webkit-transform: rotate(90deg);\n}\n\n.ams-component-popup-loading .line div:nth-child(4) {\n -webkit-transform: rotate(135deg);\n}\n\n/** \u52A0\u8F7D\u52A8\u753B **/\n@-webkit-keyframes load {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.ams-component-popup-loading .line div:nth-child(1):before {\n -webkit-animation: load 1s linear 0s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(2):before {\n -webkit-animation: load 1s linear 0.125s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(3):before {\n -webkit-animation: load 1s linear 0.25s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(4):before {\n -webkit-animation: load 1s linear 0.375s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(1):after {\n -webkit-animation: load 1s linear 0.5s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(2):after {\n -webkit-animation: load 1s linear 0.675s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(3):after {\n -webkit-animation: load 1s linear 0.75s infinite;\n}\n\n.ams-component-popup-loading .line div:nth-child(4):after {\n -webkit-animation: load 1s linear 0.875s infinite;\n}\n\n.ams-component-popup-loading-logo {\n width: 0.44em;\n height: 0.44em;\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg);\n -webkit-transition:-webkit-transform 1s linear;\n transition:transform 1s linear;\n animation: ams-component-loading-logo 1s linear infinite;\n}\n");
@@ -111,6 +111,7 @@ export var createModal = function createModal(_ref2) {
111
111
  iframe.style.border = 'none';
112
112
  iframe.style.width = '100%';
113
113
  iframe.style.height = '100%';
114
+ iframe.style.colorScheme = DEFAULT_IFRAME_COLOR_SCHEME;
114
115
  if (styleConfig) {
115
116
  modal.style.backgroundColor = styleConfig.backgroundColor;
116
117
  iframe.style.backgroundColor = styleConfig.backgroundColor;
@@ -30,7 +30,7 @@ export var v2AppMarmotMap = {
30
30
  light_sandbox: 'https://checkout.antom.com',
31
31
  prod: 'https://checkout.antom.com'
32
32
  };
33
- export var sdkVersion = "0.0.1779094014-dev.11";
33
+ export var sdkVersion = "0.0.1779094014-dev.13";
34
34
 
35
35
  /**
36
36
  * @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
@@ -310,6 +310,7 @@ export declare const LISTENER_PREFIX = "_ams_sdk_component_listener";
310
310
  export declare const INLINE_BASE_STYLE_ID = "ams-inline-component-style";
311
311
  export declare const INLINE_IMG_CLASSNAME = "inline-loading";
312
312
  export declare const AMSPOPUP_PREFIX = "ams-popup";
313
+ export declare const DEFAULT_IFRAME_COLOR_SCHEME = "light dark";
313
314
  export declare const LOADTIME_LIMIT = 15000;
314
315
  export declare const POPUP_LOADTIME_LOG_LIMIT = 3000;
315
316
  export declare const ANIMATION_TIME = 300;
@@ -318,6 +318,7 @@ export var LISTENER_PREFIX = '_ams_sdk_component_listener';
318
318
  export var INLINE_BASE_STYLE_ID = 'ams-inline-component-style';
319
319
  export var INLINE_IMG_CLASSNAME = 'inline-loading';
320
320
  export var AMSPOPUP_PREFIX = 'ams-popup';
321
+ export var DEFAULT_IFRAME_COLOR_SCHEME = 'light dark';
321
322
  export var LOADTIME_LIMIT = 15000;
322
323
  export var POPUP_LOADTIME_LOG_LIMIT = 3000;
323
324
  export var ANIMATION_TIME = 300;
@@ -5,7 +5,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import { EVENT } from "../../../../constant";
8
+ import { EVENT, DEFAULT_IFRAME_COLOR_SCHEME } from "../../../../constant";
9
9
  import { ServiceProvider } from "./../../../../foundation/service";
10
10
  import { isElementPC, isElementPad } from "../util";
11
11
  import { DisplayTypeEnum, PlatformEnum, ProductSceneEnum } from "./../../../../types";
@@ -49,7 +49,8 @@ export var ContainerController = /*#__PURE__*/function () {
49
49
  selector: selector,
50
50
  appendAliasContainerId: true,
51
51
  iframeStyle: {
52
- display: 'block'
52
+ display: 'block',
53
+ colorScheme: DEFAULT_IFRAME_COLOR_SCHEME
53
54
  }
54
55
  }, processor.generateIframeSrc({
55
56
  link: iframesSrcLink,
@@ -10,7 +10,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
10
10
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
12
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
- import { getMetaData } from "../../../modern/tools";
13
+ import { isElements2 } from "../../../modern/tools";
14
14
  import ElementController from "./elementController";
15
15
  import { ModernElementController } from "./modernElementController";
16
16
  import { InvalidElementConfigError } from "./type";
@@ -27,9 +27,7 @@ export var ElementComponent = /*#__PURE__*/function () {
27
27
  this.options = formatElementOption(options);
28
28
 
29
29
  // 核心分流逻辑
30
- var parseData = getMetaData(options.sessionData);
31
- if (parseData !== null && parseData !== void 0 && parseData.modernWeb) {
32
- console.log('新payment');
30
+ if (isElements2(options.sessionData)) {
33
31
  this.controller = new ModernElementController(this.options);
34
32
  } else {
35
33
  this.controller = new ElementController(this.options);
@@ -1,7 +1,8 @@
1
- import type { IPaymentApiResponse } from '../type';
1
+ import type { IMerchantAppointParam } from "../../../../types";
2
+ import type { IPaymentApiResponse, PaymentMountOptions } from '../type';
2
3
  import { EventCallbackCode } from '../type';
3
- import type { SubmitResult, ErrorPayload } from "../../../../modern/tools";
4
- export declare function adaptSubmitResult(result: SubmitResult): IPaymentApiResponse;
4
+ import type { PaymentSubmitResult, ErrorPayload } from "../../../../modern/tools";
5
+ export declare function adaptSubmitResult(result: PaymentSubmitResult): IPaymentApiResponse;
5
6
  export declare function adaptErrorToEventCallback(error: ErrorPayload): {
6
7
  code: EventCallbackCode;
7
8
  message: string;
@@ -15,4 +16,4 @@ export declare function adaptErrorToEventCallback(error: ErrorPayload): {
15
16
  * 3. card.showBrandIcon → displaySetting.showCardBrandIcon
16
17
  * 4. layout: 直接透传
17
18
  */
18
- export declare function adaptAppearance(appearance?: any): any;
19
+ export declare function adaptAppearance(appearance?: PaymentMountOptions['appearance'], merchantAppointParam?: IMerchantAppointParam): any;
@@ -8,11 +8,18 @@ import { EventCallbackCode } from "../type";
8
8
  export function adaptSubmitResult(result) {
9
9
  return {
10
10
  status: result.status || 'FAIL',
11
- error: result.status === 'FAIL' || result.code ? {
12
- code: result.code || 'UNKNOWN_ERROR',
13
- message: result.message || ''
11
+ error: result.error ? {
12
+ code: result.error.code,
13
+ message: result.error.message
14
14
  } : undefined,
15
- userCanceled3D: result.userCanceled3D
15
+ userCanceled3D: result.userCanceled3D,
16
+ session: result.paymentSession ? {
17
+ nextAction: {
18
+ applinkUrl: result.paymentSession.returnAppUrl,
19
+ normalUrl: result.paymentSession.returnUrl,
20
+ schemeUrl: result.paymentSession.returnAppScheme
21
+ }
22
+ } : undefined
16
23
  };
17
24
  }
18
25
  export function adaptErrorToEventCallback(error) {
@@ -22,16 +29,6 @@ export function adaptErrorToEventCallback(error) {
22
29
  };
23
30
  }
24
31
 
25
- /**
26
- * 老架构 theme (kebab-case) → 新架构 theme (camelCase) 映射表
27
- */
28
- var THEME_MAP = {
29
- 'nostalgic-gray': 'nostalgicGray',
30
- 'cherry-blossom-pink': 'cherryBlossomPink',
31
- 'gaming-purple': 'gamingPurple',
32
- 'agate-green': 'agateGreen'
33
- };
34
-
35
32
  /**
36
33
  * 将老架构的 appearance 格式转换为新架构格式
37
34
  *
@@ -41,14 +38,14 @@ var THEME_MAP = {
41
38
  * 3. card.showBrandIcon → displaySetting.showCardBrandIcon
42
39
  * 4. layout: 直接透传
43
40
  */
44
- export function adaptAppearance(appearance) {
45
- var _appearance$card;
41
+ export function adaptAppearance(appearance, merchantAppointParam) {
42
+ var _appearance$card, _merchantAppointParam, _appearance$accordion, _appearance$card2;
46
43
  if (!appearance) return undefined;
47
44
  var result = {};
48
45
 
49
46
  // Theme mapping: kebab-case → camelCase
50
47
  if (appearance.theme) {
51
- result.theme = THEME_MAP[appearance.theme] || appearance.theme;
48
+ result.theme = appearance.theme;
52
49
  }
53
50
 
54
51
  // Variables: 直接透传
@@ -58,9 +55,15 @@ export function adaptAppearance(appearance) {
58
55
  result.variables = filtered;
59
56
  }
60
57
  }
58
+ result.displaySetting = {
59
+ showCardBrandIcon: !!((_appearance$card = appearance.card) !== null && _appearance$card !== void 0 && _appearance$card.showBrandIcon),
60
+ showCardCVV: !!(merchantAppointParam !== null && merchantAppointParam !== void 0 && (_merchantAppointParam = merchantAppointParam.storedCard) !== null && _merchantAppointParam !== void 0 && _merchantAppointParam.needCVV),
61
+ showPaymentMethodListWhenSingleOption: (merchantAppointParam === null || merchantAppointParam === void 0 ? void 0 : merchantAppointParam.singleOption) === 'list',
62
+ showRadioWhenAccordionLayout: !!((_appearance$accordion = appearance.accordion) !== null && _appearance$accordion !== void 0 && _appearance$accordion.showRadio)
63
+ };
61
64
 
62
65
  // card.showBrandIcon → displaySetting.showCardBrandIcon
63
- if (((_appearance$card = appearance.card) === null || _appearance$card === void 0 ? void 0 : _appearance$card.showBrandIcon) !== undefined) {
66
+ if (((_appearance$card2 = appearance.card) === null || _appearance$card2 === void 0 ? void 0 : _appearance$card2.showBrandIcon) !== undefined) {
64
67
  result.displaySetting = {
65
68
  showCardBrandIcon: appearance.card.showBrandIcon
66
69
  };
@@ -68,7 +71,8 @@ export function adaptAppearance(appearance) {
68
71
 
69
72
  // Layout: 直接透传
70
73
  if (appearance.layout) {
71
- result.layout = _objectSpread({}, appearance.layout);
74
+ var _appearance$layout$ty;
75
+ result.layout = ((_appearance$layout$ty = appearance.layout.type) === null || _appearance$layout$ty === void 0 ? void 0 : _appearance$layout$ty.toLowerCase()) || 'accordion';
72
76
  }
73
77
  return Object.keys(result).length > 0 ? result : undefined;
74
78
  }
@@ -1,4 +1,5 @@
1
- import { IElementController, IElementOptions, ICommonApiResponse, IPaymentApiResponse, PaymentMountOptions, SubmitFuncParams, EVENTNAME, EventDataMap } from '../type';
1
+ import type { IElementController, IElementOptions, ICommonApiResponse, IPaymentApiResponse, PaymentMountOptions, SubmitFuncParams, EventDataMap } from '../type';
2
+ import { EVENTNAME } from '../type';
2
3
  /**
3
4
  * ModernElementController 使用 opensdk-core 的 HostBridge 实现新架构通信。
4
5
  *
@@ -228,7 +228,7 @@ export var ModernElementController = /*#__PURE__*/function () {
228
228
  request.setGlobalOptions({
229
229
  hostSign: parseHostSign(sessionData),
230
230
  env: this.options.environment,
231
- sdkVersion: "0.0.1779094014-dev.11" || ''
231
+ sdkVersion: "0.0.1779094014-dev.13" || ''
232
232
  });
233
233
  isConnect = !!(parseData !== null && parseData !== void 0 && (_parseData$connectFac = parseData.connectFactor) !== null && _parseData$connectFac !== void 0 && _parseData$connectFac.enableConnect);
234
234
  paymentSessionConfig = parseData === null || parseData === void 0 ? void 0 : parseData.paymentSessionConfig;
@@ -291,9 +291,7 @@ export var ModernElementController = /*#__PURE__*/function () {
291
291
  // 更新字段,对应老的doMain
292
292
  merchantDomain: window.location.hostname,
293
293
  // 更新字段,对应老的appearance,结构按新的来
294
- appearance: adaptAppearance((renderOptions === null || renderOptions === void 0 ? void 0 : renderOptions.appearance) || this.options.appearance),
295
- // 原老字段,
296
- merchantAppointParam: renderOptions.merchantAppointParam,
294
+ appearance: adaptAppearance((renderOptions === null || renderOptions === void 0 ? void 0 : renderOptions.appearance) || this.options.appearance, renderOptions.merchantAppointParam),
297
295
  // 原老字段
298
296
  logMetaData: {
299
297
  paymentMethodCategoryType: paymentSessionConfig === null || paymentSessionConfig === void 0 ? void 0 : paymentSessionConfig.paymentMethodCategoryType,
@@ -307,16 +305,14 @@ export var ModernElementController = /*#__PURE__*/function () {
307
305
  // 新sdk字段
308
306
  locale: locale,
309
307
  // 新sdk字段
310
- paymentSessionConfig: parseData === null || parseData === void 0 ? void 0 : parseData.paymentSessionConfig,
311
- // 新sdk字段
312
- sdkVersion: "0.0.1779094014-dev.11" || '',
308
+ sdkVersion: "0.0.1779094014-dev.13" || '',
313
309
  // 新sdk字段
314
310
  merchantId: (sdkQueryResult === null || sdkQueryResult === void 0 || (_sdkQueryResult$data = sdkQueryResult.data) === null || _sdkQueryResult$data === void 0 ? void 0 : _sdkQueryResult$data.merchantId) || '',
315
311
  // 新sdk字段
316
- env: this.options.environment || 'prod',
312
+ env: this.options.environment === 'sandbox' ? 'sandbox' : 'prod',
317
313
  // 新sdk字段,开发环境调试使用
318
314
  _requestConfig: _objectSpread({
319
- env: this.options.environment || 'prod'
315
+ env: this.options.environment === 'sandbox' ? 'sandbox' : 'prod'
320
316
  }, getDevReqConfig())
321
317
  });
322
318
  case 18:
@@ -1,4 +1,4 @@
1
- import { COMPONENT_CONTAINER_ID } from "../../../constant";
1
+ import { COMPONENT_CONTAINER_ID, DEFAULT_IFRAME_COLOR_SCHEME } from "../../../constant";
2
2
 
3
3
  /**
4
4
  * @author 谦彧 <zhangmian.zm@alipay.com>
@@ -14,6 +14,7 @@ export var createPreloadIframe = function createPreloadIframe(containerId) {
14
14
  iframe.style.border = none;
15
15
  iframe.style.opacity = '0';
16
16
  iframe.style.overflow = 'hidden';
17
+ iframe.style.colorScheme = DEFAULT_IFRAME_COLOR_SCHEME;
17
18
  return iframe;
18
19
  };
19
20
  export var createIframe = function createIframe(containerId) {
@@ -27,6 +28,7 @@ export var createIframe = function createIframe(containerId) {
27
28
  iframe.style.border = none;
28
29
  iframe.style.opacity = none;
29
30
  iframe.style.overflow = 'hidden';
31
+ iframe.style.colorScheme = DEFAULT_IFRAME_COLOR_SCHEME;
30
32
  return iframe;
31
33
  };
32
34
  export var startSizeChangeAnim = function startSizeChangeAnim(target, height, animationStyleId) {
@@ -0,0 +1,3 @@
1
+ interface Window {
2
+ changingPageHeight?: number;
3
+ }
@@ -4,11 +4,12 @@
4
4
  export { buildPageUrl } from './sdk/tools/buildPageUrl';
5
5
  export { getDevReqConfig } from './sdk/tools/getDevReqConfig';
6
6
  export { getLocaleFromRenderData } from './sdk/tools/getLocaleFromRenderData';
7
- export { getMetaData } from './sdk/tools/getMetaData';
7
+ export { getMetaData, isElements2 } from './sdk/tools/getMetaData';
8
8
  export { openModal } from './sdk/tools/openModal';
9
9
  export { AntomSDKError } from './sdk/types';
10
10
  export { sdkQuery, oneAccountQuery } from './sdk/oneapi/iexpfront/PaymentSessionService';
11
- export type { AntomBridgeEventMap, SubmitResult } from './sdk/types';
11
+ export type { AntomBridgeEventMap, SubmitResult, AntomTheme, AntomLayouts, AntomVariables } from './sdk/types';
12
+ export type { PaymentSubmitResult, PaymentAppearance, PaymentAppConfig } from './sdk/elements/PaymentElement';
12
13
  export type { ErrorPayload, BaseBridgeEventMap, BridgeMode } from '@antintl/opensdk-core';
13
14
  export { MessageType } from '@antintl/opensdk-core';
14
15
  export { debugError, debug } from '@antintl/opensdk-core';