@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
@@ -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;