@paypay/mini-app-js-sdk 1.16.0 → 1.20.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/dist/composition-api/dom/index.d.ts +4 -4
- package/dist/composition-api/dom/useEventListener.d.ts +8 -8
- package/dist/composition-api/dom/useHorizontalScrollDirective.d.ts +4 -4
- package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +1 -1
- package/dist/composition-api/dom/useVerticalScrollDirective.d.ts +4 -4
- package/dist/composition-api/useErrorSheet.d.ts +3 -3
- package/dist/composition-api/useGetUserAddress.d.ts +2 -2
- package/dist/composition-api/useHeightProperties.d.ts +19 -19
- package/dist/composition-api/useInpuAddress.d.ts +2 -2
- package/dist/composition-api/useMakePayment.d.ts +3 -3
- package/dist/composition-api/useOpenApp.d.ts +3 -3
- package/dist/composition-api/useOpenMap.d.ts +3 -3
- package/dist/composition-api/useRegisterEmail.d.ts +2 -2
- package/dist/composition-api/useRenderSmartButton.d.ts +3 -0
- package/dist/composition-api/useShowAlert.d.ts +3 -3
- package/dist/composition-api/useShowUpdateWarning.d.ts +3 -3
- package/dist/composition-api/useTakePhoto.d.ts +3 -3
- package/dist/composition-api/useTopup.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/jsbridge-core/index.d.ts +4 -4
- package/dist/jsbridge-core/jsbridge.d.ts +62 -62
- package/dist/jsbridge-core/lib/browser.d.ts +3 -3
- package/dist/jsbridge-core/lib/logger.d.ts +9 -9
- package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -2
- package/dist/jsbridge-core/module.d.ts +15 -14
- package/dist/jsbridge-core/namespace.d.ts +2 -2
- package/dist/jsbridge-core/paypay-jsbridge.d.ts +17 -16
- package/dist/mini-app-api.d.ts +51 -48
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.d.ts +9 -9
- package/dist/mini-app-js-sdk.es.js +31001 -1
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +3 -3
- package/dist/model/bridge/checkPaymentMethod.d.ts +2 -2
- package/dist/model/bridge/closeApp.d.ts +2 -2
- package/dist/model/bridge/copyToClipboard.d.ts +2 -2
- package/dist/model/bridge/debug.d.ts +3 -3
- package/dist/model/bridge/getAppDetail.d.ts +17 -17
- package/dist/model/bridge/getAuthStatus.d.ts +3 -0
- package/dist/model/bridge/getBalance.d.ts +2 -2
- package/dist/model/bridge/getConfigure.d.ts +39 -39
- package/dist/model/bridge/getDeviceInformation.d.ts +3 -3
- package/dist/model/bridge/getKycInformation.d.ts +2 -2
- package/dist/model/bridge/getPermissionStatus.d.ts +2 -2
- package/dist/model/bridge/getPlatformInformation.d.ts +3 -3
- package/dist/model/bridge/getSessionData.d.ts +2 -2
- package/dist/model/bridge/getStorageData.d.ts +2 -2
- package/dist/model/bridge/getTopBarHeight.d.ts +3 -3
- package/dist/model/bridge/getUAID.d.ts +3 -3
- package/dist/model/bridge/getUserAddress.d.ts +2 -2
- package/dist/model/bridge/getUserLocation.d.ts +2 -2
- package/dist/model/bridge/getUserProfile.d.ts +3 -3
- package/dist/model/bridge/index.d.ts +43 -41
- package/dist/model/bridge/init.d.ts +2 -2
- package/dist/model/bridge/inputAddress.d.ts +2 -2
- package/dist/model/bridge/logout.d.ts +3 -3
- package/dist/model/bridge/makePayment.d.ts +2 -2
- package/dist/model/bridge/openApp.d.ts +2 -2
- package/dist/model/bridge/openMap.d.ts +2 -2
- package/dist/model/bridge/openWebview.d.ts +3 -3
- package/dist/model/bridge/registerEmail.d.ts +2 -2
- package/dist/model/bridge/registerKyc.d.ts +2 -2
- package/dist/model/bridge/removeStorageData.d.ts +2 -2
- package/dist/model/bridge/render.d.ts +2 -0
- package/dist/model/bridge/renderLoginButton.d.ts +2 -0
- package/dist/model/bridge/renderPayButton.d.ts +2 -0
- package/dist/model/bridge/request.d.ts +2 -2
- package/dist/model/bridge/requestInternal.d.ts +2 -2
- package/dist/model/bridge/scanCode.d.ts +3 -3
- package/dist/model/bridge/setSessionData.d.ts +2 -2
- package/dist/model/bridge/setStorageData.d.ts +2 -2
- package/dist/model/bridge/setTitle.d.ts +2 -2
- package/dist/model/bridge/share.d.ts +2 -2
- package/dist/model/bridge/showAlert.d.ts +2 -2
- package/dist/model/bridge/showErrorSheet.d.ts +2 -2
- package/dist/model/bridge/showUpdateWarning.d.ts +2 -2
- package/dist/model/bridge/startMultiFactorAuth.d.ts +2 -2
- package/dist/model/bridge/takePhoto.d.ts +2 -2
- package/dist/model/bridge/topup.d.ts +2 -2
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +3 -3
- package/dist/model/makePayment.d.ts +324 -323
- package/dist/model/miniAppError.d.ts +57 -55
- package/dist/model/miniAppStatus.d.ts +9 -8
- package/dist/model/permission.d.ts +21 -18
- package/dist/model/uiComponents.d.ts +23 -23
- package/dist/package/action-sheet/index.d.ts +90 -91
- package/dist/package/banner-header/index.vue.d.ts +56 -56
- package/dist/package/button/index.d.ts +69 -69
- package/dist/package/charge-amount-list/index.vue.d.ts +54 -54
- package/dist/package/charge-amount-more-list/index.vue.d.ts +19 -19
- package/dist/package/date-button/index.vue.d.ts +21 -21
- package/dist/package/divider/index.d.ts +21 -22
- package/dist/package/header/index.d.ts +65 -65
- package/dist/package/index.d.ts +16 -16
- package/dist/package/input/index.d.ts +169 -170
- package/dist/package/input/utils.d.ts +10 -10
- package/dist/package/lottie/index.d.ts +61 -62
- package/dist/package/overlay/index.d.ts +44 -45
- package/dist/package/payment-method/Bank.vue.d.ts +35 -35
- package/dist/package/payment-method/CreditCard.vue.d.ts +42 -42
- package/dist/package/payment-method/SbidBank.vue.d.ts +21 -21
- package/dist/package/payment-method/Wallet.vue.d.ts +31 -31
- package/dist/package/payment-method/index.d.ts +15 -15
- package/dist/package/payment-method-list/index.vue.d.ts +27 -27
- package/dist/package/payment-type/Bank.vue.d.ts +31 -31
- package/dist/package/payment-type/{CrediCard.vue.d.ts → CreditCard.vue.d.ts} +32 -32
- package/dist/package/payment-type/Sbid.vue.d.ts +17 -17
- package/dist/package/payment-type/Wallet.vue.d.ts +17 -17
- package/dist/package/payment-type/index.d.ts +15 -15
- package/dist/package/select-list/Components.d.ts +65 -65
- package/dist/package/select-list/index.d.ts +73 -73
- package/dist/package/switch/index.d.ts +22 -23
- package/dist/types.d.ts +344 -299
- package/dist/utils/api.d.ts +147 -142
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/create/bem.d.ts +6 -6
- package/dist/utils/create/index.d.ts +5 -5
- package/dist/utils/fetch.d.ts +16 -16
- package/dist/utils/getImages.d.ts +5 -5
- package/dist/utils/getLanguage.d.ts +3 -3
- package/dist/utils/helper.d.ts +47 -40
- package/dist/utils/ip.d.ts +2 -2
- package/dist/utils/miniAppRequest.d.ts +9 -9
- package/dist/utils/popstateHandler.d.ts +4 -4
- package/dist/utils/secondary-list.d.ts +1 -1
- package/dist/utils/storage.d.ts +26 -22
- package/dist/views/email-registration/App.vue.d.ts +79 -79
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +45 -45
- package/dist/views/email-registration/components/icons.d.ts +2 -2
- package/dist/views/email-registration/hooks/callback.d.ts +7 -7
- package/dist/views/email-registration/hooks/ui.d.ts +29 -29
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +52 -52
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +24 -24
- package/dist/views/error-sheet/Index.vue.d.ts +52 -52
- package/dist/views/get-user-address/App.vue.d.ts +44 -36
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +73 -72
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +23 -23
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +33 -33
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +35 -35
- package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +4 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +83 -75
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +62 -49
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +32 -28
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +25 -13
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +41 -30
- package/dist/views/get-user-address/hooks/ui-hooks.d.ts +14 -11
- package/dist/views/get-user-address/store/error-handle.d.ts +12 -12
- package/dist/views/get-user-address/store/root.d.ts +14 -12
- package/dist/views/input-address/App.vue.d.ts +36 -36
- package/dist/views/input-address/hook/app.d.ts +13 -13
- package/dist/views/input-address/hook/error-handle.d.ts +10 -10
- package/dist/views/input-address/hook/root.d.ts +10 -10
- package/dist/views/make-payment/App.vue.d.ts +52 -36
- package/dist/views/make-payment/Main.vue.d.ts +630 -594
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +25 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +20 -20
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +19 -19
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +16 -16
- package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +24 -24
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +26 -26
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +53 -53
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +32 -32
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +80 -80
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +49 -49
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +522 -520
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +38 -38
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +23 -23
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +27 -27
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +108 -81
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +36 -36
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +69 -69
- package/dist/views/make-payment/hooks/app-hooks.d.ts +568 -565
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +72 -51
- package/dist/views/make-payment/store/age-confirm.d.ts +9 -9
- package/dist/views/make-payment/store/handle-error.d.ts +36 -36
- package/dist/views/make-payment/store/root.d.ts +22 -22
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +16 -16
- package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -3
- package/dist/views/open-app/App.vue.d.ts +28 -28
- package/dist/views/open-map/App.vue.d.ts +28 -28
- package/dist/views/show-alert/App.vue.d.ts +36 -36
- package/dist/views/show-update-warning/App.vue.d.ts +28 -28
- package/dist/views/smart-button/App.vue.d.ts +87 -0
- package/dist/views/take-photo/App.vue.d.ts +25 -25
- package/dist/views/take-photo/helper.d.ts +2 -2
- package/dist/views/topup/App.vue.d.ts +102 -100
- package/dist/views/topup/BannerInfo.vue.d.ts +23 -23
- package/dist/views/topup/CashbackInfo.vue.d.ts +44 -44
- package/dist/views/topup/TopupCompletion.vue.d.ts +26 -26
- package/package.json +9 -16
- package/dist/utils/mock-data/mockData.d.ts +0 -64
- package/dist/utils/ns.d.ts +0 -5
|
@@ -1,55 +1,57 @@
|
|
|
1
|
-
export declare enum MiniAppErrorType {
|
|
2
|
-
success = "SUCCESS",
|
|
3
|
-
invalidUrl = "INVALID_URL",
|
|
4
|
-
invalidData = "INVALID_DATA",
|
|
5
|
-
invalidHeader = "INVALID_HEADER",
|
|
6
|
-
invalidMethod = "INVALID_METHOD",
|
|
7
|
-
invalidPath = "INVALID_PATH",
|
|
8
|
-
notReachable = "NOT_REACHABLE",
|
|
9
|
-
notAvailable = "NOT_AVAILABLE",
|
|
10
|
-
timeOut = "TIME_OUT",
|
|
11
|
-
whiteListError = "NONE_WHITELIST_DOMAIN",
|
|
12
|
-
statusCodeError = "STATUS_CODE_ERROR",
|
|
13
|
-
invalidResponse = "INVALID_RESPONSE",
|
|
14
|
-
noLocationPermission = "NO_USER_LOCATION_PERMISSION",
|
|
15
|
-
noPermissionListAvailable = "NO_PERMISSION_LIST_AVAILABLE",
|
|
16
|
-
other = "other",
|
|
17
|
-
serverError = "SERVER_ERROR",
|
|
18
|
-
noCameraPermission = "HOST_APP_CAMERA_DENIED",
|
|
19
|
-
noAlbumPermission = "HOST_APP_ALBUM_DENIED",
|
|
20
|
-
insufficientScope = "INSUFFICIENT_SCOPE",
|
|
21
|
-
userCanceled = "USER_CANCELED",
|
|
22
|
-
photoError = "PHOTO_ERROR",
|
|
23
|
-
invalidJSAPIParams = "INVALID_JS_API_PARAMS",
|
|
24
|
-
hostAppLocationDenied = "HOST_APP_LOCATION_DENIED",
|
|
25
|
-
hostAppContactsDenied = "HOST_APP_READING_CONTACT_DENIED",
|
|
26
|
-
badRequestInsufficientParameter = "BAD_REQUEST_INSUFFICIENT_PARAMETER",
|
|
27
|
-
badRequest = "BAD_REQUEST",
|
|
28
|
-
paymentFail = "PAYMENT_FAIL",
|
|
29
|
-
topupFail = "TOPUP_FAIL",
|
|
30
|
-
topupSuccessButNotAddToBalance = "
|
|
31
|
-
userCanceledSimilarTxn = "USER_CANCELED_SIMILAR_TRANSACTION",
|
|
32
|
-
mapAppNotFound = "MAP_APP_NOT_FOUND",
|
|
33
|
-
invalidAppSchemeURL = "INVALID_APP_SCHEME_URL",
|
|
34
|
-
noValueFound = "NO_VALUE_FOUND",
|
|
35
|
-
securityNotSetup = "SECURITY_NOT_SETUP",
|
|
36
|
-
userDenied = "USER_DENIED",
|
|
37
|
-
securityTemporaryLocked = "SECURITY_TEMPORARY_LOCKED",
|
|
38
|
-
couldNotGenerateBarcode = "COULD_NOT_GENERATE_BARCODE",
|
|
39
|
-
cannotDetectAvailability = "CAN_NOT_DETECT_AVAILABILITY",
|
|
40
|
-
suspectedDuplicatePayment = "SUSPECTED_DUPLICATE_PAYMENT",
|
|
41
|
-
noSufficientFund = "NO_SUFFICIENT_FUND",
|
|
42
|
-
unknown = "UNKNOWN",
|
|
43
|
-
sdkNotInitialized = "
|
|
44
|
-
tokenNotFound = "TOKEN_NOT_FOUND",
|
|
45
|
-
tokenExpired = "TOKEN_EXPIRED",
|
|
46
|
-
activeRequestExists = "ACTIVE_REQUEST_EXISTS",
|
|
47
|
-
invalidType = "INVALID_TYPE",
|
|
48
|
-
sessionNotFound = "SESSION_NOT_FOUND",
|
|
49
|
-
cookieError = "COOKIE_ERROR",
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
1
|
+
export declare enum MiniAppErrorType {
|
|
2
|
+
success = "SUCCESS",
|
|
3
|
+
invalidUrl = "INVALID_URL",
|
|
4
|
+
invalidData = "INVALID_DATA",
|
|
5
|
+
invalidHeader = "INVALID_HEADER",
|
|
6
|
+
invalidMethod = "INVALID_METHOD",
|
|
7
|
+
invalidPath = "INVALID_PATH",
|
|
8
|
+
notReachable = "NOT_REACHABLE",
|
|
9
|
+
notAvailable = "NOT_AVAILABLE",
|
|
10
|
+
timeOut = "TIME_OUT",
|
|
11
|
+
whiteListError = "NONE_WHITELIST_DOMAIN",
|
|
12
|
+
statusCodeError = "STATUS_CODE_ERROR",
|
|
13
|
+
invalidResponse = "INVALID_RESPONSE",
|
|
14
|
+
noLocationPermission = "NO_USER_LOCATION_PERMISSION",
|
|
15
|
+
noPermissionListAvailable = "NO_PERMISSION_LIST_AVAILABLE",
|
|
16
|
+
other = "other",
|
|
17
|
+
serverError = "SERVER_ERROR",
|
|
18
|
+
noCameraPermission = "HOST_APP_CAMERA_DENIED",
|
|
19
|
+
noAlbumPermission = "HOST_APP_ALBUM_DENIED",
|
|
20
|
+
insufficientScope = "INSUFFICIENT_SCOPE",
|
|
21
|
+
userCanceled = "USER_CANCELED",
|
|
22
|
+
photoError = "PHOTO_ERROR",
|
|
23
|
+
invalidJSAPIParams = "INVALID_JS_API_PARAMS",
|
|
24
|
+
hostAppLocationDenied = "HOST_APP_LOCATION_DENIED",
|
|
25
|
+
hostAppContactsDenied = "HOST_APP_READING_CONTACT_DENIED",
|
|
26
|
+
badRequestInsufficientParameter = "BAD_REQUEST_INSUFFICIENT_PARAMETER",
|
|
27
|
+
badRequest = "BAD_REQUEST",
|
|
28
|
+
paymentFail = "PAYMENT_FAIL",
|
|
29
|
+
topupFail = "TOPUP_FAIL",
|
|
30
|
+
topupSuccessButNotAddToBalance = "TOPUP_SUCCESS_BUT_NOT_ADD_TO_BALANCE",
|
|
31
|
+
userCanceledSimilarTxn = "USER_CANCELED_SIMILAR_TRANSACTION",
|
|
32
|
+
mapAppNotFound = "MAP_APP_NOT_FOUND",
|
|
33
|
+
invalidAppSchemeURL = "INVALID_APP_SCHEME_URL",
|
|
34
|
+
noValueFound = "NO_VALUE_FOUND",
|
|
35
|
+
securityNotSetup = "SECURITY_NOT_SETUP",
|
|
36
|
+
userDenied = "USER_DENIED",
|
|
37
|
+
securityTemporaryLocked = "SECURITY_TEMPORARY_LOCKED",
|
|
38
|
+
couldNotGenerateBarcode = "COULD_NOT_GENERATE_BARCODE",
|
|
39
|
+
cannotDetectAvailability = "CAN_NOT_DETECT_AVAILABILITY",
|
|
40
|
+
suspectedDuplicatePayment = "SUSPECTED_DUPLICATE_PAYMENT",
|
|
41
|
+
noSufficientFund = "NO_SUFFICIENT_FUND",
|
|
42
|
+
unknown = "UNKNOWN",
|
|
43
|
+
sdkNotInitialized = "SDK_NOT_INITIALIZED",
|
|
44
|
+
tokenNotFound = "TOKEN_NOT_FOUND",
|
|
45
|
+
tokenExpired = "TOKEN_EXPIRED",
|
|
46
|
+
activeRequestExists = "ACTIVE_REQUEST_EXISTS",
|
|
47
|
+
invalidType = "INVALID_TYPE",
|
|
48
|
+
sessionNotFound = "SESSION_NOT_FOUND",
|
|
49
|
+
cookieError = "COOKIE_ERROR",
|
|
50
|
+
notAuthorized = "NOT_AUTHORIZED",
|
|
51
|
+
permissionRequired = "PERMISSION_REQUIRED",
|
|
52
|
+
deeplinkUnavailable = "DEEPLINK_UNAVAILABLE"
|
|
53
|
+
}
|
|
54
|
+
export declare class MiniAppError extends Error {
|
|
55
|
+
constructor(type: MiniAppErrorType);
|
|
56
|
+
toString(): string;
|
|
57
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export declare enum MiniAppStatusType {
|
|
2
|
-
validToken = "TOKEN_VALID",
|
|
3
|
-
initialized = "INITIALIZED",
|
|
4
|
-
emailRegistered = "EMAIL_REGISTERED",
|
|
5
|
-
emailNotVerified = "EMAIL_NOT_VERIFIED",
|
|
6
|
-
success = "SUCCESS",
|
|
7
|
-
loggedOut = "LOGGED_OUT"
|
|
8
|
-
|
|
1
|
+
export declare enum MiniAppStatusType {
|
|
2
|
+
validToken = "TOKEN_VALID",
|
|
3
|
+
initialized = "INITIALIZED",
|
|
4
|
+
emailRegistered = "EMAIL_REGISTERED",
|
|
5
|
+
emailNotVerified = "EMAIL_NOT_VERIFIED",
|
|
6
|
+
success = "SUCCESS",
|
|
7
|
+
loggedOut = "LOGGED_OUT",
|
|
8
|
+
connected = "CONNECTED"
|
|
9
|
+
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
export declare enum PermissionStatus {
|
|
2
|
-
granted = "GRANTED",
|
|
3
|
-
denied = "DENIED"
|
|
4
|
-
}
|
|
5
|
-
export declare const PermissionName: {
|
|
6
|
-
mini_app_payment_balance: string;
|
|
7
|
-
mini_app_device_info: string;
|
|
8
|
-
mini_app_user_contacts: string;
|
|
9
|
-
mini_app_device_battery: string;
|
|
10
|
-
mini_app_kyc: string;
|
|
11
|
-
mini_app_user_location: string;
|
|
12
|
-
mini_app_check_payment_method: string;
|
|
13
|
-
cashback: string;
|
|
14
|
-
bank_registration: string;
|
|
15
|
-
mini_app_user_email_address: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
export declare enum PermissionStatus {
|
|
2
|
+
granted = "GRANTED",
|
|
3
|
+
denied = "DENIED"
|
|
4
|
+
}
|
|
5
|
+
export declare const PermissionName: {
|
|
6
|
+
mini_app_payment_balance: string;
|
|
7
|
+
mini_app_device_info: string;
|
|
8
|
+
mini_app_user_contacts: string;
|
|
9
|
+
mini_app_device_battery: string;
|
|
10
|
+
mini_app_kyc: string;
|
|
11
|
+
mini_app_user_location: string;
|
|
12
|
+
mini_app_check_payment_method: string;
|
|
13
|
+
cashback: string;
|
|
14
|
+
bank_registration: string;
|
|
15
|
+
mini_app_user_email_address: string;
|
|
16
|
+
mini_app_user_address: string;
|
|
17
|
+
mini_app_user_phone_camera: string;
|
|
18
|
+
mini_app_user_phone_album: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const checkPermission: (permissionNames: string[] | string) => Promise<PermissionStatus>;
|
|
21
|
+
export declare function getUserGrantedPermission(): Promise<string[]>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export declare enum UIComponentsButtonActionType {
|
|
2
|
-
DEEPLINK = "DEEPLINK",
|
|
3
|
-
CLOSE = "CLOSE"
|
|
4
|
-
}
|
|
5
|
-
export declare enum UIComponentsButtonType {
|
|
6
|
-
BLUE = "BLUE",
|
|
7
|
-
WHITE = "WHITE"
|
|
8
|
-
}
|
|
9
|
-
export declare type UIComponentsErrorButton = {
|
|
10
|
-
nativeAction: string;
|
|
11
|
-
title: string;
|
|
12
|
-
actionType: UIComponentsButtonActionType;
|
|
13
|
-
buttonType: UIComponentsButtonType;
|
|
14
|
-
deeplink?: string;
|
|
15
|
-
googleAnalyticsInfo: any;
|
|
16
|
-
};
|
|
17
|
-
export declare type UIComponentsError = {
|
|
18
|
-
title: string;
|
|
19
|
-
buttonList: Array<UIComponentsErrorButton>;
|
|
20
|
-
iconUrl?: string;
|
|
21
|
-
description: string;
|
|
22
|
-
canCloseByOutsideTap: boolean;
|
|
23
|
-
};
|
|
1
|
+
export declare enum UIComponentsButtonActionType {
|
|
2
|
+
DEEPLINK = "DEEPLINK",
|
|
3
|
+
CLOSE = "CLOSE"
|
|
4
|
+
}
|
|
5
|
+
export declare enum UIComponentsButtonType {
|
|
6
|
+
BLUE = "BLUE",
|
|
7
|
+
WHITE = "WHITE"
|
|
8
|
+
}
|
|
9
|
+
export declare type UIComponentsErrorButton = {
|
|
10
|
+
nativeAction: string;
|
|
11
|
+
title: string;
|
|
12
|
+
actionType: UIComponentsButtonActionType;
|
|
13
|
+
buttonType: UIComponentsButtonType;
|
|
14
|
+
deeplink?: string;
|
|
15
|
+
googleAnalyticsInfo: any;
|
|
16
|
+
};
|
|
17
|
+
export declare type UIComponentsError = {
|
|
18
|
+
title: string;
|
|
19
|
+
buttonList: Array<UIComponentsErrorButton>;
|
|
20
|
+
iconUrl?: string;
|
|
21
|
+
description: string;
|
|
22
|
+
canCloseByOutsideTap: boolean;
|
|
23
|
+
};
|
|
@@ -1,91 +1,90 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
show: boolean;
|
|
69
|
-
class: string;
|
|
70
|
-
appear: boolean;
|
|
71
|
-
round: boolean;
|
|
72
|
-
direction: "bottom" | "left";
|
|
73
|
-
fullScreen: boolean;
|
|
74
|
-
forbiddenSwipe: boolean;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
show: boolean;
|
|
82
|
-
class: string;
|
|
83
|
-
appear: boolean;
|
|
84
|
-
round: boolean;
|
|
85
|
-
direction: "bottom" | "left";
|
|
86
|
-
fullScreen: boolean;
|
|
87
|
-
forbiddenSwipe: boolean;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}>;
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const ActionSheet: import("vue").DefineComponent<{
|
|
3
|
+
show: BooleanConstructor;
|
|
4
|
+
class: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
appear: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
round: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
direction: {
|
|
17
|
+
type: PropType<"bottom" | "left">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
fullScreen: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
forbiddenSwipe: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
style: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
default: () => {};
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
noPaddingBottom: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
noOverlay: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
slots: Readonly<{
|
|
45
|
+
[name: string]: import("vue").Slot;
|
|
46
|
+
}>;
|
|
47
|
+
moving: import("vue").ComputedRef<boolean>;
|
|
48
|
+
containerStyle: import("vue").ComputedRef<{
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}>;
|
|
51
|
+
touchStart: (e: TouchEvent) => void;
|
|
52
|
+
touchEnd: () => void;
|
|
53
|
+
touchMove: (e: TouchEvent) => void;
|
|
54
|
+
close: () => void;
|
|
55
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
56
|
+
show?: unknown;
|
|
57
|
+
class?: unknown;
|
|
58
|
+
appear?: unknown;
|
|
59
|
+
round?: unknown;
|
|
60
|
+
direction?: unknown;
|
|
61
|
+
fullScreen?: unknown;
|
|
62
|
+
forbiddenSwipe?: unknown;
|
|
63
|
+
style?: unknown;
|
|
64
|
+
noPaddingBottom?: unknown;
|
|
65
|
+
noOverlay?: unknown;
|
|
66
|
+
} & {
|
|
67
|
+
style: Record<string, any>;
|
|
68
|
+
show: boolean;
|
|
69
|
+
class: string;
|
|
70
|
+
appear: boolean;
|
|
71
|
+
round: boolean;
|
|
72
|
+
direction: "bottom" | "left";
|
|
73
|
+
fullScreen: boolean;
|
|
74
|
+
forbiddenSwipe: boolean;
|
|
75
|
+
noPaddingBottom: boolean;
|
|
76
|
+
noOverlay: boolean;
|
|
77
|
+
} & {}> & {
|
|
78
|
+
onClose?: (...args: any[]) => any;
|
|
79
|
+
}, {
|
|
80
|
+
style: Record<string, any>;
|
|
81
|
+
show: boolean;
|
|
82
|
+
class: string;
|
|
83
|
+
appear: boolean;
|
|
84
|
+
round: boolean;
|
|
85
|
+
direction: "bottom" | "left";
|
|
86
|
+
fullScreen: boolean;
|
|
87
|
+
forbiddenSwipe: boolean;
|
|
88
|
+
noPaddingBottom: boolean;
|
|
89
|
+
noOverlay: boolean;
|
|
90
|
+
}>;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { BannerInfo } from '../../model/makePayment';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
showTitle: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
descriptionBannerInfo: {
|
|
9
|
-
type: PropType<BannerInfo>;
|
|
10
|
-
required: true;
|
|
11
|
-
default: () => BannerInfo;
|
|
12
|
-
};
|
|
13
|
-
textStyle: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
class: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
required: false;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
iconAlignRight: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
required: false;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
iconImageUrl: import("vue").ComputedRef<string>;
|
|
30
|
-
title: import("vue").ComputedRef<string>;
|
|
31
|
-
label: import("vue").ComputedRef<string>;
|
|
32
|
-
customClass: string;
|
|
33
|
-
style: Record<string, string>;
|
|
34
|
-
show: () => void;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "show"[], "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
-
showTitle?: unknown;
|
|
37
|
-
descriptionBannerInfo?: unknown;
|
|
38
|
-
textStyle?: unknown;
|
|
39
|
-
class?: unknown;
|
|
40
|
-
iconAlignRight?: unknown;
|
|
41
|
-
} & {
|
|
42
|
-
|
|
43
|
-
descriptionBannerInfo: BannerInfo;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
iconAlignRight: boolean;
|
|
47
|
-
} & {}> & {
|
|
48
|
-
onShow?: (...args: any[]) => any;
|
|
49
|
-
}, {
|
|
50
|
-
|
|
51
|
-
descriptionBannerInfo: BannerInfo;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
iconAlignRight: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
export default _default;
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BannerInfo } from '../../model/makePayment';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
showTitle: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
descriptionBannerInfo: {
|
|
9
|
+
type: PropType<BannerInfo>;
|
|
10
|
+
required: true;
|
|
11
|
+
default: () => BannerInfo;
|
|
12
|
+
};
|
|
13
|
+
textStyle: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
class: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
iconAlignRight: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
required: false;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
iconImageUrl: import("vue").ComputedRef<string>;
|
|
30
|
+
title: import("vue").ComputedRef<string>;
|
|
31
|
+
label: import("vue").ComputedRef<string>;
|
|
32
|
+
customClass: string;
|
|
33
|
+
style: Record<string, string>;
|
|
34
|
+
show: () => void;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "show"[], "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
+
showTitle?: unknown;
|
|
37
|
+
descriptionBannerInfo?: unknown;
|
|
38
|
+
textStyle?: unknown;
|
|
39
|
+
class?: unknown;
|
|
40
|
+
iconAlignRight?: unknown;
|
|
41
|
+
} & {
|
|
42
|
+
class: string;
|
|
43
|
+
descriptionBannerInfo: BannerInfo;
|
|
44
|
+
showTitle: boolean;
|
|
45
|
+
textStyle: string;
|
|
46
|
+
iconAlignRight: boolean;
|
|
47
|
+
} & {}> & {
|
|
48
|
+
onShow?: (...args: any[]) => any;
|
|
49
|
+
}, {
|
|
50
|
+
class: string;
|
|
51
|
+
descriptionBannerInfo: BannerInfo;
|
|
52
|
+
showTitle: boolean;
|
|
53
|
+
textStyle: string;
|
|
54
|
+
iconAlignRight: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare type ButtonType = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'link' | 'outLined';
|
|
3
|
-
export declare type ButtonSize = 'large' | 'normal' | 'small';
|
|
4
|
-
export declare const Button: import("vue").DefineComponent<{
|
|
5
|
-
disabled: BooleanConstructor;
|
|
6
|
-
loading: BooleanConstructor;
|
|
7
|
-
block: BooleanConstructor;
|
|
8
|
-
type: {
|
|
9
|
-
type: PropType<ButtonType>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<ButtonSize>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
tabIndex: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
required: false;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
name: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
required: false;
|
|
24
|
-
};
|
|
25
|
-
disabledClassName: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
required: false;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
class: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
required: false;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
}, {
|
|
36
|
-
onClick: (event: MouseEvent) => void;
|
|
37
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
38
|
-
disabled?: unknown;
|
|
39
|
-
loading?: unknown;
|
|
40
|
-
block?: unknown;
|
|
41
|
-
type?: unknown;
|
|
42
|
-
size?: unknown;
|
|
43
|
-
tabIndex?: unknown;
|
|
44
|
-
name?: unknown;
|
|
45
|
-
disabledClassName?: unknown;
|
|
46
|
-
class?: unknown;
|
|
47
|
-
} & {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} & {
|
|
57
|
-
name?: string;
|
|
58
|
-
}> & {
|
|
59
|
-
onClick?: (...args: any[]) => any;
|
|
60
|
-
}, {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}>;
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare type ButtonType = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'link' | 'outLined';
|
|
3
|
+
export declare type ButtonSize = 'large' | 'normal' | 'small';
|
|
4
|
+
export declare const Button: import("vue").DefineComponent<{
|
|
5
|
+
disabled: BooleanConstructor;
|
|
6
|
+
loading: BooleanConstructor;
|
|
7
|
+
block: BooleanConstructor;
|
|
8
|
+
type: {
|
|
9
|
+
type: PropType<ButtonType>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<ButtonSize>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
tabIndex: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
disabledClassName: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
class: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
onClick: (event: MouseEvent) => void;
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
38
|
+
disabled?: unknown;
|
|
39
|
+
loading?: unknown;
|
|
40
|
+
block?: unknown;
|
|
41
|
+
type?: unknown;
|
|
42
|
+
size?: unknown;
|
|
43
|
+
tabIndex?: unknown;
|
|
44
|
+
name?: unknown;
|
|
45
|
+
disabledClassName?: unknown;
|
|
46
|
+
class?: unknown;
|
|
47
|
+
} & {
|
|
48
|
+
class: string;
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
loading: boolean;
|
|
51
|
+
block: boolean;
|
|
52
|
+
type: ButtonType;
|
|
53
|
+
size: ButtonSize;
|
|
54
|
+
tabIndex: number;
|
|
55
|
+
disabledClassName: string;
|
|
56
|
+
} & {
|
|
57
|
+
name?: string;
|
|
58
|
+
}> & {
|
|
59
|
+
onClick?: (...args: any[]) => any;
|
|
60
|
+
}, {
|
|
61
|
+
class: string;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
loading: boolean;
|
|
64
|
+
block: boolean;
|
|
65
|
+
type: ButtonType;
|
|
66
|
+
size: ButtonSize;
|
|
67
|
+
tabIndex: number;
|
|
68
|
+
disabledClassName: string;
|
|
69
|
+
}>;
|