@paypay/mini-app-js-sdk 1.28.0 → 1.31.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/mini-app-api.d.ts +2 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +295 -200
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/index.d.ts +1 -0
- package/dist/model/bridge/openMiniApp.d.ts +2 -0
- package/dist/model/makePayment.d.ts +1 -0
- package/dist/model/uiComponents.d.ts +2 -1
- package/dist/package/charge-amount-list/index.vue.d.ts +8 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +1 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +1 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +1 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +1 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +1 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +2 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +2 -0
- package/dist/types.d.ts +3 -0
- package/dist/utils/getLanguage.d.ts +1 -0
- package/dist/utils/helper.d.ts +2 -0
- package/dist/views/email-registration/App.vue.d.ts +1 -0
- package/dist/views/error-sheet/Index.vue.d.ts +7 -2
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +1 -1
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +1 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +1 -0
- package/dist/views/open-app/App.vue.d.ts +1 -0
- package/dist/views/open-map/App.vue.d.ts +1 -0
- package/dist/views/show-update-warning/App.vue.d.ts +1 -0
- package/dist/views/smart-button/App.vue.d.ts +2 -2
- package/dist/views/take-photo/App.vue.d.ts +1 -0
- package/dist/views/topup/App.vue.d.ts +1 -0
- package/dist/views/topup/CashbackInfo.vue.d.ts +1 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +1 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
cashBackUsable: boolean | undefined;
|
|
16
16
|
cashBackExpirable: string;
|
|
17
17
|
cashBackExpirebleUsable: boolean | undefined;
|
|
18
|
+
showExpirableBalance: boolean | undefined;
|
|
18
19
|
}>;
|
|
19
20
|
images: {
|
|
20
21
|
iconBalanceError: string;
|
|
@@ -245,6 +246,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
245
246
|
cashBackUsable: string;
|
|
246
247
|
cashBackExpirable: string;
|
|
247
248
|
balance: string;
|
|
249
|
+
autoCharge: string;
|
|
248
250
|
};
|
|
249
251
|
payLater: {
|
|
250
252
|
title: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -206,6 +206,9 @@ export interface GetBalanceParams extends NativeParams<MiniAppResult> {
|
|
|
206
206
|
merchant?: string;
|
|
207
207
|
sourceInfoApp?: string;
|
|
208
208
|
}
|
|
209
|
+
export interface OpenMiniAppParams extends NativeParams<void> {
|
|
210
|
+
redirectUrl?: string;
|
|
211
|
+
}
|
|
209
212
|
export interface CloseAppParams extends NativeParams<unknown> {
|
|
210
213
|
options?: {
|
|
211
214
|
deeplink?: string;
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MiniAppErrorType } from '../model/miniAppError';
|
|
2
2
|
import { PaymentMethodStatus } from '../model/makePayment';
|
|
3
|
+
import { UIComponentsErrorButton } from '../model/uiComponents';
|
|
3
4
|
export declare function isDef<T>(val: T): val is NonNullable<T>;
|
|
4
5
|
export declare function isFunction(val: unknown): val is () => void;
|
|
5
6
|
export declare function isNumeric(val: string | number): val is string;
|
|
@@ -47,4 +48,5 @@ export declare const createErrorCode: (errorCode: MiniAppErrorType, jws?: string
|
|
|
47
48
|
export declare function updateLocalisedString(data: string, target: string, value: string): string;
|
|
48
49
|
export declare function handleHeightResize(el: HTMLElement, windowHeight: number, isScrollable: boolean, offsetHeight: number): boolean;
|
|
49
50
|
export declare function getPaymentMethodStatus(isExpired: boolean, val?: PaymentMethodStatus): unknown;
|
|
51
|
+
export declare function filterErrorButtonList(buttonList: UIComponentsErrorButton[] | null): UIComponentsErrorButton[] | undefined;
|
|
50
52
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { UIComponentsErrorButton } from '../../model/uiComponents';
|
|
2
|
+
import { UIComponentsErrorButton, UIComponentsButtonType } from '../../model/uiComponents';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
show: {
|
|
5
5
|
type: BooleanConstructor;
|
|
@@ -253,6 +253,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
253
|
cashBackUsable: string;
|
|
254
254
|
cashBackExpirable: string;
|
|
255
255
|
balance: string;
|
|
256
|
+
autoCharge: string;
|
|
256
257
|
};
|
|
257
258
|
payLater: {
|
|
258
259
|
title: string;
|
|
@@ -298,8 +299,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
298
299
|
cancel: string;
|
|
299
300
|
};
|
|
300
301
|
};
|
|
301
|
-
}, {
|
|
302
|
+
}, {
|
|
303
|
+
buttonListData(): UIComponentsErrorButton[] | undefined;
|
|
304
|
+
onlyButton(): boolean;
|
|
305
|
+
}, {
|
|
302
306
|
buttonClick(buttonInfo: UIComponentsErrorButton): void;
|
|
307
|
+
getButtonType(type: UIComponentsButtonType): "link" | "primary";
|
|
303
308
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close-click"[], "close-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
304
309
|
show?: unknown;
|
|
305
310
|
errorTitle?: unknown;
|
|
@@ -99,6 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
99
|
currency: "JPY";
|
|
100
100
|
usable: boolean;
|
|
101
101
|
} | undefined;
|
|
102
|
+
isPreTransactionAutoChargeEnabled?: boolean | undefined;
|
|
102
103
|
walletSummary?: {
|
|
103
104
|
totalBalanceInfo: {
|
|
104
105
|
balance: number;
|
|
@@ -376,6 +377,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
376
377
|
currency: "JPY";
|
|
377
378
|
usable: boolean;
|
|
378
379
|
} | undefined;
|
|
380
|
+
isPreTransactionAutoChargeEnabled?: boolean | undefined;
|
|
379
381
|
walletSummary?: {
|
|
380
382
|
totalBalanceInfo: {
|
|
381
383
|
balance: number;
|
|
@@ -788,6 +790,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
788
790
|
cashBackUsable: string;
|
|
789
791
|
cashBackExpirable: string;
|
|
790
792
|
balance: string;
|
|
793
|
+
autoCharge: string;
|
|
791
794
|
};
|
|
792
795
|
payLater: {
|
|
793
796
|
title: string;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
iconUrl: import("vue").ComputedRef<string | undefined>;
|
|
13
13
|
title: import("vue").ComputedRef<string>;
|
|
14
14
|
description: import("vue").ComputedRef<string>;
|
|
15
|
-
buttonList: import("vue").ComputedRef<UIComponentsErrorButton[]>;
|
|
15
|
+
buttonList: import("vue").ComputedRef<UIComponentsErrorButton[] | undefined>;
|
|
16
16
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
17
17
|
consultInfo?: unknown;
|
|
18
18
|
} & {
|
|
@@ -59,12 +59,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
url?: unknown;
|
|
60
60
|
success?: unknown;
|
|
61
61
|
} & {
|
|
62
|
+
success: Function;
|
|
62
63
|
title: string;
|
|
63
64
|
type: SmartButtonType;
|
|
64
65
|
isShortText: boolean;
|
|
65
66
|
buttonSize: SmartButtonSize;
|
|
66
67
|
theme: SmartButtonTheme;
|
|
67
|
-
success: Function;
|
|
68
68
|
avatarUrl: string;
|
|
69
69
|
cashbackInfo: string;
|
|
70
70
|
preferredLanguage: SmartButtonLg;
|
|
@@ -73,13 +73,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
}> & {
|
|
74
74
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
}, {
|
|
76
|
+
success: Function;
|
|
76
77
|
url: string | undefined;
|
|
77
78
|
title: string;
|
|
78
79
|
type: SmartButtonType;
|
|
79
80
|
isShortText: boolean;
|
|
80
81
|
buttonSize: SmartButtonSize;
|
|
81
82
|
theme: SmartButtonTheme;
|
|
82
|
-
success: Function;
|
|
83
83
|
avatarUrl: string;
|
|
84
84
|
cashbackInfo: string;
|
|
85
85
|
preferredLanguage: SmartButtonLg;
|