@paypay/mini-app-js-sdk 1.36.0 → 1.39.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 +4 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +14831 -12779
- package/dist/mini-app-js-sdk.min.css +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/getSessionData.d.ts +1 -1
- package/dist/model/bridge/getStorageData.d.ts +1 -1
- package/dist/model/bridge/getUserLocation.d.ts +1 -1
- package/dist/model/bridge/openApp.d.ts +1 -1
- package/dist/model/bridge/openMiniApp.d.ts +1 -1
- package/dist/model/bridge/openWebview.d.ts +1 -1
- package/dist/model/bridge/request.d.ts +1 -1
- package/dist/model/bridge/requestInternal.d.ts +1 -1
- package/dist/model/bridge/scanCode.d.ts +1 -1
- package/dist/model/bridge/setSessionData.d.ts +1 -1
- package/dist/model/bridge/setStorageData.d.ts +1 -1
- package/dist/model/bridge/setTitle.d.ts +1 -1
- package/dist/model/bridge/share.d.ts +1 -1
- package/dist/model/bridge/showAlert.d.ts +1 -1
- package/dist/model/bridge/showErrorSheet.d.ts +1 -1
- package/dist/model/bridge/takePhoto.d.ts +1 -1
- package/dist/package/action-sheet/index.d.ts +52 -27
- package/dist/package/banner-header/index.vue.d.ts +29 -14
- package/dist/package/button/LoadingIndicator.vue.d.ts +1 -3
- package/dist/package/button/index.d.ts +42 -26
- package/dist/package/charge-amount-list/index.vue.d.ts +38 -19
- package/dist/package/charge-amount-more-list/index.vue.d.ts +7 -5
- package/dist/package/date-button/index.vue.d.ts +7 -5
- package/dist/package/desktop-header/index.d.ts +12 -7
- package/dist/package/divider/index.d.ts +10 -7
- package/dist/package/header/index.d.ts +42 -19
- package/dist/package/input/index.d.ts +124 -53
- package/dist/package/lottie/index.d.ts +35 -16
- package/dist/package/overlay/index.d.ts +20 -13
- package/dist/package/payment-method/Bank.vue.d.ts +11 -7
- package/dist/package/payment-method/CreditCard.vue.d.ts +11 -7
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +15 -5
- package/dist/package/payment-method/SbidBank.vue.d.ts +15 -5
- package/dist/package/payment-method/Wallet.vue.d.ts +15 -5
- package/dist/package/payment-method/index.d.ts +7 -5
- package/dist/package/payment-method-list/index.vue.d.ts +17 -9
- package/dist/package/payment-type/Bank.vue.d.ts +22 -7
- package/dist/package/payment-type/CreditCard.vue.d.ts +18 -5
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +27 -5
- package/dist/package/payment-type/Sbid.vue.d.ts +27 -5
- package/dist/package/payment-type/Wallet.vue.d.ts +27 -5
- package/dist/package/payment-type/index.d.ts +19 -5
- package/dist/package/select-list/Components.d.ts +50 -25
- package/dist/package/select-list/index.d.ts +49 -22
- package/dist/package/skeleton-loader/SkeletonLoader.vue.d.ts +7 -5
- package/dist/package/switch/index.d.ts +11 -10
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +15 -5
- package/dist/types.d.ts +8 -3
- package/dist/utils/api.d.ts +3 -3
- package/dist/utils/fetch.d.ts +5 -1
- package/dist/utils/getImages.d.ts +1 -0
- package/dist/utils/getLanguage.d.ts +8 -0
- package/dist/views/email-registration/App.vue.d.ts +13 -11
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +11 -8
- package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +17 -11
- package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +6 -5
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +10 -7
- package/dist/views/error-sheet/Index.vue.d.ts +42 -17
- package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +12 -8
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +25 -9
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +13 -7
- package/dist/views/get-bank-info/components/PayoutMethodView.vue.d.ts +6 -5
- package/dist/views/get-user-address/App.vue.d.ts +27 -13
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +52 -19
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +21 -7
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +42 -16
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +23 -8
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +44 -19
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +22 -14
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +30 -11
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +20 -7
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +25 -9
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +14 -5
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +20 -7
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +20 -7
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +20 -7
- package/dist/views/input-address/App.vue.d.ts +14 -9
- package/dist/views/input-address/hook/app.d.ts +2 -2
- package/dist/views/make-payment/App.vue.d.ts +21 -13
- package/dist/views/make-payment/Main.vue.d.ts +33 -19
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +15 -5
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +18 -6
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +16 -5
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +15 -5
- package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +12 -7
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +1 -1
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +20 -8
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +25 -9
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +83 -33
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +31 -12
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +87 -59
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +30 -11
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +10 -1
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +7 -5
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +20 -7
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +46 -17
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +85 -33
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +13 -7
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +50 -20
- package/dist/views/make-payment/hooks/app-hooks.d.ts +18 -18
- package/dist/views/open-app/App.vue.d.ts +19 -8
- package/dist/views/open-map/App.vue.d.ts +19 -9
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +9 -1
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +15 -5
- package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +6 -5
- package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +1 -1
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +9 -1
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +9 -1
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +9 -1
- package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +1 -1
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +6 -5
- package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +6 -5
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +15 -5
- package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +6 -5
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +7 -5
- package/dist/views/show-alert/App.vue.d.ts +18 -12
- package/dist/views/show-update-warning/App.vue.d.ts +16 -7
- package/dist/views/smart-button/App.vue.d.ts +39 -23
- package/dist/views/take-photo/App.vue.d.ts +18 -8
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +84 -0
- package/dist/views/topup/App.vue.d.ts +27 -12
- package/dist/views/topup/BannerInfo.vue.d.ts +11 -6
- package/dist/views/topup/CashbackInfo.vue.d.ts +33 -12
- package/dist/views/topup/TopupCompletion.vue.d.ts +18 -6
- package/package.json +6 -8
- package/dist/utils/create/bem.d.ts +0 -6
- package/dist/utils/create/index.d.ts +0 -5
- package/dist/views/register-user-info/RegisterUserInfoFormView.vue.d.ts +0 -11
|
@@ -305,20 +305,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
305
|
title: string;
|
|
306
306
|
close: string;
|
|
307
307
|
};
|
|
308
|
+
"3dSecureSheet": {
|
|
309
|
+
title: string;
|
|
310
|
+
descriptionForYJCardOrPPCard: string;
|
|
311
|
+
description: string;
|
|
312
|
+
setting3DSecure: string;
|
|
313
|
+
about3DSecure: string;
|
|
314
|
+
close: string;
|
|
315
|
+
};
|
|
308
316
|
};
|
|
309
317
|
edit: () => void;
|
|
310
318
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
311
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
320
|
+
edit: (_address: Address) => true;
|
|
321
|
+
select: () => true;
|
|
322
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
323
|
+
address: {
|
|
324
|
+
type: PropType<Address>;
|
|
325
|
+
required: true;
|
|
326
|
+
default: () => {};
|
|
327
|
+
};
|
|
328
|
+
selected: {
|
|
329
|
+
type: BooleanConstructor;
|
|
330
|
+
required: true;
|
|
331
|
+
default: boolean;
|
|
332
|
+
};
|
|
333
|
+
isMakepayment: {
|
|
334
|
+
type: BooleanConstructor;
|
|
335
|
+
required: false;
|
|
336
|
+
default: boolean;
|
|
337
|
+
};
|
|
338
|
+
}>> & {
|
|
339
|
+
onSelect?: (() => any) | undefined;
|
|
340
|
+
onEdit?: ((_address: Address) => any) | undefined;
|
|
322
341
|
}, {
|
|
323
342
|
address: Address;
|
|
324
343
|
isMakepayment: boolean;
|
|
@@ -302,19 +302,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
302
302
|
title: string;
|
|
303
303
|
close: string;
|
|
304
304
|
};
|
|
305
|
+
"3dSecureSheet": {
|
|
306
|
+
title: string;
|
|
307
|
+
descriptionForYJCardOrPPCard: string;
|
|
308
|
+
description: string;
|
|
309
|
+
setting3DSecure: string;
|
|
310
|
+
about3DSecure: string;
|
|
311
|
+
close: string;
|
|
312
|
+
};
|
|
305
313
|
};
|
|
306
314
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
307
315
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
308
316
|
add: () => true;
|
|
309
317
|
close: () => true;
|
|
310
318
|
confirm: () => true;
|
|
311
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
312
|
-
isMakepayment
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
319
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
320
|
+
isMakepayment: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
required: false;
|
|
323
|
+
default: boolean;
|
|
324
|
+
};
|
|
325
|
+
isNoaddress: {
|
|
326
|
+
type: BooleanConstructor;
|
|
327
|
+
required: false;
|
|
328
|
+
default: boolean;
|
|
329
|
+
};
|
|
330
|
+
}>> & {
|
|
318
331
|
onClose?: (() => any) | undefined;
|
|
319
332
|
onAdd?: (() => any) | undefined;
|
|
320
333
|
onConfirm?: (() => any) | undefined;
|
|
@@ -324,6 +324,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
324
324
|
title: string;
|
|
325
325
|
close: string;
|
|
326
326
|
};
|
|
327
|
+
"3dSecureSheet": {
|
|
328
|
+
title: string;
|
|
329
|
+
descriptionForYJCardOrPPCard: string;
|
|
330
|
+
description: string;
|
|
331
|
+
setting3DSecure: string;
|
|
332
|
+
about3DSecure: string;
|
|
333
|
+
close: string;
|
|
334
|
+
};
|
|
327
335
|
};
|
|
328
336
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
329
337
|
selectedAddress: import("vue").ComputedRef<{
|
|
@@ -369,15 +377,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
369
377
|
edit: (address: AddressType) => true;
|
|
370
378
|
tooglelist: () => true;
|
|
371
379
|
updateAddress: (data: AddressUpdateEvent) => true;
|
|
372
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
373
|
-
addresses
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
380
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
+
addresses: {
|
|
382
|
+
type: PropType<AddressType[]>;
|
|
383
|
+
required: true;
|
|
384
|
+
default: () => AddressType[];
|
|
385
|
+
};
|
|
386
|
+
isMakepayment: {
|
|
387
|
+
type: BooleanConstructor;
|
|
388
|
+
required: false;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
savedAddressId: {
|
|
392
|
+
type: NumberConstructor;
|
|
393
|
+
required: false;
|
|
394
|
+
default: null;
|
|
395
|
+
};
|
|
396
|
+
}>> & {
|
|
381
397
|
onClose?: (() => any) | undefined;
|
|
382
398
|
onEdit?: ((address: AddressType) => any) | undefined;
|
|
383
399
|
onAdd?: (() => any) | undefined;
|
package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts
CHANGED
|
@@ -289,14 +289,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
289
289
|
title: string;
|
|
290
290
|
close: string;
|
|
291
291
|
};
|
|
292
|
+
"3dSecureSheet": {
|
|
293
|
+
title: string;
|
|
294
|
+
descriptionForYJCardOrPPCard: string;
|
|
295
|
+
description: string;
|
|
296
|
+
setting3DSecure: string;
|
|
297
|
+
about3DSecure: string;
|
|
298
|
+
close: string;
|
|
299
|
+
};
|
|
292
300
|
};
|
|
293
301
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
294
302
|
clickAddAddress: () => true;
|
|
295
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
296
|
-
showsAddAddressButton
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}
|
|
303
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
304
|
+
showsAddAddressButton: {
|
|
305
|
+
type: BooleanConstructor;
|
|
306
|
+
required: true;
|
|
307
|
+
};
|
|
308
|
+
}>> & {
|
|
300
309
|
onClickAddAddress?: (() => any) | undefined;
|
|
301
310
|
}, {}>;
|
|
302
311
|
export default _default;
|
|
@@ -297,19 +297,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
297
|
title: string;
|
|
298
298
|
close: string;
|
|
299
299
|
};
|
|
300
|
+
"3dSecureSheet": {
|
|
301
|
+
title: string;
|
|
302
|
+
descriptionForYJCardOrPPCard: string;
|
|
303
|
+
description: string;
|
|
304
|
+
setting3DSecure: string;
|
|
305
|
+
about3DSecure: string;
|
|
306
|
+
close: string;
|
|
307
|
+
};
|
|
300
308
|
};
|
|
301
309
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
302
310
|
add(): true;
|
|
303
311
|
change(): true;
|
|
304
312
|
confirm(): true;
|
|
305
313
|
close(): true;
|
|
306
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
307
|
-
selectedAddress
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
314
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
315
|
+
selectedAddress: {
|
|
316
|
+
type: PropType<Address | null>;
|
|
317
|
+
required: false;
|
|
318
|
+
default: () => void;
|
|
319
|
+
};
|
|
320
|
+
isMakepayment: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
required: false;
|
|
323
|
+
default: boolean;
|
|
324
|
+
};
|
|
325
|
+
}>> & {
|
|
313
326
|
onClose?: (() => any) | undefined;
|
|
314
327
|
onAdd?: (() => any) | undefined;
|
|
315
328
|
onConfirm?: (() => any) | undefined;
|
|
@@ -297,19 +297,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
297
|
title: string;
|
|
298
298
|
close: string;
|
|
299
299
|
};
|
|
300
|
+
"3dSecureSheet": {
|
|
301
|
+
title: string;
|
|
302
|
+
descriptionForYJCardOrPPCard: string;
|
|
303
|
+
description: string;
|
|
304
|
+
setting3DSecure: string;
|
|
305
|
+
about3DSecure: string;
|
|
306
|
+
close: string;
|
|
307
|
+
};
|
|
300
308
|
};
|
|
301
309
|
kyc: import("vue").ComputedRef<boolean | undefined>;
|
|
302
310
|
title: import("vue").ComputedRef<string | undefined>;
|
|
303
311
|
postalCode: import("vue").ComputedRef<string>;
|
|
304
312
|
addressText: import("vue").ComputedRef<string>;
|
|
305
313
|
street2: import("vue").ComputedRef<string | undefined>;
|
|
306
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
307
|
-
selectedAddress
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
314
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
315
|
+
selectedAddress: {
|
|
316
|
+
type: PropType<Address | null>;
|
|
317
|
+
required: true;
|
|
318
|
+
default: () => void;
|
|
319
|
+
};
|
|
320
|
+
isMakepayment: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
required: false;
|
|
323
|
+
default: boolean;
|
|
324
|
+
};
|
|
325
|
+
}>>, {
|
|
313
326
|
isMakepayment: boolean;
|
|
314
327
|
selectedAddress: Address | null;
|
|
315
328
|
}>;
|
|
@@ -292,16 +292,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
292
292
|
title: string;
|
|
293
293
|
close: string;
|
|
294
294
|
};
|
|
295
|
+
"3dSecureSheet": {
|
|
296
|
+
title: string;
|
|
297
|
+
descriptionForYJCardOrPPCard: string;
|
|
298
|
+
description: string;
|
|
299
|
+
setting3DSecure: string;
|
|
300
|
+
about3DSecure: string;
|
|
301
|
+
close: string;
|
|
302
|
+
};
|
|
295
303
|
};
|
|
296
304
|
style: Record<string, string>;
|
|
297
305
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
298
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
306
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
307
|
+
confirm: () => true;
|
|
308
|
+
close: () => true;
|
|
309
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
310
|
+
selectedAddress: {
|
|
311
|
+
type: PropType<Address | null>;
|
|
312
|
+
required: false;
|
|
313
|
+
default: () => void;
|
|
314
|
+
};
|
|
315
|
+
}>> & {
|
|
316
|
+
onClose?: (() => any) | undefined;
|
|
317
|
+
onConfirm?: (() => any) | undefined;
|
|
305
318
|
}, {
|
|
306
319
|
selectedAddress: Address | null;
|
|
307
320
|
}>;
|
|
@@ -17,18 +17,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
errorShow: import("vue").ComputedRef<boolean>;
|
|
18
18
|
errorIcon: import("vue").ComputedRef<string>;
|
|
19
19
|
errorDescription: import("vue").ComputedRef<string>;
|
|
20
|
-
addAddress: (_address: import(
|
|
20
|
+
addAddress: (_address: import('../../types').NewAddress) => Promise<boolean | undefined>;
|
|
21
21
|
loading: import("vue").ComputedRef<boolean>;
|
|
22
22
|
closeError: () => void;
|
|
23
|
-
address: import("vue").ComputedRef<import(
|
|
23
|
+
address: import("vue").ComputedRef<import('../../types').Address | undefined>;
|
|
24
24
|
delAddress: (res: import("../../utils/fetch").PPFetchResult<import("../../utils/api").GetAddressListResponse, Record<string, unknown>>) => boolean | undefined;
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions,
|
|
26
|
-
inputAddressParams
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
inputAddressParams: {
|
|
27
|
+
type: PropType<InputAddressParams>;
|
|
28
|
+
required: true;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
show: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
required: false;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
32
37
|
show: boolean;
|
|
33
38
|
inputAddressParams: InputAddressParams;
|
|
34
39
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Address } from '../../../types';
|
|
1
|
+
import { Address, NewAddress } from '../../../types';
|
|
2
2
|
import { GetAddressListResponse } from '../../../utils/api';
|
|
3
3
|
import { PPFetchResult } from '../../../utils/fetch';
|
|
4
4
|
export declare function useApp(params: {
|
|
@@ -6,7 +6,7 @@ export declare function useApp(params: {
|
|
|
6
6
|
success: () => void;
|
|
7
7
|
address?: Address | null | undefined;
|
|
8
8
|
}): {
|
|
9
|
-
addAddress: (_address:
|
|
9
|
+
addAddress: (_address: NewAddress) => Promise<boolean | undefined>;
|
|
10
10
|
loading: import("vue").ComputedRef<boolean>;
|
|
11
11
|
delAddress: (res: PPFetchResult<GetAddressListResponse>) => boolean | undefined;
|
|
12
12
|
shallow: import("vue").ComputedRef<boolean>;
|
|
@@ -30,19 +30,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
errorIcon: import("vue").ComputedRef<string>;
|
|
31
31
|
errorDescription: import("vue").ComputedRef<string>;
|
|
32
32
|
errorTitle: import("vue").ComputedRef<string>;
|
|
33
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions,
|
|
34
|
-
show
|
|
35
|
-
paymentParams
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
show: BooleanConstructor;
|
|
35
|
+
paymentParams: {
|
|
36
|
+
type: PropType<MakePaymentParams>;
|
|
37
|
+
default: () => void;
|
|
38
|
+
};
|
|
39
|
+
orderItems: {
|
|
40
|
+
type: ObjectConstructor;
|
|
41
|
+
default: () => void;
|
|
42
|
+
};
|
|
43
|
+
addresses: {
|
|
44
|
+
type: PropType<Address[]>;
|
|
45
|
+
required: false;
|
|
46
|
+
default: () => Address[];
|
|
47
|
+
};
|
|
48
|
+
showUserAddress: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
required: false;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>>, {
|
|
46
54
|
orderItems: Record<string, any>;
|
|
47
55
|
show: boolean;
|
|
48
56
|
addresses: Address[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType, ComputedRef } from 'vue';
|
|
1
|
+
import { PropType, ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { Address, MakePaymentParams } from '../../types';
|
|
3
|
-
import { PaymentMethod, InsufficientBalanceInfo } from '../../model/makePayment';
|
|
3
|
+
import { PaymentMethod, InsufficientBalanceInfo, CreditMethod } from '../../model/makePayment';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
show: BooleanConstructor;
|
|
6
6
|
paymentParams: {
|
|
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
canCloseByOutsideTap: boolean;
|
|
86
86
|
} | null>;
|
|
87
87
|
showConsult: ComputedRef<boolean>;
|
|
88
|
-
bannerInfo: ComputedRef<import(
|
|
88
|
+
bannerInfo: ComputedRef<import('../../model/makePayment').BannerInfo>;
|
|
89
89
|
hasCashBackAnimation: ComputedRef<boolean>;
|
|
90
90
|
hasConfirmAge: ComputedRef<boolean>;
|
|
91
91
|
cashBackDetail: ComputedRef<{
|
|
@@ -113,7 +113,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
text: string;
|
|
114
114
|
imageUrl: string;
|
|
115
115
|
} | undefined;
|
|
116
|
-
animationType: import(
|
|
116
|
+
animationType: import('../../model/makePayment').CashBackAnimationType;
|
|
117
117
|
optionalText: string;
|
|
118
118
|
campaignId: string;
|
|
119
119
|
url: string;
|
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
isMobile: ComputedRef<boolean>;
|
|
160
160
|
isDesktop: ComputedRef<boolean>;
|
|
161
161
|
chooseAddress: (address?: Address | undefined) => void;
|
|
162
|
-
updateAddress: (data: import(
|
|
162
|
+
updateAddress: (data: import('../../types').AddressUpdateEvent) => void;
|
|
163
163
|
addressList: ComputedRef<{
|
|
164
164
|
id: number;
|
|
165
165
|
kyc: boolean;
|
|
@@ -176,20 +176,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
176
|
showCloseConfirmation: ComputedRef<boolean>;
|
|
177
177
|
confirmCloseConfirmation: () => void;
|
|
178
178
|
cancelCloseConfirmation: () => void;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
} & {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
179
|
+
show3DSecureSheet: Ref<boolean>;
|
|
180
|
+
selectedTopupMethod: Ref<CreditMethod | undefined>;
|
|
181
|
+
close3DSecureSheet: () => void;
|
|
182
|
+
selectedCCType: ComputedRef<string | undefined>;
|
|
183
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
184
|
+
click: () => true;
|
|
185
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
186
|
+
show: BooleanConstructor;
|
|
187
|
+
paymentParams: {
|
|
188
|
+
type: PropType<MakePaymentParams>;
|
|
189
|
+
default: () => void;
|
|
190
|
+
};
|
|
191
|
+
orderItems: {
|
|
192
|
+
type: ObjectConstructor;
|
|
193
|
+
default: () => void;
|
|
194
|
+
};
|
|
195
|
+
addresses: {
|
|
196
|
+
type: PropType<Address[]>;
|
|
197
|
+
required: false;
|
|
198
|
+
default: () => Address[];
|
|
199
|
+
};
|
|
200
|
+
showUserAddress: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
}>> & {
|
|
206
|
+
onClick?: (() => any) | undefined;
|
|
193
207
|
}, {
|
|
194
208
|
orderItems: Record<string, any>;
|
|
195
209
|
show: boolean;
|
|
@@ -293,17 +293,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
title: string;
|
|
294
294
|
close: string;
|
|
295
295
|
};
|
|
296
|
+
"3dSecureSheet": {
|
|
297
|
+
title: string;
|
|
298
|
+
descriptionForYJCardOrPPCard: string;
|
|
299
|
+
description: string;
|
|
300
|
+
setting3DSecure: string;
|
|
301
|
+
about3DSecure: string;
|
|
302
|
+
close: string;
|
|
303
|
+
};
|
|
296
304
|
};
|
|
297
305
|
kyc: import("vue").ComputedRef<boolean | undefined>;
|
|
298
306
|
title: import("vue").ComputedRef<string | undefined>;
|
|
299
307
|
postalCode: import("vue").ComputedRef<string>;
|
|
300
308
|
addressText: import("vue").ComputedRef<string>;
|
|
301
309
|
street2: import("vue").ComputedRef<string | undefined>;
|
|
302
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
303
|
-
selectedAddress
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
310
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
311
|
+
selectedAddress: {
|
|
312
|
+
type: PropType<Address | null>;
|
|
313
|
+
required: false;
|
|
314
|
+
default: () => void;
|
|
315
|
+
};
|
|
316
|
+
}>>, {
|
|
307
317
|
selectedAddress: Address | null;
|
|
308
318
|
}>;
|
|
309
319
|
export default _default;
|
|
@@ -293,14 +293,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
title: string;
|
|
294
294
|
close: string;
|
|
295
295
|
};
|
|
296
|
+
"3dSecureSheet": {
|
|
297
|
+
title: string;
|
|
298
|
+
descriptionForYJCardOrPPCard: string;
|
|
299
|
+
description: string;
|
|
300
|
+
setting3DSecure: string;
|
|
301
|
+
about3DSecure: string;
|
|
302
|
+
close: string;
|
|
303
|
+
};
|
|
296
304
|
};
|
|
297
305
|
showDeepLink: boolean;
|
|
298
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
299
|
-
|
|
300
|
-
} & {
|
|
301
|
-
cashBackDetail:
|
|
302
|
-
|
|
303
|
-
|
|
306
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
307
|
+
close: () => true;
|
|
308
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
309
|
+
cashBackDetail: {
|
|
310
|
+
type: PropType<CashBackDetail | null>;
|
|
311
|
+
required: false;
|
|
312
|
+
default: null;
|
|
313
|
+
};
|
|
314
|
+
}>> & {
|
|
315
|
+
onClose?: (() => any) | undefined;
|
|
304
316
|
}, {
|
|
305
317
|
cashBackDetail: CashBackDetail | null;
|
|
306
318
|
}>;
|
|
@@ -52,6 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
iconKycWarn: string;
|
|
53
53
|
iconMail: string;
|
|
54
54
|
iconGreenTick: string;
|
|
55
|
+
icon3DSecure: string;
|
|
55
56
|
};
|
|
56
57
|
lg: {
|
|
57
58
|
showUpdateWarning: {
|
|
@@ -338,10 +339,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
338
339
|
title: string;
|
|
339
340
|
close: string;
|
|
340
341
|
};
|
|
342
|
+
"3dSecureSheet": {
|
|
343
|
+
title: string;
|
|
344
|
+
descriptionForYJCardOrPPCard: string;
|
|
345
|
+
description: string;
|
|
346
|
+
setting3DSecure: string;
|
|
347
|
+
about3DSecure: string;
|
|
348
|
+
close: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
352
|
+
show: {
|
|
353
|
+
type: BooleanConstructor;
|
|
354
|
+
required: true;
|
|
355
|
+
default: boolean;
|
|
341
356
|
};
|
|
342
|
-
}
|
|
343
|
-
show?: unknown;
|
|
344
|
-
} & {
|
|
345
|
-
show: boolean;
|
|
346
|
-
} & {}>, {}>;
|
|
357
|
+
}>>, {}>;
|
|
347
358
|
export default _default;
|
|
@@ -49,6 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
iconKycWarn: string;
|
|
50
50
|
iconMail: string;
|
|
51
51
|
iconGreenTick: string;
|
|
52
|
+
icon3DSecure: string;
|
|
52
53
|
};
|
|
53
54
|
lg: {
|
|
54
55
|
showUpdateWarning: {
|
|
@@ -335,10 +336,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
335
336
|
title: string;
|
|
336
337
|
close: string;
|
|
337
338
|
};
|
|
339
|
+
"3dSecureSheet": {
|
|
340
|
+
title: string;
|
|
341
|
+
descriptionForYJCardOrPPCard: string;
|
|
342
|
+
description: string;
|
|
343
|
+
setting3DSecure: string;
|
|
344
|
+
about3DSecure: string;
|
|
345
|
+
close: string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
349
|
+
show: {
|
|
350
|
+
type: BooleanConstructor;
|
|
351
|
+
required: true;
|
|
338
352
|
};
|
|
339
|
-
}
|
|
340
|
-
show?: unknown;
|
|
341
|
-
} & {
|
|
342
|
-
show: boolean;
|
|
343
|
-
} & {}>, {}>;
|
|
353
|
+
}>>, {}>;
|
|
344
354
|
export default _default;
|
|
@@ -11,13 +11,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
};
|
|
12
12
|
}, {
|
|
13
13
|
style: Record<string, string>;
|
|
14
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
15
|
-
imageUrl
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
imageUrl: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
buttonClass: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
21
26
|
imageUrl: string;
|
|
22
27
|
buttonClass: string;
|
|
23
28
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { CashBackDetail, CashBackDetailAnimation } from '../../../../model/makePayment';
|
|
3
|
-
import { RenderType } from '
|
|
3
|
+
import { RenderType } from '../../../../types';
|
|
4
4
|
export declare type Props = {
|
|
5
5
|
cashBackDetail: CashBackDetail | null;
|
|
6
6
|
paymentId: string;
|