@alipay/ams-checkout 0.0.1763724075-dev.4 → 0.0.1763966842-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.
- package/LEGAL.md +6 -0
- package/LICENSE +6 -0
- package/README.md +58 -0
- package/dist/umd/ams-checkout.min.js +1 -1
- package/esm/component/channel.d.ts +21 -0
- package/esm/component/component.inline.style.d.ts +10 -0
- package/esm/component/component.popup.style.d.ts +26 -0
- package/esm/component/popupWindow.style.d.ts +24 -0
- package/esm/config/index.d.ts +16 -0
- package/esm/config/request.d.ts +21 -0
- package/esm/constant/easysafepay.d.ts +16 -0
- package/esm/constant/index.d.ts +341 -0
- package/esm/constant/index.js +0 -3
- package/esm/core/bus/ability/callback.d.ts +9 -0
- package/esm/core/bus/ability/security.d.ts +10 -0
- package/esm/core/bus/ability/tracker.d.ts +9 -0
- package/esm/core/bus/index.d.ts +125 -0
- package/esm/core/bus/interface.d.ts +36 -0
- package/esm/core/component/address.d.ts +8 -0
- package/esm/core/component/appPreloadProcessing.d.ts +1 -0
- package/esm/core/component/ckp/index.d.ts +29 -0
- package/esm/core/component/element/EventCenter/index.d.ts +31 -0
- package/esm/core/component/element/elementContainerService/containerService.d.ts +34 -0
- package/esm/core/component/element/elementContainerService/index.d.ts +20 -0
- package/esm/core/component/element/elementController/index.d.ts +48 -0
- package/esm/core/component/element/elementProcessor/addressProcessor.d.ts +20 -0
- package/esm/core/component/element/elementProcessor/addressProcessor.js +3 -2
- package/esm/core/component/element/elementProcessor/authProcessor.d.ts +20 -0
- package/esm/core/component/element/elementProcessor/authProcessor.js +3 -2
- package/esm/core/component/element/elementProcessor/baseElementProcessor.d.ts +41 -0
- package/esm/core/component/element/elementProcessor/paymentProcessor.d.ts +22 -0
- package/esm/core/component/element/elementProcessor/paymentProcessor.js +28 -30
- package/esm/core/component/element/index.d.ts +13 -0
- package/esm/core/component/element/mock.d.ts +10 -0
- package/esm/core/component/element/type.d.ts +443 -0
- package/esm/core/component/element/util.d.ts +85 -0
- package/esm/core/component/index.d.ts +58 -0
- package/esm/core/drop-in/index.d.ts +22 -0
- package/esm/core/instance/index.d.ts +89 -0
- package/esm/foundation/core/index.d.ts +36 -0
- package/esm/foundation/core/index.js +0 -27
- package/esm/foundation/index.d.ts +97 -0
- package/esm/foundation/product-processor/autoDebit/deps.d.ts +14 -0
- package/esm/foundation/product-processor/autoDebit/index.d.ts +48 -0
- package/esm/foundation/product-processor/easysafepay/deps.d.ts +20 -0
- package/esm/foundation/product-processor/easysafepay/index.d.ts +29 -0
- package/esm/foundation/product-processor/element/index.d.ts +7 -0
- package/esm/foundation/service/api-bus/ability/callback.d.ts +9 -0
- package/esm/foundation/service/api-bus/ability/globalData.d.ts +10 -0
- package/esm/foundation/service/api-bus/ability/request.d.ts +10 -0
- package/esm/foundation/service/api-bus/ability/security.d.ts +12 -0
- package/esm/foundation/service/api-bus/ability/tracker.d.ts +9 -0
- package/esm/foundation/service/api-bus/busManager.d.ts +127 -0
- package/esm/foundation/service/api-bus/index.d.ts +20 -0
- package/esm/foundation/service/api-bus/interface.d.ts +48 -0
- package/esm/foundation/service/container/index.d.ts +41 -0
- package/esm/foundation/service/container/index.js +2 -33
- package/esm/foundation/service/container/popup.d.ts +31 -0
- package/esm/foundation/service/container/utils.d.ts +7 -0
- package/esm/foundation/service/event-center.d.ts +82 -0
- package/esm/foundation/service/global-data/index.d.ts +11 -0
- package/esm/foundation/service/index.d.ts +19 -0
- package/esm/foundation/service/log/index.d.ts +43 -0
- package/esm/foundation/service/log/keys.d.ts +13 -0
- package/esm/foundation/service/log/processor.d.ts +9 -0
- package/esm/foundation/service/log/types.d.ts +33 -0
- package/esm/foundation/service/requester/deps.d.ts +17 -0
- package/esm/foundation/service/requester/requester.d.ts +22 -0
- package/esm/foundation/service/security/index.d.ts +28 -0
- package/esm/foundation/service/security/security.d.ts +33 -0
- package/esm/foundation/utils/gray_scale_utils.d.ts +7 -0
- package/esm/foundation/utils/payment_context_utils.d.ts +13 -0
- package/esm/foundation/utils/payment_product_utils.d.ts +13 -0
- package/esm/foundation/utils/preload_helper.d.ts +21 -0
- package/esm/foundation/utils/redirect_utils.d.ts +11 -0
- package/esm/foundation/utils/system_events.d.ts +4 -0
- package/esm/foundation/utils/web_app_url_utils.d.ts +116 -0
- package/esm/foundation/utils/web_app_url_utils.js +15 -10
- package/esm/index.d.ts +54 -0
- package/esm/index.js +341 -5
- package/esm/plugin/applepay/component.d.ts +50 -0
- package/esm/plugin/applepay/index.d.ts +17 -0
- package/esm/plugin/applepay/interface.d.ts +161 -0
- package/esm/plugin/applepay/service.d.ts +54 -0
- package/esm/plugin/component/cashierApp.d.ts +38 -0
- package/esm/plugin/component/cashierApp.js +4 -7
- package/esm/plugin/component/channel.d.ts +57 -0
- package/esm/plugin/component/component.inline.style.d.ts +10 -0
- package/esm/plugin/component/component.popup.style.d.ts +25 -0
- package/esm/plugin/component/index.d.ts +133 -0
- package/esm/plugin/component/popupWindow.style.d.ts +11 -0
- package/esm/plugin/const.d.ts +2 -0
- package/esm/plugin/drop-in/index.d.ts +71 -0
- package/esm/plugin/payment-element/utils.d.ts +2 -0
- package/esm/plugin/paypal/index.d.ts +20 -0
- package/esm/plugin/type.d.ts +34 -0
- package/esm/plugin/utils.d.ts +6 -0
- package/esm/request/index.d.ts +9 -0
- package/esm/request/utils.d.ts +28 -0
- package/esm/service/index.d.ts +13 -0
- package/esm/types/index.d.ts +854 -0
- package/esm/util/createIframeNode.d.ts +6 -0
- package/esm/util/debug.d.ts +1 -0
- package/esm/util/get.d.ts +25 -0
- package/esm/util/getBackScheme.d.ts +5 -0
- package/esm/util/index.d.ts +61 -0
- package/esm/util/intl-callapp/es/browser.d.ts +21 -0
- package/esm/util/intl-callapp/es/evoke.d.ts +13 -0
- package/esm/util/intl-callapp/es/generate.d.ts +29 -0
- package/esm/util/intl-callapp/es/index.d.ts +43 -0
- package/esm/util/intl-callapp/es/main.d.ts +41 -0
- package/esm/util/intl-callapp/es/openWallet.d.ts +15 -0
- package/esm/util/intl-callapp/es/types.d.ts +46 -0
- package/esm/util/intl-callapp/es/utils/config.d.ts +24 -0
- package/esm/util/intl-callapp/es/utils/index.d.ts +15 -0
- package/esm/util/logger.d.ts +64 -0
- package/esm/util/logger.js +1 -1
- package/esm/util/mock.d.ts +1 -0
- package/esm/util/redirect.d.ts +6 -0
- package/esm/util/security.d.ts +34 -0
- package/esm/util/spm-map.d.ts +211 -0
- package/esm/util/storage.d.ts +2 -0
- package/esm/util/upgrade.d.ts +39 -0
- package/esm/util/versionCompare.d.ts +15 -0
- package/package.json +6 -16
- package/ams-checkout.js +0 -1
- package/esm/constant/auto-debit.js +0 -15
- package/esm/constant/element.js +0 -30
- package/esm/loader/Proxy.js +0 -364
- package/esm/loader/constant.js +0 -36
- package/esm/loader/index.js +0 -23
- package/esm/loader/utils/common.js +0 -63
- package/esm/loader/utils/debugger.js +0 -15
- package/esm/loader/utils/loadSDK.js +0 -92
- package/esm/loader/utils/logger.js +0 -59
- package/esm/loader/utils/proxyPerformance.js +0 -66
- package/esm/main.js +0 -329
- package/esm/util/integrationType.js +0 -48
package/LEGAL.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Copyright (c) 2022 International Business Group, Ant Group. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), the rights to use, copy, modify, merge, and/or distribute the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
1. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE; and
|
|
6
|
+
2. If applicable, the use of the Software is also subject to the terms and conditions of any non-disclosure agreement signed by you and the relevant Ant Group entity.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Copyright (c) 2022 International Business Group, Ant Group. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), the rights to use, copy, modify, merge, and/or distribute the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
1. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE; and
|
|
6
|
+
2. If applicable, the use of the Software is also subject to the terms and conditions of any non-disclosure agreement signed by you and the relevant Ant Group entity.
|
package/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# AMS CHECKOUT
|
|
2
|
+
|
|
3
|
+
Use _AMS CHECKOUT_ as an ES module.
|
|
4
|
+
|
|
5
|
+
The front-end cashier sdk can be integrated once to quickly access payment methods around the world
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Badges
|
|
10
|
+
|
|
11
|
+
[![HiTu package][HiTu-package-image]][Hitu-package-url]
|
|
12
|
+
[![HiTu components][HiTu-components-image]][Hitu-components-url]
|
|
13
|
+
[![HiTu score][HiTu-score-image]][Hitu-score-url]
|
|
14
|
+
[![TNPM version][tnpm-image]][tnpm-url]
|
|
15
|
+
[![TNPM downloads][tnpm-downloads-image]][tnpm-url]
|
|
16
|
+

|
|
17
|
+
到海兔查看「@alipay/ams-checkout 的 [包信息][tnpm-url]、[产物预览][tnpm-files-url]、[依赖信息][tnpm-deps-url]、[历史版本][tnpm-versions-url]」
|
|
18
|
+
|
|
19
|
+
[HiTu-package-image]: https://hitutwa.antgroup-inc.cn/badge/tnpm?title=HiTu&value=@alipay/ams-checkout
|
|
20
|
+
[HiTu-package-url]: https://hitutwa.antgroup-inc.cn/packages/@alipay/ams-checkout
|
|
21
|
+
[HiTu-components-image]: https://hitutwa.antgroup-inc.cn/badge/tnpm?package=@alipay/ams-checkout&type=components
|
|
22
|
+
[HiTu-components-url]: https://hitutwa.antgroup-inc.cn/packages/@alipay/ams-checkout/components
|
|
23
|
+
[HiTu-score-image]: https://hitutwa.antgroup-inc.cn/badge/tnpm?package=@alipay/ams-checkout&type=score
|
|
24
|
+
[HiTu-score-url]: https://hitutwa.antgroup-inc.cn/packages/@alipay/ams-checkout
|
|
25
|
+
[tnpm-image]: https://hitutwa.antgroup-inc.cn/badge/v/@alipay/ams-checkout
|
|
26
|
+
[tnpm-downloads-image]: https://hitutwa.antgroup-inc.cn/badge/tnpm?package=@alipay/ams-checkout
|
|
27
|
+
[tnpm-url]: https://hitu.antgroup-inc.cn/package/@alipay/ams-checkout
|
|
28
|
+
[tnpm-files-url]: https://hitu.antgroup-inc.cn/package/@alipay/ams-checkout/files
|
|
29
|
+
[tnpm-deps-url]: https://hitu.antgroup-inc.cn/package/@alipay/ams-checkout/deps
|
|
30
|
+
[tnpm-versions-url]: https://hitu.antgroup-inc.cn/package/@alipay/ams-checkout/versions
|
|
31
|
+
|
|
32
|
+
--------------------
|
|
33
|
+
|
|
34
|
+
## Features
|
|
35
|
+
|
|
36
|
+
- Efficient payment method rendering and high quality UI.
|
|
37
|
+
- Written in TypeScript with complete define types.
|
|
38
|
+
|
|
39
|
+
## Installation
|
|
40
|
+
|
|
41
|
+
Use `npm` to install the @alipay/ams-checkout module:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npm install @alipay/ams-checkout
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
### `@alipay/ams-checkout`
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
# Legal Disclaimer
|
|
54
|
+
|
|
55
|
+
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), the rights to use, copy, modify, merge, and/or distribute the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
56
|
+
|
|
57
|
+
1. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE; and
|
|
58
|
+
2. If applicable, the use of the Software is also subject to the terms and conditions of any non-disclosure agreement signed by you and the relevant Ant Group entity.
|