@paypay/mini-app-js-sdk 1.35.0 → 1.38.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 +13807 -11709
- 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/model/makePayment.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 +7 -7
- 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 +28 -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 +47 -22
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +23 -15
- 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/get-user-address/store/error-handle.d.ts +2 -3
- package/dist/views/input-address/App.vue.d.ts +15 -10
- package/dist/views/input-address/hook/app.d.ts +5 -5
- package/dist/views/input-address/hook/error-handle.d.ts +1 -10
- package/dist/views/make-payment/App.vue.d.ts +21 -13
- package/dist/views/make-payment/Main.vue.d.ts +32 -18
- 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
|
@@ -7,9 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
}, unknown, unknown, {}, {
|
|
9
9
|
value(dataPoint: UserProfileFormDataPoint): string;
|
|
10
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
11
|
-
dataPointGroups
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
10
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
dataPointGroups: {
|
|
12
|
+
type: PropType<UserProfileFormDataPointGroup[]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>>, {}>;
|
|
15
16
|
export default _default;
|
|
@@ -291,6 +291,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
291
291
|
title: string;
|
|
292
292
|
close: string;
|
|
293
293
|
};
|
|
294
|
+
"3dSecureSheet": {
|
|
295
|
+
title: string;
|
|
296
|
+
descriptionForYJCardOrPPCard: string;
|
|
297
|
+
description: string;
|
|
298
|
+
setting3DSecure: string;
|
|
299
|
+
about3DSecure: string;
|
|
300
|
+
close: string;
|
|
301
|
+
};
|
|
294
302
|
};
|
|
295
303
|
images: {
|
|
296
304
|
iconBalanceError: string;
|
|
@@ -335,15 +343,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
335
343
|
iconKycWarn: string;
|
|
336
344
|
iconMail: string;
|
|
337
345
|
iconGreenTick: string;
|
|
346
|
+
icon3DSecure: string;
|
|
338
347
|
};
|
|
339
348
|
notVerified: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
340
349
|
isVerified: import("vue").ComputedRef<boolean>;
|
|
341
350
|
currentEmail: import("vue").ComputedRef<string | undefined>;
|
|
342
351
|
currentEmailLabel: import("vue").ComputedRef<string>;
|
|
343
352
|
startEmailRegistration: () => void;
|
|
344
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
345
|
-
dataPoint
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
353
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
354
|
+
dataPoint: {
|
|
355
|
+
type: PropType<UserProfileFormDataPoint>;
|
|
356
|
+
required: true;
|
|
357
|
+
};
|
|
358
|
+
}>>, {}>;
|
|
349
359
|
export default _default;
|
|
@@ -9,9 +9,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
buttonValues: import("vue").ComputedRef<string[]>;
|
|
10
10
|
selectedValue: import("vue").ComputedRef<string>;
|
|
11
11
|
onClick: (value: string) => void;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
|
-
dataPoint
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
dataPoint: {
|
|
14
|
+
type: PropType<UserProfileFormDataPoint>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>>, {}>;
|
|
17
18
|
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
|
input: import("vue").ComputedRef<{
|
|
54
55
|
type: string;
|
|
@@ -68,9 +69,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
69
|
onFocus: () => void;
|
|
69
70
|
onBlur: () => void;
|
|
70
71
|
onClear: (e: Event) => void;
|
|
71
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
72
|
-
dataPoint
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
72
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
dataPoint: {
|
|
74
|
+
type: PropType<UserProfileFormDataPoint>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
}>>, {}>;
|
|
76
78
|
export default _default;
|
|
@@ -15,18 +15,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
}, {
|
|
16
16
|
onClick: () => void;
|
|
17
17
|
style: Record<string, string>;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
'close-click': () => true;
|
|
20
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
show: BooleanConstructor;
|
|
22
|
+
title: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
text: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
buttonTitle: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
"onClose-click"?: (() => any) | undefined;
|
|
30
36
|
}, {
|
|
31
37
|
text: string;
|
|
32
38
|
title: string;
|
|
@@ -293,6 +293,14 @@ 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
|
images: {
|
|
298
306
|
iconBalanceError: string;
|
|
@@ -337,6 +345,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
337
345
|
iconKycWarn: string;
|
|
338
346
|
iconMail: string;
|
|
339
347
|
iconGreenTick: string;
|
|
348
|
+
icon3DSecure: string;
|
|
340
349
|
};
|
|
341
350
|
}, {
|
|
342
351
|
description(): string;
|
|
@@ -347,13 +356,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
347
356
|
closeErrorSheet(): void;
|
|
348
357
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
349
358
|
closeClick: () => true;
|
|
350
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
351
|
-
show
|
|
352
|
-
warningParams
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
} & {
|
|
359
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
360
|
+
show: BooleanConstructor;
|
|
361
|
+
warningParams: {
|
|
362
|
+
type: PropType<ShowUpdateWarningParams>;
|
|
363
|
+
default: () => void;
|
|
364
|
+
};
|
|
365
|
+
}>> & {
|
|
357
366
|
onCloseClick?: (() => any) | undefined;
|
|
358
367
|
}, {
|
|
359
368
|
show: boolean;
|
|
@@ -45,34 +45,50 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
46
|
click: () => true;
|
|
47
47
|
mount: () => true;
|
|
48
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
49
|
-
type
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
type: {
|
|
50
|
+
type: PropType<SmartButtonType>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
title: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
buttonSize: {
|
|
58
|
+
type: PropType<SmartButtonSize>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
theme: {
|
|
62
|
+
type: PropType<SmartButtonTheme>;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
avatarUrl: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
cashbackInfo: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
isShortText: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
preferredLanguage: {
|
|
78
|
+
type: PropType<SmartButtonLg>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
url: {
|
|
82
|
+
type: PropType<string | undefined>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
}>> & {
|
|
70
86
|
onClick?: (() => any) | undefined;
|
|
71
87
|
onMount?: (() => any) | undefined;
|
|
72
88
|
}, {
|
|
73
89
|
url: string | undefined;
|
|
74
|
-
title: string;
|
|
75
90
|
type: SmartButtonType;
|
|
91
|
+
title: string;
|
|
76
92
|
isShortText: boolean;
|
|
77
93
|
buttonSize: SmartButtonSize;
|
|
78
94
|
theme: SmartButtonTheme;
|
|
@@ -292,19 +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
|
}, {}, {
|
|
297
305
|
takePhotoCamera(): void;
|
|
298
306
|
takePhotoAlbum(): void;
|
|
299
307
|
close(): void;
|
|
300
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
309
|
+
click: () => true;
|
|
310
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
311
|
+
show: BooleanConstructor;
|
|
312
|
+
takePhotoParams: {
|
|
313
|
+
type: PropType<TakePhotoParams>;
|
|
314
|
+
default: () => void;
|
|
315
|
+
};
|
|
316
|
+
}>> & {
|
|
317
|
+
onClick?: (() => any) | undefined;
|
|
308
318
|
}, {
|
|
309
319
|
show: boolean;
|
|
310
320
|
takePhotoParams: TakePhotoParams;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
show: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
ccType: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
images: {
|
|
12
|
+
iconBalanceError: string;
|
|
13
|
+
animationDone: string;
|
|
14
|
+
merchant: string;
|
|
15
|
+
cashback: string;
|
|
16
|
+
iconCopy: string;
|
|
17
|
+
iconError: string;
|
|
18
|
+
iconOpenApp: string;
|
|
19
|
+
iconAppUpdate: string;
|
|
20
|
+
iconBackArrow: string;
|
|
21
|
+
paypay: string;
|
|
22
|
+
copyIcon: string;
|
|
23
|
+
jcb: string;
|
|
24
|
+
visa: string;
|
|
25
|
+
master: string;
|
|
26
|
+
amex: string;
|
|
27
|
+
iconAlert: string;
|
|
28
|
+
checkGreen: string;
|
|
29
|
+
yahoo: string;
|
|
30
|
+
ppCard: string;
|
|
31
|
+
softbank: string;
|
|
32
|
+
iconBirthday: string;
|
|
33
|
+
iconMinorAge: string;
|
|
34
|
+
iconClose: string;
|
|
35
|
+
whiteIconClose: string;
|
|
36
|
+
myOffer: string;
|
|
37
|
+
lightBlue: string;
|
|
38
|
+
iconBalanceIcon: string;
|
|
39
|
+
share: string;
|
|
40
|
+
rightArrow: string;
|
|
41
|
+
iconGrayError: string;
|
|
42
|
+
paypayRec: string;
|
|
43
|
+
paypayRecWhite: string;
|
|
44
|
+
downArrow: string;
|
|
45
|
+
bankIcon: string;
|
|
46
|
+
confetti: string;
|
|
47
|
+
payLater: string;
|
|
48
|
+
iconPen: string;
|
|
49
|
+
iconInputClear: string;
|
|
50
|
+
iconRightArrowGray: string;
|
|
51
|
+
iconKycWarn: string;
|
|
52
|
+
iconMail: string;
|
|
53
|
+
iconGreenTick: string;
|
|
54
|
+
icon3DSecure: string;
|
|
55
|
+
};
|
|
56
|
+
lg: {
|
|
57
|
+
title: string;
|
|
58
|
+
descriptionForYJCardOrPPCard: string;
|
|
59
|
+
description: string;
|
|
60
|
+
setting3DSecure: string;
|
|
61
|
+
about3DSecure: string;
|
|
62
|
+
close: string;
|
|
63
|
+
};
|
|
64
|
+
isNormalCard: import("vue").ComputedRef<boolean>;
|
|
65
|
+
navigateToSetting: () => void;
|
|
66
|
+
navigateToAbout: () => void;
|
|
67
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
+
close: null;
|
|
69
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
show: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
ccType: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: null;
|
|
77
|
+
};
|
|
78
|
+
}>> & {
|
|
79
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
show: boolean;
|
|
82
|
+
ccType: string;
|
|
83
|
+
}>;
|
|
84
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnimationItem } from 'lottie-web';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { PaymentMethod as TPaymentMethod } from '../../model/makePayment';
|
|
3
|
+
import { PaymentMethod as TPaymentMethod, CreditMethod } from '../../model/makePayment';
|
|
4
4
|
import { MiniAppErrorType } from '../../model/miniAppError';
|
|
5
5
|
import { UIComponentsErrorButton } from '../../model/uiComponents';
|
|
6
6
|
import { TopupParams } from '../../types';
|
|
@@ -339,6 +339,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
339
339
|
title: string;
|
|
340
340
|
close: string;
|
|
341
341
|
};
|
|
342
|
+
"3dSecureSheet": {
|
|
343
|
+
title: string;
|
|
344
|
+
descriptionForYJCardOrPPCard: string;
|
|
345
|
+
description: string;
|
|
346
|
+
setting3DSecure: string;
|
|
347
|
+
about3DSecure: string;
|
|
348
|
+
close: string;
|
|
349
|
+
};
|
|
342
350
|
};
|
|
343
351
|
images: {
|
|
344
352
|
iconBalanceError: string;
|
|
@@ -383,8 +391,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
383
391
|
iconKycWarn: string;
|
|
384
392
|
iconMail: string;
|
|
385
393
|
iconGreenTick: string;
|
|
394
|
+
icon3DSecure: string;
|
|
386
395
|
};
|
|
387
396
|
isFirstLoad: boolean;
|
|
397
|
+
show3DSecureSheet: boolean;
|
|
388
398
|
}, {
|
|
389
399
|
getfooterclass(): string;
|
|
390
400
|
descriptionBannerInfo(): {
|
|
@@ -396,8 +406,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
396
406
|
buttonList: {
|
|
397
407
|
nativeAction: string;
|
|
398
408
|
title: string;
|
|
399
|
-
actionType: import(
|
|
400
|
-
buttonType: import(
|
|
409
|
+
actionType: import('../../model/uiComponents').UIComponentsButtonActionType;
|
|
410
|
+
buttonType: import('../../model/uiComponents').UIComponentsButtonType;
|
|
401
411
|
deeplink?: string | undefined;
|
|
402
412
|
googleAnalyticsInfo: unknown;
|
|
403
413
|
type: unknown;
|
|
@@ -411,6 +421,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
411
421
|
getTopHeight(): {
|
|
412
422
|
height: string;
|
|
413
423
|
};
|
|
424
|
+
selectedCardMethod(): CreditMethod | undefined;
|
|
425
|
+
selectedCCType(): string | undefined;
|
|
414
426
|
}, {
|
|
415
427
|
numberWithCommas: (x?: number) => string;
|
|
416
428
|
init(): Promise<void>;
|
|
@@ -422,7 +434,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
422
434
|
togglePosition(toggle: boolean): void;
|
|
423
435
|
checkValidAmount(): void;
|
|
424
436
|
showBannerInfo(): void;
|
|
425
|
-
bannerBtnClick(item
|
|
437
|
+
bannerBtnClick(item?: UIComponentsErrorButton | undefined, index?: number | undefined): void;
|
|
426
438
|
backToHome(): void;
|
|
427
439
|
selectMoreMoney(): void;
|
|
428
440
|
togglePaymentMethod(value: boolean): void;
|
|
@@ -434,14 +446,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
434
446
|
clickTopup(agreeSimilarTransaction: boolean): Promise<null | undefined>;
|
|
435
447
|
showError(): void;
|
|
436
448
|
closeErrorSheet(): void;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
} & {
|
|
441
|
-
show:
|
|
442
|
-
topupParams:
|
|
443
|
-
|
|
444
|
-
|
|
449
|
+
close3DSecureSheet(): void;
|
|
450
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
451
|
+
click: () => true;
|
|
452
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
453
|
+
show: BooleanConstructor;
|
|
454
|
+
topupParams: {
|
|
455
|
+
type: PropType<TopupParams | null>;
|
|
456
|
+
default: () => {};
|
|
457
|
+
};
|
|
458
|
+
}>> & {
|
|
459
|
+
onClick?: (() => any) | undefined;
|
|
445
460
|
}, {
|
|
446
461
|
show: boolean;
|
|
447
462
|
topupParams: TopupParams | null;
|
|
@@ -15,12 +15,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
buttonList: import("vue").ComputedRef<UIComponentsErrorButton[] | undefined>;
|
|
16
16
|
click: (item: UIComponentsErrorButton, index: number) => void;
|
|
17
17
|
style: Record<string, string>;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
19
|
-
|
|
20
|
-
} & {
|
|
21
|
-
selectedPaymentMethod:
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
click: (_item: UIComponentsErrorButton, _index: number) => true;
|
|
20
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
selectedPaymentMethod: {
|
|
22
|
+
type: PropType<PaymentMethod | null>;
|
|
23
|
+
default: null;
|
|
24
|
+
required: false;
|
|
25
|
+
validator: (value: PaymentMethod | null) => boolean;
|
|
26
|
+
};
|
|
27
|
+
}>> & {
|
|
28
|
+
onClick?: ((_item: UIComponentsErrorButton, _index: number) => any) | undefined;
|
|
24
29
|
}, {
|
|
25
30
|
selectedPaymentMethod: PaymentMethod | null;
|
|
26
31
|
}>;
|
|
@@ -308,19 +308,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
308
308
|
title: string;
|
|
309
309
|
close: string;
|
|
310
310
|
};
|
|
311
|
+
"3dSecureSheet": {
|
|
312
|
+
title: string;
|
|
313
|
+
descriptionForYJCardOrPPCard: string;
|
|
314
|
+
description: string;
|
|
315
|
+
setting3DSecure: string;
|
|
316
|
+
about3DSecure: string;
|
|
317
|
+
close: string;
|
|
318
|
+
};
|
|
311
319
|
};
|
|
312
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
320
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
321
|
+
click: () => true;
|
|
322
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
323
|
+
cashbackInfo: {
|
|
324
|
+
type: ObjectConstructor;
|
|
325
|
+
default: () => void;
|
|
326
|
+
required: true;
|
|
327
|
+
};
|
|
328
|
+
totalBalanceInfo: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: () => void;
|
|
331
|
+
required: true;
|
|
332
|
+
};
|
|
333
|
+
allTotalBalanceInfo: {
|
|
334
|
+
type: StringConstructor;
|
|
335
|
+
default: () => void;
|
|
336
|
+
required: true;
|
|
337
|
+
};
|
|
338
|
+
isCharging: {
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
default: boolean;
|
|
341
|
+
required: true;
|
|
342
|
+
};
|
|
343
|
+
}>> & {
|
|
344
|
+
onClick?: (() => any) | undefined;
|
|
324
345
|
}, {
|
|
325
346
|
totalBalanceInfo: string;
|
|
326
347
|
cashbackInfo: Record<string, any>;
|
|
@@ -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
|
amount: import("vue").ComputedRef<string>;
|
|
54
55
|
statusLabelColor: import("vue").ComputedRef<string | undefined>;
|
|
@@ -341,17 +342,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
342
|
title: string;
|
|
342
343
|
close: string;
|
|
343
344
|
};
|
|
345
|
+
"3dSecureSheet": {
|
|
346
|
+
title: string;
|
|
347
|
+
descriptionForYJCardOrPPCard: string;
|
|
348
|
+
description: string;
|
|
349
|
+
setting3DSecure: string;
|
|
350
|
+
about3DSecure: string;
|
|
351
|
+
close: string;
|
|
352
|
+
};
|
|
344
353
|
};
|
|
345
354
|
}, {
|
|
346
355
|
copied: boolean;
|
|
347
356
|
}, {}, {
|
|
348
357
|
copyId(): void;
|
|
349
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
350
|
-
|
|
351
|
-
} & {
|
|
352
|
-
data:
|
|
353
|
-
|
|
354
|
-
|
|
358
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
359
|
+
close: () => true;
|
|
360
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
361
|
+
data: {
|
|
362
|
+
type: PropType<TopupResponseData | null>;
|
|
363
|
+
default: () => void;
|
|
364
|
+
};
|
|
365
|
+
}>> & {
|
|
366
|
+
onClose?: (() => any) | undefined;
|
|
355
367
|
}, {
|
|
356
368
|
data: TopupResponseData | null;
|
|
357
369
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"js-cookie": "^3.0.1",
|
|
25
|
-
"lottie-web": "^5.
|
|
26
|
-
"pinia": "^2.0.
|
|
25
|
+
"lottie-web": "^5.9.2",
|
|
26
|
+
"pinia": "^2.0.13",
|
|
27
27
|
"uuid": "^8.3.2",
|
|
28
|
-
"vue": "^3.2.
|
|
28
|
+
"vue": "^3.2.33"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@babel/core": "^7.15.5",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@vitejs/plugin-vue-jsx": "^1.2.0",
|
|
44
44
|
"@vue/babel-plugin-jsx": "^1.0.7",
|
|
45
45
|
"@vue/compiler-sfc": "^3.2.11",
|
|
46
|
-
"@vue/test-utils": "^2.0.0-rc.
|
|
46
|
+
"@vue/test-utils": "^2.0.0-rc.21",
|
|
47
47
|
"acorn-jsx": "^5.3.2",
|
|
48
48
|
"babel-jest": "^26.6.3",
|
|
49
49
|
"eslint": "^7.32.0",
|
|
@@ -67,9 +67,7 @@
|
|
|
67
67
|
"vue-jest": "5.0.0-alpha.9",
|
|
68
68
|
"vue-tsc": "^0.29.5"
|
|
69
69
|
},
|
|
70
|
-
"files": [
|
|
71
|
-
"dist"
|
|
72
|
-
],
|
|
70
|
+
"files": ["dist"],
|
|
73
71
|
"husky": {
|
|
74
72
|
"hooks": {
|
|
75
73
|
"pre-commit": "lint-staged"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare type Mod = string | {
|
|
2
|
-
[key: string]: unknown;
|
|
3
|
-
};
|
|
4
|
-
export declare type Mods = Mod | Mod[];
|
|
5
|
-
export declare function createBEM(name: string): (el?: Mods | undefined, mods?: Mods | undefined) => string;
|
|
6
|
-
export declare type BEM = ReturnType<typeof createBEM>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function createNamespace(name: string): readonly [(el?: import("./bem").Mods | undefined, mods?: import("./bem").Mods | undefined) => string];
|
|
2
|
-
export declare type ObjectLiteralStyle = {
|
|
3
|
-
[className: string]: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare function useObjectLiteralStyle(params: ObjectLiteralStyle): string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
category: import("vue").ComputedRef<import("./types").UserProfileFormCategory>;
|
|
3
|
-
categoryStyle: {
|
|
4
|
-
paddingTop: string;
|
|
5
|
-
};
|
|
6
|
-
containerStyle: {
|
|
7
|
-
height: string;
|
|
8
|
-
};
|
|
9
|
-
scrollAreaRef: import("vue").Ref<HTMLElement | null>;
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
11
|
-
export default _default;
|