@paypay/mini-app-js-sdk 1.21.0 → 1.22.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 (123) 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/useRegisterEmail.d.ts +1 -1
  4. package/dist/composition-api/useRenderSmartButton.d.ts +1 -1
  5. package/dist/jsbridge-core/jsbridge.d.ts +2 -2
  6. package/dist/jsbridge-core/lib/logger.d.ts +5 -5
  7. package/dist/mini-app-api.d.ts +2 -2
  8. package/dist/mini-app-js-sdk.browser.js +1 -1
  9. package/dist/mini-app-js-sdk.es.js +8270 -5626
  10. package/dist/mini-app-js-sdk.min.css +1 -1
  11. package/dist/model/bridge/checkPaymentMethod.d.ts +1 -1
  12. package/dist/model/bridge/getAppDetail.d.ts +2 -16
  13. package/dist/model/bridge/getConfigure.d.ts +3 -3
  14. package/dist/model/bridge/registerEmail.d.ts +1 -1
  15. package/dist/model/bridge/registerKyc.d.ts +1 -1
  16. package/dist/model/bridge/renderLoginButton.d.ts +6 -2
  17. package/dist/model/bridge/renderPayButton.d.ts +5 -1
  18. package/dist/model/bridge/request.d.ts +1 -1
  19. package/dist/model/makePayment.d.ts +66 -56
  20. package/dist/model/uiComponents.d.ts +2 -1
  21. package/dist/package/action-sheet/index.d.ts +20 -13
  22. package/dist/package/banner-header/index.vue.d.ts +3 -3
  23. package/dist/package/button/index.d.ts +17 -9
  24. package/dist/package/charge-amount-list/index.vue.d.ts +1 -7
  25. package/dist/package/charge-amount-more-list/index.vue.d.ts +6 -2
  26. package/dist/package/date-button/index.vue.d.ts +1 -3
  27. package/dist/package/desktop-header/index.d.ts +21 -0
  28. package/dist/package/header/index.d.ts +7 -7
  29. package/dist/package/index.d.ts +1 -0
  30. package/dist/package/input/index.d.ts +57 -17
  31. package/dist/package/lottie/index.d.ts +5 -8
  32. package/dist/package/overlay/index.d.ts +1 -1
  33. package/dist/package/payment-method/Bank.vue.d.ts +7 -7
  34. package/dist/package/payment-method/CreditCard.vue.d.ts +5 -5
  35. package/dist/package/payment-method/SbidBank.vue.d.ts +262 -4
  36. package/dist/package/payment-method/Wallet.vue.d.ts +265 -7
  37. package/dist/package/payment-method-list/index.vue.d.ts +14 -2
  38. package/dist/package/payment-type/Bank.vue.d.ts +5 -5
  39. package/dist/package/payment-type/CreditCard.vue.d.ts +6 -6
  40. package/dist/package/payment-type/Sbid.vue.d.ts +260 -2
  41. package/dist/package/payment-type/Wallet.vue.d.ts +261 -2
  42. package/dist/package/payment-type/index.d.ts +4 -6
  43. package/dist/package/select-list/Components.d.ts +15 -3
  44. package/dist/package/select-list/index.d.ts +11 -2
  45. package/dist/package/switch/index.d.ts +1 -1
  46. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +286 -0
  47. package/dist/types.d.ts +47 -16
  48. package/dist/utils/api.d.ts +25 -17
  49. package/dist/utils/create/bem.d.ts +2 -2
  50. package/dist/utils/create/index.d.ts +1 -1
  51. package/dist/utils/fetch.d.ts +2 -2
  52. package/dist/utils/getImages.d.ts +36 -5
  53. package/dist/utils/getLanguage.d.ts +224 -2
  54. package/dist/utils/helper.d.ts +10 -13
  55. package/dist/utils/popstateHandler.d.ts +1 -1
  56. package/dist/utils/storage.d.ts +12 -10
  57. package/dist/utils/uiConstants.d.ts +1 -0
  58. package/dist/utils/useBreakpoints.d.ts +5 -0
  59. package/dist/utils/utils.d.ts +2 -0
  60. package/dist/views/email-registration/App.vue.d.ts +231 -8
  61. package/dist/views/email-registration/components/EmailButton.vue.d.ts +3 -3
  62. package/dist/views/email-registration/hooks/callback.d.ts +2 -2
  63. package/dist/views/email-registration/hooks/ui.d.ts +2 -2
  64. package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +2 -2
  65. package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +1 -1
  66. package/dist/views/error-sheet/Index.vue.d.ts +271 -13
  67. package/dist/views/get-user-address/App.vue.d.ts +11 -3
  68. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +244 -10
  69. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +262 -4
  70. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +246 -3
  71. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +227 -4
  72. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +246 -18
  73. package/dist/views/get-user-address/Sheet/App.vue.d.ts +29 -12
  74. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +235 -3
  75. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +227 -3
  76. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +302 -11
  77. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +240 -0
  78. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +259 -0
  79. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +254 -0
  80. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +246 -0
  81. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +45 -2
  82. package/dist/views/get-user-address/store/error-handle.d.ts +2 -1
  83. package/dist/views/get-user-address/store/root.d.ts +6 -2
  84. package/dist/views/input-address/App.vue.d.ts +6 -7
  85. package/dist/views/input-address/hook/app.d.ts +2 -2
  86. package/dist/views/input-address/hook/error-handle.d.ts +1 -1
  87. package/dist/views/make-payment/App.vue.d.ts +3 -3
  88. package/dist/views/make-payment/Main.vue.d.ts +77 -510
  89. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +230 -8
  90. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +229 -5
  91. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +260 -2
  92. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +260 -2
  93. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +4 -4
  94. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +267 -9
  95. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +240 -3
  96. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +355 -13
  97. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +262 -3
  98. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +537 -226
  99. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +232 -6
  100. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +265 -0
  101. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +1 -1
  102. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +233 -10
  103. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +328 -0
  104. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +338 -18
  105. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +43 -9
  106. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +293 -8
  107. package/dist/views/make-payment/hooks/app-hooks.d.ts +167 -354
  108. package/dist/views/make-payment/hooks/ui-hooks.d.ts +29 -14
  109. package/dist/views/make-payment/store/age-confirm.d.ts +1 -1
  110. package/dist/views/make-payment/store/handle-error.d.ts +2 -2
  111. package/dist/views/make-payment/store/root.d.ts +3 -3
  112. package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -1
  113. package/dist/views/open-app/App.vue.d.ts +261 -3
  114. package/dist/views/open-map/App.vue.d.ts +225 -2
  115. package/dist/views/show-alert/App.vue.d.ts +5 -5
  116. package/dist/views/show-update-warning/App.vue.d.ts +261 -3
  117. package/dist/views/smart-button/App.vue.d.ts +10 -10
  118. package/dist/views/take-photo/App.vue.d.ts +225 -2
  119. package/dist/views/topup/App.vue.d.ts +295 -19
  120. package/dist/views/topup/BannerInfo.vue.d.ts +15 -11
  121. package/dist/views/topup/CashbackInfo.vue.d.ts +226 -3
  122. package/dist/views/topup/TopupCompletion.vue.d.ts +261 -1
  123. package/package.json +4 -3
@@ -0,0 +1,240 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ showsAddAddressButton: {
3
+ type: BooleanConstructor;
4
+ required: true;
5
+ };
6
+ }, unknown, unknown, {
7
+ lg(): {
8
+ showUpdateWarning: {
9
+ closeBtn: string;
10
+ notNow: string;
11
+ update: string;
12
+ title: string;
13
+ errorText: string;
14
+ desc1: string;
15
+ desc2: string;
16
+ };
17
+ openApp: {
18
+ title: string;
19
+ body: string;
20
+ errorText: string;
21
+ openApp: string;
22
+ cancel: string;
23
+ };
24
+ openMap: {
25
+ title: string;
26
+ errorText: string;
27
+ };
28
+ topup: {
29
+ title: string;
30
+ balMoney: string;
31
+ charge: string;
32
+ minAmount: string;
33
+ maxAmount: string;
34
+ moneyLabel: string;
35
+ noMethod: string;
36
+ loading: string;
37
+ payBtn: string;
38
+ availableBalance: string;
39
+ availableBalanceAfter: string;
40
+ allBalance: string;
41
+ };
42
+ takePhoto: {
43
+ camera: string;
44
+ photo: string;
45
+ };
46
+ payment: {
47
+ title: string;
48
+ payAmount: string;
49
+ payAmountTaxExempt: string;
50
+ method: string;
51
+ address: string;
52
+ insufficientAmount: string;
53
+ paying: string;
54
+ pay: string;
55
+ charge: string;
56
+ cancel: string;
57
+ noAddress: string;
58
+ change: string;
59
+ close: string;
60
+ };
61
+ duplicate: {
62
+ header: string;
63
+ text1: string;
64
+ text2: string;
65
+ cancel: string;
66
+ agreeButtonText: string;
67
+ topHeader: string;
68
+ topText1: string;
69
+ topText2: string;
70
+ topAgreeButtonText: string;
71
+ };
72
+ birthdayConfirm: {
73
+ title: string;
74
+ title2: string;
75
+ desc: string;
76
+ desc1: string;
77
+ desc2: string;
78
+ desc3: string;
79
+ date: string;
80
+ primaryBtn: string;
81
+ cancelBtn: string;
82
+ };
83
+ birthdayConfirmError: {
84
+ title: string;
85
+ title2: string;
86
+ desc: string;
87
+ desc2: string;
88
+ helpBtn: string;
89
+ closeBtn: string;
90
+ };
91
+ cashbackDet: {
92
+ button1: string;
93
+ button2: string;
94
+ button3: string;
95
+ };
96
+ topContent: {
97
+ title: string;
98
+ chargeTitle: string;
99
+ chargeLabel: string;
100
+ loading: string;
101
+ unavailable1: string;
102
+ unavailable2: string;
103
+ amount: string;
104
+ return: string;
105
+ };
106
+ topInfo: {
107
+ sufficientRow: string;
108
+ insufficientAmount: string;
109
+ insufficientAmountText: string;
110
+ paymentAmount: string;
111
+ };
112
+ choosePayment: {
113
+ title: string;
114
+ desc1: string;
115
+ desc2: string;
116
+ title2: string;
117
+ addMethod: string;
118
+ noMethod: string;
119
+ };
120
+ topupCompletion: {
121
+ title: string;
122
+ idInfo: string;
123
+ copied: string;
124
+ };
125
+ userAddress: {
126
+ title: string;
127
+ header: string;
128
+ tagForm: string;
129
+ home: string;
130
+ work: string;
131
+ billing: string;
132
+ footer: string;
133
+ titlePre: string;
134
+ titleApp: string;
135
+ titlePlace: string;
136
+ receiverPre: string;
137
+ receiverPlace: string;
138
+ inputPre: string;
139
+ statePre: string;
140
+ statePlace: string;
141
+ cityPre: string;
142
+ cityPlace: string;
143
+ street1Pre: string;
144
+ streetPlace: string;
145
+ street2Pre: string;
146
+ street2Place: string;
147
+ footerBtn1: string;
148
+ footerBtn2: string;
149
+ displayTitle: string;
150
+ deleteTitle: string;
151
+ delete: string;
152
+ close: string;
153
+ addAddress: string;
154
+ address: string;
155
+ return: string;
156
+ change: string;
157
+ noAddress: string;
158
+ registerAddress: string;
159
+ confirmAddress: string;
160
+ returnEdit: string;
161
+ selectAddress: string;
162
+ };
163
+ errorSheet: {
164
+ title: string;
165
+ title1: string;
166
+ desc: string;
167
+ topup: string;
168
+ topupDesc: string;
169
+ pay: string;
170
+ payDesc: string;
171
+ };
172
+ paymentMethod: {
173
+ expired: string;
174
+ ordinary: string;
175
+ current: string;
176
+ checkGreen: string;
177
+ authenticated: string;
178
+ yjTitle: string;
179
+ ppCardTitle: string;
180
+ brand: string;
181
+ };
182
+ wallet: {
183
+ title: string;
184
+ desc: string;
185
+ eMoney: string;
186
+ nonUsable: string;
187
+ cashBackUsable: string;
188
+ cashBackExpirable: string;
189
+ balance: string;
190
+ };
191
+ softbank: {
192
+ desc: string;
193
+ desc1: string;
194
+ isDisable: string;
195
+ };
196
+ registerEmail: {
197
+ title: string;
198
+ warning: string;
199
+ cancelTxt: string;
200
+ errorTitleAlreadyRegistered: string;
201
+ errorDescriptionAlreadyRegistered: string;
202
+ errorTitle: string;
203
+ errorDescription: string;
204
+ };
205
+ smartLogin: {
206
+ title: string;
207
+ signIn: string;
208
+ continueAs: string;
209
+ };
210
+ smartPay: {
211
+ pay: string;
212
+ paypay: string;
213
+ cashback: string;
214
+ };
215
+ cashbackList: {
216
+ close: string;
217
+ };
218
+ desktopTitle: {
219
+ Payment: string;
220
+ addNewAddress: string;
221
+ editAddress: string;
222
+ paymentCompletion: string;
223
+ getUserAddress: string;
224
+ };
225
+ closeConfirmation: {
226
+ title: string;
227
+ confirm: string;
228
+ cancel: string;
229
+ };
230
+ };
231
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
232
+ clickAddAddress: () => true;
233
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
234
+ showsAddAddressButton?: unknown;
235
+ } & {
236
+ showsAddAddressButton: boolean;
237
+ } & {}> & {
238
+ onClickAddAddress?: (() => any) | undefined;
239
+ }, {}>;
240
+ export default _default;
@@ -0,0 +1,259 @@
1
+ import { PropType } from 'vue';
2
+ import { Address } from '../../../../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ selectedAddress: {
5
+ type: PropType<Address | null>;
6
+ required: false;
7
+ default: () => void;
8
+ };
9
+ isMakepayment: {
10
+ type: BooleanConstructor;
11
+ required: false;
12
+ default: boolean;
13
+ };
14
+ }, {
15
+ lg: {
16
+ showUpdateWarning: {
17
+ closeBtn: string;
18
+ notNow: string;
19
+ update: string;
20
+ title: string;
21
+ errorText: string;
22
+ desc1: string;
23
+ desc2: string;
24
+ };
25
+ openApp: {
26
+ title: string;
27
+ body: string;
28
+ errorText: string;
29
+ openApp: string;
30
+ cancel: string;
31
+ };
32
+ openMap: {
33
+ title: string;
34
+ errorText: string;
35
+ };
36
+ topup: {
37
+ title: string;
38
+ balMoney: string;
39
+ charge: string;
40
+ minAmount: string;
41
+ maxAmount: string;
42
+ moneyLabel: string;
43
+ noMethod: string;
44
+ loading: string;
45
+ payBtn: string;
46
+ availableBalance: string;
47
+ availableBalanceAfter: string;
48
+ allBalance: string;
49
+ };
50
+ takePhoto: {
51
+ camera: string;
52
+ photo: string;
53
+ };
54
+ payment: {
55
+ title: string;
56
+ payAmount: string;
57
+ payAmountTaxExempt: string;
58
+ method: string;
59
+ address: string;
60
+ insufficientAmount: string;
61
+ paying: string;
62
+ pay: string;
63
+ charge: string;
64
+ cancel: string;
65
+ noAddress: string;
66
+ change: string;
67
+ close: string;
68
+ };
69
+ duplicate: {
70
+ header: string;
71
+ text1: string;
72
+ text2: string;
73
+ cancel: string;
74
+ agreeButtonText: string;
75
+ topHeader: string;
76
+ topText1: string;
77
+ topText2: string;
78
+ topAgreeButtonText: string;
79
+ };
80
+ birthdayConfirm: {
81
+ title: string;
82
+ title2: string;
83
+ desc: string;
84
+ desc1: string;
85
+ desc2: string;
86
+ desc3: string;
87
+ date: string;
88
+ primaryBtn: string;
89
+ cancelBtn: string;
90
+ };
91
+ birthdayConfirmError: {
92
+ title: string;
93
+ title2: string;
94
+ desc: string;
95
+ desc2: string;
96
+ helpBtn: string;
97
+ closeBtn: string;
98
+ };
99
+ cashbackDet: {
100
+ button1: string;
101
+ button2: string;
102
+ button3: string;
103
+ };
104
+ topContent: {
105
+ title: string;
106
+ chargeTitle: string;
107
+ chargeLabel: string;
108
+ loading: string;
109
+ unavailable1: string;
110
+ unavailable2: string;
111
+ amount: string;
112
+ return: string;
113
+ };
114
+ topInfo: {
115
+ sufficientRow: string;
116
+ insufficientAmount: string;
117
+ insufficientAmountText: string;
118
+ paymentAmount: string;
119
+ };
120
+ choosePayment: {
121
+ title: string;
122
+ desc1: string;
123
+ desc2: string;
124
+ title2: string;
125
+ addMethod: string;
126
+ noMethod: string;
127
+ };
128
+ topupCompletion: {
129
+ title: string;
130
+ idInfo: string;
131
+ copied: string;
132
+ };
133
+ userAddress: {
134
+ title: string;
135
+ header: string;
136
+ tagForm: string;
137
+ home: string;
138
+ work: string;
139
+ billing: string;
140
+ footer: string;
141
+ titlePre: string;
142
+ titleApp: string;
143
+ titlePlace: string;
144
+ receiverPre: string;
145
+ receiverPlace: string;
146
+ inputPre: string;
147
+ statePre: string;
148
+ statePlace: string;
149
+ cityPre: string;
150
+ cityPlace: string;
151
+ street1Pre: string;
152
+ streetPlace: string;
153
+ street2Pre: string;
154
+ street2Place: string;
155
+ footerBtn1: string;
156
+ footerBtn2: string;
157
+ displayTitle: string;
158
+ deleteTitle: string;
159
+ delete: string;
160
+ close: string;
161
+ addAddress: string;
162
+ address: string;
163
+ return: string;
164
+ change: string;
165
+ noAddress: string;
166
+ registerAddress: string;
167
+ confirmAddress: string;
168
+ returnEdit: string;
169
+ selectAddress: string;
170
+ };
171
+ errorSheet: {
172
+ title: string;
173
+ title1: string;
174
+ desc: string;
175
+ topup: string;
176
+ topupDesc: string;
177
+ pay: string;
178
+ payDesc: string;
179
+ };
180
+ paymentMethod: {
181
+ expired: string;
182
+ ordinary: string;
183
+ current: string;
184
+ checkGreen: string;
185
+ authenticated: string;
186
+ yjTitle: string;
187
+ ppCardTitle: string;
188
+ brand: string;
189
+ };
190
+ wallet: {
191
+ title: string;
192
+ desc: string;
193
+ eMoney: string;
194
+ nonUsable: string;
195
+ cashBackUsable: string;
196
+ cashBackExpirable: string;
197
+ balance: string;
198
+ };
199
+ softbank: {
200
+ desc: string;
201
+ desc1: string;
202
+ isDisable: string;
203
+ };
204
+ registerEmail: {
205
+ title: string;
206
+ warning: string;
207
+ cancelTxt: string;
208
+ errorTitleAlreadyRegistered: string;
209
+ errorDescriptionAlreadyRegistered: string;
210
+ errorTitle: string;
211
+ errorDescription: string;
212
+ };
213
+ smartLogin: {
214
+ title: string;
215
+ signIn: string;
216
+ continueAs: string;
217
+ };
218
+ smartPay: {
219
+ pay: string;
220
+ paypay: string;
221
+ cashback: string;
222
+ };
223
+ cashbackList: {
224
+ close: string;
225
+ };
226
+ desktopTitle: {
227
+ Payment: string;
228
+ addNewAddress: string;
229
+ editAddress: string;
230
+ paymentCompletion: string;
231
+ getUserAddress: string;
232
+ };
233
+ closeConfirmation: {
234
+ title: string;
235
+ confirm: string;
236
+ cancel: string;
237
+ };
238
+ };
239
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
240
+ add(): true;
241
+ change(): true;
242
+ confirm(): true;
243
+ close(): true;
244
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
245
+ selectedAddress?: unknown;
246
+ isMakepayment?: unknown;
247
+ } & {
248
+ isMakepayment: boolean;
249
+ selectedAddress: Address | null;
250
+ } & {}> & {
251
+ onClose?: (() => any) | undefined;
252
+ onAdd?: (() => any) | undefined;
253
+ onConfirm?: (() => any) | undefined;
254
+ onChange?: (() => any) | undefined;
255
+ }, {
256
+ isMakepayment: boolean;
257
+ selectedAddress: Address | null;
258
+ }>;
259
+ export default _default;