@paypay/mini-app-js-sdk 1.14.2 → 1.17.1
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/useMakePayment.d.ts +1 -1
- package/dist/composition-api/useRenderSmartButton.d.ts +3 -0
- package/dist/mini-app-api.d.ts +4 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +1 -1
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +3 -0
- package/dist/model/bridge/index.d.ts +2 -0
- package/dist/model/bridge/makePayment.d.ts +1 -1
- package/dist/model/bridge/render.d.ts +2 -0
- package/dist/model/bridge/renderLoginButton.d.ts +2 -0
- package/dist/model/bridge/renderPayButton.d.ts +2 -0
- package/dist/model/makePayment.d.ts +2 -1
- package/dist/model/miniAppError.d.ts +7 -3
- package/dist/model/miniAppStatus.d.ts +3 -1
- package/dist/model/permission.d.ts +1 -0
- package/dist/package/action-sheet/index.d.ts +14 -1
- package/dist/package/banner-header/index.vue.d.ts +9 -1
- package/dist/package/button/index.d.ts +13 -1
- package/dist/package/charge-amount-list/index.vue.d.ts +9 -2
- package/dist/package/charge-amount-more-list/index.vue.d.ts +2 -0
- package/dist/package/date-button/index.vue.d.ts +2 -0
- package/dist/package/divider/index.d.ts +3 -0
- package/dist/package/header/index.d.ts +14 -3
- package/dist/package/input/index.d.ts +31 -2
- package/dist/package/lottie/index.d.ts +10 -1
- package/dist/package/overlay/index.d.ts +6 -0
- package/dist/package/payment-method/Bank.vue.d.ts +3 -0
- package/dist/package/payment-method/CreditCard.vue.d.ts +3 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +2 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +2 -0
- package/dist/package/payment-method/index.d.ts +2 -0
- package/dist/package/payment-method-list/index.vue.d.ts +3 -0
- package/dist/package/payment-type/Bank.vue.d.ts +3 -0
- package/dist/package/payment-type/{CrediCard.vue.d.ts → CreditCard.vue.d.ts} +3 -1
- package/dist/package/payment-type/Sbid.vue.d.ts +2 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +2 -0
- package/dist/package/payment-type/index.d.ts +2 -0
- package/dist/package/select-list/Components.d.ts +9 -1
- package/dist/package/select-list/index.d.ts +12 -1
- package/dist/package/switch/index.d.ts +7 -1
- package/dist/types.d.ts +46 -1
- package/dist/utils/api.d.ts +5 -0
- package/dist/utils/helper.d.ts +7 -0
- package/dist/utils/storage.d.ts +4 -0
- package/dist/views/email-registration/App.vue.d.ts +11 -3
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +9 -1
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +7 -1
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +6 -1
- package/dist/views/error-sheet/Index.vue.d.ts +13 -4
- package/dist/views/get-user-address/App.vue.d.ts +21 -1
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +12 -2
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +6 -1
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +6 -1
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +23 -4
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +29 -3
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +9 -2
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +17 -2
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +28 -3
- package/dist/views/get-user-address/hooks/ui-hooks.d.ts +4 -1
- package/dist/views/get-user-address/store/root.d.ts +2 -0
- package/dist/views/input-address/App.vue.d.ts +6 -2
- package/dist/views/make-payment/App.vue.d.ts +29 -1
- package/dist/views/make-payment/Main.vue.d.ts +49 -1
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +25 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +5 -1
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +11 -2
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +8 -1
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +6 -1
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +42 -5
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +7 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +5 -2
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +23 -2
- package/dist/views/make-payment/store/root.d.ts +2 -2
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +1 -1
- package/dist/views/open-app/App.vue.d.ts +6 -1
- package/dist/views/open-map/App.vue.d.ts +6 -1
- package/dist/views/show-alert/App.vue.d.ts +8 -1
- package/dist/views/show-update-warning/App.vue.d.ts +6 -1
- package/dist/views/smart-button/App.vue.d.ts +87 -0
- package/dist/views/take-photo/App.vue.d.ts +6 -1
- package/dist/views/topup/App.vue.d.ts +6 -1
- package/dist/views/topup/BannerInfo.vue.d.ts +5 -1
- package/dist/views/topup/CashbackInfo.vue.d.ts +8 -1
- package/dist/views/topup/TopupCompletion.vue.d.ts +5 -1
- package/package.json +21 -21
- package/dist/utils/ns.d.ts +0 -5
|
@@ -47,6 +47,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
paymentText: import("vue").ComputedRef<string>;
|
|
48
48
|
images: IMG_TYPE;
|
|
49
49
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
50
|
+
paymentResult?: unknown;
|
|
51
|
+
cashBackDetail?: unknown;
|
|
52
|
+
show?: unknown;
|
|
53
|
+
isPreAuth?: unknown;
|
|
54
|
+
calculating?: unknown;
|
|
55
|
+
calculated?: unknown;
|
|
56
|
+
} & {
|
|
50
57
|
show: boolean;
|
|
51
58
|
paymentResult: PaymentResult;
|
|
52
59
|
cashBackDetail: CashBackDetail;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MakePaymentResponse, PaymentMethod, PaymentMethodType, CashBackDetail, ConsultResponse, getPaymentMethodsResponse } from '../../../model/makePayment';
|
|
2
2
|
import { UIComponentsError } from '../../../model/uiComponents';
|
|
3
3
|
import { ComputedRef, SetupContext } from 'vue';
|
|
4
|
-
import { MakePaymentParams } from '../../../types';
|
|
4
|
+
import { MakePaymentParams, Address } from '../../../types';
|
|
5
5
|
import { ErrorResponse } from '../../../utils/fetch';
|
|
6
6
|
export interface Props {
|
|
7
7
|
show: Boolean;
|
|
@@ -129,6 +129,7 @@ export declare function usePaymentMethod(props: Props): {
|
|
|
129
129
|
isExpired: boolean;
|
|
130
130
|
isYjCard: boolean;
|
|
131
131
|
last4digits: string;
|
|
132
|
+
ccType: string;
|
|
132
133
|
paymentMethodStatus: import("../../../model/makePayment").PaymentMethodStatus;
|
|
133
134
|
};
|
|
134
135
|
} | {
|
|
@@ -387,6 +388,7 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
387
388
|
isExpired: boolean;
|
|
388
389
|
isYjCard: boolean;
|
|
389
390
|
last4digits: string;
|
|
391
|
+
ccType: string;
|
|
390
392
|
paymentMethodStatus: import("../../../model/makePayment").PaymentMethodStatus;
|
|
391
393
|
};
|
|
392
394
|
} | {
|
|
@@ -495,9 +497,10 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
495
497
|
setConsult: (consult: UIComponentsError) => void;
|
|
496
498
|
getConsultForTopup: (_retryCount?: number) => Promise<false | ErrorResponse | ConsultResponse>;
|
|
497
499
|
};
|
|
498
|
-
export declare function usePayment(props: Props, { paymentMethod, duplicatePayment, }: {
|
|
500
|
+
export declare function usePayment(props: Props, { paymentMethod, duplicatePayment, selectedAddress, }: {
|
|
499
501
|
paymentMethod: ComputedRef<PaymentMethod>;
|
|
500
502
|
duplicatePayment: ComputedRef<boolean>;
|
|
503
|
+
selectedAddress: ComputedRef<Address>;
|
|
501
504
|
}): {
|
|
502
505
|
pay: () => Promise<MakePaymentResponse>;
|
|
503
506
|
paymentId: ComputedRef<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MakePaymentParams } from '../../../types';
|
|
1
|
+
import { MakePaymentParams, Address } from '../../../types';
|
|
2
2
|
import { MakePaymentResponse, PaymentResult } from '../../../model/makePayment';
|
|
3
3
|
import { SetupContext } from 'vue';
|
|
4
4
|
export interface Props {
|
|
@@ -6,6 +6,27 @@ export interface Props {
|
|
|
6
6
|
paymentParams: MakePaymentParams;
|
|
7
7
|
orderItems: any;
|
|
8
8
|
}
|
|
9
|
+
export declare function useAddressControl(props: Props, { emit }: SetupContext): {
|
|
10
|
+
setSelectedAddress: (index: number, address: Address[]) => void;
|
|
11
|
+
selectedAddress: import("vue").ComputedRef<{
|
|
12
|
+
id: number;
|
|
13
|
+
kyc: boolean;
|
|
14
|
+
street1: string;
|
|
15
|
+
country: string;
|
|
16
|
+
zip: string;
|
|
17
|
+
state: string;
|
|
18
|
+
city: string;
|
|
19
|
+
tags?: string[];
|
|
20
|
+
title?: string;
|
|
21
|
+
receiver?: string;
|
|
22
|
+
street2?: string;
|
|
23
|
+
}>;
|
|
24
|
+
defaultAddressIndex: import("vue").ComputedRef<number>;
|
|
25
|
+
closeUserAddress: () => boolean;
|
|
26
|
+
choosedAddress: (address: Address) => void;
|
|
27
|
+
isVisibleUserAddress: import("vue").ComputedRef<boolean>;
|
|
28
|
+
getUserAddress: () => boolean;
|
|
29
|
+
};
|
|
9
30
|
export declare function useUIControl(props: Props, { emit }: SetupContext): {
|
|
10
31
|
startPaying: () => boolean;
|
|
11
32
|
endPaying: () => boolean;
|
|
@@ -13,7 +34,7 @@ export declare function useUIControl(props: Props, { emit }: SetupContext): {
|
|
|
13
34
|
endLoading: () => boolean;
|
|
14
35
|
backClick: () => boolean;
|
|
15
36
|
selectMethods: () => boolean;
|
|
16
|
-
paymentSuccess: (res: MakePaymentResponse) => void;
|
|
37
|
+
paymentSuccess: (res: MakePaymentResponse, address: Address) => void;
|
|
17
38
|
endHandle: (handler: Promise<boolean>) => void;
|
|
18
39
|
reset: () => void;
|
|
19
40
|
showPaymentResult: (result: PaymentResult) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SetupContext } from 'vue';
|
|
2
2
|
import { MiniAppErrorType } from '../../../model/miniAppError';
|
|
3
|
-
import { MakePaymentParams } from '../../../types';
|
|
3
|
+
import { Address, MakePaymentParams } from '../../../types';
|
|
4
4
|
export interface Props {
|
|
5
5
|
show: Boolean;
|
|
6
6
|
paymentParams: MakePaymentParams;
|
|
@@ -13,7 +13,7 @@ export interface RootStore {
|
|
|
13
13
|
success: () => void;
|
|
14
14
|
setJws: (s: {
|
|
15
15
|
jws: string;
|
|
16
|
-
}) => void;
|
|
16
|
+
}, address: Address) => void;
|
|
17
17
|
paymentFail: () => void;
|
|
18
18
|
unHandleError: () => void;
|
|
19
19
|
preFail: (status?: MiniAppErrorType, jws?: string) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MiniAppErrorType } from '../../../model/miniAppError';
|
|
2
2
|
import { ResponseBase } from '../../../model/makePayment';
|
|
3
3
|
import { ErrorResponse } from '../../../utils/fetch';
|
|
4
|
-
export declare type API_TYPES = 'consult' | 'payment' | 'topup' | 'paymentMethod';
|
|
4
|
+
export declare type API_TYPES = 'consult' | 'payment' | 'topup' | 'paymentMethod' | 'address';
|
|
5
5
|
export declare type API_TYPES_NEVER_RETURN = 'ageConfirm' | 'cashback';
|
|
6
6
|
export declare function createErrorFromType(type?: string): {
|
|
7
7
|
errorTitle: string;
|
|
@@ -14,9 +14,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
}, {
|
|
15
15
|
lg: any;
|
|
16
16
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
17
|
+
show?: unknown;
|
|
18
|
+
appParams?: unknown;
|
|
19
|
+
} & {
|
|
17
20
|
show: boolean;
|
|
18
21
|
appParams: Record<string, any>;
|
|
19
|
-
} & {}
|
|
22
|
+
} & {}> & {
|
|
23
|
+
onClick?: (...args: any[]) => any;
|
|
24
|
+
}, {
|
|
20
25
|
show: boolean;
|
|
21
26
|
appParams: Record<string, any>;
|
|
22
27
|
}>;
|
|
@@ -14,9 +14,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
cancel(): void;
|
|
15
15
|
closeErrorSheet(): void;
|
|
16
16
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
17
|
+
show?: unknown;
|
|
18
|
+
mapParams?: unknown;
|
|
19
|
+
} & {
|
|
17
20
|
show: boolean;
|
|
18
21
|
mapParams: Record<string, any>;
|
|
19
|
-
} & {}
|
|
22
|
+
} & {}> & {
|
|
23
|
+
onClick?: (...args: any[]) => any;
|
|
24
|
+
}, {
|
|
20
25
|
show: boolean;
|
|
21
26
|
mapParams: Record<string, any>;
|
|
22
27
|
}>;
|
|
@@ -16,11 +16,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
onClick: () => void;
|
|
17
17
|
style: Record<string, string>;
|
|
18
18
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close-click"[], "close-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
19
|
+
show?: unknown;
|
|
20
|
+
title?: unknown;
|
|
21
|
+
text?: unknown;
|
|
22
|
+
buttonTitle?: unknown;
|
|
23
|
+
} & {
|
|
19
24
|
show: boolean;
|
|
20
25
|
title: string;
|
|
21
26
|
text: string;
|
|
22
27
|
buttonTitle: string;
|
|
23
|
-
} & {}
|
|
28
|
+
} & {}> & {
|
|
29
|
+
"onClose-click"?: (...args: any[]) => any;
|
|
30
|
+
}, {
|
|
24
31
|
show: boolean;
|
|
25
32
|
title: string;
|
|
26
33
|
text: string;
|
|
@@ -14,9 +14,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
handleClick(action: string): void;
|
|
15
15
|
closeErrorSheet(): void;
|
|
16
16
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close-click"[], "close-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
17
|
+
show?: unknown;
|
|
18
|
+
warningParams?: unknown;
|
|
19
|
+
} & {
|
|
17
20
|
show: boolean;
|
|
18
21
|
warningParams: Record<string, any>;
|
|
19
|
-
} & {}
|
|
22
|
+
} & {}> & {
|
|
23
|
+
"onClose-click"?: (...args: any[]) => any;
|
|
24
|
+
}, {
|
|
20
25
|
show: boolean;
|
|
21
26
|
warningParams: Record<string, any>;
|
|
22
27
|
}>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SmartButtonType, SmartButtonSize, SmartButtonTheme, SmartButtonLg } from '../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<SmartButtonType>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
title: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
buttonSize: {
|
|
13
|
+
type: PropType<SmartButtonSize>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
theme: {
|
|
17
|
+
type: PropType<SmartButtonTheme>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
avatarUrl: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
cashbackInfo: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
isShortText: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
preferredLanguage: {
|
|
33
|
+
type: PropType<SmartButtonLg>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
url: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
success: {
|
|
41
|
+
type: FunctionConstructor;
|
|
42
|
+
default: () => void;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
onClick: () => void;
|
|
47
|
+
onError: (e: any) => void;
|
|
48
|
+
iconUrl: unknown;
|
|
49
|
+
smallBtn: boolean;
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
51
|
+
type?: unknown;
|
|
52
|
+
title?: unknown;
|
|
53
|
+
buttonSize?: unknown;
|
|
54
|
+
theme?: unknown;
|
|
55
|
+
avatarUrl?: unknown;
|
|
56
|
+
cashbackInfo?: unknown;
|
|
57
|
+
isShortText?: unknown;
|
|
58
|
+
preferredLanguage?: unknown;
|
|
59
|
+
url?: unknown;
|
|
60
|
+
success?: unknown;
|
|
61
|
+
} & {
|
|
62
|
+
type: SmartButtonType;
|
|
63
|
+
title: string;
|
|
64
|
+
buttonSize: SmartButtonSize;
|
|
65
|
+
theme: SmartButtonTheme;
|
|
66
|
+
avatarUrl: string;
|
|
67
|
+
cashbackInfo: string;
|
|
68
|
+
isShortText: boolean;
|
|
69
|
+
preferredLanguage: SmartButtonLg;
|
|
70
|
+
success: Function;
|
|
71
|
+
} & {
|
|
72
|
+
url?: string;
|
|
73
|
+
}> & {
|
|
74
|
+
onClick?: (...args: any[]) => any;
|
|
75
|
+
}, {
|
|
76
|
+
type: SmartButtonType;
|
|
77
|
+
title: string;
|
|
78
|
+
buttonSize: SmartButtonSize;
|
|
79
|
+
theme: SmartButtonTheme;
|
|
80
|
+
avatarUrl: string;
|
|
81
|
+
cashbackInfo: string;
|
|
82
|
+
isShortText: boolean;
|
|
83
|
+
preferredLanguage: SmartButtonLg;
|
|
84
|
+
url: string;
|
|
85
|
+
success: Function;
|
|
86
|
+
}>;
|
|
87
|
+
export default _default;
|
|
@@ -11,9 +11,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
takePhotoAlbum(): void;
|
|
12
12
|
close(): void;
|
|
13
13
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
14
|
+
show?: unknown;
|
|
15
|
+
takePhotoParams?: unknown;
|
|
16
|
+
} & {
|
|
14
17
|
show: boolean;
|
|
15
18
|
takePhotoParams: Record<string, any>;
|
|
16
|
-
} & {}
|
|
19
|
+
} & {}> & {
|
|
20
|
+
onClick?: (...args: any[]) => any;
|
|
21
|
+
}, {
|
|
17
22
|
show: boolean;
|
|
18
23
|
takePhotoParams: Record<string, any>;
|
|
19
24
|
}>;
|
|
@@ -86,9 +86,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
86
|
showError(): void;
|
|
87
87
|
closeErrorSheet(): void;
|
|
88
88
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
89
|
+
show?: unknown;
|
|
90
|
+
topupParams?: unknown;
|
|
91
|
+
} & {
|
|
89
92
|
show: boolean;
|
|
90
93
|
topupParams: TopupParams;
|
|
91
|
-
} & {}
|
|
94
|
+
} & {}> & {
|
|
95
|
+
onClick?: (...args: any[]) => any;
|
|
96
|
+
}, {
|
|
92
97
|
show: boolean;
|
|
93
98
|
topupParams: TopupParams;
|
|
94
99
|
}>;
|
|
@@ -12,8 +12,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
click: (item: any, index: number) => void;
|
|
13
13
|
style: Record<string, string>;
|
|
14
14
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
15
|
+
selectedPaymentMethod?: unknown;
|
|
16
|
+
} & {
|
|
15
17
|
selectedPaymentMethod: Record<string, any>;
|
|
16
|
-
} & {}
|
|
18
|
+
} & {}> & {
|
|
19
|
+
onClick?: (...args: any[]) => any;
|
|
20
|
+
}, {
|
|
17
21
|
selectedPaymentMethod: Record<string, any>;
|
|
18
22
|
}>;
|
|
19
23
|
export default _default;
|
|
@@ -25,11 +25,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
style: Record<string, string>;
|
|
26
26
|
lg: any;
|
|
27
27
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
28
|
+
cashbackInfo?: unknown;
|
|
29
|
+
totalBalanceInfo?: unknown;
|
|
30
|
+
allTotalBalanceInfo?: unknown;
|
|
31
|
+
isCharging?: unknown;
|
|
32
|
+
} & {
|
|
28
33
|
cashbackInfo: Record<string, any>;
|
|
29
34
|
totalBalanceInfo: string;
|
|
30
35
|
allTotalBalanceInfo: string;
|
|
31
36
|
isCharging: boolean;
|
|
32
|
-
} & {}
|
|
37
|
+
} & {}> & {
|
|
38
|
+
onClick?: (...args: any[]) => any;
|
|
39
|
+
}, {
|
|
33
40
|
cashbackInfo: Record<string, any>;
|
|
34
41
|
totalBalanceInfo: string;
|
|
35
42
|
allTotalBalanceInfo: string;
|
|
@@ -15,8 +15,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
}, {}, {
|
|
16
16
|
copyId(): void;
|
|
17
17
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
18
|
+
data?: unknown;
|
|
19
|
+
} & {
|
|
18
20
|
data: Record<string, any>;
|
|
19
|
-
} & {}
|
|
21
|
+
} & {}> & {
|
|
22
|
+
onClose?: (...args: any[]) => any;
|
|
23
|
+
}, {
|
|
20
24
|
data: Record<string, any>;
|
|
21
25
|
}>;
|
|
22
26
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rollup -c ./build/rollup.config.prod.js",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"node": ">=10.0.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"js-cookie": "^3.0.
|
|
25
|
-
"lottie-web": "^5.7.
|
|
24
|
+
"js-cookie": "^3.0.1",
|
|
25
|
+
"lottie-web": "^5.7.13",
|
|
26
26
|
"uuid": "^8.3.2",
|
|
27
|
-
"vue": "^3.
|
|
27
|
+
"vue": "^3.2.11"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@babel/core": "^7.
|
|
31
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
32
|
-
"@babel/preset-env": "^7.
|
|
30
|
+
"@babel/core": "^7.15.5",
|
|
31
|
+
"@babel/plugin-transform-typescript": "^7.15.4",
|
|
32
|
+
"@babel/preset-env": "^7.15.4",
|
|
33
33
|
"@rollup/plugin-babel": "^5.3.0",
|
|
34
|
-
"@rollup/plugin-commonjs": "^
|
|
34
|
+
"@rollup/plugin-commonjs": "^20.0.0",
|
|
35
35
|
"@rollup/plugin-json": "^4.1.0",
|
|
36
36
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
37
37
|
"@rollup/plugin-replace": "^3.0.0",
|
|
38
|
-
"@types/jest": "^26.0.
|
|
38
|
+
"@types/jest": "^26.0.24",
|
|
39
39
|
"@types/js-cookie": "^2.2.7",
|
|
40
40
|
"@types/uuid": "^8.3.1",
|
|
41
|
-
"@typescript-eslint/parser": "^4.
|
|
42
|
-
"@vue/babel-plugin-jsx": "^1.0.
|
|
43
|
-
"@vue/compiler-sfc": "^3.
|
|
44
|
-
"@vue/test-utils": "^2.0.0-rc.
|
|
41
|
+
"@typescript-eslint/parser": "^4.31.0",
|
|
42
|
+
"@vue/babel-plugin-jsx": "^1.0.7",
|
|
43
|
+
"@vue/compiler-sfc": "^3.2.11",
|
|
44
|
+
"@vue/test-utils": "^2.0.0-rc.14",
|
|
45
45
|
"acorn-jsx": "^5.3.2",
|
|
46
46
|
"babel-jest": "^26.6.3",
|
|
47
|
-
"eslint": "^7.
|
|
47
|
+
"eslint": "^7.32.0",
|
|
48
48
|
"eslint-config-prettier": "^8.3.0",
|
|
49
|
-
"eslint-plugin-vue": "^7.
|
|
50
|
-
"husky": "^7.0.
|
|
49
|
+
"eslint-plugin-vue": "^7.17.0",
|
|
50
|
+
"husky": "^7.0.2",
|
|
51
51
|
"identity-obj-proxy": "^3.0.0",
|
|
52
52
|
"isomorphic-fetch": "^3.0.0",
|
|
53
53
|
"jest": "^26.6.3",
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
"jest-fetch-mock": "^3.0.3",
|
|
56
56
|
"jest-transform-stub": "^2.0.0",
|
|
57
57
|
"less": "^4.1.1",
|
|
58
|
-
"lint-staged": "^11.1.
|
|
58
|
+
"lint-staged": "^11.1.2",
|
|
59
59
|
"postcss": "^8.3.6",
|
|
60
60
|
"prettier": "^2.3.2",
|
|
61
|
-
"rollup": "^2.
|
|
61
|
+
"rollup": "^2.56.3",
|
|
62
62
|
"rollup-plugin-delete": "^2.0.0",
|
|
63
|
-
"rollup-plugin-postcss": "^4.0.
|
|
63
|
+
"rollup-plugin-postcss": "^4.0.1",
|
|
64
64
|
"rollup-plugin-serve": "^1.1.0",
|
|
65
65
|
"rollup-plugin-terser": "^7.0.2",
|
|
66
66
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
67
67
|
"rollup-plugin-vue": "^6.0.0",
|
|
68
68
|
"ts-jest": "^26.5.6",
|
|
69
|
-
"typescript": "^4.
|
|
70
|
-
"vue-eslint-parser": "^7.
|
|
69
|
+
"typescript": "^4.4.2",
|
|
70
|
+
"vue-eslint-parser": "^7.11.0",
|
|
71
71
|
"vue-jest": "5.0.0-alpha.9"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|