@paypay/mini-app-js-sdk 1.21.0 → 1.25.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.
Files changed (139) hide show
  1. package/dist/composition-api/dom/index.d.ts +1 -0
  2. package/dist/composition-api/dom/useCountDown.d.ts +20 -0
  3. package/dist/composition-api/useInpuAddress.d.ts +1 -1
  4. package/dist/composition-api/useRegisterEmail.d.ts +1 -1
  5. package/dist/composition-api/useRenderSmartButton.d.ts +1 -1
  6. package/dist/jsbridge-core/jsbridge.d.ts +2 -2
  7. package/dist/jsbridge-core/lib/logger.d.ts +5 -5
  8. package/dist/mini-app-api.d.ts +2 -2
  9. package/dist/mini-app-js-sdk.browser.js +1 -1
  10. package/dist/mini-app-js-sdk.es.js +9365 -6514
  11. package/dist/mini-app-js-sdk.min.css +1 -1
  12. package/dist/model/bridge/checkAccessToken.d.ts +1 -1
  13. package/dist/model/bridge/checkPaymentMethod.d.ts +1 -1
  14. package/dist/model/bridge/closeApp.d.ts +1 -1
  15. package/dist/model/bridge/copyToClipboard.d.ts +1 -1
  16. package/dist/model/bridge/debug.d.ts +1 -1
  17. package/dist/model/bridge/getAppDetail.d.ts +2 -16
  18. package/dist/model/bridge/getConfigure.d.ts +3 -3
  19. package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
  20. package/dist/model/bridge/getSessionData.d.ts +1 -1
  21. package/dist/model/bridge/getStorageData.d.ts +1 -1
  22. package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
  23. package/dist/model/bridge/getUAID.d.ts +1 -1
  24. package/dist/model/bridge/getUserAddress.d.ts +1 -1
  25. package/dist/model/bridge/inputAddress.d.ts +1 -1
  26. package/dist/model/bridge/logout.d.ts +1 -1
  27. package/dist/model/bridge/openApp.d.ts +1 -1
  28. package/dist/model/bridge/openMap.d.ts +1 -1
  29. package/dist/model/bridge/openWebview.d.ts +1 -1
  30. package/dist/model/bridge/registerEmail.d.ts +1 -1
  31. package/dist/model/bridge/registerKyc.d.ts +1 -1
  32. package/dist/model/bridge/renderLoginButton.d.ts +6 -2
  33. package/dist/model/bridge/renderPayButton.d.ts +5 -1
  34. package/dist/model/bridge/request.d.ts +1 -1
  35. package/dist/model/makePayment.d.ts +76 -59
  36. package/dist/model/uiComponents.d.ts +2 -1
  37. package/dist/package/action-sheet/index.d.ts +20 -13
  38. package/dist/package/banner-header/index.vue.d.ts +3 -3
  39. package/dist/package/button/index.d.ts +17 -9
  40. package/dist/package/charge-amount-list/index.vue.d.ts +27 -8
  41. package/dist/package/charge-amount-more-list/index.vue.d.ts +6 -2
  42. package/dist/package/date-button/index.vue.d.ts +1 -3
  43. package/dist/package/desktop-header/index.d.ts +21 -0
  44. package/dist/package/header/index.d.ts +7 -7
  45. package/dist/package/index.d.ts +1 -0
  46. package/dist/package/input/index.d.ts +60 -17
  47. package/dist/package/lottie/index.d.ts +5 -8
  48. package/dist/package/overlay/index.d.ts +5 -4
  49. package/dist/package/payment-method/Bank.vue.d.ts +7 -7
  50. package/dist/package/payment-method/CreditCard.vue.d.ts +5 -5
  51. package/dist/package/payment-method/SbidBank.vue.d.ts +271 -4
  52. package/dist/package/payment-method/Wallet.vue.d.ts +274 -7
  53. package/dist/package/payment-method-list/index.vue.d.ts +14 -2
  54. package/dist/package/payment-type/Bank.vue.d.ts +5 -5
  55. package/dist/package/payment-type/CreditCard.vue.d.ts +6 -6
  56. package/dist/package/payment-type/Sbid.vue.d.ts +269 -2
  57. package/dist/package/payment-type/Wallet.vue.d.ts +270 -2
  58. package/dist/package/payment-type/index.d.ts +4 -6
  59. package/dist/package/select-list/Components.d.ts +43 -3
  60. package/dist/package/select-list/index.d.ts +11 -2
  61. package/dist/package/switch/index.d.ts +1 -1
  62. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +295 -0
  63. package/dist/types.d.ts +50 -18
  64. package/dist/utils/api.d.ts +44 -26
  65. package/dist/utils/create/bem.d.ts +2 -2
  66. package/dist/utils/create/index.d.ts +1 -1
  67. package/dist/utils/fetch.d.ts +3 -3
  68. package/dist/utils/getImages.d.ts +36 -5
  69. package/dist/utils/getLanguage.d.ts +233 -2
  70. package/dist/utils/helper.d.ts +17 -15
  71. package/dist/utils/popstateHandler.d.ts +2 -1
  72. package/dist/utils/storage.d.ts +12 -10
  73. package/dist/utils/uiConstants.d.ts +1 -0
  74. package/dist/utils/useBreakpoints.d.ts +5 -0
  75. package/dist/utils/utils.d.ts +2 -0
  76. package/dist/views/email-registration/App.vue.d.ts +242 -10
  77. package/dist/views/email-registration/components/EmailButton.vue.d.ts +3 -3
  78. package/dist/views/email-registration/hooks/callback.d.ts +2 -2
  79. package/dist/views/email-registration/hooks/ui.d.ts +2 -2
  80. package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +2 -2
  81. package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +1 -1
  82. package/dist/views/error-sheet/Index.vue.d.ts +280 -13
  83. package/dist/views/get-user-address/App.vue.d.ts +11 -3
  84. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +252 -11
  85. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +271 -4
  86. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +255 -3
  87. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +236 -4
  88. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +262 -19
  89. package/dist/views/get-user-address/Sheet/App.vue.d.ts +29 -12
  90. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +244 -3
  91. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +251 -4
  92. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +311 -11
  93. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +249 -0
  94. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +268 -0
  95. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +263 -0
  96. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +255 -0
  97. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +45 -2
  98. package/dist/views/get-user-address/store/error-handle.d.ts +2 -1
  99. package/dist/views/get-user-address/store/root.d.ts +6 -2
  100. package/dist/views/input-address/App.vue.d.ts +6 -7
  101. package/dist/views/input-address/hook/app.d.ts +3 -2
  102. package/dist/views/input-address/hook/error-handle.d.ts +10 -3
  103. package/dist/views/make-payment/App.vue.d.ts +3 -3
  104. package/dist/views/make-payment/Main.vue.d.ts +80 -511
  105. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +239 -8
  106. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +238 -5
  107. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +269 -2
  108. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +269 -2
  109. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +5 -4
  110. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +276 -9
  111. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +249 -3
  112. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +372 -13
  113. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +283 -7
  114. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +564 -236
  115. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +241 -6
  116. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +274 -0
  117. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +1 -1
  118. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +242 -10
  119. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +337 -0
  120. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +347 -18
  121. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +43 -9
  122. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +302 -8
  123. package/dist/views/make-payment/hooks/app-hooks.d.ts +178 -361
  124. package/dist/views/make-payment/hooks/ui-hooks.d.ts +30 -16
  125. package/dist/views/make-payment/store/age-confirm.d.ts +1 -1
  126. package/dist/views/make-payment/store/handle-error.d.ts +2 -2
  127. package/dist/views/make-payment/store/root.d.ts +4 -4
  128. package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -1
  129. package/dist/views/open-app/App.vue.d.ts +275 -6
  130. package/dist/views/open-map/App.vue.d.ts +240 -6
  131. package/dist/views/show-alert/App.vue.d.ts +5 -5
  132. package/dist/views/show-update-warning/App.vue.d.ts +275 -6
  133. package/dist/views/smart-button/App.vue.d.ts +11 -11
  134. package/dist/views/take-photo/App.vue.d.ts +239 -5
  135. package/dist/views/topup/App.vue.d.ts +309 -23
  136. package/dist/views/topup/BannerInfo.vue.d.ts +15 -11
  137. package/dist/views/topup/CashbackInfo.vue.d.ts +235 -3
  138. package/dist/views/topup/TopupCompletion.vue.d.ts +278 -7
  139. package/package.json +5 -4
@@ -1,11 +1,245 @@
1
+ import { PropType } from 'vue';
2
+ import { TakePhotoParams } from '../../types';
1
3
  declare const _default: import("vue").DefineComponent<{
2
4
  show: BooleanConstructor;
3
5
  takePhotoParams: {
4
- type: ObjectConstructor;
6
+ type: PropType<TakePhotoParams>;
5
7
  default: () => void;
6
8
  };
7
9
  }, unknown, {
8
- lg: any;
10
+ lg: {
11
+ showUpdateWarning: {
12
+ closeBtn: string;
13
+ notNow: string;
14
+ update: string;
15
+ title: string;
16
+ errorText: string;
17
+ desc1: string;
18
+ desc2: string;
19
+ };
20
+ openApp: {
21
+ title: string;
22
+ body: string;
23
+ errorText: string;
24
+ openApp: string;
25
+ cancel: string;
26
+ };
27
+ openMap: {
28
+ title: string;
29
+ errorText: string;
30
+ };
31
+ topup: {
32
+ title: string;
33
+ balMoney: string;
34
+ charge: string;
35
+ minAmount: string;
36
+ maxAmount: string;
37
+ moneyLabel: string;
38
+ noMethod: string;
39
+ loading: string;
40
+ payBtn: string;
41
+ availableBalance: string;
42
+ availableBalanceAfter: string;
43
+ allBalance: string;
44
+ };
45
+ takePhoto: {
46
+ camera: string;
47
+ photo: string;
48
+ };
49
+ payment: {
50
+ title: string;
51
+ payAmount: string;
52
+ payAmountTaxExempt: string;
53
+ method: string;
54
+ address: string;
55
+ insufficientAmount: string;
56
+ paying: string;
57
+ pay: string;
58
+ charge: string;
59
+ cancel: string;
60
+ noAddress: string;
61
+ change: string;
62
+ close: string;
63
+ };
64
+ duplicate: {
65
+ header: string;
66
+ text1: string;
67
+ text2: string;
68
+ cancel: string;
69
+ agreeButtonText: string;
70
+ topHeader: string;
71
+ topText1: string;
72
+ topText2: string;
73
+ topAgreeButtonText: string;
74
+ };
75
+ birthdayConfirm: {
76
+ title: string;
77
+ title2: string;
78
+ desc: string;
79
+ desc1: string;
80
+ desc2: string;
81
+ desc3: string;
82
+ date: string;
83
+ primaryBtn: string;
84
+ cancelBtn: string;
85
+ };
86
+ birthdayConfirmError: {
87
+ title: string;
88
+ title2: string;
89
+ desc: string;
90
+ desc2: string;
91
+ helpBtn: string;
92
+ closeBtn: string;
93
+ };
94
+ cashbackDet: {
95
+ button1: string;
96
+ button2: string;
97
+ button3: string;
98
+ };
99
+ topContent: {
100
+ title: string;
101
+ chargeTitle: string;
102
+ chargeLabel: string;
103
+ loading: string;
104
+ unavailable1: string;
105
+ unavailable2: string;
106
+ amount: string;
107
+ return: string;
108
+ };
109
+ topInfo: {
110
+ sufficientRow: string;
111
+ insufficientAmount: string;
112
+ insufficientAmountText: string;
113
+ paymentAmount: string;
114
+ };
115
+ choosePayment: {
116
+ title: string;
117
+ desc1: string;
118
+ desc2: string;
119
+ title2: string;
120
+ addMethod: string;
121
+ noMethod: string;
122
+ };
123
+ topupCompletion: {
124
+ title: string;
125
+ idInfo: string;
126
+ copied: string;
127
+ };
128
+ userAddress: {
129
+ title: string;
130
+ header: string;
131
+ tagForm: string;
132
+ home: string;
133
+ work: string;
134
+ billing: string;
135
+ footer: string;
136
+ titlePre: string;
137
+ titleApp: string;
138
+ titlePlace: string;
139
+ receiverPre: string;
140
+ receiverPlace: string;
141
+ inputPre: string;
142
+ statePre: string;
143
+ statePlace: string;
144
+ cityPre: string;
145
+ cityPlace: string;
146
+ street1Pre: string;
147
+ streetPlace: string;
148
+ street2Pre: string;
149
+ street2Place: string;
150
+ footerBtn1: string;
151
+ footerBtn2: string;
152
+ displayTitle: string;
153
+ deleteTitle: string;
154
+ delete: string;
155
+ close: string;
156
+ addAddress: string;
157
+ address: string;
158
+ return: string;
159
+ change: string;
160
+ noAddress: string;
161
+ registerAddress: string;
162
+ confirmAddress: string;
163
+ returnEdit: string;
164
+ selectAddress: string;
165
+ selectDeliveryAddress: string;
166
+ };
167
+ errorSheet: {
168
+ title: string;
169
+ title1: string;
170
+ desc: string;
171
+ topup: string;
172
+ topupDesc: string;
173
+ pay: string;
174
+ payDesc: string;
175
+ };
176
+ paymentMethod: {
177
+ expired: string;
178
+ ordinary: string;
179
+ current: string;
180
+ checkGreen: string;
181
+ authenticated: string;
182
+ yjTitle: string;
183
+ ppCardTitle: string;
184
+ brand: string;
185
+ };
186
+ paymentMethodStatus: {
187
+ ACTIVATED: string;
188
+ OFF: string;
189
+ APPLYING: string;
190
+ MAINTENANCE: string;
191
+ BUSY: string;
192
+ SUSPENDED: string;
193
+ };
194
+ wallet: {
195
+ title: string;
196
+ desc: string;
197
+ eMoney: string;
198
+ nonUsable: string;
199
+ cashBackUsable: string;
200
+ cashBackExpirable: string;
201
+ balance: string;
202
+ };
203
+ softbank: {
204
+ desc: string;
205
+ desc1: string;
206
+ isDisable: string;
207
+ };
208
+ registerEmail: {
209
+ title: string;
210
+ warning: string;
211
+ cancelTxt: string;
212
+ errorTitleAlreadyRegistered: string;
213
+ errorDescriptionAlreadyRegistered: string;
214
+ errorTitle: string;
215
+ errorDescription: string;
216
+ };
217
+ smartLogin: {
218
+ title: string;
219
+ signIn: string;
220
+ continueAs: string;
221
+ };
222
+ smartPay: {
223
+ pay: string;
224
+ paypay: string;
225
+ cashback: string;
226
+ };
227
+ cashbackList: {
228
+ close: string;
229
+ };
230
+ desktopTitle: {
231
+ Payment: string;
232
+ addNewAddress: string;
233
+ editAddress: string;
234
+ paymentCompletion: string;
235
+ getUserAddress: string;
236
+ };
237
+ closeConfirmation: {
238
+ title: string;
239
+ confirm: string;
240
+ cancel: string;
241
+ };
242
+ };
9
243
  }, {}, {
10
244
  takePhotoCamera(): void;
11
245
  takePhotoAlbum(): void;
@@ -15,11 +249,11 @@ declare const _default: import("vue").DefineComponent<{
15
249
  takePhotoParams?: unknown;
16
250
  } & {
17
251
  show: boolean;
18
- takePhotoParams: Record<string, any>;
252
+ takePhotoParams: TakePhotoParams;
19
253
  } & {}> & {
20
- onClick?: (...args: any[]) => any;
254
+ onClick?: ((...args: any[]) => any) | undefined;
21
255
  }, {
22
256
  show: boolean;
23
- takePhotoParams: Record<string, any>;
257
+ takePhotoParams: TakePhotoParams;
24
258
  }>;
25
259
  export default _default;
@@ -1,10 +1,14 @@
1
1
  import { PropType } from 'vue';
2
+ import { TopupResponseData } from '../../utils/api';
2
3
  import { TopupParams } from '../../types';
4
+ import { MiniAppErrorType } from '../../model/miniAppError';
3
5
  import { AnimationItem } from 'lottie-web';
6
+ import { PaymentMethod as TPaymentMethod } from '../../model/makePayment';
7
+ import { UIComponentsErrorButton } from '../../model/uiComponents';
4
8
  declare const _default: import("vue").DefineComponent<{
5
9
  show: BooleanConstructor;
6
10
  topupParams: {
7
- type: PropType<TopupParams>;
11
+ type: PropType<TopupParams | null>;
8
12
  default: () => {};
9
13
  };
10
14
  }, unknown, {
@@ -13,21 +17,22 @@ declare const _default: import("vue").DefineComponent<{
13
17
  errorShow: boolean;
14
18
  errorOverlay: boolean;
15
19
  errorInfo: {
16
- iconUrl: any;
20
+ iconUrl: string;
17
21
  title: string;
18
22
  desc: string;
23
+ buttonList: UIComponentsErrorButton[] | null;
19
24
  };
20
25
  done: boolean;
21
26
  complete: boolean;
22
27
  isDuplicate: boolean;
23
28
  bannerInfo: boolean;
24
- topupHalfSheetAmount: any[];
25
- topupButtonsAmount: any[];
29
+ topupHalfSheetAmount: number[];
30
+ topupButtonsAmount: number[];
26
31
  completionData: {
27
- unsignedData: {};
32
+ unsignedData: TopupResponseData | null;
28
33
  jws: string;
29
34
  };
30
- errorCode: string;
35
+ errorCode: MiniAppErrorType;
31
36
  jws: string;
32
37
  bannerInfoVisible: boolean;
33
38
  isInput: boolean;
@@ -40,26 +45,307 @@ declare const _default: import("vue").DefineComponent<{
40
45
  fixCashbackBalance: number;
41
46
  isSelectMoreMoney: boolean;
42
47
  isSelectPaymentMethod: boolean;
43
- paymentMethodList: any[];
44
- selectedPaymentMethod: {
45
- paymentMethodType: string;
46
- paymentMethodId: number;
47
- descriptionBannerInfo: {};
48
- };
48
+ paymentMethodList: TPaymentMethod[];
49
+ selectedPaymentMethod: TPaymentMethod | null;
49
50
  selectPaymentIndex: number;
50
51
  bankAccountType: {
51
52
  ORDINARY: string;
52
53
  };
53
- lottieAnim: any;
54
+ lottieAnim: AnimationItem | null;
54
55
  footerposition: boolean;
55
56
  cashbackData: {};
56
- lg: any;
57
- images: any;
57
+ lg: {
58
+ showUpdateWarning: {
59
+ closeBtn: string;
60
+ notNow: string;
61
+ update: string;
62
+ title: string;
63
+ errorText: string;
64
+ desc1: string;
65
+ desc2: string;
66
+ };
67
+ openApp: {
68
+ title: string;
69
+ body: string;
70
+ errorText: string;
71
+ openApp: string;
72
+ cancel: string;
73
+ };
74
+ openMap: {
75
+ title: string;
76
+ errorText: string;
77
+ };
78
+ topup: {
79
+ title: string;
80
+ balMoney: string;
81
+ charge: string;
82
+ minAmount: string;
83
+ maxAmount: string;
84
+ moneyLabel: string;
85
+ noMethod: string;
86
+ loading: string;
87
+ payBtn: string;
88
+ availableBalance: string;
89
+ availableBalanceAfter: string;
90
+ allBalance: string;
91
+ };
92
+ takePhoto: {
93
+ camera: string;
94
+ photo: string;
95
+ };
96
+ payment: {
97
+ title: string;
98
+ payAmount: string;
99
+ payAmountTaxExempt: string;
100
+ method: string;
101
+ address: string;
102
+ insufficientAmount: string;
103
+ paying: string;
104
+ pay: string;
105
+ charge: string;
106
+ cancel: string;
107
+ noAddress: string;
108
+ change: string;
109
+ close: string;
110
+ };
111
+ duplicate: {
112
+ header: string;
113
+ text1: string;
114
+ text2: string;
115
+ cancel: string;
116
+ agreeButtonText: string;
117
+ topHeader: string;
118
+ topText1: string;
119
+ topText2: string;
120
+ topAgreeButtonText: string;
121
+ };
122
+ birthdayConfirm: {
123
+ title: string;
124
+ title2: string;
125
+ desc: string;
126
+ desc1: string;
127
+ desc2: string;
128
+ desc3: string;
129
+ date: string;
130
+ primaryBtn: string;
131
+ cancelBtn: string;
132
+ };
133
+ birthdayConfirmError: {
134
+ title: string;
135
+ title2: string;
136
+ desc: string;
137
+ desc2: string;
138
+ helpBtn: string;
139
+ closeBtn: string;
140
+ };
141
+ cashbackDet: {
142
+ button1: string;
143
+ button2: string;
144
+ button3: string;
145
+ };
146
+ topContent: {
147
+ title: string;
148
+ chargeTitle: string;
149
+ chargeLabel: string;
150
+ loading: string;
151
+ unavailable1: string;
152
+ unavailable2: string;
153
+ amount: string;
154
+ return: string;
155
+ };
156
+ topInfo: {
157
+ sufficientRow: string;
158
+ insufficientAmount: string;
159
+ insufficientAmountText: string;
160
+ paymentAmount: string;
161
+ };
162
+ choosePayment: {
163
+ title: string;
164
+ desc1: string;
165
+ desc2: string;
166
+ title2: string;
167
+ addMethod: string;
168
+ noMethod: string;
169
+ };
170
+ topupCompletion: {
171
+ title: string;
172
+ idInfo: string;
173
+ copied: string;
174
+ };
175
+ userAddress: {
176
+ title: string;
177
+ header: string;
178
+ tagForm: string;
179
+ home: string;
180
+ work: string;
181
+ billing: string;
182
+ footer: string;
183
+ titlePre: string;
184
+ titleApp: string;
185
+ titlePlace: string;
186
+ receiverPre: string;
187
+ receiverPlace: string;
188
+ inputPre: string;
189
+ statePre: string;
190
+ statePlace: string;
191
+ cityPre: string;
192
+ cityPlace: string;
193
+ street1Pre: string;
194
+ streetPlace: string;
195
+ street2Pre: string;
196
+ street2Place: string;
197
+ footerBtn1: string;
198
+ footerBtn2: string;
199
+ displayTitle: string;
200
+ deleteTitle: string;
201
+ delete: string;
202
+ close: string;
203
+ addAddress: string;
204
+ address: string;
205
+ return: string;
206
+ change: string;
207
+ noAddress: string;
208
+ registerAddress: string;
209
+ confirmAddress: string;
210
+ returnEdit: string;
211
+ selectAddress: string;
212
+ selectDeliveryAddress: string;
213
+ };
214
+ errorSheet: {
215
+ title: string;
216
+ title1: string;
217
+ desc: string;
218
+ topup: string;
219
+ topupDesc: string;
220
+ pay: string;
221
+ payDesc: string;
222
+ };
223
+ paymentMethod: {
224
+ expired: string;
225
+ ordinary: string;
226
+ current: string;
227
+ checkGreen: string;
228
+ authenticated: string;
229
+ yjTitle: string;
230
+ ppCardTitle: string;
231
+ brand: string;
232
+ };
233
+ paymentMethodStatus: {
234
+ ACTIVATED: string;
235
+ OFF: string;
236
+ APPLYING: string;
237
+ MAINTENANCE: string;
238
+ BUSY: string;
239
+ SUSPENDED: string;
240
+ };
241
+ wallet: {
242
+ title: string;
243
+ desc: string;
244
+ eMoney: string;
245
+ nonUsable: string;
246
+ cashBackUsable: string;
247
+ cashBackExpirable: string;
248
+ balance: string;
249
+ };
250
+ softbank: {
251
+ desc: string;
252
+ desc1: string;
253
+ isDisable: string;
254
+ };
255
+ registerEmail: {
256
+ title: string;
257
+ warning: string;
258
+ cancelTxt: string;
259
+ errorTitleAlreadyRegistered: string;
260
+ errorDescriptionAlreadyRegistered: string;
261
+ errorTitle: string;
262
+ errorDescription: string;
263
+ };
264
+ smartLogin: {
265
+ title: string;
266
+ signIn: string;
267
+ continueAs: string;
268
+ };
269
+ smartPay: {
270
+ pay: string;
271
+ paypay: string;
272
+ cashback: string;
273
+ };
274
+ cashbackList: {
275
+ close: string;
276
+ };
277
+ desktopTitle: {
278
+ Payment: string;
279
+ addNewAddress: string;
280
+ editAddress: string;
281
+ paymentCompletion: string;
282
+ getUserAddress: string;
283
+ };
284
+ closeConfirmation: {
285
+ title: string;
286
+ confirm: string;
287
+ cancel: string;
288
+ };
289
+ };
290
+ images: {
291
+ iconBalanceError: string;
292
+ animationDone: string;
293
+ merchant: string;
294
+ cashback: string;
295
+ iconCopy: string;
296
+ iconError: string;
297
+ iconOpenApp: string;
298
+ iconAppUpdate: string;
299
+ iconBackArrow: string;
300
+ paypay: string;
301
+ copyIcon: string;
302
+ jcb: string;
303
+ visa: string;
304
+ master: string;
305
+ amex: string;
306
+ iconAlert: string;
307
+ checkGreen: string;
308
+ yahoo: string;
309
+ ppCard: string;
310
+ softbank: string;
311
+ iconBirthday: string;
312
+ iconMinorAge: string;
313
+ iconClose: string;
314
+ myOffer: string;
315
+ lightBlue: string;
316
+ iconBalanceIcon: string;
317
+ share: string;
318
+ rightArrow: string;
319
+ iconGrayError: string;
320
+ paypayRec: string;
321
+ paypayRecWhite: string;
322
+ downArrow: string;
323
+ bankIcon: string;
324
+ confetti: string;
325
+ };
58
326
  isFirstLoad: boolean;
59
327
  }, {
60
328
  getfooterclass(): string;
61
- getClassContainer(): string;
62
- descriptionBannerInfo(): any;
329
+ descriptionBannerInfo(): {
330
+ label?: string | undefined;
331
+ title?: string | undefined;
332
+ iconImageUrl?: string | undefined;
333
+ displayResponse?: {
334
+ title: string;
335
+ buttonList: {
336
+ nativeAction: string;
337
+ title: string;
338
+ actionType: import("../../model/uiComponents").UIComponentsButtonActionType;
339
+ buttonType: import("../../model/uiComponents").UIComponentsButtonType;
340
+ deeplink?: string | undefined;
341
+ googleAnalyticsInfo: unknown;
342
+ type: unknown;
343
+ }[];
344
+ iconUrl?: string | undefined;
345
+ description: string;
346
+ canCloseByOutsideTap: boolean;
347
+ } | undefined;
348
+ } | undefined;
63
349
  disablePaymentBtn(): boolean;
64
350
  getTopHeight(): {
65
351
  height: string;
@@ -75,16 +361,16 @@ declare const _default: import("vue").DefineComponent<{
75
361
  togglePosition(toggle: boolean): void;
76
362
  checkValidAmount(): void;
77
363
  showBannerInfo(): void;
78
- bannerBtnClick(item: any, index: number): void;
364
+ bannerBtnClick(item: UIComponentsErrorButton, index: number): void;
79
365
  backToHome(): void;
80
366
  selectMoreMoney(): void;
81
367
  togglePaymentMethod(value: boolean): void;
82
368
  setCurrentMoney(price: number): void;
83
- selectPaymentMethod(index: any): void;
369
+ selectPaymentMethod(index: number): void;
84
370
  duplicateShallowCancel(): void;
85
371
  duplicateCancel(): void;
86
372
  completed(): void;
87
- clickTopup(agreeSimilarTransaction: boolean): Promise<any>;
373
+ clickTopup(agreeSimilarTransaction: boolean): Promise<null | undefined>;
88
374
  showError(): void;
89
375
  closeErrorSheet(): void;
90
376
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
@@ -92,11 +378,11 @@ declare const _default: import("vue").DefineComponent<{
92
378
  topupParams?: unknown;
93
379
  } & {
94
380
  show: boolean;
95
- topupParams: TopupParams;
381
+ topupParams: TopupParams | null;
96
382
  } & {}> & {
97
- onClick?: (...args: any[]) => any;
383
+ onClick?: ((...args: any[]) => any) | undefined;
98
384
  }, {
99
385
  show: boolean;
100
- topupParams: TopupParams;
386
+ topupParams: TopupParams | null;
101
387
  }>;
102
388
  export default _default;
@@ -1,23 +1,27 @@
1
+ import { PropType } from 'vue';
2
+ import { PaymentMethod } from '../../model/makePayment';
3
+ import { UIComponentsErrorButton } from '../../model/uiComponents';
1
4
  declare const _default: import("vue").DefineComponent<{
2
5
  selectedPaymentMethod: {
3
- type: ObjectConstructor;
4
- default: () => void;
5
- required: true;
6
+ type: PropType<PaymentMethod | null>;
7
+ default: null;
8
+ required: false;
9
+ validator: (value: PaymentMethod | null) => boolean;
6
10
  };
7
11
  }, {
8
- iconUrl: import("vue").ComputedRef<any>;
9
- title: import("vue").ComputedRef<any>;
10
- description: import("vue").ComputedRef<any>;
11
- buttonList: import("vue").ComputedRef<any>;
12
- click: (item: any, index: number) => void;
12
+ iconUrl: import("vue").ComputedRef<string | undefined>;
13
+ title: import("vue").ComputedRef<string | undefined>;
14
+ description: import("vue").ComputedRef<string | undefined>;
15
+ buttonList: import("vue").ComputedRef<UIComponentsErrorButton[] | undefined>;
16
+ click: (item: UIComponentsErrorButton, index: number) => void;
13
17
  style: Record<string, string>;
14
18
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
15
19
  selectedPaymentMethod?: unknown;
16
20
  } & {
17
- selectedPaymentMethod: Record<string, any>;
21
+ selectedPaymentMethod: PaymentMethod | null;
18
22
  } & {}> & {
19
- onClick?: (...args: any[]) => any;
23
+ onClick?: ((...args: any[]) => any) | undefined;
20
24
  }, {
21
- selectedPaymentMethod: Record<string, any>;
25
+ selectedPaymentMethod: PaymentMethod | null;
22
26
  }>;
23
27
  export default _default;