@paypay/mini-app-js-sdk 1.41.0 → 1.44.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 +2 -3
- package/dist/mini-app-api.d.ts +3 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +4675 -2371
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +2 -3
- package/dist/model/bridge/getConfigure.d.ts +22 -0
- package/dist/model/bridge/registerPaymentFeatures.d.ts +2 -0
- package/dist/model/makePayment.d.ts +36 -19
- package/dist/package/action-sheet/index.d.ts +1 -1
- package/dist/package/banner-header/index.vue.d.ts +1 -1
- package/dist/package/header/index.d.ts +11 -0
- package/dist/package/input/currency/index.d.ts +124 -0
- package/dist/package/input/email/index.d.ts +137 -0
- package/dist/package/input/{index.d.ts → text/index.d.ts} +0 -113
- package/dist/package/input/zip/index.d.ts +107 -0
- package/dist/package/payment-method/CreditCard.vue.d.ts +8 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +67 -3
- package/dist/package/payment-method/SbidBank.vue.d.ts +64 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +64 -0
- package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +78 -3
- package/dist/package/payment-type/Sbid.vue.d.ts +64 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +75 -0
- package/dist/package/payment-type/index.d.ts +11 -0
- package/dist/package/select-list/index.d.ts +2 -2
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +64 -0
- package/dist/types.d.ts +20 -1
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/fetch.d.ts +2 -0
- package/dist/utils/getImages.d.ts +5 -0
- package/dist/utils/getLanguage.d.ts +59 -0
- package/dist/utils/helper.d.ts +4 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +1 -1
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +64 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +59 -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 +60 -1
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +64 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +59 -0
- package/dist/views/make-payment/Main.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +60 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +81 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +65 -2
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +289 -88
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +72 -9
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +6 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +64 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +116 -44
- package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
- package/dist/views/open-app/App.vue.d.ts +64 -0
- package/dist/views/open-map/App.vue.d.ts +59 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +316 -70
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +64 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +5 -0
- package/dist/views/register-user-info/store.d.ts +28 -70
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +176 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +92 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +149 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +140 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +146 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +99 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +165 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +169 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/api.d.ts +4 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +88 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +62 -0
- package/dist/views/show-update-warning/App.vue.d.ts +64 -0
- package/dist/views/take-photo/App.vue.d.ts +59 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +5 -0
- package/dist/views/topup/App.vue.d.ts +66 -0
- package/dist/views/topup/CashbackInfo.vue.d.ts +59 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +64 -0
- package/package.json +10 -3
package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
lg: {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
change: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
};
|
|
8
|
+
images: {
|
|
9
|
+
iconBalanceError: string;
|
|
10
|
+
animationDone: string;
|
|
11
|
+
merchant: string;
|
|
12
|
+
cashback: string;
|
|
13
|
+
iconCopy: string;
|
|
14
|
+
iconError: string;
|
|
15
|
+
iconOpenApp: string;
|
|
16
|
+
iconAppUpdate: string;
|
|
17
|
+
iconBackArrow: string;
|
|
18
|
+
paypay: string;
|
|
19
|
+
copyIcon: string;
|
|
20
|
+
jcb: string;
|
|
21
|
+
visa: string;
|
|
22
|
+
master: string;
|
|
23
|
+
amex: string;
|
|
24
|
+
iconAlert: string;
|
|
25
|
+
checkGreen: string;
|
|
26
|
+
yahoo: string;
|
|
27
|
+
ppCard: string;
|
|
28
|
+
softbank: string;
|
|
29
|
+
iconBirthday: string;
|
|
30
|
+
iconMinorAge: string;
|
|
31
|
+
iconClose: string;
|
|
32
|
+
whiteIconClose: string;
|
|
33
|
+
myOffer: string;
|
|
34
|
+
lightBlue: string;
|
|
35
|
+
iconBalanceIcon: string;
|
|
36
|
+
share: string;
|
|
37
|
+
rightArrow: string;
|
|
38
|
+
iconGrayError: string;
|
|
39
|
+
paypayRec: string;
|
|
40
|
+
paypayRecWhite: string;
|
|
41
|
+
downArrow: string;
|
|
42
|
+
bankIcon: string;
|
|
43
|
+
confetti: string;
|
|
44
|
+
payLater: string;
|
|
45
|
+
iconPen: string;
|
|
46
|
+
iconInputClear: string;
|
|
47
|
+
iconRightArrowGray: string;
|
|
48
|
+
iconKycWarn: string;
|
|
49
|
+
iconMail: string;
|
|
50
|
+
iconGreenTick: string;
|
|
51
|
+
iconExitMiniApp: string;
|
|
52
|
+
iconTopupNotice: string;
|
|
53
|
+
iconTopupSetup: string;
|
|
54
|
+
iconNotice: string;
|
|
55
|
+
iconTopupSuccess: string;
|
|
56
|
+
icon3DSecure: string;
|
|
57
|
+
};
|
|
58
|
+
settingComplete: () => Promise<void>;
|
|
59
|
+
loading: import("vue").Ref<boolean>;
|
|
60
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
61
|
+
mode: import("./types").AutoTopupMode;
|
|
62
|
+
minimumTopupAmount?: number | undefined;
|
|
63
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
64
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
65
|
+
result?: ({
|
|
66
|
+
type: "success";
|
|
67
|
+
} | {
|
|
68
|
+
type: "fail";
|
|
69
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
70
|
+
}) | undefined;
|
|
71
|
+
uiIsVisible: boolean;
|
|
72
|
+
needUpdate: boolean;
|
|
73
|
+
renderRoot: boolean;
|
|
74
|
+
isFinishSetting: boolean;
|
|
75
|
+
isLimitAmountErrorOccur: boolean;
|
|
76
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
77
|
+
description: string;
|
|
78
|
+
value: number[];
|
|
79
|
+
}[] | undefined;
|
|
80
|
+
autoChargeRecommendedTopupAmount?: {
|
|
81
|
+
description: string;
|
|
82
|
+
value: number;
|
|
83
|
+
}[] | undefined;
|
|
84
|
+
ui: {
|
|
85
|
+
isChooseAmount: boolean;
|
|
86
|
+
isChooseTopupMethod: boolean;
|
|
87
|
+
isSettingComplete: boolean;
|
|
88
|
+
isTopupMethodSetting: boolean;
|
|
89
|
+
isTopupAmountSetting: boolean;
|
|
90
|
+
isAutoTopupConfirm: boolean;
|
|
91
|
+
isAmountError: boolean;
|
|
92
|
+
isThreeDSecure: boolean;
|
|
93
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
94
|
+
threeDSecureCCType?: string | undefined;
|
|
95
|
+
};
|
|
96
|
+
errorSheet: {
|
|
97
|
+
isVisible: boolean;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
101
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
102
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
103
|
+
existActivatedMethod(): boolean;
|
|
104
|
+
selectedPaymentMethodIndex(): number;
|
|
105
|
+
displayActivateButton(): boolean;
|
|
106
|
+
requireConfirm(): boolean;
|
|
107
|
+
isEmptyPaymentMethodList(): boolean;
|
|
108
|
+
}, {
|
|
109
|
+
setAmount(payload: {
|
|
110
|
+
amount: number;
|
|
111
|
+
}): void;
|
|
112
|
+
selectPaymentMethod(payload: {
|
|
113
|
+
paymentIndex: number;
|
|
114
|
+
}): void;
|
|
115
|
+
initialize(): Promise<void>;
|
|
116
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
117
|
+
activateAutoTopup(): Promise<void>;
|
|
118
|
+
selectTopupMethodSetting(): void;
|
|
119
|
+
cancelSetting(): void;
|
|
120
|
+
finishSetting(): void;
|
|
121
|
+
openSetting(): void;
|
|
122
|
+
closeSetting(): void;
|
|
123
|
+
openChooseAmountSheet(): void;
|
|
124
|
+
closeChooseAmountSheet(): void;
|
|
125
|
+
openChooseTopupMethodSheet(): void;
|
|
126
|
+
closeChooseTopupMethodSheet(): void;
|
|
127
|
+
openSettingCompleteSheet(): void;
|
|
128
|
+
closeSettingCompleteSheet(): void;
|
|
129
|
+
openTopupMethodSetting(): void;
|
|
130
|
+
closeTopupMethodSetting(): void;
|
|
131
|
+
openAutoTopupConfirm(): void;
|
|
132
|
+
closeAutoTopupConfirm(): void;
|
|
133
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
134
|
+
closeAmountError(): void;
|
|
135
|
+
openTopupAmountSetting(): void;
|
|
136
|
+
closeTopupAmountSetting(): void;
|
|
137
|
+
closeError(): void;
|
|
138
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
139
|
+
close3dSecureSheet(): void;
|
|
140
|
+
cancelUpdate(): void;
|
|
141
|
+
}>;
|
|
142
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
143
|
+
export default _default;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { formatAmount } from '../../utils/helper';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
lg: {
|
|
4
|
+
title: string;
|
|
5
|
+
recommend: string;
|
|
6
|
+
close: string;
|
|
7
|
+
unit: string;
|
|
8
|
+
};
|
|
9
|
+
formatAmount: typeof formatAmount;
|
|
10
|
+
images: {
|
|
11
|
+
iconBalanceError: string;
|
|
12
|
+
animationDone: string;
|
|
13
|
+
merchant: string;
|
|
14
|
+
cashback: string;
|
|
15
|
+
iconCopy: string;
|
|
16
|
+
iconError: string;
|
|
17
|
+
iconOpenApp: string;
|
|
18
|
+
iconAppUpdate: string;
|
|
19
|
+
iconBackArrow: string;
|
|
20
|
+
paypay: string;
|
|
21
|
+
copyIcon: string;
|
|
22
|
+
jcb: string;
|
|
23
|
+
visa: string;
|
|
24
|
+
master: string;
|
|
25
|
+
amex: string;
|
|
26
|
+
iconAlert: string;
|
|
27
|
+
checkGreen: string;
|
|
28
|
+
yahoo: string;
|
|
29
|
+
ppCard: string;
|
|
30
|
+
softbank: string;
|
|
31
|
+
iconBirthday: string;
|
|
32
|
+
iconMinorAge: string;
|
|
33
|
+
iconClose: string;
|
|
34
|
+
whiteIconClose: string;
|
|
35
|
+
myOffer: string;
|
|
36
|
+
lightBlue: string;
|
|
37
|
+
iconBalanceIcon: string;
|
|
38
|
+
share: string;
|
|
39
|
+
rightArrow: string;
|
|
40
|
+
iconGrayError: string;
|
|
41
|
+
paypayRec: string;
|
|
42
|
+
paypayRecWhite: string;
|
|
43
|
+
downArrow: string;
|
|
44
|
+
bankIcon: string;
|
|
45
|
+
confetti: string;
|
|
46
|
+
payLater: string;
|
|
47
|
+
iconPen: string;
|
|
48
|
+
iconInputClear: string;
|
|
49
|
+
iconRightArrowGray: string;
|
|
50
|
+
iconKycWarn: string;
|
|
51
|
+
iconMail: string;
|
|
52
|
+
iconGreenTick: string;
|
|
53
|
+
iconExitMiniApp: string;
|
|
54
|
+
iconTopupNotice: string;
|
|
55
|
+
iconTopupSetup: string;
|
|
56
|
+
iconNotice: string;
|
|
57
|
+
iconTopupSuccess: string;
|
|
58
|
+
icon3DSecure: string;
|
|
59
|
+
};
|
|
60
|
+
amountOptions: import("vue").ComputedRef<{
|
|
61
|
+
value: number;
|
|
62
|
+
unit: string;
|
|
63
|
+
recommend: boolean;
|
|
64
|
+
}[] | undefined>;
|
|
65
|
+
selectAmount: (value: number) => void;
|
|
66
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
67
|
+
mode: import("./types").AutoTopupMode;
|
|
68
|
+
minimumTopupAmount?: number | undefined;
|
|
69
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
70
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
71
|
+
result?: ({
|
|
72
|
+
type: "success";
|
|
73
|
+
} | {
|
|
74
|
+
type: "fail";
|
|
75
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
76
|
+
}) | undefined;
|
|
77
|
+
uiIsVisible: boolean;
|
|
78
|
+
needUpdate: boolean;
|
|
79
|
+
renderRoot: boolean;
|
|
80
|
+
isFinishSetting: boolean;
|
|
81
|
+
isLimitAmountErrorOccur: boolean;
|
|
82
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
83
|
+
description: string;
|
|
84
|
+
value: number[];
|
|
85
|
+
}[] | undefined;
|
|
86
|
+
autoChargeRecommendedTopupAmount?: {
|
|
87
|
+
description: string;
|
|
88
|
+
value: number;
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
ui: {
|
|
91
|
+
isChooseAmount: boolean;
|
|
92
|
+
isChooseTopupMethod: boolean;
|
|
93
|
+
isSettingComplete: boolean;
|
|
94
|
+
isTopupMethodSetting: boolean;
|
|
95
|
+
isTopupAmountSetting: boolean;
|
|
96
|
+
isAutoTopupConfirm: boolean;
|
|
97
|
+
isAmountError: boolean;
|
|
98
|
+
isThreeDSecure: boolean;
|
|
99
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
100
|
+
threeDSecureCCType?: string | undefined;
|
|
101
|
+
};
|
|
102
|
+
errorSheet: {
|
|
103
|
+
isVisible: boolean;
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
107
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
108
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
109
|
+
existActivatedMethod(): boolean;
|
|
110
|
+
selectedPaymentMethodIndex(): number;
|
|
111
|
+
displayActivateButton(): boolean;
|
|
112
|
+
requireConfirm(): boolean;
|
|
113
|
+
isEmptyPaymentMethodList(): boolean;
|
|
114
|
+
}, {
|
|
115
|
+
setAmount(payload: {
|
|
116
|
+
amount: number;
|
|
117
|
+
}): void;
|
|
118
|
+
selectPaymentMethod(payload: {
|
|
119
|
+
paymentIndex: number;
|
|
120
|
+
}): void;
|
|
121
|
+
initialize(): Promise<void>;
|
|
122
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
123
|
+
activateAutoTopup(): Promise<void>;
|
|
124
|
+
selectTopupMethodSetting(): void;
|
|
125
|
+
cancelSetting(): void;
|
|
126
|
+
finishSetting(): void;
|
|
127
|
+
openSetting(): void;
|
|
128
|
+
closeSetting(): void;
|
|
129
|
+
openChooseAmountSheet(): void;
|
|
130
|
+
closeChooseAmountSheet(): void;
|
|
131
|
+
openChooseTopupMethodSheet(): void;
|
|
132
|
+
closeChooseTopupMethodSheet(): void;
|
|
133
|
+
openSettingCompleteSheet(): void;
|
|
134
|
+
closeSettingCompleteSheet(): void;
|
|
135
|
+
openTopupMethodSetting(): void;
|
|
136
|
+
closeTopupMethodSetting(): void;
|
|
137
|
+
openAutoTopupConfirm(): void;
|
|
138
|
+
closeAutoTopupConfirm(): void;
|
|
139
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
140
|
+
closeAmountError(): void;
|
|
141
|
+
openTopupAmountSetting(): void;
|
|
142
|
+
closeTopupAmountSetting(): void;
|
|
143
|
+
closeError(): void;
|
|
144
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
145
|
+
close3dSecureSheet(): void;
|
|
146
|
+
cancelUpdate(): void;
|
|
147
|
+
}>;
|
|
148
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
149
|
+
export default _default;
|
package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { formatAmount } from '../../utils/helper';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
formatAmount: typeof formatAmount;
|
|
4
|
+
images: {
|
|
5
|
+
iconBalanceError: string;
|
|
6
|
+
animationDone: string;
|
|
7
|
+
merchant: string;
|
|
8
|
+
cashback: string;
|
|
9
|
+
iconCopy: string;
|
|
10
|
+
iconError: string;
|
|
11
|
+
iconOpenApp: string;
|
|
12
|
+
iconAppUpdate: string;
|
|
13
|
+
iconBackArrow: string;
|
|
14
|
+
paypay: string;
|
|
15
|
+
copyIcon: string;
|
|
16
|
+
jcb: string;
|
|
17
|
+
visa: string;
|
|
18
|
+
master: string;
|
|
19
|
+
amex: string;
|
|
20
|
+
iconAlert: string;
|
|
21
|
+
checkGreen: string;
|
|
22
|
+
yahoo: string;
|
|
23
|
+
ppCard: string;
|
|
24
|
+
softbank: string;
|
|
25
|
+
iconBirthday: string;
|
|
26
|
+
iconMinorAge: string;
|
|
27
|
+
iconClose: string;
|
|
28
|
+
whiteIconClose: string;
|
|
29
|
+
myOffer: string;
|
|
30
|
+
lightBlue: string;
|
|
31
|
+
iconBalanceIcon: string;
|
|
32
|
+
share: string;
|
|
33
|
+
rightArrow: string;
|
|
34
|
+
iconGrayError: string;
|
|
35
|
+
paypayRec: string;
|
|
36
|
+
paypayRecWhite: string;
|
|
37
|
+
downArrow: string;
|
|
38
|
+
bankIcon: string;
|
|
39
|
+
confetti: string;
|
|
40
|
+
payLater: string;
|
|
41
|
+
iconPen: string;
|
|
42
|
+
iconInputClear: string;
|
|
43
|
+
iconRightArrowGray: string;
|
|
44
|
+
iconKycWarn: string;
|
|
45
|
+
iconMail: string;
|
|
46
|
+
iconGreenTick: string;
|
|
47
|
+
iconExitMiniApp: string;
|
|
48
|
+
iconTopupNotice: string;
|
|
49
|
+
iconTopupSetup: string;
|
|
50
|
+
iconNotice: string;
|
|
51
|
+
iconTopupSuccess: string;
|
|
52
|
+
icon3DSecure: string;
|
|
53
|
+
};
|
|
54
|
+
selectPaymentList: (paymentIndex: number) => void;
|
|
55
|
+
selectIndex: import("vue").ComputedRef<number>;
|
|
56
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
57
|
+
mode: import("./types").AutoTopupMode;
|
|
58
|
+
minimumTopupAmount?: number | undefined;
|
|
59
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
60
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
61
|
+
result?: ({
|
|
62
|
+
type: "success";
|
|
63
|
+
} | {
|
|
64
|
+
type: "fail";
|
|
65
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
66
|
+
}) | undefined;
|
|
67
|
+
uiIsVisible: boolean;
|
|
68
|
+
needUpdate: boolean;
|
|
69
|
+
renderRoot: boolean;
|
|
70
|
+
isFinishSetting: boolean;
|
|
71
|
+
isLimitAmountErrorOccur: boolean;
|
|
72
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
73
|
+
description: string;
|
|
74
|
+
value: number[];
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
autoChargeRecommendedTopupAmount?: {
|
|
77
|
+
description: string;
|
|
78
|
+
value: number;
|
|
79
|
+
}[] | undefined;
|
|
80
|
+
ui: {
|
|
81
|
+
isChooseAmount: boolean;
|
|
82
|
+
isChooseTopupMethod: boolean;
|
|
83
|
+
isSettingComplete: boolean;
|
|
84
|
+
isTopupMethodSetting: boolean;
|
|
85
|
+
isTopupAmountSetting: boolean;
|
|
86
|
+
isAutoTopupConfirm: boolean;
|
|
87
|
+
isAmountError: boolean;
|
|
88
|
+
isThreeDSecure: boolean;
|
|
89
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
90
|
+
threeDSecureCCType?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
errorSheet: {
|
|
93
|
+
isVisible: boolean;
|
|
94
|
+
};
|
|
95
|
+
}, {
|
|
96
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
97
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
98
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
99
|
+
existActivatedMethod(): boolean;
|
|
100
|
+
selectedPaymentMethodIndex(): number;
|
|
101
|
+
displayActivateButton(): boolean;
|
|
102
|
+
requireConfirm(): boolean;
|
|
103
|
+
isEmptyPaymentMethodList(): boolean;
|
|
104
|
+
}, {
|
|
105
|
+
setAmount(payload: {
|
|
106
|
+
amount: number;
|
|
107
|
+
}): void;
|
|
108
|
+
selectPaymentMethod(payload: {
|
|
109
|
+
paymentIndex: number;
|
|
110
|
+
}): void;
|
|
111
|
+
initialize(): Promise<void>;
|
|
112
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
113
|
+
activateAutoTopup(): Promise<void>;
|
|
114
|
+
selectTopupMethodSetting(): void;
|
|
115
|
+
cancelSetting(): void;
|
|
116
|
+
finishSetting(): void;
|
|
117
|
+
openSetting(): void;
|
|
118
|
+
closeSetting(): void;
|
|
119
|
+
openChooseAmountSheet(): void;
|
|
120
|
+
closeChooseAmountSheet(): void;
|
|
121
|
+
openChooseTopupMethodSheet(): void;
|
|
122
|
+
closeChooseTopupMethodSheet(): void;
|
|
123
|
+
openSettingCompleteSheet(): void;
|
|
124
|
+
closeSettingCompleteSheet(): void;
|
|
125
|
+
openTopupMethodSetting(): void;
|
|
126
|
+
closeTopupMethodSetting(): void;
|
|
127
|
+
openAutoTopupConfirm(): void;
|
|
128
|
+
closeAutoTopupConfirm(): void;
|
|
129
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
130
|
+
closeAmountError(): void;
|
|
131
|
+
openTopupAmountSetting(): void;
|
|
132
|
+
closeTopupAmountSetting(): void;
|
|
133
|
+
closeError(): void;
|
|
134
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
135
|
+
close3dSecureSheet(): void;
|
|
136
|
+
cancelUpdate(): void;
|
|
137
|
+
}>;
|
|
138
|
+
paymentMethodsList: import("vue").ComputedRef<import("../../model/makePayment").PaymentMethod[]>;
|
|
139
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
140
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
3
|
+
mode: import("./types").AutoTopupMode;
|
|
4
|
+
minimumTopupAmount?: number | undefined;
|
|
5
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
6
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
7
|
+
result?: ({
|
|
8
|
+
type: "success";
|
|
9
|
+
} | {
|
|
10
|
+
type: "fail";
|
|
11
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
uiIsVisible: boolean;
|
|
14
|
+
needUpdate: boolean;
|
|
15
|
+
renderRoot: boolean;
|
|
16
|
+
isFinishSetting: boolean;
|
|
17
|
+
isLimitAmountErrorOccur: boolean;
|
|
18
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
19
|
+
description: string;
|
|
20
|
+
value: number[];
|
|
21
|
+
}[] | undefined;
|
|
22
|
+
autoChargeRecommendedTopupAmount?: {
|
|
23
|
+
description: string;
|
|
24
|
+
value: number;
|
|
25
|
+
}[] | undefined;
|
|
26
|
+
ui: {
|
|
27
|
+
isChooseAmount: boolean;
|
|
28
|
+
isChooseTopupMethod: boolean;
|
|
29
|
+
isSettingComplete: boolean;
|
|
30
|
+
isTopupMethodSetting: boolean;
|
|
31
|
+
isTopupAmountSetting: boolean;
|
|
32
|
+
isAutoTopupConfirm: boolean;
|
|
33
|
+
isAmountError: boolean;
|
|
34
|
+
isThreeDSecure: boolean;
|
|
35
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
36
|
+
threeDSecureCCType?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
errorSheet: {
|
|
39
|
+
isVisible: boolean;
|
|
40
|
+
};
|
|
41
|
+
}, {
|
|
42
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
43
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
44
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
45
|
+
existActivatedMethod(): boolean;
|
|
46
|
+
selectedPaymentMethodIndex(): number;
|
|
47
|
+
displayActivateButton(): boolean;
|
|
48
|
+
requireConfirm(): boolean;
|
|
49
|
+
isEmptyPaymentMethodList(): boolean;
|
|
50
|
+
}, {
|
|
51
|
+
setAmount(payload: {
|
|
52
|
+
amount: number;
|
|
53
|
+
}): void;
|
|
54
|
+
selectPaymentMethod(payload: {
|
|
55
|
+
paymentIndex: number;
|
|
56
|
+
}): void;
|
|
57
|
+
initialize(): Promise<void>;
|
|
58
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
59
|
+
activateAutoTopup(): Promise<void>;
|
|
60
|
+
selectTopupMethodSetting(): void;
|
|
61
|
+
cancelSetting(): void;
|
|
62
|
+
finishSetting(): void;
|
|
63
|
+
openSetting(): void;
|
|
64
|
+
closeSetting(): void;
|
|
65
|
+
openChooseAmountSheet(): void;
|
|
66
|
+
closeChooseAmountSheet(): void;
|
|
67
|
+
openChooseTopupMethodSheet(): void;
|
|
68
|
+
closeChooseTopupMethodSheet(): void;
|
|
69
|
+
openSettingCompleteSheet(): void;
|
|
70
|
+
closeSettingCompleteSheet(): void;
|
|
71
|
+
openTopupMethodSetting(): void;
|
|
72
|
+
closeTopupMethodSetting(): void;
|
|
73
|
+
openAutoTopupConfirm(): void;
|
|
74
|
+
closeAutoTopupConfirm(): void;
|
|
75
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
76
|
+
closeAmountError(): void;
|
|
77
|
+
openTopupAmountSetting(): void;
|
|
78
|
+
closeTopupAmountSetting(): void;
|
|
79
|
+
closeError(): void;
|
|
80
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
81
|
+
close3dSecureSheet(): void;
|
|
82
|
+
cancelUpdate(): void;
|
|
83
|
+
}>;
|
|
84
|
+
lg: {
|
|
85
|
+
title: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
close: () => void;
|
|
89
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
90
|
+
export default _default;
|
package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
cancelUpdate: () => void;
|
|
3
|
+
update: () => void;
|
|
4
|
+
lg: {
|
|
5
|
+
message: string;
|
|
6
|
+
update: string;
|
|
7
|
+
cancel: string;
|
|
8
|
+
};
|
|
9
|
+
images: {
|
|
10
|
+
iconBalanceError: string;
|
|
11
|
+
animationDone: string;
|
|
12
|
+
merchant: string;
|
|
13
|
+
cashback: string;
|
|
14
|
+
iconCopy: string;
|
|
15
|
+
iconError: string;
|
|
16
|
+
iconOpenApp: string;
|
|
17
|
+
iconAppUpdate: string;
|
|
18
|
+
iconBackArrow: string;
|
|
19
|
+
paypay: string;
|
|
20
|
+
copyIcon: string;
|
|
21
|
+
jcb: string;
|
|
22
|
+
visa: string;
|
|
23
|
+
master: string;
|
|
24
|
+
amex: string;
|
|
25
|
+
iconAlert: string;
|
|
26
|
+
checkGreen: string;
|
|
27
|
+
yahoo: string;
|
|
28
|
+
ppCard: string;
|
|
29
|
+
softbank: string;
|
|
30
|
+
iconBirthday: string;
|
|
31
|
+
iconMinorAge: string;
|
|
32
|
+
iconClose: string;
|
|
33
|
+
whiteIconClose: string;
|
|
34
|
+
myOffer: string;
|
|
35
|
+
lightBlue: string;
|
|
36
|
+
iconBalanceIcon: string;
|
|
37
|
+
share: string;
|
|
38
|
+
rightArrow: string;
|
|
39
|
+
iconGrayError: string;
|
|
40
|
+
paypayRec: string;
|
|
41
|
+
paypayRecWhite: string;
|
|
42
|
+
downArrow: string;
|
|
43
|
+
bankIcon: string;
|
|
44
|
+
confetti: string;
|
|
45
|
+
payLater: string;
|
|
46
|
+
iconPen: string;
|
|
47
|
+
iconInputClear: string;
|
|
48
|
+
iconRightArrowGray: string;
|
|
49
|
+
iconKycWarn: string;
|
|
50
|
+
iconMail: string;
|
|
51
|
+
iconGreenTick: string;
|
|
52
|
+
iconExitMiniApp: string;
|
|
53
|
+
iconTopupNotice: string;
|
|
54
|
+
iconTopupSetup: string;
|
|
55
|
+
iconNotice: string;
|
|
56
|
+
iconTopupSuccess: string;
|
|
57
|
+
icon3DSecure: string;
|
|
58
|
+
};
|
|
59
|
+
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
60
|
+
mode: import("./types").AutoTopupMode;
|
|
61
|
+
minimumTopupAmount?: number | undefined;
|
|
62
|
+
selectedPaymentMethodInfo?: import("../../model/makePayment").PaymentMethod | undefined;
|
|
63
|
+
paymentMethodList?: import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
64
|
+
result?: ({
|
|
65
|
+
type: "success";
|
|
66
|
+
} | {
|
|
67
|
+
type: "fail";
|
|
68
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
69
|
+
}) | undefined;
|
|
70
|
+
uiIsVisible: boolean;
|
|
71
|
+
needUpdate: boolean;
|
|
72
|
+
renderRoot: boolean;
|
|
73
|
+
isFinishSetting: boolean;
|
|
74
|
+
isLimitAmountErrorOccur: boolean;
|
|
75
|
+
autoChargeTopupHalfSheetAmount?: {
|
|
76
|
+
description: string;
|
|
77
|
+
value: number[];
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
autoChargeRecommendedTopupAmount?: {
|
|
80
|
+
description: string;
|
|
81
|
+
value: number;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
ui: {
|
|
84
|
+
isChooseAmount: boolean;
|
|
85
|
+
isChooseTopupMethod: boolean;
|
|
86
|
+
isSettingComplete: boolean;
|
|
87
|
+
isTopupMethodSetting: boolean;
|
|
88
|
+
isTopupAmountSetting: boolean;
|
|
89
|
+
isAutoTopupConfirm: boolean;
|
|
90
|
+
isAmountError: boolean;
|
|
91
|
+
isThreeDSecure: boolean;
|
|
92
|
+
amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
|
|
93
|
+
threeDSecureCCType?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
errorSheet: {
|
|
96
|
+
isVisible: boolean;
|
|
97
|
+
};
|
|
98
|
+
}, {
|
|
99
|
+
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
100
|
+
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
101
|
+
selectedAvailableTopupMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
102
|
+
existActivatedMethod(): boolean;
|
|
103
|
+
selectedPaymentMethodIndex(): number;
|
|
104
|
+
displayActivateButton(): boolean;
|
|
105
|
+
requireConfirm(): boolean;
|
|
106
|
+
isEmptyPaymentMethodList(): boolean;
|
|
107
|
+
}, {
|
|
108
|
+
setAmount(payload: {
|
|
109
|
+
amount: number;
|
|
110
|
+
}): void;
|
|
111
|
+
selectPaymentMethod(payload: {
|
|
112
|
+
paymentIndex: number;
|
|
113
|
+
}): void;
|
|
114
|
+
initialize(): Promise<void>;
|
|
115
|
+
setAutoTopupConfiguration(): Promise<boolean | undefined>;
|
|
116
|
+
activateAutoTopup(): Promise<void>;
|
|
117
|
+
selectTopupMethodSetting(): void;
|
|
118
|
+
cancelSetting(): void;
|
|
119
|
+
finishSetting(): void;
|
|
120
|
+
openSetting(): void;
|
|
121
|
+
closeSetting(): void;
|
|
122
|
+
openChooseAmountSheet(): void;
|
|
123
|
+
closeChooseAmountSheet(): void;
|
|
124
|
+
openChooseTopupMethodSheet(): void;
|
|
125
|
+
closeChooseTopupMethodSheet(): void;
|
|
126
|
+
openSettingCompleteSheet(): void;
|
|
127
|
+
closeSettingCompleteSheet(): void;
|
|
128
|
+
openTopupMethodSetting(): void;
|
|
129
|
+
closeTopupMethodSetting(): void;
|
|
130
|
+
openAutoTopupConfirm(): void;
|
|
131
|
+
closeAutoTopupConfirm(): void;
|
|
132
|
+
openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
|
|
133
|
+
closeAmountError(): void;
|
|
134
|
+
openTopupAmountSetting(): void;
|
|
135
|
+
closeTopupAmountSetting(): void;
|
|
136
|
+
closeError(): void;
|
|
137
|
+
show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
|
|
138
|
+
close3dSecureSheet(): void;
|
|
139
|
+
cancelUpdate(): void;
|
|
140
|
+
}>;
|
|
141
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
142
|
+
afterLeave: () => true;
|
|
143
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
144
|
+
onAfterLeave?: (() => any) | undefined;
|
|
145
|
+
}, {}>;
|
|
146
|
+
export default _default;
|