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