@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,9 +1,10 @@
1
1
  import { PropType } from 'vue';
2
- import { AppDetail } from '../../../../types';
3
- import { IMG_TYPE } from '../../../../utils/getImages';
4
2
  declare const _default: import("vue").DefineComponent<{
5
3
  appDetail: {
6
- type: PropType<AppDetail>;
4
+ type: PropType<{
5
+ appName: string;
6
+ appLogo: string;
7
+ }>;
7
8
  required: true;
8
9
  default: () => {};
9
10
  };
@@ -28,8 +29,277 @@ declare const _default: import("vue").DefineComponent<{
28
29
  formatPrice: import("vue").ComputedRef<string>;
29
30
  formatBalance: import("vue").ComputedRef<string>;
30
31
  formatInsufficientAmount: import("vue").ComputedRef<string>;
31
- images: IMG_TYPE;
32
- lg: unknown;
32
+ images: {
33
+ iconBalanceError: string;
34
+ animationDone: string;
35
+ merchant: string;
36
+ cashback: string;
37
+ iconCopy: string;
38
+ iconError: string;
39
+ iconOpenApp: string;
40
+ iconAppUpdate: string;
41
+ iconBackArrow: string;
42
+ paypay: string;
43
+ copyIcon: string;
44
+ jcb: string;
45
+ visa: string;
46
+ master: string;
47
+ amex: string;
48
+ iconAlert: string;
49
+ checkGreen: string;
50
+ yahoo: string;
51
+ ppCard: string;
52
+ softbank: string;
53
+ iconBirthday: string;
54
+ iconMinorAge: string;
55
+ iconClose: string;
56
+ myOffer: string;
57
+ lightBlue: string;
58
+ iconBalanceIcon: string;
59
+ share: string;
60
+ rightArrow: string;
61
+ iconGrayError: string;
62
+ paypayRec: string;
63
+ paypayRecWhite: string;
64
+ downArrow: string;
65
+ bankIcon: string;
66
+ confetti: string;
67
+ };
68
+ lg: {
69
+ showUpdateWarning: {
70
+ closeBtn: string;
71
+ notNow: string;
72
+ update: string;
73
+ title: string;
74
+ errorText: string;
75
+ desc1: string;
76
+ desc2: string;
77
+ };
78
+ openApp: {
79
+ title: string;
80
+ body: string;
81
+ errorText: string;
82
+ openApp: string;
83
+ cancel: string;
84
+ };
85
+ openMap: {
86
+ title: string;
87
+ errorText: string;
88
+ };
89
+ topup: {
90
+ title: string;
91
+ balMoney: string;
92
+ charge: string;
93
+ minAmount: string;
94
+ maxAmount: string;
95
+ moneyLabel: string;
96
+ noMethod: string;
97
+ loading: string;
98
+ payBtn: string;
99
+ availableBalance: string;
100
+ availableBalanceAfter: string;
101
+ allBalance: string;
102
+ };
103
+ takePhoto: {
104
+ camera: string;
105
+ photo: string;
106
+ };
107
+ payment: {
108
+ title: string;
109
+ payAmount: string;
110
+ payAmountTaxExempt: string;
111
+ method: string;
112
+ address: string;
113
+ insufficientAmount: string;
114
+ paying: string;
115
+ pay: string;
116
+ charge: string;
117
+ cancel: string;
118
+ noAddress: string;
119
+ change: string;
120
+ close: string;
121
+ };
122
+ duplicate: {
123
+ header: string;
124
+ text1: string;
125
+ text2: string;
126
+ cancel: string;
127
+ agreeButtonText: string;
128
+ topHeader: string;
129
+ topText1: string;
130
+ topText2: string;
131
+ topAgreeButtonText: string;
132
+ };
133
+ birthdayConfirm: {
134
+ title: string;
135
+ title2: string;
136
+ desc: string;
137
+ desc1: string;
138
+ desc2: string;
139
+ desc3: string;
140
+ date: string;
141
+ primaryBtn: string;
142
+ cancelBtn: string;
143
+ };
144
+ birthdayConfirmError: {
145
+ title: string;
146
+ title2: string;
147
+ desc: string;
148
+ desc2: string;
149
+ helpBtn: string;
150
+ closeBtn: string;
151
+ };
152
+ cashbackDet: {
153
+ button1: string;
154
+ button2: string;
155
+ button3: string;
156
+ };
157
+ topContent: {
158
+ title: string;
159
+ chargeTitle: string;
160
+ chargeLabel: string;
161
+ loading: string;
162
+ unavailable1: string;
163
+ unavailable2: string;
164
+ amount: string;
165
+ return: string;
166
+ };
167
+ topInfo: {
168
+ sufficientRow: string;
169
+ insufficientAmount: string;
170
+ insufficientAmountText: string;
171
+ paymentAmount: string;
172
+ };
173
+ choosePayment: {
174
+ title: string;
175
+ desc1: string;
176
+ desc2: string;
177
+ title2: string;
178
+ addMethod: string;
179
+ noMethod: string;
180
+ };
181
+ topupCompletion: {
182
+ title: string;
183
+ idInfo: string;
184
+ copied: string;
185
+ };
186
+ userAddress: {
187
+ title: string;
188
+ header: string;
189
+ tagForm: string;
190
+ home: string;
191
+ work: string;
192
+ billing: string;
193
+ footer: string;
194
+ titlePre: string;
195
+ titleApp: string;
196
+ titlePlace: string;
197
+ receiverPre: string;
198
+ receiverPlace: string;
199
+ inputPre: string;
200
+ statePre: string;
201
+ statePlace: string;
202
+ cityPre: string;
203
+ cityPlace: string;
204
+ street1Pre: string;
205
+ streetPlace: string;
206
+ street2Pre: string;
207
+ street2Place: string;
208
+ footerBtn1: string;
209
+ footerBtn2: string;
210
+ displayTitle: string;
211
+ deleteTitle: string;
212
+ delete: string;
213
+ close: string;
214
+ addAddress: string;
215
+ address: string;
216
+ return: string;
217
+ change: string;
218
+ noAddress: string;
219
+ registerAddress: string;
220
+ confirmAddress: string;
221
+ returnEdit: string;
222
+ selectAddress: string;
223
+ selectDeliveryAddress: string;
224
+ };
225
+ errorSheet: {
226
+ title: string;
227
+ title1: string;
228
+ desc: string;
229
+ topup: string;
230
+ topupDesc: string;
231
+ pay: string;
232
+ payDesc: string;
233
+ };
234
+ paymentMethod: {
235
+ expired: string;
236
+ ordinary: string;
237
+ current: string;
238
+ checkGreen: string;
239
+ authenticated: string;
240
+ yjTitle: string;
241
+ ppCardTitle: string;
242
+ brand: string;
243
+ };
244
+ paymentMethodStatus: {
245
+ ACTIVATED: string;
246
+ OFF: string;
247
+ APPLYING: string;
248
+ MAINTENANCE: string;
249
+ BUSY: string;
250
+ SUSPENDED: string;
251
+ };
252
+ wallet: {
253
+ title: string;
254
+ desc: string;
255
+ eMoney: string;
256
+ nonUsable: string;
257
+ cashBackUsable: string;
258
+ cashBackExpirable: string;
259
+ balance: string;
260
+ };
261
+ softbank: {
262
+ desc: string;
263
+ desc1: string;
264
+ isDisable: string;
265
+ };
266
+ registerEmail: {
267
+ title: string;
268
+ warning: string;
269
+ cancelTxt: string;
270
+ errorTitleAlreadyRegistered: string;
271
+ errorDescriptionAlreadyRegistered: string;
272
+ errorTitle: string;
273
+ errorDescription: string;
274
+ };
275
+ smartLogin: {
276
+ title: string;
277
+ signIn: string;
278
+ continueAs: string;
279
+ };
280
+ smartPay: {
281
+ pay: string;
282
+ paypay: string;
283
+ cashback: string;
284
+ };
285
+ cashbackList: {
286
+ close: string;
287
+ };
288
+ desktopTitle: {
289
+ Payment: string;
290
+ addNewAddress: string;
291
+ editAddress: string;
292
+ paymentCompletion: string;
293
+ getUserAddress: string;
294
+ };
295
+ closeConfirmation: {
296
+ title: string;
297
+ confirm: string;
298
+ cancel: string;
299
+ };
300
+ };
301
+ isMobile: import("vue").ComputedRef<boolean>;
302
+ isDesktop: import("vue").ComputedRef<boolean>;
33
303
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
34
304
  appDetail?: unknown;
35
305
  price?: unknown;
@@ -37,12 +307,18 @@ declare const _default: import("vue").DefineComponent<{
37
307
  insufficientAmount?: unknown;
38
308
  } & {
39
309
  price: number;
40
- appDetail: AppDetail;
310
+ appDetail: {
311
+ appName: string;
312
+ appLogo: string;
313
+ };
41
314
  balance: number;
42
315
  insufficientAmount: number;
43
316
  } & {}>, {
44
317
  price: number;
45
- appDetail: AppDetail;
318
+ appDetail: {
319
+ appName: string;
320
+ appLogo: string;
321
+ };
46
322
  balance: number;
47
323
  insufficientAmount: number;
48
324
  }>;