@paypay/mini-app-js-sdk 1.21.0 → 1.25.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 +1 -0
- package/dist/composition-api/dom/useCountDown.d.ts +20 -0
- package/dist/composition-api/useInpuAddress.d.ts +1 -1
- package/dist/composition-api/useRegisterEmail.d.ts +1 -1
- package/dist/composition-api/useRenderSmartButton.d.ts +1 -1
- package/dist/jsbridge-core/jsbridge.d.ts +2 -2
- package/dist/jsbridge-core/lib/logger.d.ts +5 -5
- package/dist/mini-app-api.d.ts +2 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +9365 -6514
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +1 -1
- package/dist/model/bridge/checkPaymentMethod.d.ts +1 -1
- package/dist/model/bridge/closeApp.d.ts +1 -1
- package/dist/model/bridge/copyToClipboard.d.ts +1 -1
- package/dist/model/bridge/debug.d.ts +1 -1
- package/dist/model/bridge/getAppDetail.d.ts +2 -16
- package/dist/model/bridge/getConfigure.d.ts +3 -3
- package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
- package/dist/model/bridge/getSessionData.d.ts +1 -1
- package/dist/model/bridge/getStorageData.d.ts +1 -1
- package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
- package/dist/model/bridge/getUAID.d.ts +1 -1
- package/dist/model/bridge/getUserAddress.d.ts +1 -1
- package/dist/model/bridge/inputAddress.d.ts +1 -1
- package/dist/model/bridge/logout.d.ts +1 -1
- package/dist/model/bridge/openApp.d.ts +1 -1
- package/dist/model/bridge/openMap.d.ts +1 -1
- package/dist/model/bridge/openWebview.d.ts +1 -1
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/registerKyc.d.ts +1 -1
- package/dist/model/bridge/renderLoginButton.d.ts +6 -2
- package/dist/model/bridge/renderPayButton.d.ts +5 -1
- package/dist/model/bridge/request.d.ts +1 -1
- package/dist/model/makePayment.d.ts +76 -59
- package/dist/model/uiComponents.d.ts +2 -1
- package/dist/package/action-sheet/index.d.ts +20 -13
- package/dist/package/banner-header/index.vue.d.ts +3 -3
- package/dist/package/button/index.d.ts +17 -9
- package/dist/package/charge-amount-list/index.vue.d.ts +27 -8
- package/dist/package/charge-amount-more-list/index.vue.d.ts +6 -2
- package/dist/package/date-button/index.vue.d.ts +1 -3
- package/dist/package/desktop-header/index.d.ts +21 -0
- package/dist/package/header/index.d.ts +7 -7
- package/dist/package/index.d.ts +1 -0
- package/dist/package/input/index.d.ts +60 -17
- package/dist/package/lottie/index.d.ts +5 -8
- package/dist/package/overlay/index.d.ts +5 -4
- package/dist/package/payment-method/Bank.vue.d.ts +7 -7
- package/dist/package/payment-method/CreditCard.vue.d.ts +5 -5
- package/dist/package/payment-method/SbidBank.vue.d.ts +271 -4
- package/dist/package/payment-method/Wallet.vue.d.ts +274 -7
- package/dist/package/payment-method-list/index.vue.d.ts +14 -2
- package/dist/package/payment-type/Bank.vue.d.ts +5 -5
- package/dist/package/payment-type/CreditCard.vue.d.ts +6 -6
- package/dist/package/payment-type/Sbid.vue.d.ts +269 -2
- package/dist/package/payment-type/Wallet.vue.d.ts +270 -2
- package/dist/package/payment-type/index.d.ts +4 -6
- package/dist/package/select-list/Components.d.ts +43 -3
- package/dist/package/select-list/index.d.ts +11 -2
- package/dist/package/switch/index.d.ts +1 -1
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +295 -0
- package/dist/types.d.ts +50 -18
- package/dist/utils/api.d.ts +44 -26
- package/dist/utils/create/bem.d.ts +2 -2
- package/dist/utils/create/index.d.ts +1 -1
- package/dist/utils/fetch.d.ts +3 -3
- package/dist/utils/getImages.d.ts +36 -5
- package/dist/utils/getLanguage.d.ts +233 -2
- package/dist/utils/helper.d.ts +17 -15
- package/dist/utils/popstateHandler.d.ts +2 -1
- package/dist/utils/storage.d.ts +12 -10
- package/dist/utils/uiConstants.d.ts +1 -0
- package/dist/utils/useBreakpoints.d.ts +5 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/views/email-registration/App.vue.d.ts +242 -10
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +3 -3
- package/dist/views/email-registration/hooks/callback.d.ts +2 -2
- package/dist/views/email-registration/hooks/ui.d.ts +2 -2
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +2 -2
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +280 -13
- package/dist/views/get-user-address/App.vue.d.ts +11 -3
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +252 -11
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +271 -4
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +255 -3
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +236 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +262 -19
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +29 -12
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +244 -3
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +251 -4
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +311 -11
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +249 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +268 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +263 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +255 -0
- package/dist/views/get-user-address/hooks/ui-hooks.d.ts +45 -2
- package/dist/views/get-user-address/store/error-handle.d.ts +2 -1
- package/dist/views/get-user-address/store/root.d.ts +6 -2
- package/dist/views/input-address/App.vue.d.ts +6 -7
- package/dist/views/input-address/hook/app.d.ts +3 -2
- package/dist/views/input-address/hook/error-handle.d.ts +10 -3
- package/dist/views/make-payment/App.vue.d.ts +3 -3
- package/dist/views/make-payment/Main.vue.d.ts +80 -511
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +239 -8
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +238 -5
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +269 -2
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +269 -2
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +5 -4
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +276 -9
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +249 -3
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +372 -13
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +283 -7
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +564 -236
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +241 -6
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +274 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +1 -1
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +242 -10
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +337 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +347 -18
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +43 -9
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +302 -8
- package/dist/views/make-payment/hooks/app-hooks.d.ts +178 -361
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +30 -16
- package/dist/views/make-payment/store/age-confirm.d.ts +1 -1
- package/dist/views/make-payment/store/handle-error.d.ts +2 -2
- package/dist/views/make-payment/store/root.d.ts +4 -4
- package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -1
- package/dist/views/open-app/App.vue.d.ts +275 -6
- package/dist/views/open-map/App.vue.d.ts +240 -6
- package/dist/views/show-alert/App.vue.d.ts +5 -5
- package/dist/views/show-update-warning/App.vue.d.ts +275 -6
- package/dist/views/smart-button/App.vue.d.ts +11 -11
- package/dist/views/take-photo/App.vue.d.ts +239 -5
- package/dist/views/topup/App.vue.d.ts +309 -23
- package/dist/views/topup/BannerInfo.vue.d.ts +15 -11
- package/dist/views/topup/CashbackInfo.vue.d.ts +235 -3
- package/dist/views/topup/TopupCompletion.vue.d.ts +278 -7
- package/package.json +5 -4
package/dist/utils/storage.d.ts
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
export declare function parseDomain(str: string): string;
|
|
2
|
-
export declare function getDomain(appDetail?: string): string;
|
|
3
|
-
export declare function getAccessToken(): string;
|
|
2
|
+
export declare function getDomain(appDetail?: string | null): string;
|
|
3
|
+
export declare function getAccessToken(): string | undefined;
|
|
4
4
|
export declare function removeCookie(key: string): void;
|
|
5
5
|
export declare function saveAccessToken(token: string): void;
|
|
6
6
|
export declare function getRefreshToken(): string;
|
|
7
7
|
export declare function saveRefreshToken(token: string): void;
|
|
8
8
|
export declare function saveEnv(env: string): void;
|
|
9
|
-
export declare function getEnv(): string;
|
|
9
|
+
export declare function getEnv(): string | undefined;
|
|
10
10
|
export declare function getClientUUID(): string;
|
|
11
11
|
export declare function getDeviceUUID(): string;
|
|
12
12
|
export declare function saveLastPayment(payment: string): void;
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
15
|
-
export declare function
|
|
13
|
+
export declare function saveLastPaymentMethod(methodId: string): void;
|
|
14
|
+
export declare function saveLastTopupPayMethod(methodId: string): void;
|
|
15
|
+
export declare function getLastPaymentMethod(): string | undefined;
|
|
16
|
+
export declare function getLastTopupPayMethod(): string | undefined;
|
|
17
|
+
export declare function getLastPayment(): string | undefined;
|
|
16
18
|
export declare function saveLastTopup(topup: string): void;
|
|
17
19
|
export declare function getLastTopup(): string;
|
|
18
20
|
export declare function saveAppDetail(appDetail: string): void;
|
|
19
|
-
export declare function getAppDetail(): string;
|
|
21
|
+
export declare function getAppDetail(): string | undefined;
|
|
20
22
|
export declare function removeAppDetail(): void;
|
|
21
23
|
export declare function saveAppConfig(appConfig: string): void;
|
|
22
|
-
export declare function getAppConfig(): string;
|
|
23
|
-
export declare function getClientId(): string;
|
|
24
|
+
export declare function getAppConfig(): string | undefined;
|
|
25
|
+
export declare function getClientId(): string | undefined;
|
|
24
26
|
export declare function saveClientId(id: string): void;
|
|
25
|
-
export declare function getUserInfo(): string;
|
|
27
|
+
export declare function getUserInfo(): string | undefined;
|
|
26
28
|
export declare function saveUserInfo(userData: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UI_BREAKPOINT = 767;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
default: () => void;
|
|
9
9
|
};
|
|
10
10
|
params: {
|
|
11
|
-
type: PropType<NativeParams<
|
|
11
|
+
type: PropType<NativeParams<unknown, unknown, unknown>>;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
emailRegistered: {
|
|
@@ -25,11 +25,243 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
style: Record<string, string>;
|
|
26
26
|
callback: {
|
|
27
27
|
cancel: () => void;
|
|
28
|
-
done: (statusCode: MiniAppStatusType, email?: string) => void;
|
|
28
|
+
done: (statusCode: MiniAppStatusType, email?: string | undefined) => void;
|
|
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
|
+
};
|
|
225
|
+
softbank: {
|
|
226
|
+
desc: string;
|
|
227
|
+
desc1: string;
|
|
228
|
+
isDisable: string;
|
|
229
|
+
};
|
|
230
|
+
registerEmail: {
|
|
231
|
+
title: string;
|
|
232
|
+
warning: string;
|
|
233
|
+
cancelTxt: string;
|
|
234
|
+
errorTitleAlreadyRegistered: string;
|
|
235
|
+
errorDescriptionAlreadyRegistered: string;
|
|
236
|
+
errorTitle: string;
|
|
237
|
+
errorDescription: string;
|
|
238
|
+
};
|
|
239
|
+
smartLogin: {
|
|
240
|
+
title: string;
|
|
241
|
+
signIn: string;
|
|
242
|
+
continueAs: string;
|
|
243
|
+
};
|
|
244
|
+
smartPay: {
|
|
245
|
+
pay: string;
|
|
246
|
+
paypay: string;
|
|
247
|
+
cashback: string;
|
|
248
|
+
};
|
|
249
|
+
cashbackList: {
|
|
250
|
+
close: string;
|
|
251
|
+
};
|
|
252
|
+
desktopTitle: {
|
|
253
|
+
Payment: string;
|
|
254
|
+
addNewAddress: string;
|
|
255
|
+
editAddress: string;
|
|
256
|
+
paymentCompletion: string;
|
|
257
|
+
getUserAddress: string;
|
|
258
|
+
};
|
|
259
|
+
closeConfirmation: {
|
|
260
|
+
title: string;
|
|
261
|
+
confirm: string;
|
|
262
|
+
cancel: string;
|
|
263
|
+
};
|
|
29
264
|
};
|
|
30
|
-
appLogo: import("vue").ComputedRef<any>;
|
|
31
|
-
appName: import("vue").ComputedRef<any>;
|
|
32
|
-
lg: any;
|
|
33
265
|
actions: {
|
|
34
266
|
openRegisterSheet: () => void;
|
|
35
267
|
sendEmail: import("./hooks/ui").SendEmail;
|
|
@@ -39,8 +271,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
271
|
hasError: true;
|
|
40
272
|
} | {
|
|
41
273
|
hasError: false;
|
|
42
|
-
statusCode
|
|
43
|
-
email?: string;
|
|
274
|
+
statusCode?: MiniAppStatusType | undefined;
|
|
275
|
+
email?: string | undefined;
|
|
44
276
|
}>;
|
|
45
277
|
closeErrorSheet: () => void;
|
|
46
278
|
};
|
|
@@ -66,14 +298,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
298
|
show: boolean;
|
|
67
299
|
email: string;
|
|
68
300
|
emailRegistered: boolean;
|
|
69
|
-
params:
|
|
301
|
+
params: NativeParams<unknown, unknown, unknown>;
|
|
70
302
|
} & {}> & {
|
|
71
|
-
onClick?: (...args: any[]) => any;
|
|
303
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
72
304
|
}, {
|
|
73
305
|
data: Record<string, any>;
|
|
74
306
|
show: boolean;
|
|
75
307
|
email: string;
|
|
76
308
|
emailRegistered: boolean;
|
|
77
|
-
params:
|
|
309
|
+
params: NativeParams<unknown, unknown, unknown>;
|
|
78
310
|
}>;
|
|
79
311
|
export default _default;
|
|
@@ -34,9 +34,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
emailRegistered: boolean;
|
|
35
35
|
emailResend: ResendEmail;
|
|
36
36
|
} & {}> & {
|
|
37
|
-
"onEmail-register"?: (...args: any[]) => any;
|
|
38
|
-
"onEmail-resend"?: (...args: any[]) => any;
|
|
39
|
-
"onEmail-verified"?: (...args: any[]) => any;
|
|
37
|
+
"onEmail-register"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
"onEmail-resend"?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
"onEmail-verified"?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
email: string;
|
|
42
42
|
emailRegistered: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
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<
|
|
4
|
+
export declare function useCallBack(props: NativeParams<unknown, unknown, unknown>, ctx: SetupContext<'click'[]>): {
|
|
5
5
|
cancel: () => void;
|
|
6
|
-
done: (statusCode: MiniAppStatusType, email?: string) => void;
|
|
6
|
+
done: (statusCode: MiniAppStatusType, email?: string | undefined) => void;
|
|
7
7
|
};
|
|
@@ -21,8 +21,8 @@ export declare function useControlUI(): {
|
|
|
21
21
|
hasError: true;
|
|
22
22
|
} | {
|
|
23
23
|
hasError: false;
|
|
24
|
-
statusCode
|
|
25
|
-
email?: string;
|
|
24
|
+
statusCode?: MiniAppStatusType | undefined;
|
|
25
|
+
email?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
closeErrorSheet: () => void;
|
|
28
28
|
};
|
|
@@ -43,8 +43,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
isVisible: boolean;
|
|
44
44
|
sendEmail: (email: string) => Promise<void>;
|
|
45
45
|
} & {}> & {
|
|
46
|
-
onClose?: (...args: any[]) => any;
|
|
47
|
-
"onClose-register-email"?: (...args: any[]) => any;
|
|
46
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
"onClose-register-email"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
isVisible: boolean;
|
|
50
50
|
sendEmail: (email: string) => Promise<void>;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
email: string;
|
|
17
17
|
isVisible: boolean;
|
|
18
18
|
} & {}> & {
|
|
19
|
-
"onClose-resend-email-sheet"?: (...args: any[]) => any;
|
|
19
|
+
"onClose-resend-email-sheet"?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
email: string;
|
|
22
22
|
isVisible: boolean;
|