@paypay/mini-app-js-sdk 1.41.0 → 1.42.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 (35) hide show
  1. package/dist/mini-app-js-sdk.browser.js +1 -1
  2. package/dist/mini-app-js-sdk.es.js +1233 -881
  3. package/dist/mini-app-js-sdk.min.css +1 -1
  4. package/dist/model/bridge/getConfigure.d.ts +6 -0
  5. package/dist/model/makePayment.d.ts +14 -10
  6. package/dist/package/action-sheet/index.d.ts +1 -1
  7. package/dist/package/banner-header/index.vue.d.ts +1 -1
  8. package/dist/package/input/currency/index.d.ts +124 -0
  9. package/dist/package/input/email/index.d.ts +137 -0
  10. package/dist/package/input/{index.d.ts → text/index.d.ts} +0 -113
  11. package/dist/package/input/zip/index.d.ts +107 -0
  12. package/dist/package/payment-method/PayLaterCC.vue.d.ts +3 -3
  13. package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
  14. package/dist/package/payment-type/PayLaterCC.vue.d.ts +14 -3
  15. package/dist/package/payment-type/Wallet.vue.d.ts +11 -0
  16. package/dist/package/payment-type/index.d.ts +11 -0
  17. package/dist/package/select-list/index.d.ts +2 -2
  18. package/dist/utils/fetch.d.ts +1 -0
  19. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +1 -1
  20. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
  21. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -1
  22. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +1 -2
  23. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +130 -88
  24. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +8 -9
  25. package/dist/views/make-payment/hooks/app-hooks.d.ts +65 -44
  26. package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
  27. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +252 -70
  28. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +252 -70
  29. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +252 -70
  30. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +252 -70
  31. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +252 -70
  32. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
  33. package/dist/views/register-user-info/store.d.ts +28 -70
  34. package/dist/views/topup/App.vue.d.ts +2 -0
  35. package/package.json +2 -2
@@ -49,7 +49,7 @@ export declare function useConsult(props: Props): {
49
49
  insufficientAmount: number;
50
50
  paymentMethodList: ({
51
51
  paymentMethodId: string;
52
- paymentMethodType: PaymentMethodType;
52
+ paymentMethodType: PaymentMethodType.WALLET;
53
53
  descriptionBannerInfo?: {
54
54
  label?: string | undefined;
55
55
  title?: string | undefined;
@@ -70,15 +70,6 @@ export declare function useConsult(props: Props): {
70
70
  canCloseByOutsideTap: boolean;
71
71
  } | undefined;
72
72
  } | undefined;
73
- creditCardInfo?: unknown;
74
- bankInfo?: unknown;
75
- sbidCarrierBillingInfo?: unknown;
76
- payLaterCcInfo?: unknown;
77
- paymentMethodDescriptionInfo?: {
78
- statusDescription: {
79
- [x: string]: unknown;
80
- } | null;
81
- } | undefined;
82
73
  walletInfo?: {
83
74
  cashBackBalanceInfo?: {
84
75
  balance: number;
@@ -141,10 +132,16 @@ export declare function useConsult(props: Props): {
141
132
  } | undefined;
142
133
  } | undefined;
143
134
  } | undefined;
135
+ creditCardInfo?: unknown;
136
+ bankInfo?: unknown;
137
+ sbidCarrierBillingInfo?: unknown;
138
+ payLaterCcInfo?: unknown;
139
+ paymentMethodDescriptionInfo?: {
140
+ statusDescription: Record<string, unknown> | null;
141
+ } | undefined;
144
142
  } | {
145
- walletInfo?: unknown;
146
143
  paymentMethodId: string;
147
- paymentMethodType: PaymentMethodType;
144
+ paymentMethodType: PaymentMethodType.CREDIT_CARD;
148
145
  descriptionBannerInfo?: {
149
146
  label?: string | undefined;
150
147
  title?: string | undefined;
@@ -165,14 +162,7 @@ export declare function useConsult(props: Props): {
165
162
  canCloseByOutsideTap: boolean;
166
163
  } | undefined;
167
164
  } | undefined;
168
- bankInfo?: unknown;
169
- sbidCarrierBillingInfo?: unknown;
170
- payLaterCcInfo?: unknown;
171
- paymentMethodDescriptionInfo?: {
172
- statusDescription: {
173
- [x: string]: unknown;
174
- } | null;
175
- } | undefined;
165
+ walletInfo?: unknown;
176
166
  creditCardInfo?: {
177
167
  brand?: import('../../../model/makePayment').CreditTypes | undefined;
178
168
  isAuthenticated?: boolean | undefined;
@@ -182,10 +172,15 @@ export declare function useConsult(props: Props): {
182
172
  ccType?: string | undefined;
183
173
  paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
184
174
  } | undefined;
175
+ bankInfo?: unknown;
176
+ sbidCarrierBillingInfo?: unknown;
177
+ payLaterCcInfo?: unknown;
178
+ paymentMethodDescriptionInfo?: {
179
+ statusDescription: Record<string, unknown> | null;
180
+ } | undefined;
185
181
  } | {
186
- walletInfo?: unknown;
187
182
  paymentMethodId: string;
188
- paymentMethodType: PaymentMethodType;
183
+ paymentMethodType: PaymentMethodType.BANK | PaymentMethodType.YMONEY_BANK;
189
184
  descriptionBannerInfo?: {
190
185
  label?: string | undefined;
191
186
  title?: string | undefined;
@@ -206,14 +201,8 @@ export declare function useConsult(props: Props): {
206
201
  canCloseByOutsideTap: boolean;
207
202
  } | undefined;
208
203
  } | undefined;
204
+ walletInfo?: unknown;
209
205
  creditCardInfo?: unknown;
210
- sbidCarrierBillingInfo?: unknown;
211
- payLaterCcInfo?: unknown;
212
- paymentMethodDescriptionInfo?: {
213
- statusDescription: {
214
- [x: string]: unknown;
215
- } | null;
216
- } | undefined;
217
206
  bankInfo?: {
218
207
  paymentMethodStatusLabel?: string | undefined;
219
208
  paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
@@ -230,10 +219,14 @@ export declare function useConsult(props: Props): {
230
219
  bankAccountType?: string | undefined;
231
220
  bankAccountNumberLast2digits?: string | undefined;
232
221
  } | undefined;
222
+ sbidCarrierBillingInfo?: unknown;
223
+ payLaterCcInfo?: unknown;
224
+ paymentMethodDescriptionInfo?: {
225
+ statusDescription: Record<string, unknown> | null;
226
+ } | undefined;
233
227
  } | {
234
- walletInfo?: unknown;
235
228
  paymentMethodId: string;
236
- paymentMethodType: PaymentMethodType;
229
+ paymentMethodType: PaymentMethodType.SBID_CARRIER_BILLING;
237
230
  descriptionBannerInfo?: {
238
231
  label?: string | undefined;
239
232
  title?: string | undefined;
@@ -254,21 +247,19 @@ export declare function useConsult(props: Props): {
254
247
  canCloseByOutsideTap: boolean;
255
248
  } | undefined;
256
249
  } | undefined;
250
+ walletInfo?: unknown;
257
251
  creditCardInfo?: unknown;
258
252
  bankInfo?: unknown;
259
- payLaterCcInfo?: unknown;
260
- paymentMethodDescriptionInfo?: {
261
- statusDescription: {
262
- [x: string]: unknown;
263
- } | null;
264
- } | undefined;
265
253
  sbidCarrierBillingInfo?: {
266
254
  paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
267
255
  } | undefined;
256
+ payLaterCcInfo?: unknown;
257
+ paymentMethodDescriptionInfo?: {
258
+ statusDescription: Record<string, unknown> | null;
259
+ } | undefined;
268
260
  } | {
269
- walletInfo?: unknown;
270
261
  paymentMethodId: string;
271
- paymentMethodType: PaymentMethodType;
262
+ paymentMethodType: PaymentMethodType.PAY_LATER_CC;
272
263
  descriptionBannerInfo?: {
273
264
  label?: string | undefined;
274
265
  title?: string | undefined;
@@ -289,18 +280,48 @@ export declare function useConsult(props: Props): {
289
280
  canCloseByOutsideTap: boolean;
290
281
  } | undefined;
291
282
  } | undefined;
283
+ walletInfo?: unknown;
292
284
  creditCardInfo?: unknown;
293
285
  bankInfo?: unknown;
294
286
  sbidCarrierBillingInfo?: unknown;
295
- paymentMethodDescriptionInfo?: {
296
- statusDescription: {
297
- [x: string]: unknown;
298
- } | null;
299
- } | undefined;
300
287
  payLaterCcInfo?: {
301
288
  availableAmount?: number | undefined;
302
289
  paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
303
290
  } | undefined;
291
+ paymentMethodDescriptionInfo?: {
292
+ statusDescription: Record<string, unknown> | null;
293
+ } | undefined;
294
+ } | {
295
+ paymentMethodId: string;
296
+ paymentMethodType: PaymentMethodType.PAY_LATER;
297
+ descriptionBannerInfo?: {
298
+ label?: string | undefined;
299
+ title?: string | undefined;
300
+ iconImageUrl?: string | undefined;
301
+ displayResponse?: {
302
+ title: string;
303
+ buttonList: {
304
+ nativeAction: string;
305
+ title: string;
306
+ actionType: import('../../../model/uiComponents').UIComponentsButtonActionType;
307
+ buttonType: import('../../../model/uiComponents').UIComponentsButtonType;
308
+ deeplink?: string | undefined;
309
+ googleAnalyticsInfo: unknown;
310
+ type: unknown;
311
+ }[];
312
+ iconUrl?: string | undefined;
313
+ description: string;
314
+ canCloseByOutsideTap: boolean;
315
+ } | undefined;
316
+ } | undefined;
317
+ walletInfo?: unknown;
318
+ creditCardInfo?: unknown;
319
+ bankInfo?: unknown;
320
+ sbidCarrierBillingInfo?: unknown;
321
+ payLaterCcInfo?: unknown;
322
+ paymentMethodDescriptionInfo?: {
323
+ statusDescription: Record<string, unknown> | null;
324
+ } | undefined;
304
325
  })[];
305
326
  prepaidOnly: boolean | null;
306
327
  recommendedTopupAmount: number;
@@ -1,5 +1,4 @@
1
- import { PaymentMethod, PaymentOpType } from '../../../model/makePayment';
2
- export declare function isAvailablePaymentMethod(paymentMethod: PaymentMethod): boolean;
3
- export declare function hasAvailablePaymentMethod(paymentMethods: PaymentMethod[]): boolean;
4
- export declare function findFirstValidMethod(paymentMethods: PaymentMethod[], type: PaymentOpType): number;
5
- export declare function isValidPaymentMethod(savedMethod: string | null, paymentMethods: PaymentMethod[], type: PaymentOpType): boolean;
1
+ import { PaymentMethod } from '../../../model/makePayment';
2
+ export declare function hasAvailableTopupMethod(paymentMethods: PaymentMethod[]): boolean;
3
+ export declare function findFirstValidMethod(paymentMethods: PaymentMethod[]): number;
4
+ export declare function isValidPaymentMethod(savedMethod: string | null, paymentMethods: PaymentMethod[]): boolean;
@@ -355,19 +355,13 @@ declare const _default: import("vue").DefineComponent<{}, {
355
355
  } | null;
356
356
  currentCategoryIndex: number;
357
357
  inputValues: {
358
- [x: string]: string;
358
+ [dataPointName: string]: string;
359
359
  };
360
360
  savedValues: {
361
- [x: string]: string;
361
+ [dataPointName: string]: string;
362
362
  };
363
363
  validationResults: {
364
- [x: string]: {
365
- ok: true;
366
- convertTo?: string | undefined;
367
- } | {
368
- ok: false;
369
- reason: string;
370
- };
364
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
371
365
  };
372
366
  email: string | null;
373
367
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -388,7 +382,39 @@ declare const _default: import("vue").DefineComponent<{}, {
388
382
  type: "fail";
389
383
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
390
384
  } | null;
391
- } & {}): boolean;
385
+ } & import("pinia").PiniaCustomStateProperties<{
386
+ mode: "default" | "edit";
387
+ formData: import("./types").UserProfileFormData | null;
388
+ currentCategoryIndex: number;
389
+ inputValues: {
390
+ [dataPointName: string]: string;
391
+ };
392
+ savedValues: {
393
+ [dataPointName: string]: string;
394
+ };
395
+ validationResults: {
396
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
397
+ };
398
+ email: string | null;
399
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
400
+ ui: {
401
+ isSavingData: boolean;
402
+ isCancelConfirmSheetVisible: boolean;
403
+ isKycInfoSheetVisible: boolean;
404
+ isMailInfoSheetVisible: boolean;
405
+ errorSheet?: {
406
+ title: string;
407
+ text: string;
408
+ isVisible: boolean;
409
+ } | undefined;
410
+ };
411
+ result: ({
412
+ type: "success";
413
+ } | {
414
+ type: "fail";
415
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
416
+ }) | null;
417
+ }>): boolean;
392
418
  categoryAtIndex(state: {
393
419
  mode: "default" | "edit";
394
420
  formData: {
@@ -417,19 +443,13 @@ declare const _default: import("vue").DefineComponent<{}, {
417
443
  } | null;
418
444
  currentCategoryIndex: number;
419
445
  inputValues: {
420
- [x: string]: string;
446
+ [dataPointName: string]: string;
421
447
  };
422
448
  savedValues: {
423
- [x: string]: string;
449
+ [dataPointName: string]: string;
424
450
  };
425
451
  validationResults: {
426
- [x: string]: {
427
- ok: true;
428
- convertTo?: string | undefined;
429
- } | {
430
- ok: false;
431
- reason: string;
432
- };
452
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
433
453
  };
434
454
  email: string | null;
435
455
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -450,7 +470,39 @@ declare const _default: import("vue").DefineComponent<{}, {
450
470
  type: "fail";
451
471
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
452
472
  } | null;
453
- } & {}): (index: number) => import("./types").UserProfileFormCategory;
473
+ } & import("pinia").PiniaCustomStateProperties<{
474
+ mode: "default" | "edit";
475
+ formData: import("./types").UserProfileFormData | null;
476
+ currentCategoryIndex: number;
477
+ inputValues: {
478
+ [dataPointName: string]: string;
479
+ };
480
+ savedValues: {
481
+ [dataPointName: string]: string;
482
+ };
483
+ validationResults: {
484
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
485
+ };
486
+ email: string | null;
487
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
488
+ ui: {
489
+ isSavingData: boolean;
490
+ isCancelConfirmSheetVisible: boolean;
491
+ isKycInfoSheetVisible: boolean;
492
+ isMailInfoSheetVisible: boolean;
493
+ errorSheet?: {
494
+ title: string;
495
+ text: string;
496
+ isVisible: boolean;
497
+ } | undefined;
498
+ };
499
+ result: ({
500
+ type: "success";
501
+ } | {
502
+ type: "fail";
503
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
504
+ }) | null;
505
+ }>): (index: number) => import("./types").UserProfileFormCategory;
454
506
  numberOfCategories(state: {
455
507
  mode: "default" | "edit";
456
508
  formData: {
@@ -479,19 +531,13 @@ declare const _default: import("vue").DefineComponent<{}, {
479
531
  } | null;
480
532
  currentCategoryIndex: number;
481
533
  inputValues: {
482
- [x: string]: string;
534
+ [dataPointName: string]: string;
483
535
  };
484
536
  savedValues: {
485
- [x: string]: string;
537
+ [dataPointName: string]: string;
486
538
  };
487
539
  validationResults: {
488
- [x: string]: {
489
- ok: true;
490
- convertTo?: string | undefined;
491
- } | {
492
- ok: false;
493
- reason: string;
494
- };
540
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
495
541
  };
496
542
  email: string | null;
497
543
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -512,7 +558,39 @@ declare const _default: import("vue").DefineComponent<{}, {
512
558
  type: "fail";
513
559
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
514
560
  } | null;
515
- } & {}): number;
561
+ } & import("pinia").PiniaCustomStateProperties<{
562
+ mode: "default" | "edit";
563
+ formData: import("./types").UserProfileFormData | null;
564
+ currentCategoryIndex: number;
565
+ inputValues: {
566
+ [dataPointName: string]: string;
567
+ };
568
+ savedValues: {
569
+ [dataPointName: string]: string;
570
+ };
571
+ validationResults: {
572
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
573
+ };
574
+ email: string | null;
575
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
576
+ ui: {
577
+ isSavingData: boolean;
578
+ isCancelConfirmSheetVisible: boolean;
579
+ isKycInfoSheetVisible: boolean;
580
+ isMailInfoSheetVisible: boolean;
581
+ errorSheet?: {
582
+ title: string;
583
+ text: string;
584
+ isVisible: boolean;
585
+ } | undefined;
586
+ };
587
+ result: ({
588
+ type: "success";
589
+ } | {
590
+ type: "fail";
591
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
592
+ }) | null;
593
+ }>): number;
516
594
  currentValue(state: {
517
595
  mode: "default" | "edit";
518
596
  formData: {
@@ -541,19 +619,13 @@ declare const _default: import("vue").DefineComponent<{}, {
541
619
  } | null;
542
620
  currentCategoryIndex: number;
543
621
  inputValues: {
544
- [x: string]: string;
622
+ [dataPointName: string]: string;
545
623
  };
546
624
  savedValues: {
547
- [x: string]: string;
625
+ [dataPointName: string]: string;
548
626
  };
549
627
  validationResults: {
550
- [x: string]: {
551
- ok: true;
552
- convertTo?: string | undefined;
553
- } | {
554
- ok: false;
555
- reason: string;
556
- };
628
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
557
629
  };
558
630
  email: string | null;
559
631
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -574,7 +646,39 @@ declare const _default: import("vue").DefineComponent<{}, {
574
646
  type: "fail";
575
647
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
576
648
  } | null;
577
- } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
649
+ } & import("pinia").PiniaCustomStateProperties<{
650
+ mode: "default" | "edit";
651
+ formData: import("./types").UserProfileFormData | null;
652
+ currentCategoryIndex: number;
653
+ inputValues: {
654
+ [dataPointName: string]: string;
655
+ };
656
+ savedValues: {
657
+ [dataPointName: string]: string;
658
+ };
659
+ validationResults: {
660
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
661
+ };
662
+ email: string | null;
663
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
664
+ ui: {
665
+ isSavingData: boolean;
666
+ isCancelConfirmSheetVisible: boolean;
667
+ isKycInfoSheetVisible: boolean;
668
+ isMailInfoSheetVisible: boolean;
669
+ errorSheet?: {
670
+ title: string;
671
+ text: string;
672
+ isVisible: boolean;
673
+ } | undefined;
674
+ };
675
+ result: ({
676
+ type: "success";
677
+ } | {
678
+ type: "fail";
679
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
680
+ }) | null;
681
+ }>): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
578
682
  hasValidationError(state: {
579
683
  mode: "default" | "edit";
580
684
  formData: {
@@ -603,19 +707,13 @@ declare const _default: import("vue").DefineComponent<{}, {
603
707
  } | null;
604
708
  currentCategoryIndex: number;
605
709
  inputValues: {
606
- [x: string]: string;
710
+ [dataPointName: string]: string;
607
711
  };
608
712
  savedValues: {
609
- [x: string]: string;
713
+ [dataPointName: string]: string;
610
714
  };
611
715
  validationResults: {
612
- [x: string]: {
613
- ok: true;
614
- convertTo?: string | undefined;
615
- } | {
616
- ok: false;
617
- reason: string;
618
- };
716
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
619
717
  };
620
718
  email: string | null;
621
719
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -636,7 +734,39 @@ declare const _default: import("vue").DefineComponent<{}, {
636
734
  type: "fail";
637
735
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
638
736
  } | null;
639
- } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
737
+ } & import("pinia").PiniaCustomStateProperties<{
738
+ mode: "default" | "edit";
739
+ formData: import("./types").UserProfileFormData | null;
740
+ currentCategoryIndex: number;
741
+ inputValues: {
742
+ [dataPointName: string]: string;
743
+ };
744
+ savedValues: {
745
+ [dataPointName: string]: string;
746
+ };
747
+ validationResults: {
748
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
749
+ };
750
+ email: string | null;
751
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
752
+ ui: {
753
+ isSavingData: boolean;
754
+ isCancelConfirmSheetVisible: boolean;
755
+ isKycInfoSheetVisible: boolean;
756
+ isMailInfoSheetVisible: boolean;
757
+ errorSheet?: {
758
+ title: string;
759
+ text: string;
760
+ isVisible: boolean;
761
+ } | undefined;
762
+ };
763
+ result: ({
764
+ type: "success";
765
+ } | {
766
+ type: "fail";
767
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
768
+ }) | null;
769
+ }>): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
640
770
  validationErrorForGroup(state: {
641
771
  mode: "default" | "edit";
642
772
  formData: {
@@ -665,19 +795,13 @@ declare const _default: import("vue").DefineComponent<{}, {
665
795
  } | null;
666
796
  currentCategoryIndex: number;
667
797
  inputValues: {
668
- [x: string]: string;
798
+ [dataPointName: string]: string;
669
799
  };
670
800
  savedValues: {
671
- [x: string]: string;
801
+ [dataPointName: string]: string;
672
802
  };
673
803
  validationResults: {
674
- [x: string]: {
675
- ok: true;
676
- convertTo?: string | undefined;
677
- } | {
678
- ok: false;
679
- reason: string;
680
- };
804
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
681
805
  };
682
806
  email: string | null;
683
807
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -698,7 +822,39 @@ declare const _default: import("vue").DefineComponent<{}, {
698
822
  type: "fail";
699
823
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
700
824
  } | null;
701
- } & {}): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
825
+ } & import("pinia").PiniaCustomStateProperties<{
826
+ mode: "default" | "edit";
827
+ formData: import("./types").UserProfileFormData | null;
828
+ currentCategoryIndex: number;
829
+ inputValues: {
830
+ [dataPointName: string]: string;
831
+ };
832
+ savedValues: {
833
+ [dataPointName: string]: string;
834
+ };
835
+ validationResults: {
836
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
837
+ };
838
+ email: string | null;
839
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
840
+ ui: {
841
+ isSavingData: boolean;
842
+ isCancelConfirmSheetVisible: boolean;
843
+ isKycInfoSheetVisible: boolean;
844
+ isMailInfoSheetVisible: boolean;
845
+ errorSheet?: {
846
+ title: string;
847
+ text: string;
848
+ isVisible: boolean;
849
+ } | undefined;
850
+ };
851
+ result: ({
852
+ type: "success";
853
+ } | {
854
+ type: "fail";
855
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
856
+ }) | null;
857
+ }>): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
702
858
  shouldDisableSaveButton(state: {
703
859
  mode: "default" | "edit";
704
860
  formData: {
@@ -727,19 +883,13 @@ declare const _default: import("vue").DefineComponent<{}, {
727
883
  } | null;
728
884
  currentCategoryIndex: number;
729
885
  inputValues: {
730
- [x: string]: string;
886
+ [dataPointName: string]: string;
731
887
  };
732
888
  savedValues: {
733
- [x: string]: string;
889
+ [dataPointName: string]: string;
734
890
  };
735
891
  validationResults: {
736
- [x: string]: {
737
- ok: true;
738
- convertTo?: string | undefined;
739
- } | {
740
- ok: false;
741
- reason: string;
742
- };
892
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
743
893
  };
744
894
  email: string | null;
745
895
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -760,7 +910,39 @@ declare const _default: import("vue").DefineComponent<{}, {
760
910
  type: "fail";
761
911
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
762
912
  } | null;
763
- } & {}): boolean;
913
+ } & import("pinia").PiniaCustomStateProperties<{
914
+ mode: "default" | "edit";
915
+ formData: import("./types").UserProfileFormData | null;
916
+ currentCategoryIndex: number;
917
+ inputValues: {
918
+ [dataPointName: string]: string;
919
+ };
920
+ savedValues: {
921
+ [dataPointName: string]: string;
922
+ };
923
+ validationResults: {
924
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
925
+ };
926
+ email: string | null;
927
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
928
+ ui: {
929
+ isSavingData: boolean;
930
+ isCancelConfirmSheetVisible: boolean;
931
+ isKycInfoSheetVisible: boolean;
932
+ isMailInfoSheetVisible: boolean;
933
+ errorSheet?: {
934
+ title: string;
935
+ text: string;
936
+ isVisible: boolean;
937
+ } | undefined;
938
+ };
939
+ result: ({
940
+ type: "success";
941
+ } | {
942
+ type: "fail";
943
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
944
+ }) | null;
945
+ }>): boolean;
764
946
  }, {
765
947
  initialize(params: import("../../types").RegisterUserInfoParams): void;
766
948
  saveCategory(): void;