@paypay/mini-app-js-sdk 1.39.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.
- package/dist/composition-api/useRegisterEmail.d.ts +1 -1
- package/dist/mini-app-api.d.ts +2 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.d.ts +2 -1
- package/dist/mini-app-js-sdk.es.js +8751 -8457
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +1 -1
- package/dist/model/bridge/debug.d.ts +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +1 -1
- package/dist/model/bridge/getBankInfo.d.ts +1 -1
- package/dist/model/bridge/getConfigure.d.ts +6 -0
- package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
- package/dist/model/bridge/getPlatformInformation.d.ts +1 -1
- package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
- package/dist/model/bridge/getUAID.d.ts +1 -1
- package/dist/model/bridge/getUserProfile.d.ts +1 -1
- package/dist/model/bridge/logout.d.ts +1 -1
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/scanCode.d.ts +1 -1
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +1 -1
- package/dist/model/makePayment.d.ts +21 -19
- package/dist/package/action-sheet/index.d.ts +1 -1
- package/dist/package/banner-header/index.vue.d.ts +1 -1
- package/dist/package/input/currency/index.d.ts +124 -0
- package/dist/package/input/email/index.d.ts +137 -0
- package/dist/package/input/{index.d.ts → text/index.d.ts} +0 -113
- package/dist/package/input/zip/index.d.ts +107 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +3 -3
- package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +14 -3
- package/dist/package/payment-type/Wallet.vue.d.ts +11 -0
- package/dist/package/payment-type/index.d.ts +11 -0
- package/dist/package/select-list/index.d.ts +2 -2
- package/dist/types.d.ts +28 -1
- package/dist/utils/api.d.ts +53 -6
- package/dist/utils/fetch.d.ts +9 -0
- package/dist/utils/helper.d.ts +1 -0
- package/dist/views/email-registration/App.vue.d.ts +1 -1
- package/dist/views/email-registration/hooks/callback.d.ts +1 -1
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +2 -2
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +1 -1
- package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +1 -1
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -1
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +1 -2
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +130 -88
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +8 -9
- package/dist/views/make-payment/hooks/app-hooks.d.ts +70 -49
- package/dist/views/make-payment/store/handle-error.d.ts +2 -2
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +2 -2
- package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
- package/dist/views/register-user-info/store.d.ts +28 -70
- package/dist/views/topup/App.vue.d.ts +2 -1
- package/package.json +2 -2
- package/dist/composition-api/dom/index.d.ts +0 -6
- package/dist/jsbridge-core/index.d.ts +0 -4
- package/dist/model/bridge/index.d.ts +0 -46
- package/dist/package/index.d.ts +0 -18
- package/dist/package/switch/index.d.ts +0 -23
|
@@ -410,19 +410,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
410
410
|
} | null;
|
|
411
411
|
currentCategoryIndex: number;
|
|
412
412
|
inputValues: {
|
|
413
|
-
[
|
|
413
|
+
[dataPointName: string]: string;
|
|
414
414
|
};
|
|
415
415
|
savedValues: {
|
|
416
|
-
[
|
|
416
|
+
[dataPointName: string]: string;
|
|
417
417
|
};
|
|
418
418
|
validationResults: {
|
|
419
|
-
[
|
|
420
|
-
ok: true;
|
|
421
|
-
convertTo?: string | undefined;
|
|
422
|
-
} | {
|
|
423
|
-
ok: false;
|
|
424
|
-
reason: string;
|
|
425
|
-
};
|
|
419
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
426
420
|
};
|
|
427
421
|
email: string | null;
|
|
428
422
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -443,7 +437,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
443
437
|
type: "fail";
|
|
444
438
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
445
439
|
} | null;
|
|
446
|
-
} & {
|
|
440
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
441
|
+
mode: "default" | "edit";
|
|
442
|
+
formData: import("./types").UserProfileFormData | null;
|
|
443
|
+
currentCategoryIndex: number;
|
|
444
|
+
inputValues: {
|
|
445
|
+
[dataPointName: string]: string;
|
|
446
|
+
};
|
|
447
|
+
savedValues: {
|
|
448
|
+
[dataPointName: string]: string;
|
|
449
|
+
};
|
|
450
|
+
validationResults: {
|
|
451
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
452
|
+
};
|
|
453
|
+
email: string | null;
|
|
454
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
455
|
+
ui: {
|
|
456
|
+
isSavingData: boolean;
|
|
457
|
+
isCancelConfirmSheetVisible: boolean;
|
|
458
|
+
isKycInfoSheetVisible: boolean;
|
|
459
|
+
isMailInfoSheetVisible: boolean;
|
|
460
|
+
errorSheet?: {
|
|
461
|
+
title: string;
|
|
462
|
+
text: string;
|
|
463
|
+
isVisible: boolean;
|
|
464
|
+
} | undefined;
|
|
465
|
+
};
|
|
466
|
+
result: ({
|
|
467
|
+
type: "success";
|
|
468
|
+
} | {
|
|
469
|
+
type: "fail";
|
|
470
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
471
|
+
}) | null;
|
|
472
|
+
}>): boolean;
|
|
447
473
|
categoryAtIndex(state: {
|
|
448
474
|
mode: "default" | "edit";
|
|
449
475
|
formData: {
|
|
@@ -472,19 +498,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
498
|
} | null;
|
|
473
499
|
currentCategoryIndex: number;
|
|
474
500
|
inputValues: {
|
|
475
|
-
[
|
|
501
|
+
[dataPointName: string]: string;
|
|
476
502
|
};
|
|
477
503
|
savedValues: {
|
|
478
|
-
[
|
|
504
|
+
[dataPointName: string]: string;
|
|
479
505
|
};
|
|
480
506
|
validationResults: {
|
|
481
|
-
[
|
|
482
|
-
ok: true;
|
|
483
|
-
convertTo?: string | undefined;
|
|
484
|
-
} | {
|
|
485
|
-
ok: false;
|
|
486
|
-
reason: string;
|
|
487
|
-
};
|
|
507
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
488
508
|
};
|
|
489
509
|
email: string | null;
|
|
490
510
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -505,7 +525,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
505
525
|
type: "fail";
|
|
506
526
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
507
527
|
} | null;
|
|
508
|
-
} &
|
|
528
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
529
|
+
mode: "default" | "edit";
|
|
530
|
+
formData: import("./types").UserProfileFormData | null;
|
|
531
|
+
currentCategoryIndex: number;
|
|
532
|
+
inputValues: {
|
|
533
|
+
[dataPointName: string]: string;
|
|
534
|
+
};
|
|
535
|
+
savedValues: {
|
|
536
|
+
[dataPointName: string]: string;
|
|
537
|
+
};
|
|
538
|
+
validationResults: {
|
|
539
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
540
|
+
};
|
|
541
|
+
email: string | null;
|
|
542
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
543
|
+
ui: {
|
|
544
|
+
isSavingData: boolean;
|
|
545
|
+
isCancelConfirmSheetVisible: boolean;
|
|
546
|
+
isKycInfoSheetVisible: boolean;
|
|
547
|
+
isMailInfoSheetVisible: boolean;
|
|
548
|
+
errorSheet?: {
|
|
549
|
+
title: string;
|
|
550
|
+
text: string;
|
|
551
|
+
isVisible: boolean;
|
|
552
|
+
} | undefined;
|
|
553
|
+
};
|
|
554
|
+
result: ({
|
|
555
|
+
type: "success";
|
|
556
|
+
} | {
|
|
557
|
+
type: "fail";
|
|
558
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
559
|
+
}) | null;
|
|
560
|
+
}>): (index: number) => UserProfileFormCategory;
|
|
509
561
|
numberOfCategories(state: {
|
|
510
562
|
mode: "default" | "edit";
|
|
511
563
|
formData: {
|
|
@@ -534,19 +586,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
534
586
|
} | null;
|
|
535
587
|
currentCategoryIndex: number;
|
|
536
588
|
inputValues: {
|
|
537
|
-
[
|
|
589
|
+
[dataPointName: string]: string;
|
|
538
590
|
};
|
|
539
591
|
savedValues: {
|
|
540
|
-
[
|
|
592
|
+
[dataPointName: string]: string;
|
|
541
593
|
};
|
|
542
594
|
validationResults: {
|
|
543
|
-
[
|
|
544
|
-
ok: true;
|
|
545
|
-
convertTo?: string | undefined;
|
|
546
|
-
} | {
|
|
547
|
-
ok: false;
|
|
548
|
-
reason: string;
|
|
549
|
-
};
|
|
595
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
550
596
|
};
|
|
551
597
|
email: string | null;
|
|
552
598
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -567,7 +613,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
567
613
|
type: "fail";
|
|
568
614
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
569
615
|
} | null;
|
|
570
|
-
} & {
|
|
616
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
617
|
+
mode: "default" | "edit";
|
|
618
|
+
formData: import("./types").UserProfileFormData | null;
|
|
619
|
+
currentCategoryIndex: number;
|
|
620
|
+
inputValues: {
|
|
621
|
+
[dataPointName: string]: string;
|
|
622
|
+
};
|
|
623
|
+
savedValues: {
|
|
624
|
+
[dataPointName: string]: string;
|
|
625
|
+
};
|
|
626
|
+
validationResults: {
|
|
627
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
628
|
+
};
|
|
629
|
+
email: string | null;
|
|
630
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
631
|
+
ui: {
|
|
632
|
+
isSavingData: boolean;
|
|
633
|
+
isCancelConfirmSheetVisible: boolean;
|
|
634
|
+
isKycInfoSheetVisible: boolean;
|
|
635
|
+
isMailInfoSheetVisible: boolean;
|
|
636
|
+
errorSheet?: {
|
|
637
|
+
title: string;
|
|
638
|
+
text: string;
|
|
639
|
+
isVisible: boolean;
|
|
640
|
+
} | undefined;
|
|
641
|
+
};
|
|
642
|
+
result: ({
|
|
643
|
+
type: "success";
|
|
644
|
+
} | {
|
|
645
|
+
type: "fail";
|
|
646
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
647
|
+
}) | null;
|
|
648
|
+
}>): number;
|
|
571
649
|
currentValue(state: {
|
|
572
650
|
mode: "default" | "edit";
|
|
573
651
|
formData: {
|
|
@@ -596,19 +674,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
596
674
|
} | null;
|
|
597
675
|
currentCategoryIndex: number;
|
|
598
676
|
inputValues: {
|
|
599
|
-
[
|
|
677
|
+
[dataPointName: string]: string;
|
|
600
678
|
};
|
|
601
679
|
savedValues: {
|
|
602
|
-
[
|
|
680
|
+
[dataPointName: string]: string;
|
|
603
681
|
};
|
|
604
682
|
validationResults: {
|
|
605
|
-
[
|
|
606
|
-
ok: true;
|
|
607
|
-
convertTo?: string | undefined;
|
|
608
|
-
} | {
|
|
609
|
-
ok: false;
|
|
610
|
-
reason: string;
|
|
611
|
-
};
|
|
683
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
612
684
|
};
|
|
613
685
|
email: string | null;
|
|
614
686
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -629,7 +701,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
629
701
|
type: "fail";
|
|
630
702
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
631
703
|
} | null;
|
|
632
|
-
} &
|
|
704
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
705
|
+
mode: "default" | "edit";
|
|
706
|
+
formData: import("./types").UserProfileFormData | null;
|
|
707
|
+
currentCategoryIndex: number;
|
|
708
|
+
inputValues: {
|
|
709
|
+
[dataPointName: string]: string;
|
|
710
|
+
};
|
|
711
|
+
savedValues: {
|
|
712
|
+
[dataPointName: string]: string;
|
|
713
|
+
};
|
|
714
|
+
validationResults: {
|
|
715
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
716
|
+
};
|
|
717
|
+
email: string | null;
|
|
718
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
719
|
+
ui: {
|
|
720
|
+
isSavingData: boolean;
|
|
721
|
+
isCancelConfirmSheetVisible: boolean;
|
|
722
|
+
isKycInfoSheetVisible: boolean;
|
|
723
|
+
isMailInfoSheetVisible: boolean;
|
|
724
|
+
errorSheet?: {
|
|
725
|
+
title: string;
|
|
726
|
+
text: string;
|
|
727
|
+
isVisible: boolean;
|
|
728
|
+
} | undefined;
|
|
729
|
+
};
|
|
730
|
+
result: ({
|
|
731
|
+
type: "success";
|
|
732
|
+
} | {
|
|
733
|
+
type: "fail";
|
|
734
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
735
|
+
}) | null;
|
|
736
|
+
}>): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
|
|
633
737
|
hasValidationError(state: {
|
|
634
738
|
mode: "default" | "edit";
|
|
635
739
|
formData: {
|
|
@@ -658,19 +762,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
658
762
|
} | null;
|
|
659
763
|
currentCategoryIndex: number;
|
|
660
764
|
inputValues: {
|
|
661
|
-
[
|
|
765
|
+
[dataPointName: string]: string;
|
|
662
766
|
};
|
|
663
767
|
savedValues: {
|
|
664
|
-
[
|
|
768
|
+
[dataPointName: string]: string;
|
|
665
769
|
};
|
|
666
770
|
validationResults: {
|
|
667
|
-
[
|
|
668
|
-
ok: true;
|
|
669
|
-
convertTo?: string | undefined;
|
|
670
|
-
} | {
|
|
671
|
-
ok: false;
|
|
672
|
-
reason: string;
|
|
673
|
-
};
|
|
771
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
674
772
|
};
|
|
675
773
|
email: string | null;
|
|
676
774
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -691,7 +789,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
691
789
|
type: "fail";
|
|
692
790
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
693
791
|
} | null;
|
|
694
|
-
} &
|
|
792
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
793
|
+
mode: "default" | "edit";
|
|
794
|
+
formData: import("./types").UserProfileFormData | null;
|
|
795
|
+
currentCategoryIndex: number;
|
|
796
|
+
inputValues: {
|
|
797
|
+
[dataPointName: string]: string;
|
|
798
|
+
};
|
|
799
|
+
savedValues: {
|
|
800
|
+
[dataPointName: string]: string;
|
|
801
|
+
};
|
|
802
|
+
validationResults: {
|
|
803
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
804
|
+
};
|
|
805
|
+
email: string | null;
|
|
806
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
807
|
+
ui: {
|
|
808
|
+
isSavingData: boolean;
|
|
809
|
+
isCancelConfirmSheetVisible: boolean;
|
|
810
|
+
isKycInfoSheetVisible: boolean;
|
|
811
|
+
isMailInfoSheetVisible: boolean;
|
|
812
|
+
errorSheet?: {
|
|
813
|
+
title: string;
|
|
814
|
+
text: string;
|
|
815
|
+
isVisible: boolean;
|
|
816
|
+
} | undefined;
|
|
817
|
+
};
|
|
818
|
+
result: ({
|
|
819
|
+
type: "success";
|
|
820
|
+
} | {
|
|
821
|
+
type: "fail";
|
|
822
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
823
|
+
}) | null;
|
|
824
|
+
}>): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
|
|
695
825
|
validationErrorForGroup(state: {
|
|
696
826
|
mode: "default" | "edit";
|
|
697
827
|
formData: {
|
|
@@ -720,19 +850,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
720
850
|
} | null;
|
|
721
851
|
currentCategoryIndex: number;
|
|
722
852
|
inputValues: {
|
|
723
|
-
[
|
|
853
|
+
[dataPointName: string]: string;
|
|
724
854
|
};
|
|
725
855
|
savedValues: {
|
|
726
|
-
[
|
|
856
|
+
[dataPointName: string]: string;
|
|
727
857
|
};
|
|
728
858
|
validationResults: {
|
|
729
|
-
[
|
|
730
|
-
ok: true;
|
|
731
|
-
convertTo?: string | undefined;
|
|
732
|
-
} | {
|
|
733
|
-
ok: false;
|
|
734
|
-
reason: string;
|
|
735
|
-
};
|
|
859
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
736
860
|
};
|
|
737
861
|
email: string | null;
|
|
738
862
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -753,7 +877,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
753
877
|
type: "fail";
|
|
754
878
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
755
879
|
} | null;
|
|
756
|
-
} &
|
|
880
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
881
|
+
mode: "default" | "edit";
|
|
882
|
+
formData: import("./types").UserProfileFormData | null;
|
|
883
|
+
currentCategoryIndex: number;
|
|
884
|
+
inputValues: {
|
|
885
|
+
[dataPointName: string]: string;
|
|
886
|
+
};
|
|
887
|
+
savedValues: {
|
|
888
|
+
[dataPointName: string]: string;
|
|
889
|
+
};
|
|
890
|
+
validationResults: {
|
|
891
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
892
|
+
};
|
|
893
|
+
email: string | null;
|
|
894
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
895
|
+
ui: {
|
|
896
|
+
isSavingData: boolean;
|
|
897
|
+
isCancelConfirmSheetVisible: boolean;
|
|
898
|
+
isKycInfoSheetVisible: boolean;
|
|
899
|
+
isMailInfoSheetVisible: boolean;
|
|
900
|
+
errorSheet?: {
|
|
901
|
+
title: string;
|
|
902
|
+
text: string;
|
|
903
|
+
isVisible: boolean;
|
|
904
|
+
} | undefined;
|
|
905
|
+
};
|
|
906
|
+
result: ({
|
|
907
|
+
type: "success";
|
|
908
|
+
} | {
|
|
909
|
+
type: "fail";
|
|
910
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
911
|
+
}) | null;
|
|
912
|
+
}>): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
|
|
757
913
|
shouldDisableSaveButton(state: {
|
|
758
914
|
mode: "default" | "edit";
|
|
759
915
|
formData: {
|
|
@@ -782,19 +938,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
782
938
|
} | null;
|
|
783
939
|
currentCategoryIndex: number;
|
|
784
940
|
inputValues: {
|
|
785
|
-
[
|
|
941
|
+
[dataPointName: string]: string;
|
|
786
942
|
};
|
|
787
943
|
savedValues: {
|
|
788
|
-
[
|
|
944
|
+
[dataPointName: string]: string;
|
|
789
945
|
};
|
|
790
946
|
validationResults: {
|
|
791
|
-
[
|
|
792
|
-
ok: true;
|
|
793
|
-
convertTo?: string | undefined;
|
|
794
|
-
} | {
|
|
795
|
-
ok: false;
|
|
796
|
-
reason: string;
|
|
797
|
-
};
|
|
947
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
798
948
|
};
|
|
799
949
|
email: string | null;
|
|
800
950
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -815,7 +965,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
815
965
|
type: "fail";
|
|
816
966
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
817
967
|
} | null;
|
|
818
|
-
} & {
|
|
968
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
969
|
+
mode: "default" | "edit";
|
|
970
|
+
formData: import("./types").UserProfileFormData | null;
|
|
971
|
+
currentCategoryIndex: number;
|
|
972
|
+
inputValues: {
|
|
973
|
+
[dataPointName: string]: string;
|
|
974
|
+
};
|
|
975
|
+
savedValues: {
|
|
976
|
+
[dataPointName: string]: string;
|
|
977
|
+
};
|
|
978
|
+
validationResults: {
|
|
979
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
980
|
+
};
|
|
981
|
+
email: string | null;
|
|
982
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
983
|
+
ui: {
|
|
984
|
+
isSavingData: boolean;
|
|
985
|
+
isCancelConfirmSheetVisible: boolean;
|
|
986
|
+
isKycInfoSheetVisible: boolean;
|
|
987
|
+
isMailInfoSheetVisible: boolean;
|
|
988
|
+
errorSheet?: {
|
|
989
|
+
title: string;
|
|
990
|
+
text: string;
|
|
991
|
+
isVisible: boolean;
|
|
992
|
+
} | undefined;
|
|
993
|
+
};
|
|
994
|
+
result: ({
|
|
995
|
+
type: "success";
|
|
996
|
+
} | {
|
|
997
|
+
type: "fail";
|
|
998
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
999
|
+
}) | null;
|
|
1000
|
+
}>): boolean;
|
|
819
1001
|
}, {
|
|
820
1002
|
initialize(params: import("../../types").RegisterUserInfoParams): void;
|
|
821
1003
|
saveCategory(): void;
|