@alipay/ams-checkout 0.0.1743078169-dev.6 → 0.0.1744265398-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.
Files changed (58) hide show
  1. package/dist/umd/ams-checkout.min.js +1 -1
  2. package/esm/component/component.inline.style.js +1 -1
  3. package/esm/component/popupWindow.style.js +1 -4
  4. package/esm/config/index.d.ts +7 -7
  5. package/esm/config/index.js +7 -7
  6. package/esm/constant/index.d.ts +0 -3
  7. package/esm/constant/index.js +0 -3
  8. package/esm/core/component/element/index.d.ts +46 -8
  9. package/esm/core/component/element/index.js +922 -28
  10. package/esm/core/component/element/type.d.ts +1 -29
  11. package/esm/core/component/index.d.ts +1 -5
  12. package/esm/core/component/index.js +2 -1
  13. package/esm/foundation/core/index.d.ts +1 -6
  14. package/esm/foundation/core/index.js +34 -68
  15. package/esm/foundation/index.d.ts +0 -7
  16. package/esm/foundation/index.js +2 -10
  17. package/esm/foundation/service/container/index.d.ts +3 -6
  18. package/esm/foundation/service/container/index.js +14 -34
  19. package/esm/foundation/service/container/popup.d.ts +1 -1
  20. package/esm/foundation/service/event-center.js +0 -1
  21. package/esm/index.js +0 -1
  22. package/esm/plugin/component/cashierApp.d.ts +1 -1
  23. package/esm/plugin/component/index.js +1 -1
  24. package/esm/types/index.d.ts +1 -1
  25. package/esm/types/index.js +1 -1
  26. package/package.json +1 -1
  27. package/esm/core/component/element/elementContainerService/containerService.d.ts +0 -30
  28. package/esm/core/component/element/elementContainerService/containerService.js +0 -107
  29. package/esm/core/component/element/elementContainerService/index.d.ts +0 -19
  30. package/esm/core/component/element/elementContainerService/index.js +0 -55
  31. package/esm/core/component/element/elementController/index.d.ts +0 -22
  32. package/esm/core/component/element/elementController/index.js +0 -370
  33. package/esm/core/component/element/elementProcessor/addressProcessor.d.ts +0 -17
  34. package/esm/core/component/element/elementProcessor/addressProcessor.js +0 -122
  35. package/esm/core/component/element/elementProcessor/authProcessor.d.ts +0 -14
  36. package/esm/core/component/element/elementProcessor/authProcessor.js +0 -70
  37. package/esm/core/component/element/elementProcessor/baseElementProcessor.d.ts +0 -36
  38. package/esm/core/component/element/elementProcessor/baseElementProcessor.js +0 -79
  39. package/esm/core/component/element/elementProcessor/paymentProcessor.d.ts +0 -20
  40. package/esm/core/component/element/elementProcessor/paymentProcessor.js +0 -299
  41. package/esm/core/component/element/util.d.ts +0 -59
  42. package/esm/core/component/element/util.js +0 -327
  43. package/esm/core/component/oldElement/index.d.ts +0 -59
  44. package/esm/core/component/oldElement/index.js +0 -956
  45. package/esm/core/component/oldElement/type.d.ts +0 -351
  46. package/esm/core/component/oldElement/type.js +0 -81
  47. package/esm/foundation/product-processor/element/index.d.ts +0 -7
  48. package/esm/foundation/product-processor/element/index.js +0 -24
  49. /package/esm/core/component/{oldElement → element}/components/address.d.ts +0 -0
  50. /package/esm/core/component/{oldElement → element}/components/address.js +0 -0
  51. /package/esm/core/component/{oldElement → element}/components/auth.d.ts +0 -0
  52. /package/esm/core/component/{oldElement → element}/components/auth.js +0 -0
  53. /package/esm/core/component/{oldElement → element}/components/payment.d.ts +0 -0
  54. /package/esm/core/component/{oldElement → element}/components/payment.js +0 -0
  55. /package/esm/core/component/{oldElement → element}/mock.d.ts +0 -0
  56. /package/esm/core/component/{oldElement → element}/mock.js +0 -0
  57. /package/esm/core/component/{oldElement → element}/utils.d.ts +0 -0
  58. /package/esm/core/component/{oldElement → element}/utils.js +0 -0
@@ -115,7 +115,7 @@ export var createInlineBaseElement = function createInlineBaseElement(selector)
115
115
  var amsComponentContainer = document.createElement('div');
116
116
  amsComponentContainer.className = "".concat(containerId, "-inline");
117
117
  amsComponentContainer.id = containerId;
118
- var selectorDom = document.querySelector("".concat(selector));
118
+ var selectorDom = document.querySelector("#".concat(selector));
119
119
  if (selectorDom) selectorDom.appendChild(amsComponentContainer);
120
120
  return amsComponentContainer;
121
121
  };
@@ -2,7 +2,7 @@ import { AMSPOPUP_PREFIX, ANIMATION_TIME, MOCKUP_ID, POPUPLOADING_ID } from "../
2
2
  import { getDesignFontSize } from "../util";
3
3
 
4
4
  // CSS样式字符串
5
- 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");
5
+ 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");
6
6
  var getCurrentTheme = function getCurrentTheme() {
7
7
  var curTheme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'default';
8
8
  var theme = {
@@ -104,9 +104,6 @@ export var createModal = function createModal(_ref) {
104
104
  // 销毁弹窗
105
105
  export var destroyModal = function destroyModal() {
106
106
  var overlay = document.querySelector(".".concat(AMSPOPUP_PREFIX, "overlay"));
107
- if (!overlay) {
108
- return;
109
- }
110
107
  var modal = modalDevice === 'desktop' ? document.querySelector(".".concat(AMSPOPUP_PREFIX, "modal")) : document.querySelector(".".concat(AMSPOPUP_PREFIX, "modal-mobile"));
111
108
  overlay.classList.remove("".concat(AMSPOPUP_PREFIX, "fadeIn"));
112
109
  overlay.classList.add("".concat(AMSPOPUP_PREFIX, "fadeOut"));
@@ -5,10 +5,10 @@ export declare const sdkVersion: string;
5
5
  /**
6
6
  * @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
7
7
  */
8
- export declare const AMSCheckoutAppVersion = "1.32.0";
9
- export declare const AMSAutoDebitAppVersion = "1.32.0";
10
- export declare const AMSEasyPayAppVersion = "1.32.0";
11
- export declare const AMSCashierPaymentAppVersion = "1.32.0";
12
- export declare const AMSVaultingAppVersion = "1.32.0";
13
- export declare const AMSPaymentElementAppVersion = "1.32.0";
14
- export declare const ADDRESSElementAppVersion = "1.32.0";
8
+ export declare const AMSCheckoutAppVersion = "1.33.0";
9
+ export declare const AMSAutoDebitAppVersion = "1.33.0";
10
+ export declare const AMSEasyPayAppVersion = "1.33.0";
11
+ export declare const AMSCashierPaymentAppVersion = "1.33.0";
12
+ export declare const AMSVaultingAppVersion = "1.33.0";
13
+ export declare const AMSPaymentElementAppVersion = "1.33.0";
14
+ export declare const ADDRESSElementAppVersion = "1.33.0";
@@ -35,10 +35,10 @@ export var sdkVersion = json.version;
35
35
  /**
36
36
  * @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
37
37
  */
38
- export var AMSCheckoutAppVersion = '1.32.0'; // 兜底版本号
39
- export var AMSAutoDebitAppVersion = '1.32.0'; // 代扣
40
- export var AMSEasyPayAppVersion = '1.32.0'; // easypay
41
- export var AMSCashierPaymentAppVersion = '1.32.0'; // 收银台(卡、apm)
42
- export var AMSVaultingAppVersion = '1.32.0'; // 绑卡
43
- export var AMSPaymentElementAppVersion = '1.32.0'; // payment element
44
- export var ADDRESSElementAppVersion = '1.32.0'; // address element
38
+ export var AMSCheckoutAppVersion = '1.33.0'; // 兜底版本号
39
+ export var AMSAutoDebitAppVersion = '1.33.0'; // 代扣
40
+ export var AMSEasyPayAppVersion = '1.33.0'; // easypay
41
+ export var AMSCashierPaymentAppVersion = '1.33.0'; // 收银台(卡、apm)
42
+ export var AMSVaultingAppVersion = '1.33.0'; // 绑卡
43
+ export var AMSPaymentElementAppVersion = '1.33.0'; // payment element
44
+ export var ADDRESSElementAppVersion = '1.33.0'; // address element
@@ -210,9 +210,6 @@ export declare const EVENT: {
210
210
  getApplePayToken: {
211
211
  name: string;
212
212
  };
213
- updated: {
214
- name: string;
215
- };
216
213
  };
217
214
  export declare const COMPONENT_CONTAINER_ID = "ams-component-container";
218
215
  export declare const COMPONENT_SECTION_ID = "ams-component-section";
@@ -212,9 +212,6 @@ export var EVENT = {
212
212
  },
213
213
  getApplePayToken: {
214
214
  name: 'getApplePayToken'
215
- },
216
- updated: {
217
- name: 'updated'
218
215
  }
219
216
  };
220
217
  export var COMPONENT_CONTAINER_ID = 'ams-component-container';
@@ -1,13 +1,51 @@
1
- import { AddressMountOptions, AddressMountResult, IElementOptions, LinkAuthMountOptions, LinkAuthMountResult, PaymentMountOptions, PaymentMountResult } from './type';
1
+ import type { AddressMountOptions, AddressMountResult, IElementOptions, LinkAuthMountOptions, LinkAuthMountResult, PaymentMountOptions, PaymentMountResult } from './type';
2
2
  export declare class ElementComponent {
3
- private options;
4
- private controller;
3
+ private parseData;
4
+ private loading;
5
+ private sessionData;
6
+ private elementContainer;
7
+ private authBase;
8
+ private addressBase;
9
+ private paymentBase;
10
+ private _options;
11
+ private eventService;
12
+ private sdkActionRes;
13
+ private oneAccountRes;
14
+ private launchSource;
15
+ private initCompleted;
16
+ private isConnect;
17
+ private iframeSrc;
18
+ private mountOptions;
19
+ private iframes;
20
+ private loadingElement;
21
+ private componentsCount;
22
+ private eventCallback;
23
+ private ApplePayService;
5
24
  constructor(options: IElementOptions);
6
- updatePayment(paymentSessionData: any): Promise<unknown>;
7
- mount(renderOptions: LinkAuthMountOptions, sdkSelector: string): LinkAuthMountResult;
25
+ private createElement;
26
+ private beforeMount;
27
+ private createComponentSdk;
28
+ private createIframeSrc;
29
+ private closeLoading;
30
+ private addListener;
31
+ private launchFunc;
32
+ private showIframe;
33
+ private afterInit;
34
+ private sendRenderData;
35
+ private removeListener;
36
+ private registerEventListener;
37
+ private mountAuth;
38
+ private mountAddress;
39
+ private mountPayment;
40
+ private initApplePaySdk;
41
+ mountErrorHandle(): void;
8
42
  mount(renderOptions: AddressMountOptions, sdkSelector: string): AddressMountResult;
9
43
  mount(renderOptions: PaymentMountOptions, sdkSelector: string): PaymentMountResult;
10
- mountCashier(renderOptions: any, sdkSelector: any): any;
11
- submitPayment(): void;
12
- destroy(): void;
44
+ mount(renderOptions: LinkAuthMountOptions, sdkSelector: string): LinkAuthMountResult;
45
+ private resetState;
46
+ unmount(): void;
47
+ private onAfterSubmitFunc;
48
+ private onValidateFunc;
49
+ private validatePromiseFuncs;
50
+ submitPayment(): Promise<void>;
13
51
  }