@paypay/mini-app-js-sdk 1.34.0 → 1.37.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/useRegisterEmail.d.ts +1 -1
- package/dist/mini-app-api.d.ts +2 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +19174 -15071
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/index.d.ts +1 -0
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/registerUserInfo.d.ts +2 -0
- package/dist/model/makePayment.d.ts +1 -1
- package/dist/model/miniAppError.d.ts +2 -2
- package/dist/package/action-sheet/index.d.ts +3 -1
- package/dist/package/button/LoadingIndicator.vue.d.ts +2 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +58 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +58 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +58 -0
- package/dist/package/payment-type/Bank.vue.d.ts +8 -0
- package/dist/package/payment-type/CreditCard.vue.d.ts +10 -1
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +68 -1
- package/dist/package/payment-type/Sbid.vue.d.ts +68 -1
- package/dist/package/payment-type/Wallet.vue.d.ts +68 -1
- package/dist/package/payment-type/index.d.ts +10 -1
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +58 -0
- package/dist/types.d.ts +4 -0
- package/dist/utils/api.d.ts +26 -7
- package/dist/utils/getImages.d.ts +6 -0
- package/dist/utils/getLanguage.d.ts +52 -0
- package/dist/views/email-registration/App.vue.d.ts +23 -286
- package/dist/views/email-registration/hooks/callback.d.ts +4 -2
- package/dist/views/email-registration/hooks/const.d.ts +1 -0
- package/dist/views/email-registration/hooks/ui.d.ts +7 -13
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +39 -0
- package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +70 -0
- package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +23 -0
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +51 -0
- package/dist/views/error-sheet/Index.vue.d.ts +83 -8
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +52 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +6 -0
- package/dist/views/get-user-address/App.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +58 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +55 -3
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +2 -2
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +52 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +52 -0
- package/dist/views/get-user-address/store/error-handle.d.ts +2 -3
- package/dist/views/input-address/App.vue.d.ts +2 -2
- package/dist/views/input-address/hook/app.d.ts +4 -4
- package/dist/views/input-address/hook/error-handle.d.ts +1 -10
- package/dist/views/make-payment/Main.vue.d.ts +5 -1
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +52 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +52 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +52 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +52 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +52 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +52 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +58 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +6 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +58 -0
- package/dist/views/open-app/App.vue.d.ts +58 -0
- package/dist/views/open-map/App.vue.d.ts +52 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +781 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +839 -0
- package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +18 -0
- package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +7 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +781 -0
- package/dist/views/register-user-info/RegisterUserInfoFormView.vue.d.ts +11 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +786 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +786 -0
- package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +6 -0
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +501 -0
- package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +15 -0
- package/dist/views/register-user-info/api.d.ts +23 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +358 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +17 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +77 -0
- package/dist/views/register-user-info/store.d.ts +490 -0
- package/dist/views/register-user-info/types.d.ts +32 -0
- package/dist/views/register-user-info/utils.d.ts +4 -0
- package/dist/views/register-user-info/validators.d.ts +10 -0
- package/dist/views/show-update-warning/App.vue.d.ts +64 -2
- package/dist/views/take-photo/App.vue.d.ts +52 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +81 -0
- package/dist/views/topup/App.vue.d.ts +63 -1
- package/dist/views/topup/CashbackInfo.vue.d.ts +52 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +58 -0
- package/package.json +3 -2
- package/dist/utils/create/bem.d.ts +0 -6
- package/dist/utils/create/index.d.ts +0 -5
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +0 -45
- package/dist/views/email-registration/components/icons.d.ts +0 -2
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +0 -52
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +0 -24
package/dist/utils/api.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export declare type GetAddressByZipResponse = {
|
|
|
105
105
|
export declare type AddressParams = {
|
|
106
106
|
zipcode: string;
|
|
107
107
|
};
|
|
108
|
-
export declare function getAddressByZip(params: AddressParams): Promise<import("./fetch").
|
|
108
|
+
export declare function getAddressByZip(params: AddressParams): Promise<import("./fetch").PPFetchResult<GetAddressByZipResponse, Record<string, unknown>>>;
|
|
109
109
|
export declare type SetSelectedAddressResponse = {
|
|
110
110
|
signed: unknown;
|
|
111
111
|
statusCode: number;
|
|
@@ -123,11 +123,11 @@ export declare type GetAddressListResponse = {
|
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
export declare function getAddressList(): Promise<
|
|
127
|
-
export declare function postAddress(body: Address): Promise<
|
|
128
|
-
export declare function editAddress(body: Address, id: number): Promise<
|
|
129
|
-
export declare function deleteAddress(id: number): Promise<
|
|
130
|
-
export declare function setSelectedAddress(addressId: number): Promise<import("./fetch").
|
|
126
|
+
export declare function getAddressList(): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
127
|
+
export declare function postAddress(body: Address): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
128
|
+
export declare function editAddress(body: Address, id: number): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
129
|
+
export declare function deleteAddress(id: number): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
130
|
+
export declare function setSelectedAddress(addressId: number): Promise<import("./fetch").PPFetchResult<SetSelectedAddressResponse, Record<string, unknown>>>;
|
|
131
131
|
export declare type VERIFY_STATUS = 'NOT_VERIFIED' | 'VERIFIED';
|
|
132
132
|
export declare type ProfileInfo = {
|
|
133
133
|
firstName?: string;
|
|
@@ -148,19 +148,38 @@ export declare type ProfileInfo = {
|
|
|
148
148
|
signUpCompletedAt?: string;
|
|
149
149
|
};
|
|
150
150
|
export declare type ProfileResponse = {
|
|
151
|
+
signed: {
|
|
152
|
+
result_info: {
|
|
153
|
+
code: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
151
156
|
unsigned: {
|
|
152
157
|
data: ProfileInfo;
|
|
153
158
|
};
|
|
154
159
|
statusCode: number;
|
|
155
160
|
};
|
|
156
161
|
export declare function getUserProfileData(): Promise<import("./fetch").ErrorResponse | ProfileResponse>;
|
|
162
|
+
export declare function getUserProfileDataV2(): Promise<import("./fetch").PPFetchResult<ProfileResponse, Record<string, unknown>>>;
|
|
157
163
|
export declare type RegisterEmailResponse = {
|
|
158
164
|
signed: unknown;
|
|
159
165
|
statusCode: number;
|
|
160
166
|
unsigned: unknown;
|
|
167
|
+
uiComponents: {
|
|
168
|
+
displayErrorResponse: {
|
|
169
|
+
buttonList: Array<{
|
|
170
|
+
title: string;
|
|
171
|
+
actionType: string;
|
|
172
|
+
buttonType: string;
|
|
173
|
+
}>;
|
|
174
|
+
canCloseByOutsideTap: boolean;
|
|
175
|
+
description: string;
|
|
176
|
+
iconUrl: string;
|
|
177
|
+
title: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
161
180
|
};
|
|
162
181
|
export declare function registerEmail(email: string): Promise<import("./fetch").ErrorResponse | RegisterEmailResponse>;
|
|
163
|
-
export declare function resendEmail(): Promise<import("./fetch").
|
|
182
|
+
export declare function resendEmail(): Promise<import("./fetch").PPFetchResult<RegisterEmailResponse, Record<string, unknown>>>;
|
|
164
183
|
export declare type UserLocationResponse = {
|
|
165
184
|
unsigned: {
|
|
166
185
|
data: {
|
|
@@ -35,5 +35,11 @@ export declare function getImages(): {
|
|
|
35
35
|
bankIcon: string;
|
|
36
36
|
confetti: string;
|
|
37
37
|
payLater: string;
|
|
38
|
+
iconPen: string;
|
|
39
|
+
iconInputClear: string;
|
|
40
|
+
iconRightArrowGray: string;
|
|
41
|
+
iconKycWarn: string;
|
|
42
|
+
iconMail: string;
|
|
38
43
|
iconGreenTick: string;
|
|
44
|
+
icon3DSecure: string;
|
|
39
45
|
};
|
|
@@ -235,9 +235,61 @@ export declare function getLanguage(): {
|
|
|
235
235
|
confirm: string;
|
|
236
236
|
cancel: string;
|
|
237
237
|
};
|
|
238
|
+
registerUserInfo: {
|
|
239
|
+
kycDataTitle: string;
|
|
240
|
+
uneditableDataTitle: string;
|
|
241
|
+
unenteredInfoTitle: string;
|
|
242
|
+
footer: {
|
|
243
|
+
description: string;
|
|
244
|
+
backButton: string;
|
|
245
|
+
nextButton: string;
|
|
246
|
+
finishButton: string;
|
|
247
|
+
cancelButton: string;
|
|
248
|
+
};
|
|
249
|
+
cancelSheet: {
|
|
250
|
+
title: string;
|
|
251
|
+
text: string;
|
|
252
|
+
confirmButton: string;
|
|
253
|
+
};
|
|
254
|
+
kycSheet: {
|
|
255
|
+
title: string;
|
|
256
|
+
text: string;
|
|
257
|
+
confirmButton: string;
|
|
258
|
+
};
|
|
259
|
+
mailSheet: {
|
|
260
|
+
title: string;
|
|
261
|
+
text: string;
|
|
262
|
+
confirmButton: string;
|
|
263
|
+
};
|
|
264
|
+
defaultErrorSheet: {
|
|
265
|
+
title: string;
|
|
266
|
+
text: string;
|
|
267
|
+
};
|
|
268
|
+
validation: {
|
|
269
|
+
numberError: string;
|
|
270
|
+
alphabetError: string;
|
|
271
|
+
alphabetLength32Error: string;
|
|
272
|
+
katakanaError: string;
|
|
273
|
+
katakanaLength16Error: string;
|
|
274
|
+
lengthError: string;
|
|
275
|
+
};
|
|
276
|
+
emailInput: string;
|
|
277
|
+
emailNotVerified: string;
|
|
278
|
+
emailNotVerifiedDescription: string;
|
|
279
|
+
change: string;
|
|
280
|
+
cancel: string;
|
|
281
|
+
};
|
|
238
282
|
getBankInfo: {
|
|
239
283
|
title: string;
|
|
240
284
|
close: string;
|
|
241
285
|
};
|
|
286
|
+
"3dSecureSheet": {
|
|
287
|
+
title: string;
|
|
288
|
+
descriptionForYJCardOrPPCard: string;
|
|
289
|
+
description: string;
|
|
290
|
+
setting3DSecure: string;
|
|
291
|
+
about3DSecure: string;
|
|
292
|
+
close: string;
|
|
293
|
+
};
|
|
242
294
|
};
|
|
243
295
|
export declare function getPayPayLanguage(): string;
|
|
@@ -3,318 +3,55 @@ import { NativeParams } from '../../jsbridge-core';
|
|
|
3
3
|
import { MiniAppStatusType } from '../../model/miniAppStatus';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
show: BooleanConstructor;
|
|
6
|
-
data: {
|
|
7
|
-
type: ObjectConstructor;
|
|
8
|
-
default: () => void;
|
|
9
|
-
};
|
|
10
6
|
params: {
|
|
11
7
|
type: PropType<NativeParams<unknown, import("../../types").MiniAppErrorResultType>>;
|
|
12
8
|
default: () => {};
|
|
13
9
|
};
|
|
14
|
-
|
|
15
|
-
type:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
required: false;
|
|
22
|
-
default: string;
|
|
10
|
+
resendOption: {
|
|
11
|
+
type: PropType<{
|
|
12
|
+
resend: boolean;
|
|
13
|
+
maskedEmail: string;
|
|
14
|
+
} | null>;
|
|
15
|
+
default: null;
|
|
23
16
|
};
|
|
24
17
|
}, {
|
|
25
|
-
style: Record<string, string>;
|
|
26
18
|
callback: {
|
|
27
19
|
cancel: () => void;
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
appLogo: import("vue").ComputedRef<string | undefined>;
|
|
31
|
-
appName: import("vue").ComputedRef<string | undefined>;
|
|
32
|
-
lg: {
|
|
33
|
-
showUpdateWarning: {
|
|
34
|
-
closeBtn: string;
|
|
35
|
-
notNow: string;
|
|
36
|
-
update: string;
|
|
37
|
-
title: string;
|
|
38
|
-
errorText: string;
|
|
39
|
-
desc1: string;
|
|
40
|
-
desc2: string;
|
|
41
|
-
};
|
|
42
|
-
openApp: {
|
|
43
|
-
title: string;
|
|
44
|
-
body: string;
|
|
45
|
-
errorText: string;
|
|
46
|
-
openApp: string;
|
|
47
|
-
cancel: string;
|
|
48
|
-
};
|
|
49
|
-
openMap: {
|
|
50
|
-
title: string;
|
|
51
|
-
errorText: string;
|
|
52
|
-
};
|
|
53
|
-
topup: {
|
|
54
|
-
title: string;
|
|
55
|
-
balMoney: string;
|
|
56
|
-
charge: string;
|
|
57
|
-
minAmount: string;
|
|
58
|
-
maxAmount: string;
|
|
59
|
-
moneyLabel: string;
|
|
60
|
-
noMethod: string;
|
|
61
|
-
loading: string;
|
|
62
|
-
payBtn: string;
|
|
63
|
-
availableBalance: string;
|
|
64
|
-
availableBalanceAfter: string;
|
|
65
|
-
allBalance: string;
|
|
66
|
-
};
|
|
67
|
-
takePhoto: {
|
|
68
|
-
camera: string;
|
|
69
|
-
photo: string;
|
|
70
|
-
};
|
|
71
|
-
payment: {
|
|
72
|
-
title: string;
|
|
73
|
-
payAmount: string;
|
|
74
|
-
payAmountTaxExempt: string;
|
|
75
|
-
method: string;
|
|
76
|
-
address: string;
|
|
77
|
-
insufficientAmount: string;
|
|
78
|
-
paying: string;
|
|
79
|
-
pay: string;
|
|
80
|
-
charge: string;
|
|
81
|
-
cancel: string;
|
|
82
|
-
noAddress: string;
|
|
83
|
-
change: string;
|
|
84
|
-
close: string;
|
|
85
|
-
};
|
|
86
|
-
duplicate: {
|
|
87
|
-
header: string;
|
|
88
|
-
text1: string;
|
|
89
|
-
text2: string;
|
|
90
|
-
cancel: string;
|
|
91
|
-
agreeButtonText: string;
|
|
92
|
-
topHeader: string;
|
|
93
|
-
topText1: string;
|
|
94
|
-
topText2: string;
|
|
95
|
-
topAgreeButtonText: string;
|
|
96
|
-
};
|
|
97
|
-
birthdayConfirm: {
|
|
98
|
-
title: string;
|
|
99
|
-
title2: string;
|
|
100
|
-
desc: string;
|
|
101
|
-
desc1: string;
|
|
102
|
-
desc2: string;
|
|
103
|
-
desc3: string;
|
|
104
|
-
date: string;
|
|
105
|
-
primaryBtn: string;
|
|
106
|
-
cancelBtn: string;
|
|
107
|
-
};
|
|
108
|
-
birthdayConfirmError: {
|
|
109
|
-
title: string;
|
|
110
|
-
title2: string;
|
|
111
|
-
desc: string;
|
|
112
|
-
desc2: string;
|
|
113
|
-
helpBtn: string;
|
|
114
|
-
closeBtn: string;
|
|
115
|
-
};
|
|
116
|
-
cashbackDet: {
|
|
117
|
-
button1: string;
|
|
118
|
-
button2: string;
|
|
119
|
-
button3: string;
|
|
120
|
-
};
|
|
121
|
-
topContent: {
|
|
122
|
-
title: string;
|
|
123
|
-
chargeTitle: string;
|
|
124
|
-
chargeLabel: string;
|
|
125
|
-
loading: string;
|
|
126
|
-
unavailable1: string;
|
|
127
|
-
unavailable2: string;
|
|
128
|
-
amount: string;
|
|
129
|
-
return: string;
|
|
130
|
-
};
|
|
131
|
-
topInfo: {
|
|
132
|
-
sufficientRow: string;
|
|
133
|
-
insufficientAmount: string;
|
|
134
|
-
insufficientAmountText: string;
|
|
135
|
-
paymentAmount: string;
|
|
136
|
-
};
|
|
137
|
-
choosePayment: {
|
|
138
|
-
title: string;
|
|
139
|
-
desc1: string;
|
|
140
|
-
desc2: string;
|
|
141
|
-
title2: string;
|
|
142
|
-
addMethod: string;
|
|
143
|
-
noMethod: string;
|
|
144
|
-
};
|
|
145
|
-
topupCompletion: {
|
|
146
|
-
title: string;
|
|
147
|
-
idInfo: string;
|
|
148
|
-
copied: string;
|
|
149
|
-
};
|
|
150
|
-
userAddress: {
|
|
151
|
-
title: string;
|
|
152
|
-
header: string;
|
|
153
|
-
tagForm: string;
|
|
154
|
-
home: string;
|
|
155
|
-
work: string;
|
|
156
|
-
billing: string;
|
|
157
|
-
footer: string;
|
|
158
|
-
titlePre: string;
|
|
159
|
-
titleApp: string;
|
|
160
|
-
titlePlace: string;
|
|
161
|
-
receiverPre: string;
|
|
162
|
-
receiverPlace: string;
|
|
163
|
-
inputPre: string;
|
|
164
|
-
statePre: string;
|
|
165
|
-
statePlace: string;
|
|
166
|
-
cityPre: string;
|
|
167
|
-
cityPlace: string;
|
|
168
|
-
street1Pre: string;
|
|
169
|
-
streetPlace: string;
|
|
170
|
-
street2Pre: string;
|
|
171
|
-
street2Place: string;
|
|
172
|
-
footerBtn1: string;
|
|
173
|
-
footerBtn2: string;
|
|
174
|
-
displayTitle: string;
|
|
175
|
-
deleteTitle: string;
|
|
176
|
-
delete: string;
|
|
177
|
-
close: string;
|
|
178
|
-
addAddress: string;
|
|
179
|
-
address: string;
|
|
180
|
-
return: string;
|
|
181
|
-
change: string;
|
|
182
|
-
noAddress: string;
|
|
183
|
-
registerAddress: string;
|
|
184
|
-
confirmAddress: string;
|
|
185
|
-
returnEdit: string;
|
|
186
|
-
selectAddress: string;
|
|
187
|
-
selectDeliveryAddress: string;
|
|
188
|
-
};
|
|
189
|
-
errorSheet: {
|
|
190
|
-
title: string;
|
|
191
|
-
title1: string;
|
|
192
|
-
desc: string;
|
|
193
|
-
topup: string;
|
|
194
|
-
topupDesc: string;
|
|
195
|
-
pay: string;
|
|
196
|
-
payDesc: string;
|
|
197
|
-
};
|
|
198
|
-
paymentMethod: {
|
|
199
|
-
expired: string;
|
|
200
|
-
ordinary: string;
|
|
201
|
-
current: string;
|
|
202
|
-
checkGreen: string;
|
|
203
|
-
authenticated: string;
|
|
204
|
-
yjTitle: string;
|
|
205
|
-
ppCardTitle: string;
|
|
206
|
-
brand: string;
|
|
207
|
-
};
|
|
208
|
-
paymentMethodStatus: {
|
|
209
|
-
ACTIVATED: string;
|
|
210
|
-
OFF: string;
|
|
211
|
-
APPLYING: string;
|
|
212
|
-
MAINTENANCE: string;
|
|
213
|
-
BUSY: string;
|
|
214
|
-
SUSPENDED: string;
|
|
215
|
-
};
|
|
216
|
-
wallet: {
|
|
217
|
-
title: string;
|
|
218
|
-
desc: string;
|
|
219
|
-
eMoney: string;
|
|
220
|
-
nonUsable: string;
|
|
221
|
-
cashBackUsable: string;
|
|
222
|
-
cashBackExpirable: string;
|
|
223
|
-
balance: string;
|
|
224
|
-
autoCharge: string;
|
|
225
|
-
};
|
|
226
|
-
payLater: {
|
|
227
|
-
title: string;
|
|
228
|
-
balance: string;
|
|
229
|
-
};
|
|
230
|
-
softbank: {
|
|
231
|
-
desc: string;
|
|
232
|
-
desc1: string;
|
|
233
|
-
isDisable: string;
|
|
234
|
-
};
|
|
235
|
-
registerEmail: {
|
|
236
|
-
title: string;
|
|
237
|
-
warning: string;
|
|
238
|
-
cancelTxt: string;
|
|
239
|
-
errorTitleAlreadyRegistered: string;
|
|
240
|
-
errorDescriptionAlreadyRegistered: string;
|
|
241
|
-
errorTitle: string;
|
|
242
|
-
errorDescription: string;
|
|
243
|
-
};
|
|
244
|
-
smartLogin: {
|
|
245
|
-
title: string;
|
|
246
|
-
signIn: string;
|
|
247
|
-
continueAs: string;
|
|
248
|
-
};
|
|
249
|
-
smartPay: {
|
|
250
|
-
pay: string;
|
|
251
|
-
paypay: string;
|
|
252
|
-
cashback: string;
|
|
253
|
-
};
|
|
254
|
-
cashbackList: {
|
|
255
|
-
close: string;
|
|
256
|
-
};
|
|
257
|
-
desktopTitle: {
|
|
258
|
-
Payment: string;
|
|
259
|
-
addNewAddress: string;
|
|
260
|
-
editAddress: string;
|
|
261
|
-
paymentCompletion: string;
|
|
262
|
-
getUserAddress: string;
|
|
263
|
-
};
|
|
264
|
-
closeConfirmation: {
|
|
265
|
-
title: string;
|
|
266
|
-
confirm: string;
|
|
267
|
-
cancel: string;
|
|
268
|
-
};
|
|
269
|
-
getBankInfo: {
|
|
270
|
-
title: string;
|
|
271
|
-
close: string;
|
|
272
|
-
};
|
|
20
|
+
success: (statusCode: MiniAppStatusType, email?: string | undefined) => void;
|
|
273
21
|
};
|
|
274
22
|
actions: {
|
|
275
|
-
openRegisterSheet: () => void;
|
|
276
23
|
sendEmail: import("./hooks/ui").SendEmail;
|
|
277
|
-
resendEmail: import("./hooks/ui").ResendEmail;
|
|
278
24
|
closeRegisterSheet: () => void;
|
|
279
|
-
closeResendSheet: () => Promise<{
|
|
280
|
-
hasError: true;
|
|
281
|
-
} | {
|
|
282
|
-
hasError: false;
|
|
283
|
-
statusCode?: MiniAppStatusType | undefined;
|
|
284
|
-
email?: string | undefined;
|
|
285
|
-
}>;
|
|
286
25
|
closeErrorSheet: () => void;
|
|
287
26
|
};
|
|
288
27
|
errorSheetOpen: import("vue").ComputedRef<boolean>;
|
|
28
|
+
iconUrl: import("vue").ComputedRef<string>;
|
|
289
29
|
errorTitle: import("vue").ComputedRef<string>;
|
|
290
30
|
errorDescription: import("vue").ComputedRef<string>;
|
|
291
|
-
resendSheetOpen: import("vue").ComputedRef<boolean>;
|
|
292
31
|
registerSheetOpen: import("vue").ComputedRef<boolean>;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
emailRegisteredOnRecheck: (email: string) => void;
|
|
299
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
32
|
+
cancel: () => void;
|
|
33
|
+
success: (email: string) => void;
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
click: () => true;
|
|
36
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
300
37
|
show?: unknown;
|
|
301
|
-
data?: unknown;
|
|
302
38
|
params?: unknown;
|
|
303
|
-
|
|
304
|
-
email?: unknown;
|
|
39
|
+
resendOption?: unknown;
|
|
305
40
|
} & {
|
|
306
|
-
data: Record<string, any>;
|
|
307
41
|
show: boolean;
|
|
308
|
-
|
|
309
|
-
|
|
42
|
+
resendOption: {
|
|
43
|
+
resend: boolean;
|
|
44
|
+
maskedEmail: string;
|
|
45
|
+
} | null;
|
|
310
46
|
params: NativeParams<unknown, import("../../types").MiniAppErrorResultType>;
|
|
311
47
|
} & {}> & {
|
|
312
|
-
onClick?: ((
|
|
48
|
+
onClick?: (() => any) | undefined;
|
|
313
49
|
}, {
|
|
314
|
-
data: Record<string, any>;
|
|
315
50
|
show: boolean;
|
|
316
|
-
|
|
317
|
-
|
|
51
|
+
resendOption: {
|
|
52
|
+
resend: boolean;
|
|
53
|
+
maskedEmail: string;
|
|
54
|
+
} | null;
|
|
318
55
|
params: NativeParams<unknown, import("../../types").MiniAppErrorResultType>;
|
|
319
56
|
}>;
|
|
320
57
|
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { SetupContext } from 'vue';
|
|
2
2
|
import { NativeParams } from '../../../jsbridge-core';
|
|
3
3
|
import { MiniAppStatusType } from '../../../model/miniAppStatus';
|
|
4
|
-
export declare function useCallBack(props: NativeParams<unknown>, ctx: SetupContext<
|
|
4
|
+
export declare function useCallBack(props: NativeParams<unknown>, ctx: SetupContext<{
|
|
5
|
+
click: () => true;
|
|
6
|
+
}>): {
|
|
5
7
|
cancel: () => void;
|
|
6
|
-
|
|
8
|
+
success: (statusCode: MiniAppStatusType, email?: string | undefined) => void;
|
|
7
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EmailRegx: RegExp;
|
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
import { MiniAppStatusType } from '../../../model/miniAppStatus';
|
|
2
1
|
export declare type ResendEmail = (email: string, recheckNeeded?: boolean) => Promise<{
|
|
3
2
|
hasError: boolean;
|
|
4
3
|
emailVerified: boolean;
|
|
5
4
|
email: string;
|
|
6
5
|
}>;
|
|
7
|
-
export declare type SendEmail = (email: string) => Promise<
|
|
6
|
+
export declare type SendEmail = (email: string) => Promise<boolean>;
|
|
8
7
|
export declare function useControlUI(): {
|
|
9
8
|
registerSheetOpen: import("vue").ComputedRef<boolean>;
|
|
10
|
-
resendSheetOpen: import("vue").ComputedRef<boolean>;
|
|
11
9
|
errorSheetOpen: import("vue").ComputedRef<boolean>;
|
|
10
|
+
iconUrl: import("vue").ComputedRef<string>;
|
|
12
11
|
errorTitle: import("vue").ComputedRef<string>;
|
|
13
12
|
errorDescription: import("vue").ComputedRef<string>;
|
|
14
|
-
resendEmailTo: import("vue").ComputedRef<string>;
|
|
15
13
|
actions: {
|
|
16
|
-
openRegisterSheet: () => void;
|
|
17
14
|
sendEmail: SendEmail;
|
|
18
|
-
resendEmail: ResendEmail;
|
|
19
15
|
closeRegisterSheet: () => void;
|
|
20
|
-
closeResendSheet: () => Promise<{
|
|
21
|
-
hasError: true;
|
|
22
|
-
} | {
|
|
23
|
-
hasError: false;
|
|
24
|
-
statusCode?: MiniAppStatusType | undefined;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
}>;
|
|
27
16
|
closeErrorSheet: () => void;
|
|
28
17
|
};
|
|
29
18
|
};
|
|
19
|
+
export declare function calculateStyles(): {
|
|
20
|
+
containerStyle: {
|
|
21
|
+
paddingTop: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
email: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
state: {
|
|
12
|
+
isSent: boolean;
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
};
|
|
15
|
+
timer: {
|
|
16
|
+
start: () => void;
|
|
17
|
+
pause: () => void;
|
|
18
|
+
reset: (totalTime?: number) => void;
|
|
19
|
+
current: import("vue").ComputedRef<import("../../../composition-api/dom").CurrentTime>;
|
|
20
|
+
};
|
|
21
|
+
sendEmailAction: () => Promise<void>;
|
|
22
|
+
sentText: import("vue").ComputedRef<string>;
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
'close-not-found-email': () => true;
|
|
25
|
+
'resend-other-email': () => true;
|
|
26
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
27
|
+
isVisible?: unknown;
|
|
28
|
+
email?: unknown;
|
|
29
|
+
} & {
|
|
30
|
+
email: string;
|
|
31
|
+
isVisible: boolean;
|
|
32
|
+
} & {}> & {
|
|
33
|
+
"onClose-not-found-email"?: (() => any) | undefined;
|
|
34
|
+
"onResend-other-email"?: (() => any) | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
email: string;
|
|
37
|
+
isVisible: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
isVisible: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
sendEmail: {
|
|
8
|
+
type: PropType<(email: string) => Promise<boolean>>;
|
|
9
|
+
required: false;
|
|
10
|
+
default: () => () => void;
|
|
11
|
+
};
|
|
12
|
+
resendOption: {
|
|
13
|
+
type: PropType<{
|
|
14
|
+
resend: boolean;
|
|
15
|
+
maskedEmail: string;
|
|
16
|
+
} | null>;
|
|
17
|
+
default: null;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
inputRef: import("vue").Ref<any>;
|
|
21
|
+
EmailRegx: RegExp;
|
|
22
|
+
state: {
|
|
23
|
+
isEmailValid: boolean;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
email: string;
|
|
26
|
+
isSentEmailSheetVisible: boolean;
|
|
27
|
+
reenterEmail: boolean;
|
|
28
|
+
};
|
|
29
|
+
validateEmail: (v: boolean) => void;
|
|
30
|
+
registerEmailAction: () => Promise<void>;
|
|
31
|
+
cancel: () => void;
|
|
32
|
+
isEmailValid: import("vue").ComputedRef<boolean>;
|
|
33
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
34
|
+
toggleIsSentEmailSheetVisible: (v: boolean) => void;
|
|
35
|
+
closeSentEmail: ({ isSuccess, reenterEmail, }: {
|
|
36
|
+
isSuccess: boolean;
|
|
37
|
+
reenterEmail: boolean;
|
|
38
|
+
}) => void;
|
|
39
|
+
inlineStyles: import("vue").ComputedRef<{
|
|
40
|
+
containerStyle: {
|
|
41
|
+
paddingTop: string;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
isEmailInputVisible: import("vue").ComputedRef<boolean>;
|
|
45
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
cancel: () => true;
|
|
47
|
+
success: (_: string) => true;
|
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
49
|
+
isVisible?: unknown;
|
|
50
|
+
sendEmail?: unknown;
|
|
51
|
+
resendOption?: unknown;
|
|
52
|
+
} & {
|
|
53
|
+
isVisible: boolean;
|
|
54
|
+
sendEmail: (email: string) => Promise<boolean>;
|
|
55
|
+
resendOption: {
|
|
56
|
+
resend: boolean;
|
|
57
|
+
maskedEmail: string;
|
|
58
|
+
} | null;
|
|
59
|
+
} & {}> & {
|
|
60
|
+
onSuccess?: ((_: string) => any) | undefined;
|
|
61
|
+
onCancel?: (() => any) | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
isVisible: boolean;
|
|
64
|
+
sendEmail: (email: string) => Promise<boolean>;
|
|
65
|
+
resendOption: {
|
|
66
|
+
resend: boolean;
|
|
67
|
+
maskedEmail: string;
|
|
68
|
+
} | null;
|
|
69
|
+
}>;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
inlineStyles: import("vue").ComputedRef<{
|
|
8
|
+
containerStyle: {
|
|
9
|
+
paddingTop: string;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
'close-auth-done': () => true;
|
|
14
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
15
|
+
isVisible?: unknown;
|
|
16
|
+
} & {
|
|
17
|
+
isVisible: boolean;
|
|
18
|
+
} & {}> & {
|
|
19
|
+
"onClose-auth-done"?: (() => any) | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
isVisible: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|