@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
|
@@ -355,19 +355,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
355
355
|
} | null;
|
|
356
356
|
currentCategoryIndex: number;
|
|
357
357
|
inputValues: {
|
|
358
|
-
[
|
|
358
|
+
[dataPointName: string]: string;
|
|
359
359
|
};
|
|
360
360
|
savedValues: {
|
|
361
|
-
[
|
|
361
|
+
[dataPointName: string]: string;
|
|
362
362
|
};
|
|
363
363
|
validationResults: {
|
|
364
|
-
[
|
|
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
|
-
} & {
|
|
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
|
-
[
|
|
446
|
+
[dataPointName: string]: string;
|
|
421
447
|
};
|
|
422
448
|
savedValues: {
|
|
423
|
-
[
|
|
449
|
+
[dataPointName: string]: string;
|
|
424
450
|
};
|
|
425
451
|
validationResults: {
|
|
426
|
-
[
|
|
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
|
-
} &
|
|
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
|
-
[
|
|
534
|
+
[dataPointName: string]: string;
|
|
483
535
|
};
|
|
484
536
|
savedValues: {
|
|
485
|
-
[
|
|
537
|
+
[dataPointName: string]: string;
|
|
486
538
|
};
|
|
487
539
|
validationResults: {
|
|
488
|
-
[
|
|
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
|
-
} & {
|
|
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
|
-
[
|
|
622
|
+
[dataPointName: string]: string;
|
|
545
623
|
};
|
|
546
624
|
savedValues: {
|
|
547
|
-
[
|
|
625
|
+
[dataPointName: string]: string;
|
|
548
626
|
};
|
|
549
627
|
validationResults: {
|
|
550
|
-
[
|
|
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
|
-
} &
|
|
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
|
-
[
|
|
710
|
+
[dataPointName: string]: string;
|
|
607
711
|
};
|
|
608
712
|
savedValues: {
|
|
609
|
-
[
|
|
713
|
+
[dataPointName: string]: string;
|
|
610
714
|
};
|
|
611
715
|
validationResults: {
|
|
612
|
-
[
|
|
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
|
-
} &
|
|
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
|
-
[
|
|
798
|
+
[dataPointName: string]: string;
|
|
669
799
|
};
|
|
670
800
|
savedValues: {
|
|
671
|
-
[
|
|
801
|
+
[dataPointName: string]: string;
|
|
672
802
|
};
|
|
673
803
|
validationResults: {
|
|
674
|
-
[
|
|
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
|
-
} &
|
|
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
|
-
[
|
|
886
|
+
[dataPointName: string]: string;
|
|
731
887
|
};
|
|
732
888
|
savedValues: {
|
|
733
|
-
[
|
|
889
|
+
[dataPointName: string]: string;
|
|
734
890
|
};
|
|
735
891
|
validationResults: {
|
|
736
|
-
[
|
|
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
|
-
} & {
|
|
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;
|