@paypay/mini-app-js-sdk 1.34.0 → 1.37.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 (106) hide show
  1. package/dist/composition-api/useRegisterEmail.d.ts +1 -1
  2. package/dist/mini-app-api.d.ts +2 -1
  3. package/dist/mini-app-js-sdk.browser.js +1 -1
  4. package/dist/mini-app-js-sdk.es.js +19174 -15071
  5. package/dist/mini-app-js-sdk.min.css +1 -1
  6. package/dist/model/bridge/index.d.ts +1 -0
  7. package/dist/model/bridge/registerEmail.d.ts +1 -1
  8. package/dist/model/bridge/registerUserInfo.d.ts +2 -0
  9. package/dist/model/makePayment.d.ts +1 -1
  10. package/dist/model/miniAppError.d.ts +2 -2
  11. package/dist/package/action-sheet/index.d.ts +3 -1
  12. package/dist/package/button/LoadingIndicator.vue.d.ts +2 -0
  13. package/dist/package/payment-method/PayLaterCC.vue.d.ts +58 -0
  14. package/dist/package/payment-method/SbidBank.vue.d.ts +58 -0
  15. package/dist/package/payment-method/Wallet.vue.d.ts +58 -0
  16. package/dist/package/payment-type/Bank.vue.d.ts +8 -0
  17. package/dist/package/payment-type/CreditCard.vue.d.ts +10 -1
  18. package/dist/package/payment-type/PayLaterCC.vue.d.ts +68 -1
  19. package/dist/package/payment-type/Sbid.vue.d.ts +68 -1
  20. package/dist/package/payment-type/Wallet.vue.d.ts +68 -1
  21. package/dist/package/payment-type/index.d.ts +10 -1
  22. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +58 -0
  23. package/dist/types.d.ts +4 -0
  24. package/dist/utils/api.d.ts +26 -7
  25. package/dist/utils/getImages.d.ts +6 -0
  26. package/dist/utils/getLanguage.d.ts +52 -0
  27. package/dist/views/email-registration/App.vue.d.ts +23 -286
  28. package/dist/views/email-registration/hooks/callback.d.ts +4 -2
  29. package/dist/views/email-registration/hooks/const.d.ts +1 -0
  30. package/dist/views/email-registration/hooks/ui.d.ts +7 -13
  31. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +39 -0
  32. package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +70 -0
  33. package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +23 -0
  34. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +51 -0
  35. package/dist/views/error-sheet/Index.vue.d.ts +83 -8
  36. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +52 -0
  37. package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +6 -0
  38. package/dist/views/get-user-address/App.vue.d.ts +1 -0
  39. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +52 -0
  40. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +58 -0
  41. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +52 -0
  42. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +52 -0
  43. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +55 -3
  44. package/dist/views/get-user-address/Sheet/App.vue.d.ts +2 -2
  45. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +52 -0
  46. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +52 -0
  47. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +52 -0
  48. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +52 -0
  49. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +52 -0
  50. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +52 -0
  51. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +52 -0
  52. package/dist/views/get-user-address/store/error-handle.d.ts +2 -3
  53. package/dist/views/input-address/App.vue.d.ts +2 -2
  54. package/dist/views/input-address/hook/app.d.ts +4 -4
  55. package/dist/views/input-address/hook/error-handle.d.ts +1 -10
  56. package/dist/views/make-payment/Main.vue.d.ts +5 -1
  57. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +52 -0
  58. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +52 -0
  59. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +58 -0
  60. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +58 -0
  61. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +58 -0
  62. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +52 -0
  63. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +58 -0
  64. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +58 -0
  65. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +52 -0
  66. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +52 -0
  67. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +58 -0
  68. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +52 -0
  69. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +58 -0
  70. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +58 -0
  71. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +6 -0
  72. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +58 -0
  73. package/dist/views/open-app/App.vue.d.ts +58 -0
  74. package/dist/views/open-map/App.vue.d.ts +52 -0
  75. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +781 -0
  76. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +839 -0
  77. package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +18 -0
  78. package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +7 -0
  79. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +781 -0
  80. package/dist/views/register-user-info/RegisterUserInfoFormView.vue.d.ts +11 -0
  81. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +786 -0
  82. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +786 -0
  83. package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +6 -0
  84. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +501 -0
  85. package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +15 -0
  86. package/dist/views/register-user-info/api.d.ts +23 -0
  87. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +358 -0
  88. package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +17 -0
  89. package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +77 -0
  90. package/dist/views/register-user-info/store.d.ts +490 -0
  91. package/dist/views/register-user-info/types.d.ts +32 -0
  92. package/dist/views/register-user-info/utils.d.ts +4 -0
  93. package/dist/views/register-user-info/validators.d.ts +10 -0
  94. package/dist/views/show-update-warning/App.vue.d.ts +64 -2
  95. package/dist/views/take-photo/App.vue.d.ts +52 -0
  96. package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +81 -0
  97. package/dist/views/topup/App.vue.d.ts +63 -1
  98. package/dist/views/topup/CashbackInfo.vue.d.ts +52 -0
  99. package/dist/views/topup/TopupCompletion.vue.d.ts +58 -0
  100. package/package.json +3 -2
  101. package/dist/utils/create/bem.d.ts +0 -6
  102. package/dist/utils/create/index.d.ts +0 -5
  103. package/dist/views/email-registration/components/EmailButton.vue.d.ts +0 -45
  104. package/dist/views/email-registration/components/icons.d.ts +0 -2
  105. package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +0 -52
  106. package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +0 -24
@@ -0,0 +1,781 @@
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
+ "3dSecureSheet": {
288
+ title: string;
289
+ descriptionForYJCardOrPPCard: string;
290
+ description: string;
291
+ setting3DSecure: string;
292
+ about3DSecure: string;
293
+ close: string;
294
+ };
295
+ };
296
+ store: import("pinia").Store<"registerUserInfo", {
297
+ mode: "default" | "edit";
298
+ formData: import("./types").UserProfileFormData | null;
299
+ currentCategoryIndex: number;
300
+ inputValues: {
301
+ [dataPointName: string]: string;
302
+ };
303
+ savedValues: {
304
+ [dataPointName: string]: string;
305
+ };
306
+ validationResults: {
307
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
308
+ };
309
+ email: string | null;
310
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
311
+ ui: {
312
+ isSavingData: boolean;
313
+ isCancelConfirmSheetVisible: boolean;
314
+ isKycInfoSheetVisible: boolean;
315
+ isMailInfoSheetVisible: boolean;
316
+ errorSheet?: {
317
+ title: string;
318
+ text: string;
319
+ isVisible: boolean;
320
+ } | undefined;
321
+ };
322
+ result: ({
323
+ type: "success";
324
+ } | {
325
+ type: "fail";
326
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
327
+ }) | null;
328
+ }, {
329
+ uiIsVisible(state: {
330
+ mode: "default" | "edit";
331
+ formData: {
332
+ isKycRequired: boolean;
333
+ categories: {
334
+ categoryName: string;
335
+ categoryTitle: string;
336
+ categorySubTitle: string;
337
+ isAllDataPointFilled: boolean;
338
+ dataPointGroup: {
339
+ groupType: string;
340
+ groupName: string;
341
+ dataPoints: {
342
+ name: string;
343
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
344
+ isEditable: boolean;
345
+ isOptional: boolean;
346
+ isKycData: boolean;
347
+ placeholder: string;
348
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
349
+ value?: string | undefined;
350
+ selectionItems?: string[] | undefined;
351
+ }[];
352
+ }[];
353
+ }[];
354
+ } | null;
355
+ currentCategoryIndex: number;
356
+ inputValues: {
357
+ [x: string]: string;
358
+ };
359
+ savedValues: {
360
+ [x: string]: string;
361
+ };
362
+ validationResults: {
363
+ [x: string]: {
364
+ ok: true;
365
+ convertTo?: string | undefined;
366
+ } | {
367
+ ok: false;
368
+ reason: string;
369
+ };
370
+ };
371
+ email: string | null;
372
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
373
+ ui: {
374
+ isSavingData: boolean;
375
+ isCancelConfirmSheetVisible: boolean;
376
+ isKycInfoSheetVisible: boolean;
377
+ isMailInfoSheetVisible: boolean;
378
+ errorSheet?: {
379
+ title: string;
380
+ text: string;
381
+ isVisible: boolean;
382
+ } | undefined;
383
+ };
384
+ result: {
385
+ type: "success";
386
+ } | {
387
+ type: "fail";
388
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
389
+ } | null;
390
+ } & {}): boolean;
391
+ categoryAtIndex(state: {
392
+ mode: "default" | "edit";
393
+ formData: {
394
+ isKycRequired: boolean;
395
+ categories: {
396
+ categoryName: string;
397
+ categoryTitle: string;
398
+ categorySubTitle: string;
399
+ isAllDataPointFilled: boolean;
400
+ dataPointGroup: {
401
+ groupType: string;
402
+ groupName: string;
403
+ dataPoints: {
404
+ name: string;
405
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
406
+ isEditable: boolean;
407
+ isOptional: boolean;
408
+ isKycData: boolean;
409
+ placeholder: string;
410
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
411
+ value?: string | undefined;
412
+ selectionItems?: string[] | undefined;
413
+ }[];
414
+ }[];
415
+ }[];
416
+ } | null;
417
+ currentCategoryIndex: number;
418
+ inputValues: {
419
+ [x: string]: string;
420
+ };
421
+ savedValues: {
422
+ [x: string]: string;
423
+ };
424
+ validationResults: {
425
+ [x: string]: {
426
+ ok: true;
427
+ convertTo?: string | undefined;
428
+ } | {
429
+ ok: false;
430
+ reason: string;
431
+ };
432
+ };
433
+ email: string | null;
434
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
435
+ ui: {
436
+ isSavingData: boolean;
437
+ isCancelConfirmSheetVisible: boolean;
438
+ isKycInfoSheetVisible: boolean;
439
+ isMailInfoSheetVisible: boolean;
440
+ errorSheet?: {
441
+ title: string;
442
+ text: string;
443
+ isVisible: boolean;
444
+ } | undefined;
445
+ };
446
+ result: {
447
+ type: "success";
448
+ } | {
449
+ type: "fail";
450
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
451
+ } | null;
452
+ } & {}): (index: number) => import("./types").UserProfileFormCategory;
453
+ numberOfCategories(state: {
454
+ mode: "default" | "edit";
455
+ formData: {
456
+ isKycRequired: boolean;
457
+ categories: {
458
+ categoryName: string;
459
+ categoryTitle: string;
460
+ categorySubTitle: string;
461
+ isAllDataPointFilled: boolean;
462
+ dataPointGroup: {
463
+ groupType: string;
464
+ groupName: string;
465
+ dataPoints: {
466
+ name: string;
467
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
468
+ isEditable: boolean;
469
+ isOptional: boolean;
470
+ isKycData: boolean;
471
+ placeholder: string;
472
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
473
+ value?: string | undefined;
474
+ selectionItems?: string[] | undefined;
475
+ }[];
476
+ }[];
477
+ }[];
478
+ } | null;
479
+ currentCategoryIndex: number;
480
+ inputValues: {
481
+ [x: string]: string;
482
+ };
483
+ savedValues: {
484
+ [x: string]: string;
485
+ };
486
+ validationResults: {
487
+ [x: string]: {
488
+ ok: true;
489
+ convertTo?: string | undefined;
490
+ } | {
491
+ ok: false;
492
+ reason: string;
493
+ };
494
+ };
495
+ email: string | null;
496
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
497
+ ui: {
498
+ isSavingData: boolean;
499
+ isCancelConfirmSheetVisible: boolean;
500
+ isKycInfoSheetVisible: boolean;
501
+ isMailInfoSheetVisible: boolean;
502
+ errorSheet?: {
503
+ title: string;
504
+ text: string;
505
+ isVisible: boolean;
506
+ } | undefined;
507
+ };
508
+ result: {
509
+ type: "success";
510
+ } | {
511
+ type: "fail";
512
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
513
+ } | null;
514
+ } & {}): number;
515
+ currentValue(state: {
516
+ mode: "default" | "edit";
517
+ formData: {
518
+ isKycRequired: boolean;
519
+ categories: {
520
+ categoryName: string;
521
+ categoryTitle: string;
522
+ categorySubTitle: string;
523
+ isAllDataPointFilled: boolean;
524
+ dataPointGroup: {
525
+ groupType: string;
526
+ groupName: string;
527
+ dataPoints: {
528
+ name: string;
529
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
530
+ isEditable: boolean;
531
+ isOptional: boolean;
532
+ isKycData: boolean;
533
+ placeholder: string;
534
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
535
+ value?: string | undefined;
536
+ selectionItems?: string[] | undefined;
537
+ }[];
538
+ }[];
539
+ }[];
540
+ } | null;
541
+ currentCategoryIndex: number;
542
+ inputValues: {
543
+ [x: string]: string;
544
+ };
545
+ savedValues: {
546
+ [x: string]: string;
547
+ };
548
+ validationResults: {
549
+ [x: string]: {
550
+ ok: true;
551
+ convertTo?: string | undefined;
552
+ } | {
553
+ ok: false;
554
+ reason: string;
555
+ };
556
+ };
557
+ email: string | null;
558
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
559
+ ui: {
560
+ isSavingData: boolean;
561
+ isCancelConfirmSheetVisible: boolean;
562
+ isKycInfoSheetVisible: boolean;
563
+ isMailInfoSheetVisible: boolean;
564
+ errorSheet?: {
565
+ title: string;
566
+ text: string;
567
+ isVisible: boolean;
568
+ } | undefined;
569
+ };
570
+ result: {
571
+ type: "success";
572
+ } | {
573
+ type: "fail";
574
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
575
+ } | null;
576
+ } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
577
+ hasValidationError(state: {
578
+ mode: "default" | "edit";
579
+ formData: {
580
+ isKycRequired: boolean;
581
+ categories: {
582
+ categoryName: string;
583
+ categoryTitle: string;
584
+ categorySubTitle: string;
585
+ isAllDataPointFilled: boolean;
586
+ dataPointGroup: {
587
+ groupType: string;
588
+ groupName: string;
589
+ dataPoints: {
590
+ name: string;
591
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
592
+ isEditable: boolean;
593
+ isOptional: boolean;
594
+ isKycData: boolean;
595
+ placeholder: string;
596
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
597
+ value?: string | undefined;
598
+ selectionItems?: string[] | undefined;
599
+ }[];
600
+ }[];
601
+ }[];
602
+ } | null;
603
+ currentCategoryIndex: number;
604
+ inputValues: {
605
+ [x: string]: string;
606
+ };
607
+ savedValues: {
608
+ [x: string]: string;
609
+ };
610
+ validationResults: {
611
+ [x: string]: {
612
+ ok: true;
613
+ convertTo?: string | undefined;
614
+ } | {
615
+ ok: false;
616
+ reason: string;
617
+ };
618
+ };
619
+ email: string | null;
620
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
621
+ ui: {
622
+ isSavingData: boolean;
623
+ isCancelConfirmSheetVisible: boolean;
624
+ isKycInfoSheetVisible: boolean;
625
+ isMailInfoSheetVisible: boolean;
626
+ errorSheet?: {
627
+ title: string;
628
+ text: string;
629
+ isVisible: boolean;
630
+ } | undefined;
631
+ };
632
+ result: {
633
+ type: "success";
634
+ } | {
635
+ type: "fail";
636
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
637
+ } | null;
638
+ } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
639
+ validationErrorForGroup(state: {
640
+ mode: "default" | "edit";
641
+ formData: {
642
+ isKycRequired: boolean;
643
+ categories: {
644
+ categoryName: string;
645
+ categoryTitle: string;
646
+ categorySubTitle: string;
647
+ isAllDataPointFilled: boolean;
648
+ dataPointGroup: {
649
+ groupType: string;
650
+ groupName: string;
651
+ dataPoints: {
652
+ name: string;
653
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
654
+ isEditable: boolean;
655
+ isOptional: boolean;
656
+ isKycData: boolean;
657
+ placeholder: string;
658
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
659
+ value?: string | undefined;
660
+ selectionItems?: string[] | undefined;
661
+ }[];
662
+ }[];
663
+ }[];
664
+ } | null;
665
+ currentCategoryIndex: number;
666
+ inputValues: {
667
+ [x: string]: string;
668
+ };
669
+ savedValues: {
670
+ [x: string]: string;
671
+ };
672
+ validationResults: {
673
+ [x: string]: {
674
+ ok: true;
675
+ convertTo?: string | undefined;
676
+ } | {
677
+ ok: false;
678
+ reason: string;
679
+ };
680
+ };
681
+ email: string | null;
682
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
683
+ ui: {
684
+ isSavingData: boolean;
685
+ isCancelConfirmSheetVisible: boolean;
686
+ isKycInfoSheetVisible: boolean;
687
+ isMailInfoSheetVisible: boolean;
688
+ errorSheet?: {
689
+ title: string;
690
+ text: string;
691
+ isVisible: boolean;
692
+ } | undefined;
693
+ };
694
+ result: {
695
+ type: "success";
696
+ } | {
697
+ type: "fail";
698
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
699
+ } | null;
700
+ } & {}): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
701
+ shouldDisableSaveButton(state: {
702
+ mode: "default" | "edit";
703
+ formData: {
704
+ isKycRequired: boolean;
705
+ categories: {
706
+ categoryName: string;
707
+ categoryTitle: string;
708
+ categorySubTitle: string;
709
+ isAllDataPointFilled: boolean;
710
+ dataPointGroup: {
711
+ groupType: string;
712
+ groupName: string;
713
+ dataPoints: {
714
+ name: string;
715
+ type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
716
+ isEditable: boolean;
717
+ isOptional: boolean;
718
+ isKycData: boolean;
719
+ placeholder: string;
720
+ validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
721
+ value?: string | undefined;
722
+ selectionItems?: string[] | undefined;
723
+ }[];
724
+ }[];
725
+ }[];
726
+ } | null;
727
+ currentCategoryIndex: number;
728
+ inputValues: {
729
+ [x: string]: string;
730
+ };
731
+ savedValues: {
732
+ [x: string]: string;
733
+ };
734
+ validationResults: {
735
+ [x: string]: {
736
+ ok: true;
737
+ convertTo?: string | undefined;
738
+ } | {
739
+ ok: false;
740
+ reason: string;
741
+ };
742
+ };
743
+ email: string | null;
744
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
745
+ ui: {
746
+ isSavingData: boolean;
747
+ isCancelConfirmSheetVisible: boolean;
748
+ isKycInfoSheetVisible: boolean;
749
+ isMailInfoSheetVisible: boolean;
750
+ errorSheet?: {
751
+ title: string;
752
+ text: string;
753
+ isVisible: boolean;
754
+ } | undefined;
755
+ };
756
+ result: {
757
+ type: "success";
758
+ } | {
759
+ type: "fail";
760
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
761
+ } | null;
762
+ } & {}): boolean;
763
+ }, {
764
+ initialize(params: import("../../types").RegisterUserInfoParams): void;
765
+ saveCategory(): void;
766
+ getEmailStatus(): void;
767
+ onInputValueChange(dataPoint: import("./types").UserProfileFormDataPoint, value: string): void;
768
+ onBackButton(): void;
769
+ onCancelFormButton(): void;
770
+ closeCancelConfirmationSheet(): void;
771
+ confirmCancel(): void;
772
+ showKycInfoSheet(): void;
773
+ closeKycInfoSheet(): void;
774
+ showMailInfoSheet(): void;
775
+ closeMailInfoSheet(): void;
776
+ closeErrorSheet(): void;
777
+ }>;
778
+ showsBackButton: import("vue").ComputedRef<boolean>;
779
+ saveButtonTitle: import("vue").ComputedRef<string>;
780
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
781
+ export default _default;