@paypay/mini-app-js-sdk 1.18.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composition-api/dom/index.d.ts +5 -4
- package/dist/composition-api/dom/useCountDown.d.ts +20 -0
- package/dist/composition-api/dom/useEventListener.d.ts +8 -8
- package/dist/composition-api/dom/useHorizontalScrollDirective.d.ts +4 -4
- package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +1 -1
- package/dist/composition-api/dom/useVerticalScrollDirective.d.ts +4 -4
- package/dist/composition-api/useErrorSheet.d.ts +3 -3
- package/dist/composition-api/useGetUserAddress.d.ts +2 -2
- package/dist/composition-api/useHeightProperties.d.ts +19 -19
- package/dist/composition-api/useInpuAddress.d.ts +2 -2
- package/dist/composition-api/useMakePayment.d.ts +3 -3
- package/dist/composition-api/useOpenApp.d.ts +3 -3
- package/dist/composition-api/useOpenMap.d.ts +3 -3
- package/dist/composition-api/useRegisterEmail.d.ts +2 -2
- package/dist/composition-api/useRenderSmartButton.d.ts +3 -3
- package/dist/composition-api/useShowAlert.d.ts +3 -3
- package/dist/composition-api/useShowUpdateWarning.d.ts +3 -3
- package/dist/composition-api/useTakePhoto.d.ts +3 -3
- package/dist/composition-api/useTopup.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/jsbridge-core/index.d.ts +4 -4
- package/dist/jsbridge-core/jsbridge.d.ts +62 -62
- package/dist/jsbridge-core/lib/browser.d.ts +3 -3
- package/dist/jsbridge-core/lib/logger.d.ts +9 -9
- package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -2
- package/dist/jsbridge-core/module.d.ts +15 -14
- package/dist/jsbridge-core/namespace.d.ts +2 -2
- package/dist/jsbridge-core/paypay-jsbridge.d.ts +17 -16
- package/dist/mini-app-api.d.ts +51 -51
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.d.ts +9 -9
- package/dist/mini-app-js-sdk.es.js +33675 -1
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +3 -3
- package/dist/model/bridge/checkPaymentMethod.d.ts +2 -2
- package/dist/model/bridge/closeApp.d.ts +2 -2
- package/dist/model/bridge/copyToClipboard.d.ts +2 -2
- package/dist/model/bridge/debug.d.ts +3 -3
- package/dist/model/bridge/getAppDetail.d.ts +3 -17
- package/dist/model/bridge/getAuthStatus.d.ts +3 -3
- package/dist/model/bridge/getBalance.d.ts +2 -2
- package/dist/model/bridge/getConfigure.d.ts +39 -39
- package/dist/model/bridge/getDeviceInformation.d.ts +3 -3
- package/dist/model/bridge/getKycInformation.d.ts +2 -2
- package/dist/model/bridge/getPermissionStatus.d.ts +2 -2
- package/dist/model/bridge/getPlatformInformation.d.ts +3 -3
- package/dist/model/bridge/getSessionData.d.ts +2 -2
- package/dist/model/bridge/getStorageData.d.ts +2 -2
- package/dist/model/bridge/getTopBarHeight.d.ts +3 -3
- package/dist/model/bridge/getUAID.d.ts +3 -3
- package/dist/model/bridge/getUserAddress.d.ts +2 -2
- package/dist/model/bridge/getUserLocation.d.ts +2 -2
- package/dist/model/bridge/getUserProfile.d.ts +3 -3
- package/dist/model/bridge/index.d.ts +43 -43
- package/dist/model/bridge/init.d.ts +2 -2
- package/dist/model/bridge/inputAddress.d.ts +2 -2
- package/dist/model/bridge/logout.d.ts +3 -3
- package/dist/model/bridge/makePayment.d.ts +2 -2
- package/dist/model/bridge/openApp.d.ts +2 -2
- package/dist/model/bridge/openMap.d.ts +2 -2
- package/dist/model/bridge/openWebview.d.ts +3 -3
- package/dist/model/bridge/registerEmail.d.ts +2 -2
- package/dist/model/bridge/registerKyc.d.ts +2 -2
- package/dist/model/bridge/removeStorageData.d.ts +2 -2
- package/dist/model/bridge/render.d.ts +2 -2
- package/dist/model/bridge/renderLoginButton.d.ts +6 -2
- package/dist/model/bridge/renderPayButton.d.ts +6 -2
- package/dist/model/bridge/request.d.ts +2 -2
- package/dist/model/bridge/requestInternal.d.ts +2 -2
- package/dist/model/bridge/scanCode.d.ts +3 -3
- package/dist/model/bridge/setSessionData.d.ts +2 -2
- package/dist/model/bridge/setStorageData.d.ts +2 -2
- package/dist/model/bridge/setTitle.d.ts +2 -2
- package/dist/model/bridge/share.d.ts +2 -2
- package/dist/model/bridge/showAlert.d.ts +2 -2
- package/dist/model/bridge/showErrorSheet.d.ts +2 -2
- package/dist/model/bridge/showUpdateWarning.d.ts +2 -2
- package/dist/model/bridge/startMultiFactorAuth.d.ts +2 -2
- package/dist/model/bridge/takePhoto.d.ts +2 -2
- package/dist/model/bridge/topup.d.ts +2 -2
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +3 -3
- package/dist/model/makePayment.d.ts +334 -324
- package/dist/model/miniAppError.d.ts +57 -57
- package/dist/model/miniAppStatus.d.ts +9 -9
- package/dist/model/permission.d.ts +21 -21
- package/dist/model/uiComponents.d.ts +24 -23
- package/dist/package/action-sheet/index.d.ts +97 -91
- package/dist/package/banner-header/index.vue.d.ts +56 -56
- package/dist/package/button/index.d.ts +77 -69
- package/dist/package/charge-amount-list/index.vue.d.ts +48 -54
- package/dist/package/charge-amount-more-list/index.vue.d.ts +23 -19
- package/dist/package/date-button/index.vue.d.ts +19 -21
- package/dist/package/desktop-header/index.d.ts +21 -0
- package/dist/package/divider/index.d.ts +21 -22
- package/dist/package/header/index.d.ts +65 -65
- package/dist/package/index.d.ts +17 -16
- package/dist/package/input/index.d.ts +209 -170
- package/dist/package/input/utils.d.ts +10 -10
- package/dist/package/lottie/index.d.ts +58 -62
- package/dist/package/overlay/index.d.ts +44 -45
- package/dist/package/payment-method/Bank.vue.d.ts +35 -35
- package/dist/package/payment-method/CreditCard.vue.d.ts +42 -42
- package/dist/package/payment-method/SbidBank.vue.d.ts +279 -21
- package/dist/package/payment-method/Wallet.vue.d.ts +289 -31
- package/dist/package/payment-method/index.d.ts +15 -15
- package/dist/package/payment-method-list/index.vue.d.ts +39 -27
- package/dist/package/payment-type/Bank.vue.d.ts +31 -31
- package/dist/package/payment-type/CreditCard.vue.d.ts +32 -32
- package/dist/package/payment-type/Sbid.vue.d.ts +275 -17
- package/dist/package/payment-type/Wallet.vue.d.ts +276 -17
- package/dist/package/payment-type/index.d.ts +13 -15
- package/dist/package/select-list/Components.d.ts +77 -65
- package/dist/package/select-list/index.d.ts +82 -73
- package/dist/package/switch/index.d.ts +22 -23
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +286 -0
- package/dist/types.d.ts +376 -344
- package/dist/utils/api.d.ts +168 -147
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/create/bem.d.ts +6 -6
- package/dist/utils/create/index.d.ts +5 -5
- package/dist/utils/fetch.d.ts +16 -16
- package/dist/utils/getImages.d.ts +36 -5
- package/dist/utils/getLanguage.d.ts +225 -3
- package/dist/utils/helper.d.ts +44 -47
- package/dist/utils/ip.d.ts +2 -2
- package/dist/utils/miniAppRequest.d.ts +9 -9
- package/dist/utils/popstateHandler.d.ts +4 -4
- package/dist/utils/secondary-list.d.ts +1 -1
- package/dist/utils/storage.d.ts +28 -26
- package/dist/utils/uiConstants.d.ts +1 -0
- package/dist/utils/useBreakpoints.d.ts +5 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/views/email-registration/App.vue.d.ts +302 -79
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +45 -45
- package/dist/views/email-registration/components/icons.d.ts +2 -2
- package/dist/views/email-registration/hooks/callback.d.ts +7 -7
- package/dist/views/email-registration/hooks/ui.d.ts +29 -29
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +52 -52
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +24 -24
- package/dist/views/error-sheet/Index.vue.d.ts +310 -52
- package/dist/views/get-user-address/App.vue.d.ts +52 -52
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +307 -73
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +281 -23
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +276 -33
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +258 -35
- package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +4 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +311 -83
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +79 -70
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +264 -32
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +249 -25
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +332 -49
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +240 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +259 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +254 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +246 -0
- package/dist/views/get-user-address/hooks/ui-hooks.d.ts +57 -14
- package/dist/views/get-user-address/store/error-handle.d.ts +13 -12
- package/dist/views/get-user-address/store/root.d.ts +18 -14
- package/dist/views/input-address/App.vue.d.ts +35 -36
- package/dist/views/input-address/hook/app.d.ts +13 -13
- package/dist/views/input-address/hook/error-handle.d.ts +10 -10
- package/dist/views/input-address/hook/root.d.ts +10 -10
- package/dist/views/make-payment/App.vue.d.ts +52 -60
- package/dist/views/make-payment/Main.vue.d.ts +197 -638
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +247 -25
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +244 -20
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +277 -19
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +274 -16
- package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +24 -24
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +26 -26
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +311 -53
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +269 -32
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +422 -80
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +308 -49
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +833 -522
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +264 -38
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +265 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +23 -23
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +250 -27
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +328 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +428 -108
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +70 -36
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +354 -69
- package/dist/views/make-payment/hooks/app-hooks.d.ts +381 -568
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +87 -72
- package/dist/views/make-payment/store/age-confirm.d.ts +9 -9
- package/dist/views/make-payment/store/handle-error.d.ts +36 -36
- package/dist/views/make-payment/store/root.d.ts +22 -22
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +16 -16
- package/dist/views/make-payment/utils/paymentMethod.d.ts +5 -3
- package/dist/views/open-app/App.vue.d.ts +286 -28
- package/dist/views/open-map/App.vue.d.ts +251 -28
- package/dist/views/show-alert/App.vue.d.ts +36 -36
- package/dist/views/show-update-warning/App.vue.d.ts +286 -28
- package/dist/views/smart-button/App.vue.d.ts +87 -87
- package/dist/views/take-photo/App.vue.d.ts +248 -25
- package/dist/views/take-photo/helper.d.ts +2 -2
- package/dist/views/topup/App.vue.d.ts +378 -100
- package/dist/views/topup/BannerInfo.vue.d.ts +27 -23
- package/dist/views/topup/CashbackInfo.vue.d.ts +267 -44
- package/dist/views/topup/TopupCompletion.vue.d.ts +286 -26
- package/package.json +12 -18
- package/dist/utils/mock-data/mockData.d.ts +0 -64
|
@@ -1,44 +1,267 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
cashbackInfo: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => void;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
totalBalanceInfo: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: () => void;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
allTotalBalanceInfo: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: () => void;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
isCharging: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
availableBalText: import("vue").ComputedRef<
|
|
24
|
-
isCashbackSave: import("vue").ComputedRef<boolean>;
|
|
25
|
-
style: Record<string, string>;
|
|
26
|
-
lg:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
cashbackInfo: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => void;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
totalBalanceInfo: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: () => void;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
allTotalBalanceInfo: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: () => void;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
isCharging: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
availableBalText: import("vue").ComputedRef<string>;
|
|
24
|
+
isCashbackSave: import("vue").ComputedRef<boolean>;
|
|
25
|
+
style: Record<string, string>;
|
|
26
|
+
lg: {
|
|
27
|
+
showUpdateWarning: {
|
|
28
|
+
closeBtn: string;
|
|
29
|
+
notNow: string;
|
|
30
|
+
update: string;
|
|
31
|
+
title: string;
|
|
32
|
+
errorText: string;
|
|
33
|
+
desc1: string;
|
|
34
|
+
desc2: string;
|
|
35
|
+
};
|
|
36
|
+
openApp: {
|
|
37
|
+
title: string;
|
|
38
|
+
body: string;
|
|
39
|
+
errorText: string;
|
|
40
|
+
openApp: string;
|
|
41
|
+
cancel: string;
|
|
42
|
+
};
|
|
43
|
+
openMap: {
|
|
44
|
+
title: string;
|
|
45
|
+
errorText: string;
|
|
46
|
+
};
|
|
47
|
+
topup: {
|
|
48
|
+
title: string;
|
|
49
|
+
balMoney: string;
|
|
50
|
+
charge: string;
|
|
51
|
+
minAmount: string;
|
|
52
|
+
maxAmount: string;
|
|
53
|
+
moneyLabel: string;
|
|
54
|
+
noMethod: string;
|
|
55
|
+
loading: string;
|
|
56
|
+
payBtn: string;
|
|
57
|
+
availableBalance: string;
|
|
58
|
+
availableBalanceAfter: string;
|
|
59
|
+
allBalance: string;
|
|
60
|
+
};
|
|
61
|
+
takePhoto: {
|
|
62
|
+
camera: string;
|
|
63
|
+
photo: string;
|
|
64
|
+
};
|
|
65
|
+
payment: {
|
|
66
|
+
title: string;
|
|
67
|
+
payAmount: string;
|
|
68
|
+
payAmountTaxExempt: string;
|
|
69
|
+
method: string;
|
|
70
|
+
address: string;
|
|
71
|
+
insufficientAmount: string;
|
|
72
|
+
paying: string;
|
|
73
|
+
pay: string;
|
|
74
|
+
charge: string;
|
|
75
|
+
cancel: string;
|
|
76
|
+
noAddress: string;
|
|
77
|
+
change: string;
|
|
78
|
+
close: string;
|
|
79
|
+
};
|
|
80
|
+
duplicate: {
|
|
81
|
+
header: string;
|
|
82
|
+
text1: string;
|
|
83
|
+
text2: string;
|
|
84
|
+
cancel: string;
|
|
85
|
+
agreeButtonText: string;
|
|
86
|
+
topHeader: string;
|
|
87
|
+
topText1: string;
|
|
88
|
+
topText2: string;
|
|
89
|
+
topAgreeButtonText: string;
|
|
90
|
+
};
|
|
91
|
+
birthdayConfirm: {
|
|
92
|
+
title: string;
|
|
93
|
+
title2: string;
|
|
94
|
+
desc: string;
|
|
95
|
+
desc1: string;
|
|
96
|
+
desc2: string;
|
|
97
|
+
desc3: string;
|
|
98
|
+
date: string;
|
|
99
|
+
primaryBtn: string;
|
|
100
|
+
cancelBtn: string;
|
|
101
|
+
};
|
|
102
|
+
birthdayConfirmError: {
|
|
103
|
+
title: string;
|
|
104
|
+
title2: string;
|
|
105
|
+
desc: string;
|
|
106
|
+
desc2: string;
|
|
107
|
+
helpBtn: string;
|
|
108
|
+
closeBtn: string;
|
|
109
|
+
};
|
|
110
|
+
cashbackDet: {
|
|
111
|
+
button1: string;
|
|
112
|
+
button2: string;
|
|
113
|
+
button3: string;
|
|
114
|
+
};
|
|
115
|
+
topContent: {
|
|
116
|
+
title: string;
|
|
117
|
+
chargeTitle: string;
|
|
118
|
+
chargeLabel: string;
|
|
119
|
+
loading: string;
|
|
120
|
+
unavailable1: string;
|
|
121
|
+
unavailable2: string;
|
|
122
|
+
amount: string;
|
|
123
|
+
return: string;
|
|
124
|
+
};
|
|
125
|
+
topInfo: {
|
|
126
|
+
sufficientRow: string;
|
|
127
|
+
insufficientAmount: string;
|
|
128
|
+
insufficientAmountText: string;
|
|
129
|
+
paymentAmount: string;
|
|
130
|
+
};
|
|
131
|
+
choosePayment: {
|
|
132
|
+
title: string;
|
|
133
|
+
desc1: string;
|
|
134
|
+
desc2: string;
|
|
135
|
+
title2: string;
|
|
136
|
+
addMethod: string;
|
|
137
|
+
noMethod: string;
|
|
138
|
+
};
|
|
139
|
+
topupCompletion: {
|
|
140
|
+
title: string;
|
|
141
|
+
idInfo: string;
|
|
142
|
+
copied: string;
|
|
143
|
+
};
|
|
144
|
+
userAddress: {
|
|
145
|
+
title: string;
|
|
146
|
+
header: string;
|
|
147
|
+
tagForm: string;
|
|
148
|
+
home: string;
|
|
149
|
+
work: string;
|
|
150
|
+
billing: string;
|
|
151
|
+
footer: string;
|
|
152
|
+
titlePre: string;
|
|
153
|
+
titleApp: string;
|
|
154
|
+
titlePlace: string;
|
|
155
|
+
receiverPre: string;
|
|
156
|
+
receiverPlace: string;
|
|
157
|
+
inputPre: string;
|
|
158
|
+
statePre: string;
|
|
159
|
+
statePlace: string;
|
|
160
|
+
cityPre: string;
|
|
161
|
+
cityPlace: string;
|
|
162
|
+
street1Pre: string;
|
|
163
|
+
streetPlace: string;
|
|
164
|
+
street2Pre: string;
|
|
165
|
+
street2Place: string;
|
|
166
|
+
footerBtn1: string;
|
|
167
|
+
footerBtn2: string;
|
|
168
|
+
displayTitle: string;
|
|
169
|
+
deleteTitle: string;
|
|
170
|
+
delete: string;
|
|
171
|
+
close: string;
|
|
172
|
+
addAddress: string;
|
|
173
|
+
address: string;
|
|
174
|
+
return: string;
|
|
175
|
+
change: string;
|
|
176
|
+
noAddress: string;
|
|
177
|
+
registerAddress: string;
|
|
178
|
+
confirmAddress: string;
|
|
179
|
+
returnEdit: string;
|
|
180
|
+
selectAddress: string;
|
|
181
|
+
};
|
|
182
|
+
errorSheet: {
|
|
183
|
+
title: string;
|
|
184
|
+
title1: string;
|
|
185
|
+
desc: string;
|
|
186
|
+
topup: string;
|
|
187
|
+
topupDesc: string;
|
|
188
|
+
pay: string;
|
|
189
|
+
payDesc: string;
|
|
190
|
+
};
|
|
191
|
+
paymentMethod: {
|
|
192
|
+
expired: string;
|
|
193
|
+
ordinary: string;
|
|
194
|
+
current: string;
|
|
195
|
+
checkGreen: string;
|
|
196
|
+
authenticated: string;
|
|
197
|
+
yjTitle: string;
|
|
198
|
+
ppCardTitle: string;
|
|
199
|
+
brand: string;
|
|
200
|
+
};
|
|
201
|
+
wallet: {
|
|
202
|
+
title: string;
|
|
203
|
+
desc: string;
|
|
204
|
+
eMoney: string;
|
|
205
|
+
nonUsable: string;
|
|
206
|
+
cashBackUsable: string;
|
|
207
|
+
cashBackExpirable: string;
|
|
208
|
+
balance: string;
|
|
209
|
+
};
|
|
210
|
+
softbank: {
|
|
211
|
+
desc: string;
|
|
212
|
+
desc1: string;
|
|
213
|
+
isDisable: string;
|
|
214
|
+
};
|
|
215
|
+
registerEmail: {
|
|
216
|
+
title: string;
|
|
217
|
+
warning: string;
|
|
218
|
+
cancelTxt: string;
|
|
219
|
+
errorTitleAlreadyRegistered: string;
|
|
220
|
+
errorDescriptionAlreadyRegistered: string;
|
|
221
|
+
errorTitle: string;
|
|
222
|
+
errorDescription: string;
|
|
223
|
+
};
|
|
224
|
+
smartLogin: {
|
|
225
|
+
title: string;
|
|
226
|
+
signIn: string;
|
|
227
|
+
continueAs: string;
|
|
228
|
+
};
|
|
229
|
+
smartPay: {
|
|
230
|
+
pay: string;
|
|
231
|
+
paypay: string;
|
|
232
|
+
cashback: string;
|
|
233
|
+
};
|
|
234
|
+
cashbackList: {
|
|
235
|
+
close: string;
|
|
236
|
+
};
|
|
237
|
+
desktopTitle: {
|
|
238
|
+
Payment: string;
|
|
239
|
+
addNewAddress: string;
|
|
240
|
+
editAddress: string;
|
|
241
|
+
paymentCompletion: string;
|
|
242
|
+
getUserAddress: string;
|
|
243
|
+
};
|
|
244
|
+
closeConfirmation: {
|
|
245
|
+
title: string;
|
|
246
|
+
confirm: string;
|
|
247
|
+
cancel: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
251
|
+
cashbackInfo?: unknown;
|
|
252
|
+
totalBalanceInfo?: unknown;
|
|
253
|
+
allTotalBalanceInfo?: unknown;
|
|
254
|
+
isCharging?: unknown;
|
|
255
|
+
} & {
|
|
256
|
+
totalBalanceInfo: string;
|
|
257
|
+
cashbackInfo: Record<string, any>;
|
|
258
|
+
allTotalBalanceInfo: string;
|
|
259
|
+
isCharging: boolean;
|
|
260
|
+
} & {}> & {
|
|
261
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
totalBalanceInfo: string;
|
|
264
|
+
cashbackInfo: Record<string, any>;
|
|
265
|
+
allTotalBalanceInfo: string;
|
|
266
|
+
}>;
|
|
267
|
+
export default _default;
|
|
@@ -1,26 +1,286 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
data: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => void;
|
|
5
|
-
};
|
|
6
|
-
}, {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
data: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => void;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
images: {
|
|
8
|
+
iconBalanceError: string;
|
|
9
|
+
animationDone: string;
|
|
10
|
+
merchant: string;
|
|
11
|
+
cashback: string;
|
|
12
|
+
iconCopy: string;
|
|
13
|
+
iconError: string;
|
|
14
|
+
iconOpenApp: string;
|
|
15
|
+
iconAppUpdate: string;
|
|
16
|
+
iconBackArrow: string;
|
|
17
|
+
paypay: string;
|
|
18
|
+
copyIcon: string;
|
|
19
|
+
jcb: string;
|
|
20
|
+
visa: string;
|
|
21
|
+
master: string;
|
|
22
|
+
amex: string;
|
|
23
|
+
iconAlert: string;
|
|
24
|
+
checkGreen: string;
|
|
25
|
+
yahoo: string;
|
|
26
|
+
ppCard: string;
|
|
27
|
+
softbank: string;
|
|
28
|
+
iconBirthday: string;
|
|
29
|
+
iconMinorAge: string;
|
|
30
|
+
iconClose: string;
|
|
31
|
+
myOffer: string;
|
|
32
|
+
lightBlue: string;
|
|
33
|
+
iconBalanceIcon: string;
|
|
34
|
+
share: string;
|
|
35
|
+
rightArrow: string;
|
|
36
|
+
iconGrayError: string;
|
|
37
|
+
paypayRec: string;
|
|
38
|
+
paypayRecWhite: string;
|
|
39
|
+
downArrow: string;
|
|
40
|
+
bankIcon: string;
|
|
41
|
+
confetti: string;
|
|
42
|
+
};
|
|
43
|
+
amount: import("vue").ComputedRef<string>;
|
|
44
|
+
statusLabelColor: import("vue").ComputedRef<any>;
|
|
45
|
+
topUpId: import("vue").ComputedRef<any>;
|
|
46
|
+
statusLabel: import("vue").ComputedRef<any>;
|
|
47
|
+
close: typeof close;
|
|
48
|
+
style: Record<string, string>;
|
|
49
|
+
lg: {
|
|
50
|
+
showUpdateWarning: {
|
|
51
|
+
closeBtn: string;
|
|
52
|
+
notNow: string;
|
|
53
|
+
update: string;
|
|
54
|
+
title: string;
|
|
55
|
+
errorText: string;
|
|
56
|
+
desc1: string;
|
|
57
|
+
desc2: string;
|
|
58
|
+
};
|
|
59
|
+
openApp: {
|
|
60
|
+
title: string;
|
|
61
|
+
body: string;
|
|
62
|
+
errorText: string;
|
|
63
|
+
openApp: string;
|
|
64
|
+
cancel: string;
|
|
65
|
+
};
|
|
66
|
+
openMap: {
|
|
67
|
+
title: string;
|
|
68
|
+
errorText: string;
|
|
69
|
+
};
|
|
70
|
+
topup: {
|
|
71
|
+
title: string;
|
|
72
|
+
balMoney: string;
|
|
73
|
+
charge: string;
|
|
74
|
+
minAmount: string;
|
|
75
|
+
maxAmount: string;
|
|
76
|
+
moneyLabel: string;
|
|
77
|
+
noMethod: string;
|
|
78
|
+
loading: string;
|
|
79
|
+
payBtn: string;
|
|
80
|
+
availableBalance: string;
|
|
81
|
+
availableBalanceAfter: string;
|
|
82
|
+
allBalance: string;
|
|
83
|
+
};
|
|
84
|
+
takePhoto: {
|
|
85
|
+
camera: string;
|
|
86
|
+
photo: string;
|
|
87
|
+
};
|
|
88
|
+
payment: {
|
|
89
|
+
title: string;
|
|
90
|
+
payAmount: string;
|
|
91
|
+
payAmountTaxExempt: string;
|
|
92
|
+
method: string;
|
|
93
|
+
address: string;
|
|
94
|
+
insufficientAmount: string;
|
|
95
|
+
paying: string;
|
|
96
|
+
pay: string;
|
|
97
|
+
charge: string;
|
|
98
|
+
cancel: string;
|
|
99
|
+
noAddress: string;
|
|
100
|
+
change: string;
|
|
101
|
+
close: string;
|
|
102
|
+
};
|
|
103
|
+
duplicate: {
|
|
104
|
+
header: string;
|
|
105
|
+
text1: string;
|
|
106
|
+
text2: string;
|
|
107
|
+
cancel: string;
|
|
108
|
+
agreeButtonText: string;
|
|
109
|
+
topHeader: string;
|
|
110
|
+
topText1: string;
|
|
111
|
+
topText2: string;
|
|
112
|
+
topAgreeButtonText: string;
|
|
113
|
+
};
|
|
114
|
+
birthdayConfirm: {
|
|
115
|
+
title: string;
|
|
116
|
+
title2: string;
|
|
117
|
+
desc: string;
|
|
118
|
+
desc1: string;
|
|
119
|
+
desc2: string;
|
|
120
|
+
desc3: string;
|
|
121
|
+
date: string;
|
|
122
|
+
primaryBtn: string;
|
|
123
|
+
cancelBtn: string;
|
|
124
|
+
};
|
|
125
|
+
birthdayConfirmError: {
|
|
126
|
+
title: string;
|
|
127
|
+
title2: string;
|
|
128
|
+
desc: string;
|
|
129
|
+
desc2: string;
|
|
130
|
+
helpBtn: string;
|
|
131
|
+
closeBtn: string;
|
|
132
|
+
};
|
|
133
|
+
cashbackDet: {
|
|
134
|
+
button1: string;
|
|
135
|
+
button2: string;
|
|
136
|
+
button3: string;
|
|
137
|
+
};
|
|
138
|
+
topContent: {
|
|
139
|
+
title: string;
|
|
140
|
+
chargeTitle: string;
|
|
141
|
+
chargeLabel: string;
|
|
142
|
+
loading: string;
|
|
143
|
+
unavailable1: string;
|
|
144
|
+
unavailable2: string;
|
|
145
|
+
amount: string;
|
|
146
|
+
return: string;
|
|
147
|
+
};
|
|
148
|
+
topInfo: {
|
|
149
|
+
sufficientRow: string;
|
|
150
|
+
insufficientAmount: string;
|
|
151
|
+
insufficientAmountText: string;
|
|
152
|
+
paymentAmount: string;
|
|
153
|
+
};
|
|
154
|
+
choosePayment: {
|
|
155
|
+
title: string;
|
|
156
|
+
desc1: string;
|
|
157
|
+
desc2: string;
|
|
158
|
+
title2: string;
|
|
159
|
+
addMethod: string;
|
|
160
|
+
noMethod: string;
|
|
161
|
+
};
|
|
162
|
+
topupCompletion: {
|
|
163
|
+
title: string;
|
|
164
|
+
idInfo: string;
|
|
165
|
+
copied: string;
|
|
166
|
+
};
|
|
167
|
+
userAddress: {
|
|
168
|
+
title: string;
|
|
169
|
+
header: string;
|
|
170
|
+
tagForm: string;
|
|
171
|
+
home: string;
|
|
172
|
+
work: string;
|
|
173
|
+
billing: string;
|
|
174
|
+
footer: string;
|
|
175
|
+
titlePre: string;
|
|
176
|
+
titleApp: string;
|
|
177
|
+
titlePlace: string;
|
|
178
|
+
receiverPre: string;
|
|
179
|
+
receiverPlace: string;
|
|
180
|
+
inputPre: string;
|
|
181
|
+
statePre: string;
|
|
182
|
+
statePlace: string;
|
|
183
|
+
cityPre: string;
|
|
184
|
+
cityPlace: string;
|
|
185
|
+
street1Pre: string;
|
|
186
|
+
streetPlace: string;
|
|
187
|
+
street2Pre: string;
|
|
188
|
+
street2Place: string;
|
|
189
|
+
footerBtn1: string;
|
|
190
|
+
footerBtn2: string;
|
|
191
|
+
displayTitle: string;
|
|
192
|
+
deleteTitle: string;
|
|
193
|
+
delete: string;
|
|
194
|
+
close: string;
|
|
195
|
+
addAddress: string;
|
|
196
|
+
address: string;
|
|
197
|
+
return: string;
|
|
198
|
+
change: string;
|
|
199
|
+
noAddress: string;
|
|
200
|
+
registerAddress: string;
|
|
201
|
+
confirmAddress: string;
|
|
202
|
+
returnEdit: string;
|
|
203
|
+
selectAddress: string;
|
|
204
|
+
};
|
|
205
|
+
errorSheet: {
|
|
206
|
+
title: string;
|
|
207
|
+
title1: string;
|
|
208
|
+
desc: string;
|
|
209
|
+
topup: string;
|
|
210
|
+
topupDesc: string;
|
|
211
|
+
pay: string;
|
|
212
|
+
payDesc: string;
|
|
213
|
+
};
|
|
214
|
+
paymentMethod: {
|
|
215
|
+
expired: string;
|
|
216
|
+
ordinary: string;
|
|
217
|
+
current: string;
|
|
218
|
+
checkGreen: string;
|
|
219
|
+
authenticated: string;
|
|
220
|
+
yjTitle: string;
|
|
221
|
+
ppCardTitle: string;
|
|
222
|
+
brand: string;
|
|
223
|
+
};
|
|
224
|
+
wallet: {
|
|
225
|
+
title: string;
|
|
226
|
+
desc: string;
|
|
227
|
+
eMoney: string;
|
|
228
|
+
nonUsable: string;
|
|
229
|
+
cashBackUsable: string;
|
|
230
|
+
cashBackExpirable: string;
|
|
231
|
+
balance: string;
|
|
232
|
+
};
|
|
233
|
+
softbank: {
|
|
234
|
+
desc: string;
|
|
235
|
+
desc1: string;
|
|
236
|
+
isDisable: string;
|
|
237
|
+
};
|
|
238
|
+
registerEmail: {
|
|
239
|
+
title: string;
|
|
240
|
+
warning: string;
|
|
241
|
+
cancelTxt: string;
|
|
242
|
+
errorTitleAlreadyRegistered: string;
|
|
243
|
+
errorDescriptionAlreadyRegistered: string;
|
|
244
|
+
errorTitle: string;
|
|
245
|
+
errorDescription: string;
|
|
246
|
+
};
|
|
247
|
+
smartLogin: {
|
|
248
|
+
title: string;
|
|
249
|
+
signIn: string;
|
|
250
|
+
continueAs: string;
|
|
251
|
+
};
|
|
252
|
+
smartPay: {
|
|
253
|
+
pay: string;
|
|
254
|
+
paypay: string;
|
|
255
|
+
cashback: string;
|
|
256
|
+
};
|
|
257
|
+
cashbackList: {
|
|
258
|
+
close: string;
|
|
259
|
+
};
|
|
260
|
+
desktopTitle: {
|
|
261
|
+
Payment: string;
|
|
262
|
+
addNewAddress: string;
|
|
263
|
+
editAddress: string;
|
|
264
|
+
paymentCompletion: string;
|
|
265
|
+
getUserAddress: string;
|
|
266
|
+
};
|
|
267
|
+
closeConfirmation: {
|
|
268
|
+
title: string;
|
|
269
|
+
confirm: string;
|
|
270
|
+
cancel: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
}, {
|
|
274
|
+
copied: boolean;
|
|
275
|
+
}, {}, {
|
|
276
|
+
copyId(): void;
|
|
277
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
278
|
+
data?: unknown;
|
|
279
|
+
} & {
|
|
280
|
+
data: Record<string, any>;
|
|
281
|
+
} & {}> & {
|
|
282
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
283
|
+
}, {
|
|
284
|
+
data: Record<string, any>;
|
|
285
|
+
}>;
|
|
286
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
7
|
-
"dev": "
|
|
8
|
-
"lint": "eslint --
|
|
6
|
+
"build": "vite build",
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"lint": "eslint src test --ext .ts,.tsx,.vue",
|
|
9
9
|
"format": "prettier --write '{src,test}/**/*.{ts,tsx,vue,less}'",
|
|
10
10
|
"upgrade": "yarn upgrade-interactive",
|
|
11
11
|
"test": "jest --silent --coverage",
|
|
@@ -30,15 +30,14 @@
|
|
|
30
30
|
"@babel/core": "^7.15.5",
|
|
31
31
|
"@babel/plugin-transform-typescript": "^7.15.4",
|
|
32
32
|
"@babel/preset-env": "^7.15.4",
|
|
33
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
34
|
-
"@rollup/plugin-commonjs": "^20.0.0",
|
|
35
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
36
|
-
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
37
33
|
"@rollup/plugin-replace": "^3.0.0",
|
|
38
34
|
"@types/jest": "^26.0.24",
|
|
39
35
|
"@types/js-cookie": "^2.2.7",
|
|
40
36
|
"@types/uuid": "^8.3.1",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
41
38
|
"@typescript-eslint/parser": "^4.31.0",
|
|
39
|
+
"@vitejs/plugin-vue": "^1.9.4",
|
|
40
|
+
"@vitejs/plugin-vue-jsx": "^1.2.0",
|
|
42
41
|
"@vue/babel-plugin-jsx": "^1.0.7",
|
|
43
42
|
"@vue/compiler-sfc": "^3.2.11",
|
|
44
43
|
"@vue/test-utils": "^2.0.0-rc.14",
|
|
@@ -56,19 +55,14 @@
|
|
|
56
55
|
"jest-transform-stub": "^2.0.0",
|
|
57
56
|
"less": "^4.1.1",
|
|
58
57
|
"lint-staged": "^11.1.2",
|
|
59
|
-
"postcss": "^8.3.6",
|
|
60
58
|
"prettier": "^2.3.2",
|
|
61
|
-
"rollup": "^2.56.3",
|
|
62
|
-
"rollup-plugin-delete": "^2.0.0",
|
|
63
|
-
"rollup-plugin-postcss": "^4.0.1",
|
|
64
|
-
"rollup-plugin-serve": "^1.1.0",
|
|
65
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
66
|
-
"rollup-plugin-typescript2": "^0.30.0",
|
|
67
|
-
"rollup-plugin-vue": "^6.0.0",
|
|
68
59
|
"ts-jest": "^26.5.6",
|
|
69
|
-
"typescript": "
|
|
60
|
+
"typescript": "~4.4.2",
|
|
61
|
+
"vite": "^2.6.14",
|
|
62
|
+
"vite-plugin-dts": "^0.9.4",
|
|
70
63
|
"vue-eslint-parser": "^7.11.0",
|
|
71
|
-
"vue-jest": "5.0.0-alpha.9"
|
|
64
|
+
"vue-jest": "5.0.0-alpha.9",
|
|
65
|
+
"vue-tsc": "^0.29.5"
|
|
72
66
|
},
|
|
73
67
|
"files": [
|
|
74
68
|
"dist"
|