@paypay/mini-app-js-sdk 1.19.0 → 1.23.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 +8603 -5805
- 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 +66 -56
- 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 +57 -17
- package/dist/package/lottie/index.d.ts +5 -8
- package/dist/package/overlay/index.d.ts +1 -1
- 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 +262 -4
- package/dist/package/payment-method/Wallet.vue.d.ts +265 -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 +260 -2
- package/dist/package/payment-type/Wallet.vue.d.ts +261 -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 +286 -0
- package/dist/types.d.ts +48 -16
- package/dist/utils/api.d.ts +38 -17
- package/dist/utils/create/bem.d.ts +2 -2
- package/dist/utils/create/index.d.ts +1 -1
- package/dist/utils/fetch.d.ts +2 -2
- package/dist/utils/getImages.d.ts +36 -5
- package/dist/utils/getLanguage.d.ts +224 -2
- package/dist/utils/helper.d.ts +10 -13
- package/dist/utils/popstateHandler.d.ts +1 -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 +231 -8
- 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 +271 -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 +243 -11
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +262 -4
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +246 -3
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +227 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +246 -18
- 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 +235 -3
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +227 -3
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +302 -11
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +240 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +259 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +254 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +246 -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 +2 -2
- package/dist/views/input-address/hook/error-handle.d.ts +1 -2
- 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 +230 -8
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +229 -5
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +260 -2
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +260 -2
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +4 -4
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +267 -9
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +240 -3
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +363 -13
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +274 -7
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +537 -226
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +232 -6
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +265 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +1 -1
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +233 -10
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +328 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +338 -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 +293 -8
- package/dist/views/make-payment/hooks/app-hooks.d.ts +168 -355
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +29 -15
- 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 +3 -3
- package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -1
- package/dist/views/open-app/App.vue.d.ts +261 -3
- package/dist/views/open-map/App.vue.d.ts +225 -2
- package/dist/views/show-alert/App.vue.d.ts +5 -5
- package/dist/views/show-update-warning/App.vue.d.ts +261 -3
- package/dist/views/smart-button/App.vue.d.ts +10 -10
- package/dist/views/take-photo/App.vue.d.ts +225 -2
- package/dist/views/topup/App.vue.d.ts +298 -22
- package/dist/views/topup/BannerInfo.vue.d.ts +15 -11
- package/dist/views/topup/CashbackInfo.vue.d.ts +226 -3
- package/dist/views/topup/TopupCompletion.vue.d.ts +261 -1
- package/package.json +5 -4
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BannerInfo, InsufficientBalanceInfo, PaymentMethod } from '../../../model/makePayment';
|
|
3
3
|
import { AnimationItem } from 'lottie-web';
|
|
4
|
-
import { MakePaymentParams } from '../../../types';
|
|
4
|
+
import { Address, MakePaymentParams, AddressUpdateEvent } from '../../../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
paymentMethod: {
|
|
7
7
|
type: PropType<PaymentMethod>;
|
|
8
8
|
required: false;
|
|
9
9
|
default: () => void;
|
|
10
10
|
};
|
|
11
|
+
paymentMethods: {
|
|
12
|
+
type: PropType<PaymentMethod[]>;
|
|
13
|
+
required: false;
|
|
14
|
+
default: () => PaymentMethod[];
|
|
15
|
+
};
|
|
16
|
+
selectPaymentIndex: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
showPaymentMethodList: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
11
26
|
price: {
|
|
12
27
|
type: NumberConstructor;
|
|
13
28
|
required: true;
|
|
@@ -31,12 +46,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
46
|
bannerInfo: {
|
|
32
47
|
type: PropType<BannerInfo>;
|
|
33
48
|
required: false;
|
|
34
|
-
default:
|
|
49
|
+
default: null;
|
|
35
50
|
};
|
|
36
51
|
insufficientBalanceInfo: {
|
|
37
52
|
type: PropType<InsufficientBalanceInfo>;
|
|
38
53
|
required: false;
|
|
39
|
-
default:
|
|
54
|
+
default: null;
|
|
40
55
|
};
|
|
41
56
|
taxExempt: {
|
|
42
57
|
type: BooleanConstructor;
|
|
@@ -44,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
59
|
default: boolean;
|
|
45
60
|
};
|
|
46
61
|
selectedAddress: {
|
|
47
|
-
type:
|
|
62
|
+
type: PropType<Address | null>;
|
|
48
63
|
required: false;
|
|
49
64
|
default: () => void;
|
|
50
65
|
};
|
|
@@ -57,22 +72,308 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
72
|
required: false;
|
|
58
73
|
default: boolean;
|
|
59
74
|
};
|
|
75
|
+
addresses: {
|
|
76
|
+
type: PropType<Address[]>;
|
|
77
|
+
required: true;
|
|
78
|
+
default: () => Address[];
|
|
79
|
+
};
|
|
60
80
|
}, {
|
|
61
81
|
formattedPrice: import("vue").ComputedRef<string>;
|
|
62
82
|
style: Record<string, string>;
|
|
63
83
|
isSufficient: import("vue").ComputedRef<boolean>;
|
|
64
|
-
images:
|
|
65
|
-
|
|
66
|
-
|
|
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
|
+
myOffer: string;
|
|
109
|
+
lightBlue: string;
|
|
110
|
+
iconBalanceIcon: string;
|
|
111
|
+
share: string;
|
|
112
|
+
rightArrow: string;
|
|
113
|
+
iconGrayError: string;
|
|
114
|
+
paypayRec: string;
|
|
115
|
+
paypayRecWhite: string;
|
|
116
|
+
downArrow: string;
|
|
117
|
+
bankIcon: string;
|
|
118
|
+
confetti: string;
|
|
119
|
+
};
|
|
120
|
+
lg: {
|
|
121
|
+
showUpdateWarning: {
|
|
122
|
+
closeBtn: string;
|
|
123
|
+
notNow: string;
|
|
124
|
+
update: string;
|
|
125
|
+
title: string;
|
|
126
|
+
errorText: string;
|
|
127
|
+
desc1: string;
|
|
128
|
+
desc2: string;
|
|
129
|
+
};
|
|
130
|
+
openApp: {
|
|
131
|
+
title: string;
|
|
132
|
+
body: string;
|
|
133
|
+
errorText: string;
|
|
134
|
+
openApp: string;
|
|
135
|
+
cancel: string;
|
|
136
|
+
};
|
|
137
|
+
openMap: {
|
|
138
|
+
title: string;
|
|
139
|
+
errorText: string;
|
|
140
|
+
};
|
|
141
|
+
topup: {
|
|
142
|
+
title: string;
|
|
143
|
+
balMoney: string;
|
|
144
|
+
charge: string;
|
|
145
|
+
minAmount: string;
|
|
146
|
+
maxAmount: string;
|
|
147
|
+
moneyLabel: string;
|
|
148
|
+
noMethod: string;
|
|
149
|
+
loading: string;
|
|
150
|
+
payBtn: string;
|
|
151
|
+
availableBalance: string;
|
|
152
|
+
availableBalanceAfter: string;
|
|
153
|
+
allBalance: string;
|
|
154
|
+
};
|
|
155
|
+
takePhoto: {
|
|
156
|
+
camera: string;
|
|
157
|
+
photo: string;
|
|
158
|
+
};
|
|
159
|
+
payment: {
|
|
160
|
+
title: string;
|
|
161
|
+
payAmount: string;
|
|
162
|
+
payAmountTaxExempt: string;
|
|
163
|
+
method: string;
|
|
164
|
+
address: string;
|
|
165
|
+
insufficientAmount: string;
|
|
166
|
+
paying: string;
|
|
167
|
+
pay: string;
|
|
168
|
+
charge: string;
|
|
169
|
+
cancel: string;
|
|
170
|
+
noAddress: string;
|
|
171
|
+
change: string;
|
|
172
|
+
close: string;
|
|
173
|
+
};
|
|
174
|
+
duplicate: {
|
|
175
|
+
header: string;
|
|
176
|
+
text1: string;
|
|
177
|
+
text2: string;
|
|
178
|
+
cancel: string;
|
|
179
|
+
agreeButtonText: string;
|
|
180
|
+
topHeader: string;
|
|
181
|
+
topText1: string;
|
|
182
|
+
topText2: string;
|
|
183
|
+
topAgreeButtonText: string;
|
|
184
|
+
};
|
|
185
|
+
birthdayConfirm: {
|
|
186
|
+
title: string;
|
|
187
|
+
title2: string;
|
|
188
|
+
desc: string;
|
|
189
|
+
desc1: string;
|
|
190
|
+
desc2: string;
|
|
191
|
+
desc3: string;
|
|
192
|
+
date: string;
|
|
193
|
+
primaryBtn: string;
|
|
194
|
+
cancelBtn: string;
|
|
195
|
+
};
|
|
196
|
+
birthdayConfirmError: {
|
|
197
|
+
title: string;
|
|
198
|
+
title2: string;
|
|
199
|
+
desc: string;
|
|
200
|
+
desc2: string;
|
|
201
|
+
helpBtn: string;
|
|
202
|
+
closeBtn: string;
|
|
203
|
+
};
|
|
204
|
+
cashbackDet: {
|
|
205
|
+
button1: string;
|
|
206
|
+
button2: string;
|
|
207
|
+
button3: string;
|
|
208
|
+
};
|
|
209
|
+
topContent: {
|
|
210
|
+
title: string;
|
|
211
|
+
chargeTitle: string;
|
|
212
|
+
chargeLabel: string;
|
|
213
|
+
loading: string;
|
|
214
|
+
unavailable1: string;
|
|
215
|
+
unavailable2: string;
|
|
216
|
+
amount: string;
|
|
217
|
+
return: string;
|
|
218
|
+
};
|
|
219
|
+
topInfo: {
|
|
220
|
+
sufficientRow: string;
|
|
221
|
+
insufficientAmount: string;
|
|
222
|
+
insufficientAmountText: string;
|
|
223
|
+
paymentAmount: string;
|
|
224
|
+
};
|
|
225
|
+
choosePayment: {
|
|
226
|
+
title: string;
|
|
227
|
+
desc1: string;
|
|
228
|
+
desc2: string;
|
|
229
|
+
title2: string;
|
|
230
|
+
addMethod: string;
|
|
231
|
+
noMethod: string;
|
|
232
|
+
};
|
|
233
|
+
topupCompletion: {
|
|
234
|
+
title: string;
|
|
235
|
+
idInfo: string;
|
|
236
|
+
copied: string;
|
|
237
|
+
};
|
|
238
|
+
userAddress: {
|
|
239
|
+
title: string;
|
|
240
|
+
header: string;
|
|
241
|
+
tagForm: string;
|
|
242
|
+
home: string;
|
|
243
|
+
work: string;
|
|
244
|
+
billing: string;
|
|
245
|
+
footer: string;
|
|
246
|
+
titlePre: string;
|
|
247
|
+
titleApp: string;
|
|
248
|
+
titlePlace: string;
|
|
249
|
+
receiverPre: string;
|
|
250
|
+
receiverPlace: string;
|
|
251
|
+
inputPre: string;
|
|
252
|
+
statePre: string;
|
|
253
|
+
statePlace: string;
|
|
254
|
+
cityPre: string;
|
|
255
|
+
cityPlace: string;
|
|
256
|
+
street1Pre: string;
|
|
257
|
+
streetPlace: string;
|
|
258
|
+
street2Pre: string;
|
|
259
|
+
street2Place: string;
|
|
260
|
+
footerBtn1: string;
|
|
261
|
+
footerBtn2: string;
|
|
262
|
+
displayTitle: string;
|
|
263
|
+
deleteTitle: string;
|
|
264
|
+
delete: string;
|
|
265
|
+
close: string;
|
|
266
|
+
addAddress: string;
|
|
267
|
+
address: string;
|
|
268
|
+
return: string;
|
|
269
|
+
change: string;
|
|
270
|
+
noAddress: string;
|
|
271
|
+
registerAddress: string;
|
|
272
|
+
confirmAddress: string;
|
|
273
|
+
returnEdit: string;
|
|
274
|
+
selectAddress: string;
|
|
275
|
+
};
|
|
276
|
+
errorSheet: {
|
|
277
|
+
title: string;
|
|
278
|
+
title1: string;
|
|
279
|
+
desc: string;
|
|
280
|
+
topup: string;
|
|
281
|
+
topupDesc: string;
|
|
282
|
+
pay: string;
|
|
283
|
+
payDesc: string;
|
|
284
|
+
};
|
|
285
|
+
paymentMethod: {
|
|
286
|
+
expired: string;
|
|
287
|
+
ordinary: string;
|
|
288
|
+
current: string;
|
|
289
|
+
checkGreen: string;
|
|
290
|
+
authenticated: string;
|
|
291
|
+
yjTitle: string;
|
|
292
|
+
ppCardTitle: string;
|
|
293
|
+
brand: string;
|
|
294
|
+
};
|
|
295
|
+
wallet: {
|
|
296
|
+
title: string;
|
|
297
|
+
desc: string;
|
|
298
|
+
eMoney: string;
|
|
299
|
+
nonUsable: string;
|
|
300
|
+
cashBackUsable: string;
|
|
301
|
+
cashBackExpirable: string;
|
|
302
|
+
balance: string;
|
|
303
|
+
};
|
|
304
|
+
softbank: {
|
|
305
|
+
desc: string;
|
|
306
|
+
desc1: string;
|
|
307
|
+
isDisable: string;
|
|
308
|
+
};
|
|
309
|
+
registerEmail: {
|
|
310
|
+
title: string;
|
|
311
|
+
warning: string;
|
|
312
|
+
cancelTxt: string;
|
|
313
|
+
errorTitleAlreadyRegistered: string;
|
|
314
|
+
errorDescriptionAlreadyRegistered: string;
|
|
315
|
+
errorTitle: string;
|
|
316
|
+
errorDescription: string;
|
|
317
|
+
};
|
|
318
|
+
smartLogin: {
|
|
319
|
+
title: string;
|
|
320
|
+
signIn: string;
|
|
321
|
+
continueAs: string;
|
|
322
|
+
};
|
|
323
|
+
smartPay: {
|
|
324
|
+
pay: string;
|
|
325
|
+
paypay: string;
|
|
326
|
+
cashback: string;
|
|
327
|
+
};
|
|
328
|
+
cashbackList: {
|
|
329
|
+
close: string;
|
|
330
|
+
};
|
|
331
|
+
desktopTitle: {
|
|
332
|
+
Payment: string;
|
|
333
|
+
addNewAddress: string;
|
|
334
|
+
editAddress: string;
|
|
335
|
+
paymentCompletion: string;
|
|
336
|
+
getUserAddress: string;
|
|
337
|
+
};
|
|
338
|
+
closeConfirmation: {
|
|
339
|
+
title: string;
|
|
340
|
+
confirm: string;
|
|
341
|
+
cancel: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
userAddressVisible: boolean | undefined;
|
|
67
345
|
disablePay: import("vue").ComputedRef<boolean>;
|
|
346
|
+
isMobile: import("vue").ComputedRef<boolean>;
|
|
347
|
+
isDesktop: import("vue").ComputedRef<boolean>;
|
|
348
|
+
select: (index: number) => void;
|
|
349
|
+
addressSelect: (address: Address) => void;
|
|
350
|
+
showPaymentMethod: () => void;
|
|
351
|
+
makePayment: import("vue").Ref<any>;
|
|
352
|
+
isScrollable: import("vue").ComputedRef<boolean>;
|
|
353
|
+
handleUpdate: (hideFooter?: boolean | undefined) => void;
|
|
354
|
+
updateAddress: (data: AddressUpdateEvent) => void;
|
|
68
355
|
clickPayment: () => void;
|
|
69
356
|
clickPaymentMethod: () => void;
|
|
70
357
|
clickAddress: () => void;
|
|
71
358
|
clickClose: () => void;
|
|
72
359
|
clickCharge: () => void;
|
|
73
360
|
createAnime: (s: AnimationItem) => void;
|
|
74
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
361
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
362
|
+
pay: null;
|
|
363
|
+
choosePaymentMethods: null;
|
|
364
|
+
animationEnd: null;
|
|
365
|
+
openConsult: null;
|
|
366
|
+
close: null;
|
|
367
|
+
charge: null;
|
|
368
|
+
select: (_index: number) => true;
|
|
369
|
+
showPaymentMethod: null;
|
|
370
|
+
chooseAddress: (_address?: Address | undefined) => true;
|
|
371
|
+
updateAddress: (data: AddressUpdateEvent) => true;
|
|
372
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
75
373
|
paymentMethod?: unknown;
|
|
374
|
+
paymentMethods?: unknown;
|
|
375
|
+
selectPaymentIndex?: unknown;
|
|
376
|
+
showPaymentMethodList?: unknown;
|
|
76
377
|
price?: unknown;
|
|
77
378
|
done?: unknown;
|
|
78
379
|
paying?: unknown;
|
|
@@ -83,24 +384,43 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
384
|
selectedAddress?: unknown;
|
|
84
385
|
paymentParams?: unknown;
|
|
85
386
|
showUserAddress?: unknown;
|
|
387
|
+
addresses?: unknown;
|
|
86
388
|
} & {
|
|
389
|
+
taxExempt: boolean;
|
|
87
390
|
done: boolean;
|
|
88
391
|
loading: boolean;
|
|
89
|
-
|
|
90
|
-
|
|
392
|
+
selectedAddress: Address | null;
|
|
393
|
+
addresses: Address[];
|
|
91
394
|
price: number;
|
|
395
|
+
paymentMethod: PaymentMethod;
|
|
396
|
+
paymentMethods: PaymentMethod[];
|
|
397
|
+
selectPaymentIndex: number;
|
|
398
|
+
showPaymentMethodList: boolean;
|
|
92
399
|
paying: boolean;
|
|
93
|
-
|
|
400
|
+
bannerInfo: BannerInfo;
|
|
401
|
+
insufficientBalanceInfo: InsufficientBalanceInfo;
|
|
94
402
|
paymentParams: MakePaymentParams;
|
|
95
403
|
showUserAddress: boolean;
|
|
96
|
-
} & {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
404
|
+
} & {}> & {
|
|
405
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
406
|
+
onSelect?: ((_index: number) => any) | undefined;
|
|
407
|
+
onChooseAddress?: ((_address?: Address | undefined) => any) | undefined;
|
|
408
|
+
onUpdateAddress?: ((data: AddressUpdateEvent) => any) | undefined;
|
|
409
|
+
onPay?: ((...args: any[]) => any) | undefined;
|
|
410
|
+
onChoosePaymentMethods?: ((...args: any[]) => any) | undefined;
|
|
411
|
+
onAnimationEnd?: ((...args: any[]) => any) | undefined;
|
|
412
|
+
onOpenConsult?: ((...args: any[]) => any) | undefined;
|
|
413
|
+
onCharge?: ((...args: any[]) => any) | undefined;
|
|
414
|
+
onShowPaymentMethod?: ((...args: any[]) => any) | undefined;
|
|
415
|
+
}, {
|
|
416
|
+
selectedAddress: Address | null;
|
|
417
|
+
addresses: Address[];
|
|
102
418
|
price: number;
|
|
103
|
-
|
|
419
|
+
paymentMethod: PaymentMethod;
|
|
420
|
+
paymentMethods: PaymentMethod[];
|
|
421
|
+
selectPaymentIndex: number;
|
|
422
|
+
showPaymentMethodList: boolean;
|
|
423
|
+
bannerInfo: BannerInfo;
|
|
104
424
|
insufficientBalanceInfo: InsufficientBalanceInfo;
|
|
105
425
|
paymentParams: MakePaymentParams;
|
|
106
426
|
showUserAddress: boolean;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { PropType, ComputedRef } from 'vue';
|
|
2
2
|
import { CashBackDetail } from '../../../../model/makePayment';
|
|
3
|
-
import { IMG_TYPE } from '../../../../utils/getImages';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
cashBackDetail: {
|
|
6
|
-
type: PropType<CashBackDetail>;
|
|
5
|
+
type: PropType<CashBackDetail | null>;
|
|
7
6
|
required: false;
|
|
8
|
-
default:
|
|
7
|
+
default: null;
|
|
9
8
|
};
|
|
10
9
|
calculating: {
|
|
11
10
|
type: BooleanConstructor;
|
|
@@ -18,19 +17,54 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
17
|
cashBackInfo: ComputedRef<{
|
|
19
18
|
animationUrl: string;
|
|
20
19
|
cashBackDescription: string;
|
|
21
|
-
cashBackAmount?: string;
|
|
22
|
-
cashBackDetailLinkLabel?: string;
|
|
23
|
-
optionalText?: string;
|
|
20
|
+
cashBackAmount?: string | undefined;
|
|
21
|
+
cashBackDetailLinkLabel?: string | undefined;
|
|
22
|
+
optionalText?: string | undefined;
|
|
24
23
|
}>;
|
|
25
|
-
images:
|
|
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
|
+
myOffer: string;
|
|
49
|
+
lightBlue: string;
|
|
50
|
+
iconBalanceIcon: string;
|
|
51
|
+
share: string;
|
|
52
|
+
rightArrow: string;
|
|
53
|
+
iconGrayError: string;
|
|
54
|
+
paypayRec: string;
|
|
55
|
+
paypayRecWhite: string;
|
|
56
|
+
downArrow: string;
|
|
57
|
+
bankIcon: string;
|
|
58
|
+
confetti: string;
|
|
59
|
+
};
|
|
26
60
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
27
61
|
cashBackDetail?: unknown;
|
|
28
62
|
calculating?: unknown;
|
|
29
63
|
} & {
|
|
30
|
-
cashBackDetail: CashBackDetail;
|
|
64
|
+
cashBackDetail: CashBackDetail | null;
|
|
31
65
|
calculating: boolean;
|
|
32
66
|
} & {}>, {
|
|
33
|
-
cashBackDetail: CashBackDetail;
|
|
67
|
+
cashBackDetail: CashBackDetail | null;
|
|
34
68
|
calculating: boolean;
|
|
35
69
|
}>;
|
|
36
70
|
export default _default;
|