@paypay/mini-app-js-sdk 1.41.0 → 1.44.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/jsbridge-core/lib/reconstructParams.d.ts +2 -3
- package/dist/mini-app-api.d.ts +3 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +4675 -2371
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +2 -3
- package/dist/model/bridge/getConfigure.d.ts +22 -0
- package/dist/model/bridge/registerPaymentFeatures.d.ts +2 -0
- package/dist/model/makePayment.d.ts +36 -19
- package/dist/package/action-sheet/index.d.ts +1 -1
- package/dist/package/banner-header/index.vue.d.ts +1 -1
- package/dist/package/header/index.d.ts +11 -0
- package/dist/package/input/currency/index.d.ts +124 -0
- package/dist/package/input/email/index.d.ts +137 -0
- package/dist/package/input/{index.d.ts → text/index.d.ts} +0 -113
- package/dist/package/input/zip/index.d.ts +107 -0
- package/dist/package/payment-method/CreditCard.vue.d.ts +8 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +67 -3
- package/dist/package/payment-method/SbidBank.vue.d.ts +64 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +64 -0
- package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +78 -3
- package/dist/package/payment-type/Sbid.vue.d.ts +64 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +75 -0
- package/dist/package/payment-type/index.d.ts +11 -0
- package/dist/package/select-list/index.d.ts +2 -2
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +64 -0
- package/dist/types.d.ts +20 -1
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/fetch.d.ts +2 -0
- package/dist/utils/getImages.d.ts +5 -0
- package/dist/utils/getLanguage.d.ts +59 -0
- package/dist/utils/helper.d.ts +4 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +1 -1
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +64 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +59 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +5 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +60 -1
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +64 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +59 -0
- package/dist/views/make-payment/Main.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +60 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +81 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +65 -2
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +289 -88
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +72 -9
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +64 -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 +64 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +116 -44
- package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
- package/dist/views/open-app/App.vue.d.ts +64 -0
- package/dist/views/open-map/App.vue.d.ts +59 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +316 -70
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +64 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +5 -0
- package/dist/views/register-user-info/store.d.ts +28 -70
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +176 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +92 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +149 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +140 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +146 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +99 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +165 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +169 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/api.d.ts +4 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +88 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +62 -0
- package/dist/views/show-update-warning/App.vue.d.ts +64 -0
- package/dist/views/take-photo/App.vue.d.ts +59 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +5 -0
- package/dist/views/topup/App.vue.d.ts +66 -0
- package/dist/views/topup/CashbackInfo.vue.d.ts +59 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +64 -0
- package/package.json +10 -3
|
@@ -66,19 +66,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
66
66
|
} | null;
|
|
67
67
|
currentCategoryIndex: number;
|
|
68
68
|
inputValues: {
|
|
69
|
-
[
|
|
69
|
+
[dataPointName: string]: string;
|
|
70
70
|
};
|
|
71
71
|
savedValues: {
|
|
72
|
-
[
|
|
72
|
+
[dataPointName: string]: string;
|
|
73
73
|
};
|
|
74
74
|
validationResults: {
|
|
75
|
-
[
|
|
76
|
-
ok: true;
|
|
77
|
-
convertTo?: string | undefined;
|
|
78
|
-
} | {
|
|
79
|
-
ok: false;
|
|
80
|
-
reason: string;
|
|
81
|
-
};
|
|
75
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
82
76
|
};
|
|
83
77
|
email: string | null;
|
|
84
78
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -99,7 +93,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
99
93
|
type: 'fail';
|
|
100
94
|
errorCode: MiniAppErrorType;
|
|
101
95
|
} | null;
|
|
102
|
-
} &
|
|
96
|
+
} & import("pinia").PiniaCustomStateProperties<State>): boolean;
|
|
103
97
|
categoryAtIndex(state: {
|
|
104
98
|
mode: 'default' | 'edit';
|
|
105
99
|
formData: {
|
|
@@ -128,19 +122,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
128
122
|
} | null;
|
|
129
123
|
currentCategoryIndex: number;
|
|
130
124
|
inputValues: {
|
|
131
|
-
[
|
|
125
|
+
[dataPointName: string]: string;
|
|
132
126
|
};
|
|
133
127
|
savedValues: {
|
|
134
|
-
[
|
|
128
|
+
[dataPointName: string]: string;
|
|
135
129
|
};
|
|
136
130
|
validationResults: {
|
|
137
|
-
[
|
|
138
|
-
ok: true;
|
|
139
|
-
convertTo?: string | undefined;
|
|
140
|
-
} | {
|
|
141
|
-
ok: false;
|
|
142
|
-
reason: string;
|
|
143
|
-
};
|
|
131
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
144
132
|
};
|
|
145
133
|
email: string | null;
|
|
146
134
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -161,7 +149,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
161
149
|
type: 'fail';
|
|
162
150
|
errorCode: MiniAppErrorType;
|
|
163
151
|
} | null;
|
|
164
|
-
} &
|
|
152
|
+
} & import("pinia").PiniaCustomStateProperties<State>): (index: number) => UserProfileFormCategory;
|
|
165
153
|
numberOfCategories(state: {
|
|
166
154
|
mode: 'default' | 'edit';
|
|
167
155
|
formData: {
|
|
@@ -190,19 +178,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
190
178
|
} | null;
|
|
191
179
|
currentCategoryIndex: number;
|
|
192
180
|
inputValues: {
|
|
193
|
-
[
|
|
181
|
+
[dataPointName: string]: string;
|
|
194
182
|
};
|
|
195
183
|
savedValues: {
|
|
196
|
-
[
|
|
184
|
+
[dataPointName: string]: string;
|
|
197
185
|
};
|
|
198
186
|
validationResults: {
|
|
199
|
-
[
|
|
200
|
-
ok: true;
|
|
201
|
-
convertTo?: string | undefined;
|
|
202
|
-
} | {
|
|
203
|
-
ok: false;
|
|
204
|
-
reason: string;
|
|
205
|
-
};
|
|
187
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
206
188
|
};
|
|
207
189
|
email: string | null;
|
|
208
190
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -223,7 +205,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
223
205
|
type: 'fail';
|
|
224
206
|
errorCode: MiniAppErrorType;
|
|
225
207
|
} | null;
|
|
226
|
-
} &
|
|
208
|
+
} & import("pinia").PiniaCustomStateProperties<State>): number;
|
|
227
209
|
currentValue(state: {
|
|
228
210
|
mode: 'default' | 'edit';
|
|
229
211
|
formData: {
|
|
@@ -252,19 +234,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
252
234
|
} | null;
|
|
253
235
|
currentCategoryIndex: number;
|
|
254
236
|
inputValues: {
|
|
255
|
-
[
|
|
237
|
+
[dataPointName: string]: string;
|
|
256
238
|
};
|
|
257
239
|
savedValues: {
|
|
258
|
-
[
|
|
240
|
+
[dataPointName: string]: string;
|
|
259
241
|
};
|
|
260
242
|
validationResults: {
|
|
261
|
-
[
|
|
262
|
-
ok: true;
|
|
263
|
-
convertTo?: string | undefined;
|
|
264
|
-
} | {
|
|
265
|
-
ok: false;
|
|
266
|
-
reason: string;
|
|
267
|
-
};
|
|
243
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
268
244
|
};
|
|
269
245
|
email: string | null;
|
|
270
246
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -285,7 +261,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
285
261
|
type: 'fail';
|
|
286
262
|
errorCode: MiniAppErrorType;
|
|
287
263
|
} | null;
|
|
288
|
-
} &
|
|
264
|
+
} & import("pinia").PiniaCustomStateProperties<State>): (dataPoint: UserProfileFormDataPoint) => string;
|
|
289
265
|
hasValidationError(state: {
|
|
290
266
|
mode: 'default' | 'edit';
|
|
291
267
|
formData: {
|
|
@@ -314,19 +290,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
314
290
|
} | null;
|
|
315
291
|
currentCategoryIndex: number;
|
|
316
292
|
inputValues: {
|
|
317
|
-
[
|
|
293
|
+
[dataPointName: string]: string;
|
|
318
294
|
};
|
|
319
295
|
savedValues: {
|
|
320
|
-
[
|
|
296
|
+
[dataPointName: string]: string;
|
|
321
297
|
};
|
|
322
298
|
validationResults: {
|
|
323
|
-
[
|
|
324
|
-
ok: true;
|
|
325
|
-
convertTo?: string | undefined;
|
|
326
|
-
} | {
|
|
327
|
-
ok: false;
|
|
328
|
-
reason: string;
|
|
329
|
-
};
|
|
299
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
330
300
|
};
|
|
331
301
|
email: string | null;
|
|
332
302
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -347,7 +317,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
347
317
|
type: 'fail';
|
|
348
318
|
errorCode: MiniAppErrorType;
|
|
349
319
|
} | null;
|
|
350
|
-
} &
|
|
320
|
+
} & import("pinia").PiniaCustomStateProperties<State>): (dataPoint: UserProfileFormDataPoint) => boolean;
|
|
351
321
|
validationErrorForGroup(state: {
|
|
352
322
|
mode: 'default' | 'edit';
|
|
353
323
|
formData: {
|
|
@@ -376,19 +346,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
376
346
|
} | null;
|
|
377
347
|
currentCategoryIndex: number;
|
|
378
348
|
inputValues: {
|
|
379
|
-
[
|
|
349
|
+
[dataPointName: string]: string;
|
|
380
350
|
};
|
|
381
351
|
savedValues: {
|
|
382
|
-
[
|
|
352
|
+
[dataPointName: string]: string;
|
|
383
353
|
};
|
|
384
354
|
validationResults: {
|
|
385
|
-
[
|
|
386
|
-
ok: true;
|
|
387
|
-
convertTo?: string | undefined;
|
|
388
|
-
} | {
|
|
389
|
-
ok: false;
|
|
390
|
-
reason: string;
|
|
391
|
-
};
|
|
355
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
392
356
|
};
|
|
393
357
|
email: string | null;
|
|
394
358
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -409,7 +373,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
409
373
|
type: 'fail';
|
|
410
374
|
errorCode: MiniAppErrorType;
|
|
411
375
|
} | null;
|
|
412
|
-
} &
|
|
376
|
+
} & import("pinia").PiniaCustomStateProperties<State>): (group: UserProfileFormDataPointGroup) => string | null;
|
|
413
377
|
shouldDisableSaveButton(state: {
|
|
414
378
|
mode: 'default' | 'edit';
|
|
415
379
|
formData: {
|
|
@@ -438,19 +402,13 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
438
402
|
} | null;
|
|
439
403
|
currentCategoryIndex: number;
|
|
440
404
|
inputValues: {
|
|
441
|
-
[
|
|
405
|
+
[dataPointName: string]: string;
|
|
442
406
|
};
|
|
443
407
|
savedValues: {
|
|
444
|
-
[
|
|
408
|
+
[dataPointName: string]: string;
|
|
445
409
|
};
|
|
446
410
|
validationResults: {
|
|
447
|
-
[
|
|
448
|
-
ok: true;
|
|
449
|
-
convertTo?: string | undefined;
|
|
450
|
-
} | {
|
|
451
|
-
ok: false;
|
|
452
|
-
reason: string;
|
|
453
|
-
};
|
|
411
|
+
[dataPointName: string]: UserProfileFormValidationResult;
|
|
454
412
|
};
|
|
455
413
|
email: string | null;
|
|
456
414
|
emailStatus: VERIFY_STATUS | null;
|
|
@@ -471,7 +429,7 @@ export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"
|
|
|
471
429
|
type: 'fail';
|
|
472
430
|
errorCode: MiniAppErrorType;
|
|
473
431
|
} | null;
|
|
474
|
-
} &
|
|
432
|
+
} & import("pinia").PiniaCustomStateProperties<State>): boolean;
|
|
475
433
|
}, {
|
|
476
434
|
initialize(params: RegisterUserInfoParams): void;
|
|
477
435
|
saveCategory(): void;
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { BankMethod, CreditMethod, PayLaterCCMethod, SbidBankMethod } from '../../model/makePayment';
|
|
3
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
4
|
+
topupMethod: {
|
|
5
|
+
type: PropType<import("../../model/makePayment").PaymentMethod | undefined>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
lg: {
|
|
10
|
+
title: string;
|
|
11
|
+
titleNeedUpdate: string;
|
|
12
|
+
description: string;
|
|
13
|
+
minAmount: string;
|
|
14
|
+
unit: string;
|
|
15
|
+
addTopupMethod: string;
|
|
16
|
+
noActivatedTopupMethod: string;
|
|
17
|
+
topupNotice: string;
|
|
18
|
+
updateWarning: {
|
|
19
|
+
message: string;
|
|
20
|
+
update: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
images: {
|
|
25
|
+
iconBalanceError: string;
|
|
26
|
+
animationDone: string;
|
|
27
|
+
merchant: string;
|
|
28
|
+
cashback: string;
|
|
29
|
+
iconCopy: string;
|
|
30
|
+
iconError: string;
|
|
31
|
+
iconOpenApp: string;
|
|
32
|
+
iconAppUpdate: string;
|
|
33
|
+
iconBackArrow: string;
|
|
34
|
+
paypay: string;
|
|
35
|
+
copyIcon: string;
|
|
36
|
+
jcb: string;
|
|
37
|
+
visa: string;
|
|
38
|
+
master: string;
|
|
39
|
+
amex: string;
|
|
40
|
+
iconAlert: string;
|
|
41
|
+
checkGreen: string;
|
|
42
|
+
yahoo: string;
|
|
43
|
+
ppCard: string;
|
|
44
|
+
softbank: string;
|
|
45
|
+
iconBirthday: string;
|
|
46
|
+
iconMinorAge: string;
|
|
47
|
+
iconClose: string;
|
|
48
|
+
whiteIconClose: string;
|
|
49
|
+
myOffer: string;
|
|
50
|
+
lightBlue: string;
|
|
51
|
+
iconBalanceIcon: string;
|
|
52
|
+
share: string;
|
|
53
|
+
rightArrow: string;
|
|
54
|
+
iconGrayError: string;
|
|
55
|
+
paypayRec: string;
|
|
56
|
+
paypayRecWhite: string;
|
|
57
|
+
downArrow: string;
|
|
58
|
+
bankIcon: string;
|
|
59
|
+
confetti: string;
|
|
60
|
+
payLater: string;
|
|
61
|
+
iconPen: string;
|
|
62
|
+
iconInputClear: string;
|
|
63
|
+
iconRightArrowGray: string;
|
|
64
|
+
iconKycWarn: string;
|
|
65
|
+
iconMail: string;
|
|
66
|
+
iconGreenTick: string;
|
|
67
|
+
iconExitMiniApp: string;
|
|
68
|
+
iconTopupNotice: string;
|
|
69
|
+
iconTopupSetup: string;
|
|
70
|
+
iconNotice: string;
|
|
71
|
+
iconTopupSuccess: string;
|
|
72
|
+
icon3DSecure: string;
|
|
73
|
+
};
|
|
74
|
+
bankMethod: import("vue-demi").ComputedRef<BankMethod | undefined>;
|
|
75
|
+
creditMethod: import("vue-demi").ComputedRef<CreditMethod | undefined>;
|
|
76
|
+
onSelectTopupMethod: () => void;
|
|
77
|
+
onSelectTopupMethodSetting: () => void;
|
|
78
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
79
|
+
mode: import("./types").AutoTopupMode;
|
|
80
|
+
minimumTopupAmount?: number | undefined;
|
|
81
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
82
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
83
|
+
result?: ({
|
|
84
|
+
type: "success";
|
|
85
|
+
} | {
|
|
86
|
+
type: "fail";
|
|
87
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
88
|
+
}) | undefined;
|
|
89
|
+
uiIsVisible: boolean;
|
|
90
|
+
needUpdate: boolean;
|
|
91
|
+
renderRoot: boolean;
|
|
92
|
+
isFinishSetting: boolean;
|
|
93
|
+
isLimitAmountErrorOccur: boolean;
|
|
94
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
95
|
+
description: string;
|
|
96
|
+
value: number[];
|
|
97
|
+
}[] | undefined;
|
|
98
|
+
autoChargeRecommendedTopupAmount?: {
|
|
99
|
+
description: string;
|
|
100
|
+
value: number;
|
|
101
|
+
}[] | undefined;
|
|
102
|
+
ui: {
|
|
103
|
+
isChooseAmount: boolean;
|
|
104
|
+
isChooseTopupMethod: boolean;
|
|
105
|
+
isSettingComplete: boolean;
|
|
106
|
+
isTopupMethodSetting: boolean;
|
|
107
|
+
isTopupAmountSetting: boolean;
|
|
108
|
+
isAutoTopupConfirm: boolean;
|
|
109
|
+
isAmountError: boolean;
|
|
110
|
+
isThreeDSecure: boolean;
|
|
111
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
112
|
+
threeDSecureCCType?: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
errorSheet: {
|
|
115
|
+
isVisible: boolean;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
119
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
120
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
121
|
+
existActivatedMethod(): boolean;
|
|
122
|
+
selectedPaymentMethodIndex(): number;
|
|
123
|
+
displayActivateButton(): boolean;
|
|
124
|
+
requireConfirm(): boolean;
|
|
125
|
+
isEmptyPaymentMethodList(): boolean;
|
|
126
|
+
}, {
|
|
127
|
+
setAmount(payload: {
|
|
128
|
+
amount: number;
|
|
129
|
+
}): void;
|
|
130
|
+
selectPaymentMethod(payload: {
|
|
131
|
+
paymentIndex: number;
|
|
132
|
+
}): void;
|
|
133
|
+
initialize(): Promise<void>;
|
|
134
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
135
|
+
activateAutoTopup(): Promise<void>;
|
|
136
|
+
selectTopupMethodSetting(): void;
|
|
137
|
+
cancelSetting(): void;
|
|
138
|
+
finishSetting(): void;
|
|
139
|
+
openSetting(): void;
|
|
140
|
+
closeSetting(): void;
|
|
141
|
+
openChooseAmountSheet(): void;
|
|
142
|
+
closeChooseAmountSheet(): void;
|
|
143
|
+
openChooseTopupMethodSheet(): void;
|
|
144
|
+
closeChooseTopupMethodSheet(): void;
|
|
145
|
+
openSettingCompleteSheet(): void;
|
|
146
|
+
closeSettingCompleteSheet(): void;
|
|
147
|
+
openTopupMethodSetting(): void;
|
|
148
|
+
closeTopupMethodSetting(): void;
|
|
149
|
+
openAutoTopupConfirm(): void;
|
|
150
|
+
closeAutoTopupConfirm(): void;
|
|
151
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
152
|
+
closeAmountError(): void;
|
|
153
|
+
openTopupAmountSetting(): void;
|
|
154
|
+
closeTopupAmountSetting(): void;
|
|
155
|
+
closeError(): void;
|
|
156
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
157
|
+
close3dSecureSheet(): void;
|
|
158
|
+
cancelUpdate(): void;
|
|
159
|
+
}>;
|
|
160
|
+
sbidMethod: import("vue-demi").ComputedRef<SbidBankMethod | undefined>;
|
|
161
|
+
payLaterCcMethod: import("vue-demi").ComputedRef<PayLaterCCMethod | undefined>;
|
|
162
|
+
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {
|
|
163
|
+
settingTopupMethod: null;
|
|
164
|
+
selectTopupMethod: null;
|
|
165
|
+
}, string, import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
166
|
+
topupMethod: {
|
|
167
|
+
type: PropType<import("../../model/makePayment").PaymentMethod | undefined>;
|
|
168
|
+
default: undefined;
|
|
169
|
+
};
|
|
170
|
+
}>> & {
|
|
171
|
+
onSettingTopupMethod?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
onSelectTopupMethod?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
}, {
|
|
174
|
+
topupMethod: import("../../model/makePayment").PaymentMethod | undefined;
|
|
175
|
+
}>;
|
|
176
|
+
export default _default;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { ErrorSheetButton } from '../error-sheet/Index.vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
5
|
+
mode: import("./types").AutoTopupMode;
|
|
6
|
+
minimumTopupAmount?: number | undefined;
|
|
7
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
8
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
9
|
+
result?: ({
|
|
10
|
+
type: "success";
|
|
11
|
+
} | {
|
|
12
|
+
type: "fail";
|
|
13
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
14
|
+
}) | undefined;
|
|
15
|
+
uiIsVisible: boolean;
|
|
16
|
+
needUpdate: boolean;
|
|
17
|
+
renderRoot: boolean;
|
|
18
|
+
isFinishSetting: boolean;
|
|
19
|
+
isLimitAmountErrorOccur: boolean;
|
|
20
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
21
|
+
description: string;
|
|
22
|
+
value: number[];
|
|
23
|
+
}[] | undefined;
|
|
24
|
+
autoChargeRecommendedTopupAmount?: {
|
|
25
|
+
description: string;
|
|
26
|
+
value: number;
|
|
27
|
+
}[] | undefined;
|
|
28
|
+
ui: {
|
|
29
|
+
isChooseAmount: boolean;
|
|
30
|
+
isChooseTopupMethod: boolean;
|
|
31
|
+
isSettingComplete: boolean;
|
|
32
|
+
isTopupMethodSetting: boolean;
|
|
33
|
+
isTopupAmountSetting: boolean;
|
|
34
|
+
isAutoTopupConfirm: boolean;
|
|
35
|
+
isAmountError: boolean;
|
|
36
|
+
isThreeDSecure: boolean;
|
|
37
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
38
|
+
threeDSecureCCType?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
errorSheet: {
|
|
41
|
+
isVisible: boolean;
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
45
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
46
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
47
|
+
existActivatedMethod(): boolean;
|
|
48
|
+
selectedPaymentMethodIndex(): number;
|
|
49
|
+
displayActivateButton(): boolean;
|
|
50
|
+
requireConfirm(): boolean;
|
|
51
|
+
isEmptyPaymentMethodList(): boolean;
|
|
52
|
+
}, {
|
|
53
|
+
setAmount(payload: {
|
|
54
|
+
amount: number;
|
|
55
|
+
}): void;
|
|
56
|
+
selectPaymentMethod(payload: {
|
|
57
|
+
paymentIndex: number;
|
|
58
|
+
}): void;
|
|
59
|
+
initialize(): Promise<void>;
|
|
60
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
61
|
+
activateAutoTopup(): Promise<void>;
|
|
62
|
+
selectTopupMethodSetting(): void;
|
|
63
|
+
cancelSetting(): void;
|
|
64
|
+
finishSetting(): void;
|
|
65
|
+
openSetting(): void;
|
|
66
|
+
closeSetting(): void;
|
|
67
|
+
openChooseAmountSheet(): void;
|
|
68
|
+
closeChooseAmountSheet(): void;
|
|
69
|
+
openChooseTopupMethodSheet(): void;
|
|
70
|
+
closeChooseTopupMethodSheet(): void;
|
|
71
|
+
openSettingCompleteSheet(): void;
|
|
72
|
+
closeSettingCompleteSheet(): void;
|
|
73
|
+
openTopupMethodSetting(): void;
|
|
74
|
+
closeTopupMethodSetting(): void;
|
|
75
|
+
openAutoTopupConfirm(): void;
|
|
76
|
+
closeAutoTopupConfirm(): void;
|
|
77
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
78
|
+
closeAmountError(): void;
|
|
79
|
+
openTopupAmountSetting(): void;
|
|
80
|
+
closeTopupAmountSetting(): void;
|
|
81
|
+
closeError(): void;
|
|
82
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
83
|
+
close3dSecureSheet(): void;
|
|
84
|
+
cancelUpdate(): void;
|
|
85
|
+
}>;
|
|
86
|
+
buttonList: ComputedRef<ErrorSheetButton[]>;
|
|
87
|
+
lg: {
|
|
88
|
+
changeLimit: string;
|
|
89
|
+
close: string;
|
|
90
|
+
};
|
|
91
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
3
|
+
mode: import("./types").AutoTopupMode;
|
|
4
|
+
minimumTopupAmount?: number | undefined;
|
|
5
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
6
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
7
|
+
result?: ({
|
|
8
|
+
type: "success";
|
|
9
|
+
} | {
|
|
10
|
+
type: "fail";
|
|
11
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
uiIsVisible: boolean;
|
|
14
|
+
needUpdate: boolean;
|
|
15
|
+
renderRoot: boolean;
|
|
16
|
+
isFinishSetting: boolean;
|
|
17
|
+
isLimitAmountErrorOccur: boolean;
|
|
18
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
19
|
+
description: string;
|
|
20
|
+
value: number[];
|
|
21
|
+
}[] | undefined;
|
|
22
|
+
autoChargeRecommendedTopupAmount?: {
|
|
23
|
+
description: string;
|
|
24
|
+
value: number;
|
|
25
|
+
}[] | undefined;
|
|
26
|
+
ui: {
|
|
27
|
+
isChooseAmount: boolean;
|
|
28
|
+
isChooseTopupMethod: boolean;
|
|
29
|
+
isSettingComplete: boolean;
|
|
30
|
+
isTopupMethodSetting: boolean;
|
|
31
|
+
isTopupAmountSetting: boolean;
|
|
32
|
+
isAutoTopupConfirm: boolean;
|
|
33
|
+
isAmountError: boolean;
|
|
34
|
+
isThreeDSecure: boolean;
|
|
35
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
36
|
+
threeDSecureCCType?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
errorSheet: {
|
|
39
|
+
isVisible: boolean;
|
|
40
|
+
};
|
|
41
|
+
}, {
|
|
42
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
43
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
44
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
45
|
+
existActivatedMethod(): boolean;
|
|
46
|
+
selectedPaymentMethodIndex(): number;
|
|
47
|
+
displayActivateButton(): boolean;
|
|
48
|
+
requireConfirm(): boolean;
|
|
49
|
+
isEmptyPaymentMethodList(): boolean;
|
|
50
|
+
}, {
|
|
51
|
+
setAmount(payload: {
|
|
52
|
+
amount: number;
|
|
53
|
+
}): void;
|
|
54
|
+
selectPaymentMethod(payload: {
|
|
55
|
+
paymentIndex: number;
|
|
56
|
+
}): void;
|
|
57
|
+
initialize(): Promise<void>;
|
|
58
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
59
|
+
activateAutoTopup(): Promise<void>;
|
|
60
|
+
selectTopupMethodSetting(): void;
|
|
61
|
+
cancelSetting(): void;
|
|
62
|
+
finishSetting(): void;
|
|
63
|
+
openSetting(): void;
|
|
64
|
+
closeSetting(): void;
|
|
65
|
+
openChooseAmountSheet(): void;
|
|
66
|
+
closeChooseAmountSheet(): void;
|
|
67
|
+
openChooseTopupMethodSheet(): void;
|
|
68
|
+
closeChooseTopupMethodSheet(): void;
|
|
69
|
+
openSettingCompleteSheet(): void;
|
|
70
|
+
closeSettingCompleteSheet(): void;
|
|
71
|
+
openTopupMethodSetting(): void;
|
|
72
|
+
closeTopupMethodSetting(): void;
|
|
73
|
+
openAutoTopupConfirm(): void;
|
|
74
|
+
closeAutoTopupConfirm(): void;
|
|
75
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
76
|
+
closeAmountError(): void;
|
|
77
|
+
openTopupAmountSetting(): void;
|
|
78
|
+
closeTopupAmountSetting(): void;
|
|
79
|
+
closeError(): void;
|
|
80
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
81
|
+
close3dSecureSheet(): void;
|
|
82
|
+
cancelUpdate(): void;
|
|
83
|
+
}>;
|
|
84
|
+
images: {
|
|
85
|
+
iconBalanceError: string;
|
|
86
|
+
animationDone: string;
|
|
87
|
+
merchant: string;
|
|
88
|
+
cashback: string;
|
|
89
|
+
iconCopy: string;
|
|
90
|
+
iconError: string;
|
|
91
|
+
iconOpenApp: string;
|
|
92
|
+
iconAppUpdate: string;
|
|
93
|
+
iconBackArrow: string;
|
|
94
|
+
paypay: string;
|
|
95
|
+
copyIcon: string;
|
|
96
|
+
jcb: string;
|
|
97
|
+
visa: string;
|
|
98
|
+
master: string;
|
|
99
|
+
amex: string;
|
|
100
|
+
iconAlert: string;
|
|
101
|
+
checkGreen: string;
|
|
102
|
+
yahoo: string;
|
|
103
|
+
ppCard: string;
|
|
104
|
+
softbank: string;
|
|
105
|
+
iconBirthday: string;
|
|
106
|
+
iconMinorAge: string;
|
|
107
|
+
iconClose: string;
|
|
108
|
+
whiteIconClose: string;
|
|
109
|
+
myOffer: string;
|
|
110
|
+
lightBlue: string;
|
|
111
|
+
iconBalanceIcon: string;
|
|
112
|
+
share: string;
|
|
113
|
+
rightArrow: string;
|
|
114
|
+
iconGrayError: string;
|
|
115
|
+
paypayRec: string;
|
|
116
|
+
paypayRecWhite: string;
|
|
117
|
+
downArrow: string;
|
|
118
|
+
bankIcon: string;
|
|
119
|
+
confetti: string;
|
|
120
|
+
payLater: string;
|
|
121
|
+
iconPen: string;
|
|
122
|
+
iconInputClear: string;
|
|
123
|
+
iconRightArrowGray: string;
|
|
124
|
+
iconKycWarn: string;
|
|
125
|
+
iconMail: string;
|
|
126
|
+
iconGreenTick: string;
|
|
127
|
+
iconExitMiniApp: string;
|
|
128
|
+
iconTopupNotice: string;
|
|
129
|
+
iconTopupSetup: string;
|
|
130
|
+
iconNotice: string;
|
|
131
|
+
iconTopupSuccess: string;
|
|
132
|
+
icon3DSecure: string;
|
|
133
|
+
};
|
|
134
|
+
navigateToMinAmount: () => void;
|
|
135
|
+
lg: {
|
|
136
|
+
title: string;
|
|
137
|
+
description: string;
|
|
138
|
+
register: string;
|
|
139
|
+
cancel: string;
|
|
140
|
+
};
|
|
141
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
142
|
+
export default _default;
|