@paypay/mini-app-js-sdk 1.33.0 → 1.36.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 (107) hide show
  1. package/dist/composition-api/useRegisterEmail.d.ts +1 -1
  2. package/dist/mini-app-api.d.ts +3 -1
  3. package/dist/mini-app-js-sdk.browser.js +1 -1
  4. package/dist/mini-app-js-sdk.es.js +4753 -1989
  5. package/dist/mini-app-js-sdk.min.css +1 -1
  6. package/dist/model/OPAErrorCodes.d.ts +4 -0
  7. package/dist/model/bridge/getBankInfo.d.ts +3 -0
  8. package/dist/model/bridge/index.d.ts +2 -0
  9. package/dist/model/bridge/registerEmail.d.ts +1 -1
  10. package/dist/model/bridge/registerUserInfo.d.ts +2 -0
  11. package/dist/model/makePayment.d.ts +1 -1
  12. package/dist/model/miniAppError.d.ts +3 -1
  13. package/dist/model/permission.d.ts +1 -0
  14. package/dist/package/action-sheet/index.d.ts +2 -1
  15. package/dist/package/button/LoadingIndicator.vue.d.ts +4 -0
  16. package/dist/package/index.d.ts +1 -0
  17. package/dist/package/payment-method/PayLaterCC.vue.d.ts +54 -0
  18. package/dist/package/payment-method/SbidBank.vue.d.ts +54 -0
  19. package/dist/package/payment-method/Wallet.vue.d.ts +54 -0
  20. package/dist/package/payment-type/PayLaterCC.vue.d.ts +54 -0
  21. package/dist/package/payment-type/Sbid.vue.d.ts +54 -0
  22. package/dist/package/payment-type/Wallet.vue.d.ts +54 -0
  23. package/dist/package/skeleton-loader/SkeletonLoader.vue.d.ts +16 -0
  24. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +54 -0
  25. package/dist/types.d.ts +5 -0
  26. package/dist/utils/api.d.ts +26 -7
  27. package/dist/utils/getImages.d.ts +6 -0
  28. package/dist/utils/getLanguage.d.ts +48 -0
  29. package/dist/views/email-registration/App.vue.d.ts +23 -282
  30. package/dist/views/email-registration/hooks/callback.d.ts +4 -2
  31. package/dist/views/email-registration/hooks/const.d.ts +1 -0
  32. package/dist/views/email-registration/hooks/ui.d.ts +7 -13
  33. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +39 -0
  34. package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +70 -0
  35. package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +23 -0
  36. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +51 -0
  37. package/dist/views/error-sheet/Index.vue.d.ts +79 -8
  38. package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +40 -0
  39. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +327 -0
  40. package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +74 -0
  41. package/dist/views/get-bank-info/components/PayoutMethodView.vue.d.ts +21 -0
  42. package/dist/views/get-bank-info/types.d.ts +29 -0
  43. package/dist/views/get-user-address/App.vue.d.ts +1 -0
  44. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +48 -0
  45. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +54 -0
  46. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +48 -0
  47. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +48 -0
  48. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +51 -3
  49. package/dist/views/get-user-address/Sheet/App.vue.d.ts +2 -2
  50. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +48 -0
  51. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +48 -0
  52. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +48 -0
  53. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +48 -0
  54. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +48 -0
  55. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +48 -0
  56. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +48 -0
  57. package/dist/views/get-user-address/store/error-handle.d.ts +2 -3
  58. package/dist/views/input-address/App.vue.d.ts +2 -2
  59. package/dist/views/input-address/hook/app.d.ts +4 -4
  60. package/dist/views/input-address/hook/error-handle.d.ts +1 -10
  61. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +48 -0
  62. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +48 -0
  63. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +54 -0
  64. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +54 -0
  65. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +54 -0
  66. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +48 -0
  67. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +54 -0
  68. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +54 -0
  69. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +48 -0
  70. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +48 -0
  71. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +54 -0
  72. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +48 -0
  73. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +54 -0
  74. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +54 -0
  75. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +6 -0
  76. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +54 -0
  77. package/dist/views/open-app/App.vue.d.ts +54 -0
  78. package/dist/views/open-map/App.vue.d.ts +48 -0
  79. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +773 -0
  80. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +830 -0
  81. package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +18 -0
  82. package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +7 -0
  83. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +773 -0
  84. package/dist/views/register-user-info/RegisterUserInfoFormView.vue.d.ts +11 -0
  85. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +778 -0
  86. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +778 -0
  87. package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +6 -0
  88. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +501 -0
  89. package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +15 -0
  90. package/dist/views/register-user-info/api.d.ts +23 -0
  91. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +349 -0
  92. package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +17 -0
  93. package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +76 -0
  94. package/dist/views/register-user-info/store.d.ts +490 -0
  95. package/dist/views/register-user-info/types.d.ts +32 -0
  96. package/dist/views/register-user-info/utils.d.ts +4 -0
  97. package/dist/views/register-user-info/validators.d.ts +10 -0
  98. package/dist/views/show-update-warning/App.vue.d.ts +60 -2
  99. package/dist/views/take-photo/App.vue.d.ts +48 -0
  100. package/dist/views/topup/App.vue.d.ts +54 -0
  101. package/dist/views/topup/CashbackInfo.vue.d.ts +48 -0
  102. package/dist/views/topup/TopupCompletion.vue.d.ts +54 -0
  103. package/package.json +2 -1
  104. package/dist/views/email-registration/components/EmailButton.vue.d.ts +0 -45
  105. package/dist/views/email-registration/components/icons.d.ts +0 -2
  106. package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +0 -52
  107. package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +0 -24
@@ -0,0 +1,773 @@
1
+ import { ErrorSheetButton } from '../error-sheet/Index.vue';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ lg: {
4
+ showUpdateWarning: {
5
+ closeBtn: string;
6
+ notNow: string;
7
+ update: string;
8
+ title: string;
9
+ errorText: string;
10
+ desc1: string;
11
+ desc2: string;
12
+ };
13
+ openApp: {
14
+ title: string;
15
+ body: string;
16
+ errorText: string;
17
+ openApp: string;
18
+ cancel: string;
19
+ };
20
+ openMap: {
21
+ title: string;
22
+ errorText: string;
23
+ };
24
+ topup: {
25
+ title: string;
26
+ balMoney: string;
27
+ charge: string;
28
+ minAmount: string;
29
+ maxAmount: string;
30
+ moneyLabel: string;
31
+ noMethod: string;
32
+ loading: string;
33
+ payBtn: string;
34
+ availableBalance: string;
35
+ availableBalanceAfter: string;
36
+ allBalance: string;
37
+ };
38
+ takePhoto: {
39
+ camera: string;
40
+ photo: string;
41
+ };
42
+ payment: {
43
+ title: string;
44
+ payAmount: string;
45
+ payAmountTaxExempt: string;
46
+ method: string;
47
+ address: string;
48
+ insufficientAmount: string;
49
+ paying: string;
50
+ pay: string;
51
+ charge: string;
52
+ cancel: string;
53
+ noAddress: string;
54
+ change: string;
55
+ close: string;
56
+ };
57
+ duplicate: {
58
+ header: string;
59
+ text1: string;
60
+ text2: string;
61
+ cancel: string;
62
+ agreeButtonText: string;
63
+ topHeader: string;
64
+ topText1: string;
65
+ topText2: string;
66
+ topAgreeButtonText: string;
67
+ };
68
+ birthdayConfirm: {
69
+ title: string;
70
+ title2: string;
71
+ desc: string;
72
+ desc1: string;
73
+ desc2: string;
74
+ desc3: string;
75
+ date: string;
76
+ primaryBtn: string;
77
+ cancelBtn: string;
78
+ };
79
+ birthdayConfirmError: {
80
+ title: string;
81
+ title2: string;
82
+ desc: string;
83
+ desc2: string;
84
+ helpBtn: string;
85
+ closeBtn: string;
86
+ };
87
+ cashbackDet: {
88
+ button1: string;
89
+ button2: string;
90
+ button3: string;
91
+ };
92
+ topContent: {
93
+ title: string;
94
+ chargeTitle: string;
95
+ chargeLabel: string;
96
+ loading: string;
97
+ unavailable1: string;
98
+ unavailable2: string;
99
+ amount: string;
100
+ return: string;
101
+ };
102
+ topInfo: {
103
+ sufficientRow: string;
104
+ insufficientAmount: string;
105
+ insufficientAmountText: string;
106
+ paymentAmount: string;
107
+ };
108
+ choosePayment: {
109
+ title: string;
110
+ desc1: string;
111
+ desc2: string;
112
+ title2: string;
113
+ addMethod: string;
114
+ noMethod: string;
115
+ };
116
+ topupCompletion: {
117
+ title: string;
118
+ idInfo: string;
119
+ copied: string;
120
+ };
121
+ userAddress: {
122
+ title: string;
123
+ header: string;
124
+ tagForm: string;
125
+ home: string;
126
+ work: string;
127
+ billing: string;
128
+ footer: string;
129
+ titlePre: string;
130
+ titleApp: string;
131
+ titlePlace: string;
132
+ receiverPre: string;
133
+ receiverPlace: string;
134
+ inputPre: string;
135
+ statePre: string;
136
+ statePlace: string;
137
+ cityPre: string;
138
+ cityPlace: string;
139
+ street1Pre: string;
140
+ streetPlace: string;
141
+ street2Pre: string;
142
+ street2Place: string;
143
+ footerBtn1: string;
144
+ footerBtn2: string;
145
+ displayTitle: string;
146
+ deleteTitle: string;
147
+ delete: string;
148
+ close: string;
149
+ addAddress: string;
150
+ address: string;
151
+ return: string;
152
+ change: string;
153
+ noAddress: string;
154
+ registerAddress: string;
155
+ confirmAddress: string;
156
+ returnEdit: string;
157
+ selectAddress: string;
158
+ selectDeliveryAddress: string;
159
+ };
160
+ errorSheet: {
161
+ title: string;
162
+ title1: string;
163
+ desc: string;
164
+ topup: string;
165
+ topupDesc: string;
166
+ pay: string;
167
+ payDesc: string;
168
+ };
169
+ paymentMethod: {
170
+ expired: string;
171
+ ordinary: string;
172
+ current: string;
173
+ checkGreen: string;
174
+ authenticated: string;
175
+ yjTitle: string;
176
+ ppCardTitle: string;
177
+ brand: string;
178
+ };
179
+ paymentMethodStatus: {
180
+ ACTIVATED: string;
181
+ OFF: string;
182
+ APPLYING: string;
183
+ MAINTENANCE: string;
184
+ BUSY: string;
185
+ SUSPENDED: string;
186
+ };
187
+ wallet: {
188
+ title: string;
189
+ desc: string;
190
+ eMoney: string;
191
+ nonUsable: string;
192
+ cashBackUsable: string;
193
+ cashBackExpirable: string;
194
+ balance: string;
195
+ autoCharge: string;
196
+ };
197
+ payLater: {
198
+ title: string;
199
+ balance: string;
200
+ };
201
+ softbank: {
202
+ desc: string;
203
+ desc1: string;
204
+ isDisable: string;
205
+ };
206
+ registerEmail: {
207
+ title: string;
208
+ warning: string;
209
+ cancelTxt: string;
210
+ errorTitleAlreadyRegistered: string;
211
+ errorDescriptionAlreadyRegistered: string;
212
+ errorTitle: string;
213
+ errorDescription: string;
214
+ };
215
+ smartLogin: {
216
+ title: string;
217
+ signIn: string;
218
+ continueAs: string;
219
+ };
220
+ smartPay: {
221
+ pay: string;
222
+ paypay: string;
223
+ cashback: string;
224
+ };
225
+ cashbackList: {
226
+ close: string;
227
+ };
228
+ desktopTitle: {
229
+ Payment: string;
230
+ addNewAddress: string;
231
+ editAddress: string;
232
+ paymentCompletion: string;
233
+ getUserAddress: string;
234
+ };
235
+ closeConfirmation: {
236
+ title: string;
237
+ confirm: string;
238
+ cancel: string;
239
+ };
240
+ registerUserInfo: {
241
+ kycDataTitle: string;
242
+ uneditableDataTitle: string;
243
+ unenteredInfoTitle: string;
244
+ footer: {
245
+ description: string;
246
+ backButton: string;
247
+ nextButton: string;
248
+ finishButton: string;
249
+ cancelButton: string;
250
+ };
251
+ cancelSheet: {
252
+ title: string;
253
+ text: string;
254
+ confirmButton: string;
255
+ };
256
+ kycSheet: {
257
+ title: string;
258
+ text: string;
259
+ confirmButton: string;
260
+ };
261
+ mailSheet: {
262
+ title: string;
263
+ text: string;
264
+ confirmButton: string;
265
+ };
266
+ defaultErrorSheet: {
267
+ title: string;
268
+ text: string;
269
+ };
270
+ validation: {
271
+ numberError: string;
272
+ alphabetError: string;
273
+ alphabetLength32Error: string;
274
+ katakanaError: string;
275
+ katakanaLength16Error: string;
276
+ lengthError: string;
277
+ };
278
+ emailInput: string;
279
+ emailNotVerified: string;
280
+ emailNotVerifiedDescription: string;
281
+ change: string;
282
+ cancel: string;
283
+ };
284
+ getBankInfo: {
285
+ title: string;
286
+ close: string;
287
+ };
288
+ };
289
+ store: import("pinia").Store<"registerUserInfo", {
290
+ mode: "default" | "edit";
291
+ formData: import("./types").UserProfileFormData | null;
292
+ currentCategoryIndex: number;
293
+ inputValues: {
294
+ [dataPointName: string]: string;
295
+ };
296
+ savedValues: {
297
+ [dataPointName: string]: string;
298
+ };
299
+ validationResults: {
300
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
301
+ };
302
+ email: string | null;
303
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
304
+ ui: {
305
+ isSavingData: boolean;
306
+ isCancelConfirmSheetVisible: boolean;
307
+ isKycInfoSheetVisible: boolean;
308
+ isMailInfoSheetVisible: boolean;
309
+ errorSheet?: {
310
+ title: string;
311
+ text: string;
312
+ isVisible: boolean;
313
+ } | undefined;
314
+ };
315
+ result: ({
316
+ type: "success";
317
+ } | {
318
+ type: "fail";
319
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
320
+ }) | null;
321
+ }, {
322
+ uiIsVisible(state: {
323
+ mode: "default" | "edit";
324
+ formData: {
325
+ isKycRequired: boolean;
326
+ categories: {
327
+ categoryName: string;
328
+ categoryTitle: string;
329
+ categorySubTitle: string;
330
+ isAllDataPointFilled: boolean;
331
+ dataPointGroup: {
332
+ groupType: string;
333
+ groupName: string;
334
+ dataPoints: {
335
+ name: string;
336
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
337
+ isEditable: boolean;
338
+ isOptional: boolean;
339
+ isKycData: boolean;
340
+ placeholder: string;
341
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
342
+ value?: string | undefined;
343
+ selectionItems?: string[] | undefined;
344
+ }[];
345
+ }[];
346
+ }[];
347
+ } | null;
348
+ currentCategoryIndex: number;
349
+ inputValues: {
350
+ [x: string]: string;
351
+ };
352
+ savedValues: {
353
+ [x: string]: string;
354
+ };
355
+ validationResults: {
356
+ [x: string]: {
357
+ ok: true;
358
+ convertTo?: string | undefined;
359
+ } | {
360
+ ok: false;
361
+ reason: string;
362
+ };
363
+ };
364
+ email: string | null;
365
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
366
+ ui: {
367
+ isSavingData: boolean;
368
+ isCancelConfirmSheetVisible: boolean;
369
+ isKycInfoSheetVisible: boolean;
370
+ isMailInfoSheetVisible: boolean;
371
+ errorSheet?: {
372
+ title: string;
373
+ text: string;
374
+ isVisible: boolean;
375
+ } | undefined;
376
+ };
377
+ result: {
378
+ type: "success";
379
+ } | {
380
+ type: "fail";
381
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
382
+ } | null;
383
+ } & {}): boolean;
384
+ categoryAtIndex(state: {
385
+ mode: "default" | "edit";
386
+ formData: {
387
+ isKycRequired: boolean;
388
+ categories: {
389
+ categoryName: string;
390
+ categoryTitle: string;
391
+ categorySubTitle: string;
392
+ isAllDataPointFilled: boolean;
393
+ dataPointGroup: {
394
+ groupType: string;
395
+ groupName: string;
396
+ dataPoints: {
397
+ name: string;
398
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
399
+ isEditable: boolean;
400
+ isOptional: boolean;
401
+ isKycData: boolean;
402
+ placeholder: string;
403
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
404
+ value?: string | undefined;
405
+ selectionItems?: string[] | undefined;
406
+ }[];
407
+ }[];
408
+ }[];
409
+ } | null;
410
+ currentCategoryIndex: number;
411
+ inputValues: {
412
+ [x: string]: string;
413
+ };
414
+ savedValues: {
415
+ [x: string]: string;
416
+ };
417
+ validationResults: {
418
+ [x: string]: {
419
+ ok: true;
420
+ convertTo?: string | undefined;
421
+ } | {
422
+ ok: false;
423
+ reason: string;
424
+ };
425
+ };
426
+ email: string | null;
427
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
428
+ ui: {
429
+ isSavingData: boolean;
430
+ isCancelConfirmSheetVisible: boolean;
431
+ isKycInfoSheetVisible: boolean;
432
+ isMailInfoSheetVisible: boolean;
433
+ errorSheet?: {
434
+ title: string;
435
+ text: string;
436
+ isVisible: boolean;
437
+ } | undefined;
438
+ };
439
+ result: {
440
+ type: "success";
441
+ } | {
442
+ type: "fail";
443
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
444
+ } | null;
445
+ } & {}): (index: number) => import("./types").UserProfileFormCategory;
446
+ numberOfCategories(state: {
447
+ mode: "default" | "edit";
448
+ formData: {
449
+ isKycRequired: boolean;
450
+ categories: {
451
+ categoryName: string;
452
+ categoryTitle: string;
453
+ categorySubTitle: string;
454
+ isAllDataPointFilled: boolean;
455
+ dataPointGroup: {
456
+ groupType: string;
457
+ groupName: string;
458
+ dataPoints: {
459
+ name: string;
460
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
461
+ isEditable: boolean;
462
+ isOptional: boolean;
463
+ isKycData: boolean;
464
+ placeholder: string;
465
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
466
+ value?: string | undefined;
467
+ selectionItems?: string[] | undefined;
468
+ }[];
469
+ }[];
470
+ }[];
471
+ } | null;
472
+ currentCategoryIndex: number;
473
+ inputValues: {
474
+ [x: string]: string;
475
+ };
476
+ savedValues: {
477
+ [x: string]: string;
478
+ };
479
+ validationResults: {
480
+ [x: string]: {
481
+ ok: true;
482
+ convertTo?: string | undefined;
483
+ } | {
484
+ ok: false;
485
+ reason: string;
486
+ };
487
+ };
488
+ email: string | null;
489
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
490
+ ui: {
491
+ isSavingData: boolean;
492
+ isCancelConfirmSheetVisible: boolean;
493
+ isKycInfoSheetVisible: boolean;
494
+ isMailInfoSheetVisible: boolean;
495
+ errorSheet?: {
496
+ title: string;
497
+ text: string;
498
+ isVisible: boolean;
499
+ } | undefined;
500
+ };
501
+ result: {
502
+ type: "success";
503
+ } | {
504
+ type: "fail";
505
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
506
+ } | null;
507
+ } & {}): number;
508
+ currentValue(state: {
509
+ mode: "default" | "edit";
510
+ formData: {
511
+ isKycRequired: boolean;
512
+ categories: {
513
+ categoryName: string;
514
+ categoryTitle: string;
515
+ categorySubTitle: string;
516
+ isAllDataPointFilled: boolean;
517
+ dataPointGroup: {
518
+ groupType: string;
519
+ groupName: string;
520
+ dataPoints: {
521
+ name: string;
522
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
523
+ isEditable: boolean;
524
+ isOptional: boolean;
525
+ isKycData: boolean;
526
+ placeholder: string;
527
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
528
+ value?: string | undefined;
529
+ selectionItems?: string[] | undefined;
530
+ }[];
531
+ }[];
532
+ }[];
533
+ } | null;
534
+ currentCategoryIndex: number;
535
+ inputValues: {
536
+ [x: string]: string;
537
+ };
538
+ savedValues: {
539
+ [x: string]: string;
540
+ };
541
+ validationResults: {
542
+ [x: string]: {
543
+ ok: true;
544
+ convertTo?: string | undefined;
545
+ } | {
546
+ ok: false;
547
+ reason: string;
548
+ };
549
+ };
550
+ email: string | null;
551
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
552
+ ui: {
553
+ isSavingData: boolean;
554
+ isCancelConfirmSheetVisible: boolean;
555
+ isKycInfoSheetVisible: boolean;
556
+ isMailInfoSheetVisible: boolean;
557
+ errorSheet?: {
558
+ title: string;
559
+ text: string;
560
+ isVisible: boolean;
561
+ } | undefined;
562
+ };
563
+ result: {
564
+ type: "success";
565
+ } | {
566
+ type: "fail";
567
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
568
+ } | null;
569
+ } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
570
+ hasValidationError(state: {
571
+ mode: "default" | "edit";
572
+ formData: {
573
+ isKycRequired: boolean;
574
+ categories: {
575
+ categoryName: string;
576
+ categoryTitle: string;
577
+ categorySubTitle: string;
578
+ isAllDataPointFilled: boolean;
579
+ dataPointGroup: {
580
+ groupType: string;
581
+ groupName: string;
582
+ dataPoints: {
583
+ name: string;
584
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
585
+ isEditable: boolean;
586
+ isOptional: boolean;
587
+ isKycData: boolean;
588
+ placeholder: string;
589
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
590
+ value?: string | undefined;
591
+ selectionItems?: string[] | undefined;
592
+ }[];
593
+ }[];
594
+ }[];
595
+ } | null;
596
+ currentCategoryIndex: number;
597
+ inputValues: {
598
+ [x: string]: string;
599
+ };
600
+ savedValues: {
601
+ [x: string]: string;
602
+ };
603
+ validationResults: {
604
+ [x: string]: {
605
+ ok: true;
606
+ convertTo?: string | undefined;
607
+ } | {
608
+ ok: false;
609
+ reason: string;
610
+ };
611
+ };
612
+ email: string | null;
613
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
614
+ ui: {
615
+ isSavingData: boolean;
616
+ isCancelConfirmSheetVisible: boolean;
617
+ isKycInfoSheetVisible: boolean;
618
+ isMailInfoSheetVisible: boolean;
619
+ errorSheet?: {
620
+ title: string;
621
+ text: string;
622
+ isVisible: boolean;
623
+ } | undefined;
624
+ };
625
+ result: {
626
+ type: "success";
627
+ } | {
628
+ type: "fail";
629
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
630
+ } | null;
631
+ } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
632
+ validationErrorForGroup(state: {
633
+ mode: "default" | "edit";
634
+ formData: {
635
+ isKycRequired: boolean;
636
+ categories: {
637
+ categoryName: string;
638
+ categoryTitle: string;
639
+ categorySubTitle: string;
640
+ isAllDataPointFilled: boolean;
641
+ dataPointGroup: {
642
+ groupType: string;
643
+ groupName: string;
644
+ dataPoints: {
645
+ name: string;
646
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
647
+ isEditable: boolean;
648
+ isOptional: boolean;
649
+ isKycData: boolean;
650
+ placeholder: string;
651
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
652
+ value?: string | undefined;
653
+ selectionItems?: string[] | undefined;
654
+ }[];
655
+ }[];
656
+ }[];
657
+ } | null;
658
+ currentCategoryIndex: number;
659
+ inputValues: {
660
+ [x: string]: string;
661
+ };
662
+ savedValues: {
663
+ [x: string]: string;
664
+ };
665
+ validationResults: {
666
+ [x: string]: {
667
+ ok: true;
668
+ convertTo?: string | undefined;
669
+ } | {
670
+ ok: false;
671
+ reason: string;
672
+ };
673
+ };
674
+ email: string | null;
675
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
676
+ ui: {
677
+ isSavingData: boolean;
678
+ isCancelConfirmSheetVisible: boolean;
679
+ isKycInfoSheetVisible: boolean;
680
+ isMailInfoSheetVisible: boolean;
681
+ errorSheet?: {
682
+ title: string;
683
+ text: string;
684
+ isVisible: boolean;
685
+ } | undefined;
686
+ };
687
+ result: {
688
+ type: "success";
689
+ } | {
690
+ type: "fail";
691
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
692
+ } | null;
693
+ } & {}): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
694
+ shouldDisableSaveButton(state: {
695
+ mode: "default" | "edit";
696
+ formData: {
697
+ isKycRequired: boolean;
698
+ categories: {
699
+ categoryName: string;
700
+ categoryTitle: string;
701
+ categorySubTitle: string;
702
+ isAllDataPointFilled: boolean;
703
+ dataPointGroup: {
704
+ groupType: string;
705
+ groupName: string;
706
+ dataPoints: {
707
+ name: string;
708
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
709
+ isEditable: boolean;
710
+ isOptional: boolean;
711
+ isKycData: boolean;
712
+ placeholder: string;
713
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
714
+ value?: string | undefined;
715
+ selectionItems?: string[] | undefined;
716
+ }[];
717
+ }[];
718
+ }[];
719
+ } | null;
720
+ currentCategoryIndex: number;
721
+ inputValues: {
722
+ [x: string]: string;
723
+ };
724
+ savedValues: {
725
+ [x: string]: string;
726
+ };
727
+ validationResults: {
728
+ [x: string]: {
729
+ ok: true;
730
+ convertTo?: string | undefined;
731
+ } | {
732
+ ok: false;
733
+ reason: string;
734
+ };
735
+ };
736
+ email: string | null;
737
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
738
+ ui: {
739
+ isSavingData: boolean;
740
+ isCancelConfirmSheetVisible: boolean;
741
+ isKycInfoSheetVisible: boolean;
742
+ isMailInfoSheetVisible: boolean;
743
+ errorSheet?: {
744
+ title: string;
745
+ text: string;
746
+ isVisible: boolean;
747
+ } | undefined;
748
+ };
749
+ result: {
750
+ type: "success";
751
+ } | {
752
+ type: "fail";
753
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
754
+ } | null;
755
+ } & {}): boolean;
756
+ }, {
757
+ initialize(params: import("../../types").RegisterUserInfoParams): void;
758
+ saveCategory(): void;
759
+ getEmailStatus(): void;
760
+ onInputValueChange(dataPoint: import("./types").UserProfileFormDataPoint, value: string): void;
761
+ onBackButton(): void;
762
+ onCancelFormButton(): void;
763
+ closeCancelConfirmationSheet(): void;
764
+ confirmCancel(): void;
765
+ showKycInfoSheet(): void;
766
+ closeKycInfoSheet(): void;
767
+ showMailInfoSheet(): void;
768
+ closeMailInfoSheet(): void;
769
+ closeErrorSheet(): void;
770
+ }>;
771
+ buttonList: ErrorSheetButton[];
772
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
773
+ export default _default;