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