@paypay/mini-app-js-sdk 1.34.0 → 1.35.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/useRegisterEmail.d.ts +1 -1
- 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 +3891 -1704
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/index.d.ts +1 -0
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/registerUserInfo.d.ts +2 -0
- package/dist/model/miniAppError.d.ts +2 -2
- package/dist/package/action-sheet/index.d.ts +2 -1
- package/dist/package/button/LoadingIndicator.vue.d.ts +4 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +49 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +49 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +49 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +49 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +49 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +49 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +49 -0
- package/dist/types.d.ts +4 -0
- package/dist/utils/api.d.ts +20 -1
- package/dist/utils/getImages.d.ts +5 -0
- package/dist/utils/getLanguage.d.ts +44 -0
- package/dist/views/email-registration/App.vue.d.ts +23 -286
- package/dist/views/email-registration/hooks/callback.d.ts +4 -2
- package/dist/views/email-registration/hooks/const.d.ts +1 -0
- package/dist/views/email-registration/hooks/ui.d.ts +7 -13
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +39 -0
- package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +70 -0
- package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +23 -0
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +51 -0
- package/dist/views/error-sheet/Index.vue.d.ts +74 -8
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +44 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +5 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +49 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +44 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +44 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +49 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +49 -0
- package/dist/views/open-app/App.vue.d.ts +49 -0
- package/dist/views/open-map/App.vue.d.ts +44 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +773 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +830 -0
- package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +18 -0
- package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +7 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +773 -0
- package/dist/views/register-user-info/RegisterUserInfoFormView.vue.d.ts +11 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +778 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +778 -0
- package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +6 -0
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +501 -0
- package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +15 -0
- package/dist/views/register-user-info/api.d.ts +23 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +349 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +17 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +76 -0
- package/dist/views/register-user-info/store.d.ts +490 -0
- package/dist/views/register-user-info/types.d.ts +32 -0
- package/dist/views/register-user-info/utils.d.ts +4 -0
- package/dist/views/register-user-info/validators.d.ts +10 -0
- package/dist/views/show-update-warning/App.vue.d.ts +55 -2
- package/dist/views/take-photo/App.vue.d.ts +44 -0
- package/dist/views/topup/App.vue.d.ts +49 -0
- package/dist/views/topup/CashbackInfo.vue.d.ts +44 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +49 -0
- package/package.json +2 -1
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +0 -45
- package/dist/views/email-registration/components/icons.d.ts +0 -2
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +0 -52
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +0 -24
|
@@ -291,6 +291,50 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
291
291
|
confirm: string;
|
|
292
292
|
cancel: string;
|
|
293
293
|
};
|
|
294
|
+
registerUserInfo: {
|
|
295
|
+
kycDataTitle: string;
|
|
296
|
+
uneditableDataTitle: string;
|
|
297
|
+
unenteredInfoTitle: string;
|
|
298
|
+
footer: {
|
|
299
|
+
description: string;
|
|
300
|
+
backButton: string;
|
|
301
|
+
nextButton: string;
|
|
302
|
+
finishButton: string;
|
|
303
|
+
cancelButton: string;
|
|
304
|
+
};
|
|
305
|
+
cancelSheet: {
|
|
306
|
+
title: string;
|
|
307
|
+
text: string;
|
|
308
|
+
confirmButton: string;
|
|
309
|
+
};
|
|
310
|
+
kycSheet: {
|
|
311
|
+
title: string;
|
|
312
|
+
text: string;
|
|
313
|
+
confirmButton: string;
|
|
314
|
+
};
|
|
315
|
+
mailSheet: {
|
|
316
|
+
title: string;
|
|
317
|
+
text: string;
|
|
318
|
+
confirmButton: string;
|
|
319
|
+
};
|
|
320
|
+
defaultErrorSheet: {
|
|
321
|
+
title: string;
|
|
322
|
+
text: string;
|
|
323
|
+
};
|
|
324
|
+
validation: {
|
|
325
|
+
numberError: string;
|
|
326
|
+
alphabetError: string;
|
|
327
|
+
alphabetLength32Error: string;
|
|
328
|
+
katakanaError: string;
|
|
329
|
+
katakanaLength16Error: string;
|
|
330
|
+
lengthError: string;
|
|
331
|
+
};
|
|
332
|
+
emailInput: string;
|
|
333
|
+
emailNotVerified: string;
|
|
334
|
+
emailNotVerifiedDescription: string;
|
|
335
|
+
change: string;
|
|
336
|
+
cancel: string;
|
|
337
|
+
};
|
|
294
338
|
getBankInfo: {
|
|
295
339
|
title: string;
|
|
296
340
|
close: string;
|
|
@@ -333,6 +377,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
333
377
|
bankIcon: string;
|
|
334
378
|
confetti: string;
|
|
335
379
|
payLater: string;
|
|
380
|
+
iconPen: string;
|
|
381
|
+
iconInputClear: string;
|
|
382
|
+
iconRightArrowGray: string;
|
|
383
|
+
iconKycWarn: string;
|
|
384
|
+
iconMail: string;
|
|
336
385
|
iconGreenTick: string;
|
|
337
386
|
};
|
|
338
387
|
isFirstLoad: boolean;
|
|
@@ -260,6 +260,50 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
260
260
|
confirm: string;
|
|
261
261
|
cancel: string;
|
|
262
262
|
};
|
|
263
|
+
registerUserInfo: {
|
|
264
|
+
kycDataTitle: string;
|
|
265
|
+
uneditableDataTitle: string;
|
|
266
|
+
unenteredInfoTitle: string;
|
|
267
|
+
footer: {
|
|
268
|
+
description: string;
|
|
269
|
+
backButton: string;
|
|
270
|
+
nextButton: string;
|
|
271
|
+
finishButton: string;
|
|
272
|
+
cancelButton: string;
|
|
273
|
+
};
|
|
274
|
+
cancelSheet: {
|
|
275
|
+
title: string;
|
|
276
|
+
text: string;
|
|
277
|
+
confirmButton: string;
|
|
278
|
+
};
|
|
279
|
+
kycSheet: {
|
|
280
|
+
title: string;
|
|
281
|
+
text: string;
|
|
282
|
+
confirmButton: string;
|
|
283
|
+
};
|
|
284
|
+
mailSheet: {
|
|
285
|
+
title: string;
|
|
286
|
+
text: string;
|
|
287
|
+
confirmButton: string;
|
|
288
|
+
};
|
|
289
|
+
defaultErrorSheet: {
|
|
290
|
+
title: string;
|
|
291
|
+
text: string;
|
|
292
|
+
};
|
|
293
|
+
validation: {
|
|
294
|
+
numberError: string;
|
|
295
|
+
alphabetError: string;
|
|
296
|
+
alphabetLength32Error: string;
|
|
297
|
+
katakanaError: string;
|
|
298
|
+
katakanaLength16Error: string;
|
|
299
|
+
lengthError: string;
|
|
300
|
+
};
|
|
301
|
+
emailInput: string;
|
|
302
|
+
emailNotVerified: string;
|
|
303
|
+
emailNotVerifiedDescription: string;
|
|
304
|
+
change: string;
|
|
305
|
+
cancel: string;
|
|
306
|
+
};
|
|
263
307
|
getBankInfo: {
|
|
264
308
|
title: string;
|
|
265
309
|
close: string;
|
|
@@ -43,6 +43,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
bankIcon: string;
|
|
44
44
|
confetti: string;
|
|
45
45
|
payLater: string;
|
|
46
|
+
iconPen: string;
|
|
47
|
+
iconInputClear: string;
|
|
48
|
+
iconRightArrowGray: string;
|
|
49
|
+
iconKycWarn: string;
|
|
50
|
+
iconMail: string;
|
|
46
51
|
iconGreenTick: string;
|
|
47
52
|
};
|
|
48
53
|
amount: import("vue").ComputedRef<string>;
|
|
@@ -288,6 +293,50 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
288
293
|
confirm: string;
|
|
289
294
|
cancel: string;
|
|
290
295
|
};
|
|
296
|
+
registerUserInfo: {
|
|
297
|
+
kycDataTitle: string;
|
|
298
|
+
uneditableDataTitle: string;
|
|
299
|
+
unenteredInfoTitle: string;
|
|
300
|
+
footer: {
|
|
301
|
+
description: string;
|
|
302
|
+
backButton: string;
|
|
303
|
+
nextButton: string;
|
|
304
|
+
finishButton: string;
|
|
305
|
+
cancelButton: string;
|
|
306
|
+
};
|
|
307
|
+
cancelSheet: {
|
|
308
|
+
title: string;
|
|
309
|
+
text: string;
|
|
310
|
+
confirmButton: string;
|
|
311
|
+
};
|
|
312
|
+
kycSheet: {
|
|
313
|
+
title: string;
|
|
314
|
+
text: string;
|
|
315
|
+
confirmButton: string;
|
|
316
|
+
};
|
|
317
|
+
mailSheet: {
|
|
318
|
+
title: string;
|
|
319
|
+
text: string;
|
|
320
|
+
confirmButton: string;
|
|
321
|
+
};
|
|
322
|
+
defaultErrorSheet: {
|
|
323
|
+
title: string;
|
|
324
|
+
text: string;
|
|
325
|
+
};
|
|
326
|
+
validation: {
|
|
327
|
+
numberError: string;
|
|
328
|
+
alphabetError: string;
|
|
329
|
+
alphabetLength32Error: string;
|
|
330
|
+
katakanaError: string;
|
|
331
|
+
katakanaLength16Error: string;
|
|
332
|
+
lengthError: string;
|
|
333
|
+
};
|
|
334
|
+
emailInput: string;
|
|
335
|
+
emailNotVerified: string;
|
|
336
|
+
emailNotVerifiedDescription: string;
|
|
337
|
+
change: string;
|
|
338
|
+
cancel: string;
|
|
339
|
+
};
|
|
291
340
|
getBankInfo: {
|
|
292
341
|
title: string;
|
|
293
342
|
close: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"js-cookie": "^3.0.1",
|
|
25
25
|
"lottie-web": "^5.8.1",
|
|
26
|
+
"pinia": "^2.0.11",
|
|
26
27
|
"uuid": "^8.3.2",
|
|
27
28
|
"vue": "^3.2.11"
|
|
28
29
|
},
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import type { ResendEmail } from '../hooks/ui';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
emailRegistered: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
required: false;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
email: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
required: false;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
emailResend: {
|
|
15
|
-
type: PropType<ResendEmail>;
|
|
16
|
-
required: true;
|
|
17
|
-
default: () => () => void;
|
|
18
|
-
};
|
|
19
|
-
}, {
|
|
20
|
-
style: Record<string, string>;
|
|
21
|
-
emailRegister: () => void;
|
|
22
|
-
emailCovered: import("vue").ComputedRef<string>;
|
|
23
|
-
emailRegisterRoot: () => void;
|
|
24
|
-
emailResendAction: () => Promise<void>;
|
|
25
|
-
loading: import("vue").ComputedRef<boolean>;
|
|
26
|
-
disableResendButton: import("vue").ComputedRef<boolean>;
|
|
27
|
-
timerCount: import("vue").ComputedRef<number>;
|
|
28
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("email-register" | "email-resend" | "email-verified")[], "email-register" | "email-resend" | "email-verified", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
29
|
-
emailRegistered?: unknown;
|
|
30
|
-
email?: unknown;
|
|
31
|
-
emailResend?: unknown;
|
|
32
|
-
} & {
|
|
33
|
-
email: string;
|
|
34
|
-
emailRegistered: boolean;
|
|
35
|
-
emailResend: ResendEmail;
|
|
36
|
-
} & {}> & {
|
|
37
|
-
"onEmail-register"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
"onEmail-resend"?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
"onEmail-verified"?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
email: string;
|
|
42
|
-
emailRegistered: boolean;
|
|
43
|
-
emailResend: ResendEmail;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const EmailRegx: RegExp;
|
|
3
|
-
export declare function calculateStyles(): {
|
|
4
|
-
actionSheetStyles: {
|
|
5
|
-
height: string;
|
|
6
|
-
boxSizing: string;
|
|
7
|
-
};
|
|
8
|
-
headerStyles: {};
|
|
9
|
-
};
|
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
|
11
|
-
isVisible: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
sendEmail: {
|
|
16
|
-
type: PropType<(email: string) => Promise<void>>;
|
|
17
|
-
required: false;
|
|
18
|
-
default: () => () => void;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
EmailRegx: RegExp;
|
|
22
|
-
state: {
|
|
23
|
-
isEmailValid: boolean;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
email: string;
|
|
26
|
-
};
|
|
27
|
-
validateEmail: (v: boolean) => void;
|
|
28
|
-
registerEmailAction: () => Promise<void>;
|
|
29
|
-
close: () => void;
|
|
30
|
-
isEmailValid: import("vue").ComputedRef<boolean>;
|
|
31
|
-
loading: import("vue").ComputedRef<boolean>;
|
|
32
|
-
inlineStyles: import("vue").ComputedRef<{
|
|
33
|
-
actionSheetStyles: {
|
|
34
|
-
height: string;
|
|
35
|
-
boxSizing: string;
|
|
36
|
-
};
|
|
37
|
-
headerStyles: {};
|
|
38
|
-
}>;
|
|
39
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "close-register-email")[], "close" | "close-register-email", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
40
|
-
isVisible?: unknown;
|
|
41
|
-
sendEmail?: unknown;
|
|
42
|
-
} & {
|
|
43
|
-
isVisible: boolean;
|
|
44
|
-
sendEmail: (email: string) => Promise<void>;
|
|
45
|
-
} & {}> & {
|
|
46
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
"onClose-register-email"?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
isVisible: boolean;
|
|
50
|
-
sendEmail: (email: string) => Promise<void>;
|
|
51
|
-
}>;
|
|
52
|
-
export default _default;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
isVisible: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
email: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
}, {
|
|
11
|
-
close: () => void;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close-resend-email-sheet"[], "close-resend-email-sheet", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
|
-
isVisible?: unknown;
|
|
14
|
-
email?: unknown;
|
|
15
|
-
} & {
|
|
16
|
-
email: string;
|
|
17
|
-
isVisible: boolean;
|
|
18
|
-
} & {}> & {
|
|
19
|
-
"onClose-resend-email-sheet"?: ((...args: any[]) => any) | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
email: string;
|
|
22
|
-
isVisible: boolean;
|
|
23
|
-
}>;
|
|
24
|
-
export default _default;
|