@paypay/mini-app-js-sdk 1.22.0 → 1.26.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 (104) hide show
  1. package/dist/composition-api/useInpuAddress.d.ts +1 -1
  2. package/dist/jsbridge-core/jsbridge.d.ts +1 -1
  3. package/dist/mini-app-js-sdk.browser.js +1 -1
  4. package/dist/mini-app-js-sdk.es.js +1617 -1349
  5. package/dist/mini-app-js-sdk.min.css +1 -1
  6. package/dist/model/bridge/checkAccessToken.d.ts +1 -1
  7. package/dist/model/bridge/closeApp.d.ts +1 -1
  8. package/dist/model/bridge/copyToClipboard.d.ts +1 -1
  9. package/dist/model/bridge/debug.d.ts +1 -1
  10. package/dist/model/bridge/getAppDetail.d.ts +1 -1
  11. package/dist/model/bridge/getConfigure.d.ts +2 -1
  12. package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
  13. package/dist/model/bridge/getSessionData.d.ts +1 -1
  14. package/dist/model/bridge/getStorageData.d.ts +1 -1
  15. package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
  16. package/dist/model/bridge/getUAID.d.ts +1 -1
  17. package/dist/model/bridge/getUserAddress.d.ts +1 -1
  18. package/dist/model/bridge/inputAddress.d.ts +1 -1
  19. package/dist/model/bridge/logout.d.ts +1 -1
  20. package/dist/model/bridge/openApp.d.ts +1 -1
  21. package/dist/model/bridge/openMap.d.ts +1 -1
  22. package/dist/model/bridge/openWebview.d.ts +1 -1
  23. package/dist/model/bridge/registerEmail.d.ts +1 -1
  24. package/dist/model/bridge/registerKyc.d.ts +1 -1
  25. package/dist/model/bridge/removeStorageData.d.ts +1 -1
  26. package/dist/model/bridge/render.d.ts +1 -1
  27. package/dist/model/bridge/renderLoginButton.d.ts +1 -1
  28. package/dist/model/bridge/renderPayButton.d.ts +1 -1
  29. package/dist/model/bridge/scanCode.d.ts +1 -1
  30. package/dist/model/bridge/setSessionData.d.ts +1 -1
  31. package/dist/model/bridge/setStorageData.d.ts +1 -1
  32. package/dist/model/bridge/setTitle.d.ts +1 -1
  33. package/dist/model/bridge/showAlert.d.ts +1 -1
  34. package/dist/model/bridge/showErrorSheet.d.ts +1 -1
  35. package/dist/model/bridge/showUpdateWarning.d.ts +1 -1
  36. package/dist/model/makePayment.d.ts +21 -8
  37. package/dist/package/charge-amount-list/index.vue.d.ts +27 -2
  38. package/dist/package/desktop-header/index.d.ts +3 -3
  39. package/dist/package/input/index.d.ts +0 -16
  40. package/dist/package/input/utils.d.ts +0 -4
  41. package/dist/package/overlay/index.d.ts +4 -3
  42. package/dist/package/payment-method/Bank.vue.d.ts +1 -1
  43. package/dist/package/payment-method/CreditCard.vue.d.ts +1 -1
  44. package/dist/package/payment-method/SbidBank.vue.d.ts +10 -1
  45. package/dist/package/payment-method/Wallet.vue.d.ts +9 -0
  46. package/dist/package/payment-type/Sbid.vue.d.ts +9 -0
  47. package/dist/package/payment-type/Wallet.vue.d.ts +9 -0
  48. package/dist/package/select-list/Components.d.ts +28 -0
  49. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +9 -0
  50. package/dist/types.d.ts +4 -3
  51. package/dist/utils/api.d.ts +19 -9
  52. package/dist/utils/create/bem.d.ts +1 -1
  53. package/dist/utils/create/index.d.ts +1 -1
  54. package/dist/utils/fetch.d.ts +44 -3
  55. package/dist/utils/getLanguage.d.ts +9 -0
  56. package/dist/utils/helper.d.ts +7 -2
  57. package/dist/utils/miniAppRequest.d.ts +2 -1
  58. package/dist/utils/popstateHandler.d.ts +2 -1
  59. package/dist/views/email-registration/App.vue.d.ts +11 -2
  60. package/dist/views/error-sheet/Index.vue.d.ts +9 -0
  61. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +9 -2
  62. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +9 -0
  63. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +9 -0
  64. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +9 -0
  65. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +24 -9
  66. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +9 -0
  67. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +26 -3
  68. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +10 -1
  69. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +9 -0
  70. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +9 -0
  71. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +9 -0
  72. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +9 -0
  73. package/dist/views/input-address/App.vue.d.ts +1 -1
  74. package/dist/views/input-address/hook/app.d.ts +3 -2
  75. package/dist/views/input-address/hook/error-handle.d.ts +10 -3
  76. package/dist/views/make-payment/Main.vue.d.ts +4 -2
  77. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +9 -0
  78. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +9 -0
  79. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +9 -0
  80. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +9 -0
  81. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +1 -0
  82. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +10 -1
  83. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +9 -0
  84. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +17 -0
  85. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +17 -5
  86. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +32 -12
  87. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +9 -0
  88. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +9 -0
  89. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +9 -0
  90. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +9 -0
  91. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +10 -1
  92. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +9 -0
  93. package/dist/views/make-payment/hooks/app-hooks.d.ts +14 -10
  94. package/dist/views/make-payment/hooks/ui-hooks.d.ts +3 -4
  95. package/dist/views/make-payment/store/root.d.ts +1 -1
  96. package/dist/views/open-app/App.vue.d.ts +14 -3
  97. package/dist/views/open-map/App.vue.d.ts +15 -4
  98. package/dist/views/show-update-warning/App.vue.d.ts +14 -3
  99. package/dist/views/smart-button/App.vue.d.ts +1 -1
  100. package/dist/views/take-photo/App.vue.d.ts +14 -3
  101. package/dist/views/topup/App.vue.d.ts +17 -7
  102. package/dist/views/topup/CashbackInfo.vue.d.ts +9 -0
  103. package/dist/views/topup/TopupCompletion.vue.d.ts +17 -6
  104. package/package.json +4 -2
@@ -163,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
163
163
  confirmAddress: string;
164
164
  returnEdit: string;
165
165
  selectAddress: string;
166
+ selectDeliveryAddress: string;
166
167
  };
167
168
  errorSheet: {
168
169
  title: string;
@@ -183,6 +184,14 @@ declare const _default: import("vue").DefineComponent<{
183
184
  ppCardTitle: string;
184
185
  brand: string;
185
186
  };
187
+ paymentMethodStatus: {
188
+ ACTIVATED: string;
189
+ OFF: string;
190
+ APPLYING: string;
191
+ MAINTENANCE: string;
192
+ BUSY: string;
193
+ SUSPENDED: string;
194
+ };
186
195
  wallet: {
187
196
  title: string;
188
197
  desc: string;
@@ -163,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
163
163
  confirmAddress: string;
164
164
  returnEdit: string;
165
165
  selectAddress: string;
166
+ selectDeliveryAddress: string;
166
167
  };
167
168
  errorSheet: {
168
169
  title: string;
@@ -183,6 +184,14 @@ declare const _default: import("vue").DefineComponent<{
183
184
  ppCardTitle: string;
184
185
  brand: string;
185
186
  };
187
+ paymentMethodStatus: {
188
+ ACTIVATED: string;
189
+ OFF: string;
190
+ APPLYING: string;
191
+ MAINTENANCE: string;
192
+ BUSY: string;
193
+ SUSPENDED: string;
194
+ };
186
195
  wallet: {
187
196
  title: string;
188
197
  desc: string;
@@ -200,6 +200,7 @@ declare const _default: import("vue").DefineComponent<{
200
200
  confirmAddress: string;
201
201
  returnEdit: string;
202
202
  selectAddress: string;
203
+ selectDeliveryAddress: string;
203
204
  };
204
205
  errorSheet: {
205
206
  title: string;
@@ -220,6 +221,14 @@ declare const _default: import("vue").DefineComponent<{
220
221
  ppCardTitle: string;
221
222
  brand: string;
222
223
  };
224
+ paymentMethodStatus: {
225
+ ACTIVATED: string;
226
+ OFF: string;
227
+ APPLYING: string;
228
+ MAINTENANCE: string;
229
+ BUSY: string;
230
+ SUSPENDED: string;
231
+ };
223
232
  wallet: {
224
233
  title: string;
225
234
  desc: string;
@@ -197,6 +197,7 @@ declare const _default: import("vue").DefineComponent<{
197
197
  confirmAddress: string;
198
198
  returnEdit: string;
199
199
  selectAddress: string;
200
+ selectDeliveryAddress: string;
200
201
  };
201
202
  errorSheet: {
202
203
  title: string;
@@ -217,6 +218,14 @@ declare const _default: import("vue").DefineComponent<{
217
218
  ppCardTitle: string;
218
219
  brand: string;
219
220
  };
221
+ paymentMethodStatus: {
222
+ ACTIVATED: string;
223
+ OFF: string;
224
+ APPLYING: string;
225
+ MAINTENANCE: string;
226
+ BUSY: string;
227
+ SUSPENDED: string;
228
+ };
220
229
  wallet: {
221
230
  title: string;
222
231
  desc: string;
@@ -3,6 +3,7 @@ import { CashBackDetail, CashBackDetailAnimation } from '../../../../model/makeP
3
3
  import { RenderType } from './../../../../types';
4
4
  export declare type Props = {
5
5
  cashBackDetail: CashBackDetail | null;
6
+ paymentId: string;
6
7
  };
7
8
  export declare function useData(props: Props): {
8
9
  animation: ComputedRef<CashBackDetailAnimation>;
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  openCampaignDetail: () => void;
28
28
  showCampaignHome: import("vue").ComputedRef<boolean>;
29
29
  openCampaignHome: () => void;
30
- showShare: import("vue").ComputedRef<boolean | ((data?: ShareData | undefined) => Promise<void>)>;
30
+ showShare: import("vue").ComputedRef<boolean>;
31
31
  openShare: () => void;
32
32
  post: (dateValue: string) => Promise<void>;
33
33
  showAgeConfirmFail: import("vue").ComputedRef<boolean>;
@@ -229,6 +229,7 @@ declare const _default: import("vue").DefineComponent<{
229
229
  confirmAddress: string;
230
230
  returnEdit: string;
231
231
  selectAddress: string;
232
+ selectDeliveryAddress: string;
232
233
  };
233
234
  errorSheet: {
234
235
  title: string;
@@ -249,6 +250,14 @@ declare const _default: import("vue").DefineComponent<{
249
250
  ppCardTitle: string;
250
251
  brand: string;
251
252
  };
253
+ paymentMethodStatus: {
254
+ ACTIVATED: string;
255
+ OFF: string;
256
+ APPLYING: string;
257
+ MAINTENANCE: string;
258
+ BUSY: string;
259
+ SUSPENDED: string;
260
+ };
252
261
  wallet: {
253
262
  title: string;
254
263
  desc: string;
@@ -178,6 +178,7 @@ declare const _default: import("vue").DefineComponent<{
178
178
  confirmAddress: string;
179
179
  returnEdit: string;
180
180
  selectAddress: string;
181
+ selectDeliveryAddress: string;
181
182
  };
182
183
  errorSheet: {
183
184
  title: string;
@@ -198,6 +199,14 @@ declare const _default: import("vue").DefineComponent<{
198
199
  ppCardTitle: string;
199
200
  brand: string;
200
201
  };
202
+ paymentMethodStatus: {
203
+ ACTIVATED: string;
204
+ OFF: string;
205
+ APPLYING: string;
206
+ MAINTENANCE: string;
207
+ BUSY: string;
208
+ SUSPENDED: string;
209
+ };
201
210
  wallet: {
202
211
  title: string;
203
212
  desc: string;
@@ -70,6 +70,11 @@ declare const _default: import("vue").DefineComponent<{
70
70
  required: false;
71
71
  default: () => void;
72
72
  };
73
+ halfsheetAmount: {
74
+ type: PropType<number[]>;
75
+ default: () => number[];
76
+ required: false;
77
+ };
73
78
  }, {
74
79
  style: Record<string, string>;
75
80
  setMoney: (price: number) => void;
@@ -272,6 +277,7 @@ declare const _default: import("vue").DefineComponent<{
272
277
  confirmAddress: string;
273
278
  returnEdit: string;
274
279
  selectAddress: string;
280
+ selectDeliveryAddress: string;
275
281
  };
276
282
  errorSheet: {
277
283
  title: string;
@@ -292,6 +298,14 @@ declare const _default: import("vue").DefineComponent<{
292
298
  ppCardTitle: string;
293
299
  brand: string;
294
300
  };
301
+ paymentMethodStatus: {
302
+ ACTIVATED: string;
303
+ OFF: string;
304
+ APPLYING: string;
305
+ MAINTENANCE: string;
306
+ BUSY: string;
307
+ SUSPENDED: string;
308
+ };
295
309
  wallet: {
296
310
  title: string;
297
311
  desc: string;
@@ -376,6 +390,7 @@ declare const _default: import("vue").DefineComponent<{
376
390
  showUserAddress?: unknown;
377
391
  addresses?: unknown;
378
392
  selectedAddress?: unknown;
393
+ halfsheetAmount?: unknown;
379
394
  } & {
380
395
  containerClass: string;
381
396
  done: boolean;
@@ -389,6 +404,7 @@ declare const _default: import("vue").DefineComponent<{
389
404
  showUserAddress: boolean;
390
405
  isScrollable: boolean;
391
406
  topupAmountText: string;
407
+ halfsheetAmount: number[];
392
408
  amountButtons: number[];
393
409
  available: boolean;
394
410
  } & {}> & {
@@ -417,6 +433,7 @@ declare const _default: import("vue").DefineComponent<{
417
433
  showUserAddress: boolean;
418
434
  isScrollable: boolean;
419
435
  topupAmountText: string;
436
+ halfsheetAmount: number[];
420
437
  amountButtons: number[];
421
438
  }>;
422
439
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { PropType } from 'vue';
2
- import { AppDetail } from '../../../../types';
3
2
  declare const _default: import("vue").DefineComponent<{
4
3
  appDetail: {
5
- type: PropType<AppDetail>;
4
+ type: PropType<{
5
+ appName: string;
6
+ appLogo: string | null;
7
+ }>;
6
8
  required: true;
7
- default: () => {};
8
9
  };
9
10
  price: {
10
11
  type: NumberConstructor;
@@ -218,6 +219,7 @@ declare const _default: import("vue").DefineComponent<{
218
219
  confirmAddress: string;
219
220
  returnEdit: string;
220
221
  selectAddress: string;
222
+ selectDeliveryAddress: string;
221
223
  };
222
224
  errorSheet: {
223
225
  title: string;
@@ -238,6 +240,14 @@ declare const _default: import("vue").DefineComponent<{
238
240
  ppCardTitle: string;
239
241
  brand: string;
240
242
  };
243
+ paymentMethodStatus: {
244
+ ACTIVATED: string;
245
+ OFF: string;
246
+ APPLYING: string;
247
+ MAINTENANCE: string;
248
+ BUSY: string;
249
+ SUSPENDED: string;
250
+ };
241
251
  wallet: {
242
252
  title: string;
243
253
  desc: string;
@@ -296,12 +306,14 @@ declare const _default: import("vue").DefineComponent<{
296
306
  insufficientAmount?: unknown;
297
307
  } & {
298
308
  price: number;
299
- appDetail: AppDetail;
309
+ appDetail: {
310
+ appName: string;
311
+ appLogo: string | null;
312
+ };
300
313
  balance: number;
301
314
  insufficientAmount: number;
302
315
  } & {}>, {
303
316
  price: number;
304
- appDetail: AppDetail;
305
317
  balance: number;
306
318
  insufficientAmount: number;
307
319
  }>;
@@ -42,7 +42,10 @@ declare const _default: import("vue").DefineComponent<{
42
42
  insufficientAmount: import("vue").ComputedRef<number>;
43
43
  back: () => void;
44
44
  style: Record<string, string>;
45
- appDetail: import("../../../../types").AppDetail;
45
+ appDetail: {
46
+ appName: string;
47
+ appLogo: string | null;
48
+ };
46
49
  paymentMethod: import("vue").ComputedRef<{
47
50
  paymentMethodId: string;
48
51
  paymentMethodType: import("../../../../model/makePayment").PaymentMethodType;
@@ -72,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
72
75
  paymentMethodDescriptionInfo?: {
73
76
  statusDescription: {
74
77
  [x: string]: unknown;
75
- };
78
+ } | null;
76
79
  } | undefined;
77
80
  walletInfo?: {
78
81
  cashBackBalanceInfo?: {
@@ -164,7 +167,7 @@ declare const _default: import("vue").DefineComponent<{
164
167
  paymentMethodDescriptionInfo?: {
165
168
  statusDescription: {
166
169
  [x: string]: unknown;
167
- };
170
+ } | null;
168
171
  } | undefined;
169
172
  creditCardInfo?: {
170
173
  brand?: import("../../../../model/makePayment").CreditTypes | undefined;
@@ -204,7 +207,7 @@ declare const _default: import("vue").DefineComponent<{
204
207
  paymentMethodDescriptionInfo?: {
205
208
  statusDescription: {
206
209
  [x: string]: unknown;
207
- };
210
+ } | null;
208
211
  } | undefined;
209
212
  bankInfo?: {
210
213
  paymentMethodStatusLabel?: string | undefined;
@@ -251,7 +254,7 @@ declare const _default: import("vue").DefineComponent<{
251
254
  paymentMethodDescriptionInfo?: {
252
255
  statusDescription: {
253
256
  [x: string]: unknown;
254
- };
257
+ } | null;
255
258
  } | undefined;
256
259
  sbidCarrierBillingInfo?: {
257
260
  paymentMethodStatus?: import("../../../../model/makePayment").PaymentMethodStatus | undefined;
@@ -286,7 +289,11 @@ declare const _default: import("vue").DefineComponent<{
286
289
  paymentMethodDescriptionInfo?: {
287
290
  statusDescription: {
288
291
  [x: string]: unknown;
289
- };
292
+ } | null;
293
+ } | undefined;
294
+ payLaterCcInfo?: {
295
+ availableAmount?: number | undefined;
296
+ paymentMethodStatus?: import("../../../../model/makePayment").PaymentMethodStatus | undefined;
290
297
  } | undefined;
291
298
  }>;
292
299
  bannerInfo: import("vue").ComputedRef<{
@@ -341,7 +348,7 @@ declare const _default: import("vue").DefineComponent<{
341
348
  paymentMethodDescriptionInfo?: {
342
349
  statusDescription: {
343
350
  [x: string]: unknown;
344
- };
351
+ } | null;
345
352
  } | undefined;
346
353
  walletInfo?: {
347
354
  cashBackBalanceInfo?: {
@@ -433,7 +440,7 @@ declare const _default: import("vue").DefineComponent<{
433
440
  paymentMethodDescriptionInfo?: {
434
441
  statusDescription: {
435
442
  [x: string]: unknown;
436
- };
443
+ } | null;
437
444
  } | undefined;
438
445
  creditCardInfo?: {
439
446
  brand?: import("../../../../model/makePayment").CreditTypes | undefined;
@@ -473,7 +480,7 @@ declare const _default: import("vue").DefineComponent<{
473
480
  paymentMethodDescriptionInfo?: {
474
481
  statusDescription: {
475
482
  [x: string]: unknown;
476
- };
483
+ } | null;
477
484
  } | undefined;
478
485
  bankInfo?: {
479
486
  paymentMethodStatusLabel?: string | undefined;
@@ -520,7 +527,7 @@ declare const _default: import("vue").DefineComponent<{
520
527
  paymentMethodDescriptionInfo?: {
521
528
  statusDescription: {
522
529
  [x: string]: unknown;
523
- };
530
+ } | null;
524
531
  } | undefined;
525
532
  sbidCarrierBillingInfo?: {
526
533
  paymentMethodStatus?: import("../../../../model/makePayment").PaymentMethodStatus | undefined;
@@ -555,7 +562,11 @@ declare const _default: import("vue").DefineComponent<{
555
562
  paymentMethodDescriptionInfo?: {
556
563
  statusDescription: {
557
564
  [x: string]: unknown;
558
- };
565
+ } | null;
566
+ } | undefined;
567
+ payLaterCcInfo?: {
568
+ availableAmount?: number | undefined;
569
+ paymentMethodStatus?: import("../../../../model/makePayment").PaymentMethodStatus | undefined;
559
570
  } | undefined;
560
571
  })[]>;
561
572
  setMoney: (price: number) => number;
@@ -574,7 +585,7 @@ declare const _default: import("vue").DefineComponent<{
574
585
  available: import("vue").ComputedRef<boolean>;
575
586
  isMobile: import("vue").ComputedRef<boolean>;
576
587
  isDesktop: import("vue").ComputedRef<boolean>;
577
- topupPay: import("vue").Ref<any>;
588
+ topupPay: import("vue").Ref<HTMLElement | undefined>;
578
589
  isScrollable: import("vue").ComputedRef<boolean>;
579
590
  handleHeightChange: () => void;
580
591
  lg: {
@@ -732,6 +743,7 @@ declare const _default: import("vue").DefineComponent<{
732
743
  confirmAddress: string;
733
744
  returnEdit: string;
734
745
  selectAddress: string;
746
+ selectDeliveryAddress: string;
735
747
  };
736
748
  errorSheet: {
737
749
  title: string;
@@ -752,6 +764,14 @@ declare const _default: import("vue").DefineComponent<{
752
764
  ppCardTitle: string;
753
765
  brand: string;
754
766
  };
767
+ paymentMethodStatus: {
768
+ ACTIVATED: string;
769
+ OFF: string;
770
+ APPLYING: string;
771
+ MAINTENANCE: string;
772
+ BUSY: string;
773
+ SUSPENDED: string;
774
+ };
755
775
  wallet: {
756
776
  title: string;
757
777
  desc: string;
@@ -176,6 +176,7 @@ declare const _default: import("vue").DefineComponent<{
176
176
  confirmAddress: string;
177
177
  returnEdit: string;
178
178
  selectAddress: string;
179
+ selectDeliveryAddress: string;
179
180
  };
180
181
  errorSheet: {
181
182
  title: string;
@@ -196,6 +197,14 @@ declare const _default: import("vue").DefineComponent<{
196
197
  ppCardTitle: string;
197
198
  brand: string;
198
199
  };
200
+ paymentMethodStatus: {
201
+ ACTIVATED: string;
202
+ OFF: string;
203
+ APPLYING: string;
204
+ MAINTENANCE: string;
205
+ BUSY: string;
206
+ SUSPENDED: string;
207
+ };
199
208
  wallet: {
200
209
  title: string;
201
210
  desc: string;
@@ -190,6 +190,7 @@ declare const _default: import("vue").DefineComponent<{}, {
190
190
  confirmAddress: string;
191
191
  returnEdit: string;
192
192
  selectAddress: string;
193
+ selectDeliveryAddress: string;
193
194
  };
194
195
  errorSheet: {
195
196
  title: string;
@@ -210,6 +211,14 @@ declare const _default: import("vue").DefineComponent<{}, {
210
211
  ppCardTitle: string;
211
212
  brand: string;
212
213
  };
214
+ paymentMethodStatus: {
215
+ ACTIVATED: string;
216
+ OFF: string;
217
+ APPLYING: string;
218
+ MAINTENANCE: string;
219
+ BUSY: string;
220
+ SUSPENDED: string;
221
+ };
213
222
  wallet: {
214
223
  title: string;
215
224
  desc: string;
@@ -168,6 +168,7 @@ declare const _default: import("vue").DefineComponent<{
168
168
  confirmAddress: string;
169
169
  returnEdit: string;
170
170
  selectAddress: string;
171
+ selectDeliveryAddress: string;
171
172
  };
172
173
  errorSheet: {
173
174
  title: string;
@@ -188,6 +189,14 @@ declare const _default: import("vue").DefineComponent<{
188
189
  ppCardTitle: string;
189
190
  brand: string;
190
191
  };
192
+ paymentMethodStatus: {
193
+ ACTIVATED: string;
194
+ OFF: string;
195
+ APPLYING: string;
196
+ MAINTENANCE: string;
197
+ BUSY: string;
198
+ SUSPENDED: string;
199
+ };
191
200
  wallet: {
192
201
  title: string;
193
202
  desc: string;
@@ -195,6 +195,7 @@ declare const _default: import("vue").DefineComponent<{
195
195
  confirmAddress: string;
196
196
  returnEdit: string;
197
197
  selectAddress: string;
198
+ selectDeliveryAddress: string;
198
199
  };
199
200
  errorSheet: {
200
201
  title: string;
@@ -215,6 +216,14 @@ declare const _default: import("vue").DefineComponent<{
215
216
  ppCardTitle: string;
216
217
  brand: string;
217
218
  };
219
+ paymentMethodStatus: {
220
+ ACTIVATED: string;
221
+ OFF: string;
222
+ APPLYING: string;
223
+ MAINTENANCE: string;
224
+ BUSY: string;
225
+ SUSPENDED: string;
226
+ };
218
227
  wallet: {
219
228
  title: string;
220
229
  desc: string;
@@ -272,6 +272,7 @@ declare const _default: import("vue").DefineComponent<{
272
272
  confirmAddress: string;
273
273
  returnEdit: string;
274
274
  selectAddress: string;
275
+ selectDeliveryAddress: string;
275
276
  };
276
277
  errorSheet: {
277
278
  title: string;
@@ -292,6 +293,14 @@ declare const _default: import("vue").DefineComponent<{
292
293
  ppCardTitle: string;
293
294
  brand: string;
294
295
  };
296
+ paymentMethodStatus: {
297
+ ACTIVATED: string;
298
+ OFF: string;
299
+ APPLYING: string;
300
+ MAINTENANCE: string;
301
+ BUSY: string;
302
+ SUSPENDED: string;
303
+ };
295
304
  wallet: {
296
305
  title: string;
297
306
  desc: string;
@@ -348,7 +357,7 @@ declare const _default: import("vue").DefineComponent<{
348
357
  select: (index: number) => void;
349
358
  addressSelect: (address: Address) => void;
350
359
  showPaymentMethod: () => void;
351
- makePayment: import("vue").Ref<any>;
360
+ makePayment: import("vue").Ref<HTMLElement | undefined>;
352
361
  isScrollable: import("vue").ComputedRef<boolean>;
353
362
  handleUpdate: (hideFooter?: boolean | undefined) => void;
354
363
  updateAddress: (data: AddressUpdateEvent) => void;
@@ -253,6 +253,7 @@ declare const _default: import("vue").DefineComponent<{
253
253
  confirmAddress: string;
254
254
  returnEdit: string;
255
255
  selectAddress: string;
256
+ selectDeliveryAddress: string;
256
257
  };
257
258
  errorSheet: {
258
259
  title: string;
@@ -273,6 +274,14 @@ declare const _default: import("vue").DefineComponent<{
273
274
  ppCardTitle: string;
274
275
  brand: string;
275
276
  };
277
+ paymentMethodStatus: {
278
+ ACTIVATED: string;
279
+ OFF: string;
280
+ APPLYING: string;
281
+ MAINTENANCE: string;
282
+ BUSY: string;
283
+ SUSPENDED: string;
284
+ };
276
285
  wallet: {
277
286
  title: string;
278
287
  desc: string;
@@ -1,6 +1,6 @@
1
- import { MakePaymentResponse, PaymentMethod, PaymentMethodType, BannerInfo, CashBackDetail, ConsultResponse, getPaymentMethodsResponse } from '../../../model/makePayment';
1
+ import { ComputedRef } from 'vue';
2
+ import { BannerInfo, CashBackDetail, ConsultResponse, GetPaymentMethodsResponse, MakePaymentResponse, PaymentMethod, PaymentMethodType } from '../../../model/makePayment';
2
3
  import { UIComponentsError } from '../../../model/uiComponents';
3
- import { ComputedRef, SetupContext } from 'vue';
4
4
  import { MakePaymentParams } from '../../../types';
5
5
  import { ErrorResponse } from '../../../utils/fetch';
6
6
  export interface Props {
@@ -9,7 +9,7 @@ export interface Props {
9
9
  }
10
10
  export declare function usePaymentMethod(props: Props): {
11
11
  getPaymentMethods: (dryRun?: boolean | undefined) => Promise<{
12
- res: ErrorResponse | getPaymentMethodsResponse;
12
+ res: ErrorResponse | GetPaymentMethodsResponse;
13
13
  result: boolean;
14
14
  }>;
15
15
  showPaymentMethod: () => void;
@@ -20,7 +20,7 @@ export declare function usePaymentMethod(props: Props): {
20
20
  bannerInfo: ComputedRef<BannerInfo>;
21
21
  showPaymentMethodList: ComputedRef<boolean>;
22
22
  };
23
- export declare function useConsult(props: Props, {}: SetupContext): {
23
+ export declare function useConsult(props: Props): {
24
24
  showConsult: ComputedRef<boolean>;
25
25
  consultInfo: ComputedRef<{
26
26
  title: string;
@@ -76,7 +76,7 @@ export declare function useConsult(props: Props, {}: SetupContext): {
76
76
  paymentMethodDescriptionInfo?: {
77
77
  statusDescription: {
78
78
  [x: string]: unknown;
79
- };
79
+ } | null;
80
80
  } | undefined;
81
81
  walletInfo?: {
82
82
  cashBackBalanceInfo?: {
@@ -168,7 +168,7 @@ export declare function useConsult(props: Props, {}: SetupContext): {
168
168
  paymentMethodDescriptionInfo?: {
169
169
  statusDescription: {
170
170
  [x: string]: unknown;
171
- };
171
+ } | null;
172
172
  } | undefined;
173
173
  creditCardInfo?: {
174
174
  brand?: import("../../../model/makePayment").CreditTypes | undefined;
@@ -208,7 +208,7 @@ export declare function useConsult(props: Props, {}: SetupContext): {
208
208
  paymentMethodDescriptionInfo?: {
209
209
  statusDescription: {
210
210
  [x: string]: unknown;
211
- };
211
+ } | null;
212
212
  } | undefined;
213
213
  bankInfo?: {
214
214
  paymentMethodStatusLabel?: string | undefined;
@@ -255,7 +255,7 @@ export declare function useConsult(props: Props, {}: SetupContext): {
255
255
  paymentMethodDescriptionInfo?: {
256
256
  statusDescription: {
257
257
  [x: string]: unknown;
258
- };
258
+ } | null;
259
259
  } | undefined;
260
260
  sbidCarrierBillingInfo?: {
261
261
  paymentMethodStatus?: import("../../../model/makePayment").PaymentMethodStatus | undefined;
@@ -290,7 +290,11 @@ export declare function useConsult(props: Props, {}: SetupContext): {
290
290
  paymentMethodDescriptionInfo?: {
291
291
  statusDescription: {
292
292
  [x: string]: unknown;
293
- };
293
+ } | null;
294
+ } | undefined;
295
+ payLaterCcInfo?: {
296
+ availableAmount?: number | undefined;
297
+ paymentMethodStatus?: import("../../../model/makePayment").PaymentMethodStatus | undefined;
294
298
  } | undefined;
295
299
  })[];
296
300
  prepaidOnly: boolean | null;
@@ -355,7 +359,7 @@ export declare function useCashBackDetail(props: Props): {
355
359
  hasConfirmAge: ComputedRef<boolean>;
356
360
  calculating: ComputedRef<boolean>;
357
361
  calculated: ComputedRef<boolean>;
358
- handleCashBackDetails: (cashBackDetail: CashBackDetail) => Promise<void>;
362
+ handleCashBackDetails: (cashBackDetail: CashBackDetail) => void;
359
363
  closeAnimation: () => void;
360
364
  getCashBackDetail: ({ paymentId, }: {
361
365
  paymentId: string;
@@ -1,6 +1,5 @@
1
- import { MakePaymentParams, Address, AddressUpdateEvent } from '../../../types';
2
1
  import { MakePaymentResponse, PaymentResult } from '../../../model/makePayment';
3
- import { SetupContext } from 'vue';
2
+ import { Address, AddressUpdateEvent, MakePaymentParams } from '../../../types';
4
3
  export interface Props {
5
4
  show: boolean;
6
5
  paymentParams: MakePaymentParams;
@@ -41,14 +40,14 @@ export declare function useAddressControl(): {
41
40
  street2?: string | undefined;
42
41
  }[]>;
43
42
  };
44
- export declare function useUIControl(props: Props, {}: SetupContext): {
43
+ export declare function useUIControl(props: Props): {
45
44
  startPaying: () => boolean;
46
45
  endPaying: () => boolean;
47
46
  startLoading: () => boolean;
48
47
  endLoading: () => boolean;
49
48
  backClick: () => boolean;
50
49
  selectMethods: () => boolean;
51
- paymentSuccess: (res: MakePaymentResponse, address: Address) => void;
50
+ paymentSuccess: (res: MakePaymentResponse, address: Address | null) => void;
52
51
  endHandle: (handler: Promise<boolean>) => void;
53
52
  reset: () => void;
54
53
  showPaymentResult: (result: PaymentResult) => void;
@@ -13,7 +13,7 @@ export interface RootStore {
13
13
  success: () => void;
14
14
  setJws: (s: {
15
15
  jws: string;
16
- }, address: Address) => void;
16
+ }, address: Address | null) => void;
17
17
  paymentFail: () => void;
18
18
  unHandleError: () => void;
19
19
  preFail: (status?: MiniAppErrorType, jws?: string | null) => void;