@paypay/mini-app-js-sdk 1.41.0 → 1.44.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/jsbridge-core/lib/reconstructParams.d.ts +2 -3
- package/dist/mini-app-api.d.ts +3 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +4675 -2371
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +2 -3
- package/dist/model/bridge/getConfigure.d.ts +22 -0
- package/dist/model/bridge/registerPaymentFeatures.d.ts +2 -0
- package/dist/model/makePayment.d.ts +36 -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/header/index.d.ts +11 -0
- 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/CreditCard.vue.d.ts +8 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +67 -3
- package/dist/package/payment-method/SbidBank.vue.d.ts +64 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +64 -0
- package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +78 -3
- package/dist/package/payment-type/Sbid.vue.d.ts +64 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +75 -0
- package/dist/package/payment-type/index.d.ts +11 -0
- package/dist/package/select-list/index.d.ts +2 -2
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +64 -0
- package/dist/types.d.ts +20 -1
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/fetch.d.ts +2 -0
- package/dist/utils/getImages.d.ts +5 -0
- package/dist/utils/getLanguage.d.ts +59 -0
- package/dist/utils/helper.d.ts +4 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +1 -1
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +64 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +59 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +5 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +60 -1
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +64 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +59 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +59 -0
- package/dist/views/make-payment/Main.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +60 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +81 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +65 -2
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +289 -88
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +59 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +72 -9
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +64 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +6 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +64 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +116 -44
- package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
- package/dist/views/open-app/App.vue.d.ts +64 -0
- package/dist/views/open-map/App.vue.d.ts +59 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +316 -70
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +311 -70
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +64 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +5 -0
- package/dist/views/register-user-info/store.d.ts +28 -70
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +176 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +92 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +149 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +140 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +146 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +99 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +165 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +169 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +142 -0
- package/dist/views/registerPaymentFeatures/api.d.ts +4 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +88 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +62 -0
- package/dist/views/show-update-warning/App.vue.d.ts +64 -0
- package/dist/views/take-photo/App.vue.d.ts +59 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +5 -0
- package/dist/views/topup/App.vue.d.ts +66 -0
- package/dist/views/topup/CashbackInfo.vue.d.ts +59 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +64 -0
- package/package.json +10 -3
|
@@ -299,6 +299,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
299
299
|
about3DSecure: string;
|
|
300
300
|
close: string;
|
|
301
301
|
};
|
|
302
|
+
registerPaymentFeatures: {
|
|
303
|
+
autoTopupRoot: {
|
|
304
|
+
title: string;
|
|
305
|
+
titleNeedUpdate: string;
|
|
306
|
+
description: string;
|
|
307
|
+
minAmount: string;
|
|
308
|
+
unit: string;
|
|
309
|
+
addTopupMethod: string;
|
|
310
|
+
noActivatedTopupMethod: string;
|
|
311
|
+
topupNotice: string;
|
|
312
|
+
updateWarning: {
|
|
313
|
+
message: string;
|
|
314
|
+
update: string;
|
|
315
|
+
cancel: string;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
autoTopupRootFooter: {
|
|
319
|
+
enable: string;
|
|
320
|
+
notice: string;
|
|
321
|
+
notNow: string;
|
|
322
|
+
};
|
|
323
|
+
amountChange: {
|
|
324
|
+
title: string;
|
|
325
|
+
description: string;
|
|
326
|
+
register: string;
|
|
327
|
+
cancel: string;
|
|
328
|
+
};
|
|
329
|
+
amountError: {
|
|
330
|
+
changeLimit: string;
|
|
331
|
+
close: string;
|
|
332
|
+
};
|
|
333
|
+
defaultError: {
|
|
334
|
+
title: string;
|
|
335
|
+
description: string;
|
|
336
|
+
};
|
|
337
|
+
autoTopupConfirmation: {
|
|
338
|
+
title: string;
|
|
339
|
+
description: string;
|
|
340
|
+
change: string;
|
|
341
|
+
cancel: string;
|
|
342
|
+
};
|
|
343
|
+
autoTopupSettingComplete: {
|
|
344
|
+
title: string;
|
|
345
|
+
description: string;
|
|
346
|
+
finish: string;
|
|
347
|
+
};
|
|
348
|
+
setupTopupMethod: {
|
|
349
|
+
title: string;
|
|
350
|
+
description: string;
|
|
351
|
+
finish: string;
|
|
352
|
+
cancel: string;
|
|
353
|
+
};
|
|
354
|
+
selectTopupAmount: {
|
|
355
|
+
title: string;
|
|
356
|
+
recommend: string;
|
|
357
|
+
close: string;
|
|
358
|
+
unit: string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
302
361
|
};
|
|
303
362
|
images: {
|
|
304
363
|
iconBalanceError: string;
|
|
@@ -343,6 +402,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
343
402
|
iconKycWarn: string;
|
|
344
403
|
iconMail: string;
|
|
345
404
|
iconGreenTick: string;
|
|
405
|
+
iconExitMiniApp: string;
|
|
406
|
+
iconTopupNotice: string;
|
|
407
|
+
iconTopupSetup: string;
|
|
408
|
+
iconNotice: string;
|
|
409
|
+
iconTopupSuccess: string;
|
|
346
410
|
icon3DSecure: string;
|
|
347
411
|
};
|
|
348
412
|
kycDataPointGroups: import("vue").ComputedRef<import("./types").UserProfileFormDataPointGroup[]>;
|
|
@@ -410,19 +474,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
410
474
|
} | null;
|
|
411
475
|
currentCategoryIndex: number;
|
|
412
476
|
inputValues: {
|
|
413
|
-
[
|
|
477
|
+
[dataPointName: string]: string;
|
|
414
478
|
};
|
|
415
479
|
savedValues: {
|
|
416
|
-
[
|
|
480
|
+
[dataPointName: string]: string;
|
|
417
481
|
};
|
|
418
482
|
validationResults: {
|
|
419
|
-
[
|
|
420
|
-
ok: true;
|
|
421
|
-
convertTo?: string | undefined;
|
|
422
|
-
} | {
|
|
423
|
-
ok: false;
|
|
424
|
-
reason: string;
|
|
425
|
-
};
|
|
483
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
426
484
|
};
|
|
427
485
|
email: string | null;
|
|
428
486
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -443,7 +501,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
443
501
|
type: "fail";
|
|
444
502
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
445
503
|
} | null;
|
|
446
|
-
} & {
|
|
504
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
505
|
+
mode: "default" | "edit";
|
|
506
|
+
formData: import("./types").UserProfileFormData | null;
|
|
507
|
+
currentCategoryIndex: number;
|
|
508
|
+
inputValues: {
|
|
509
|
+
[dataPointName: string]: string;
|
|
510
|
+
};
|
|
511
|
+
savedValues: {
|
|
512
|
+
[dataPointName: string]: string;
|
|
513
|
+
};
|
|
514
|
+
validationResults: {
|
|
515
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
516
|
+
};
|
|
517
|
+
email: string | null;
|
|
518
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
519
|
+
ui: {
|
|
520
|
+
isSavingData: boolean;
|
|
521
|
+
isCancelConfirmSheetVisible: boolean;
|
|
522
|
+
isKycInfoSheetVisible: boolean;
|
|
523
|
+
isMailInfoSheetVisible: boolean;
|
|
524
|
+
errorSheet?: {
|
|
525
|
+
title: string;
|
|
526
|
+
text: string;
|
|
527
|
+
isVisible: boolean;
|
|
528
|
+
} | undefined;
|
|
529
|
+
};
|
|
530
|
+
result: ({
|
|
531
|
+
type: "success";
|
|
532
|
+
} | {
|
|
533
|
+
type: "fail";
|
|
534
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
535
|
+
}) | null;
|
|
536
|
+
}>): boolean;
|
|
447
537
|
categoryAtIndex(state: {
|
|
448
538
|
mode: "default" | "edit";
|
|
449
539
|
formData: {
|
|
@@ -472,19 +562,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
562
|
} | null;
|
|
473
563
|
currentCategoryIndex: number;
|
|
474
564
|
inputValues: {
|
|
475
|
-
[
|
|
565
|
+
[dataPointName: string]: string;
|
|
476
566
|
};
|
|
477
567
|
savedValues: {
|
|
478
|
-
[
|
|
568
|
+
[dataPointName: string]: string;
|
|
479
569
|
};
|
|
480
570
|
validationResults: {
|
|
481
|
-
[
|
|
482
|
-
ok: true;
|
|
483
|
-
convertTo?: string | undefined;
|
|
484
|
-
} | {
|
|
485
|
-
ok: false;
|
|
486
|
-
reason: string;
|
|
487
|
-
};
|
|
571
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
488
572
|
};
|
|
489
573
|
email: string | null;
|
|
490
574
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -505,7 +589,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
505
589
|
type: "fail";
|
|
506
590
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
507
591
|
} | null;
|
|
508
|
-
} &
|
|
592
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
593
|
+
mode: "default" | "edit";
|
|
594
|
+
formData: import("./types").UserProfileFormData | null;
|
|
595
|
+
currentCategoryIndex: number;
|
|
596
|
+
inputValues: {
|
|
597
|
+
[dataPointName: string]: string;
|
|
598
|
+
};
|
|
599
|
+
savedValues: {
|
|
600
|
+
[dataPointName: string]: string;
|
|
601
|
+
};
|
|
602
|
+
validationResults: {
|
|
603
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
604
|
+
};
|
|
605
|
+
email: string | null;
|
|
606
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
607
|
+
ui: {
|
|
608
|
+
isSavingData: boolean;
|
|
609
|
+
isCancelConfirmSheetVisible: boolean;
|
|
610
|
+
isKycInfoSheetVisible: boolean;
|
|
611
|
+
isMailInfoSheetVisible: boolean;
|
|
612
|
+
errorSheet?: {
|
|
613
|
+
title: string;
|
|
614
|
+
text: string;
|
|
615
|
+
isVisible: boolean;
|
|
616
|
+
} | undefined;
|
|
617
|
+
};
|
|
618
|
+
result: ({
|
|
619
|
+
type: "success";
|
|
620
|
+
} | {
|
|
621
|
+
type: "fail";
|
|
622
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
623
|
+
}) | null;
|
|
624
|
+
}>): (index: number) => UserProfileFormCategory;
|
|
509
625
|
numberOfCategories(state: {
|
|
510
626
|
mode: "default" | "edit";
|
|
511
627
|
formData: {
|
|
@@ -534,19 +650,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
534
650
|
} | null;
|
|
535
651
|
currentCategoryIndex: number;
|
|
536
652
|
inputValues: {
|
|
537
|
-
[
|
|
653
|
+
[dataPointName: string]: string;
|
|
538
654
|
};
|
|
539
655
|
savedValues: {
|
|
540
|
-
[
|
|
656
|
+
[dataPointName: string]: string;
|
|
541
657
|
};
|
|
542
658
|
validationResults: {
|
|
543
|
-
[
|
|
544
|
-
ok: true;
|
|
545
|
-
convertTo?: string | undefined;
|
|
546
|
-
} | {
|
|
547
|
-
ok: false;
|
|
548
|
-
reason: string;
|
|
549
|
-
};
|
|
659
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
550
660
|
};
|
|
551
661
|
email: string | null;
|
|
552
662
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -567,7 +677,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
567
677
|
type: "fail";
|
|
568
678
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
569
679
|
} | null;
|
|
570
|
-
} & {
|
|
680
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
681
|
+
mode: "default" | "edit";
|
|
682
|
+
formData: import("./types").UserProfileFormData | null;
|
|
683
|
+
currentCategoryIndex: number;
|
|
684
|
+
inputValues: {
|
|
685
|
+
[dataPointName: string]: string;
|
|
686
|
+
};
|
|
687
|
+
savedValues: {
|
|
688
|
+
[dataPointName: string]: string;
|
|
689
|
+
};
|
|
690
|
+
validationResults: {
|
|
691
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
692
|
+
};
|
|
693
|
+
email: string | null;
|
|
694
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
695
|
+
ui: {
|
|
696
|
+
isSavingData: boolean;
|
|
697
|
+
isCancelConfirmSheetVisible: boolean;
|
|
698
|
+
isKycInfoSheetVisible: boolean;
|
|
699
|
+
isMailInfoSheetVisible: boolean;
|
|
700
|
+
errorSheet?: {
|
|
701
|
+
title: string;
|
|
702
|
+
text: string;
|
|
703
|
+
isVisible: boolean;
|
|
704
|
+
} | undefined;
|
|
705
|
+
};
|
|
706
|
+
result: ({
|
|
707
|
+
type: "success";
|
|
708
|
+
} | {
|
|
709
|
+
type: "fail";
|
|
710
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
711
|
+
}) | null;
|
|
712
|
+
}>): number;
|
|
571
713
|
currentValue(state: {
|
|
572
714
|
mode: "default" | "edit";
|
|
573
715
|
formData: {
|
|
@@ -596,19 +738,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
596
738
|
} | null;
|
|
597
739
|
currentCategoryIndex: number;
|
|
598
740
|
inputValues: {
|
|
599
|
-
[
|
|
741
|
+
[dataPointName: string]: string;
|
|
600
742
|
};
|
|
601
743
|
savedValues: {
|
|
602
|
-
[
|
|
744
|
+
[dataPointName: string]: string;
|
|
603
745
|
};
|
|
604
746
|
validationResults: {
|
|
605
|
-
[
|
|
606
|
-
ok: true;
|
|
607
|
-
convertTo?: string | undefined;
|
|
608
|
-
} | {
|
|
609
|
-
ok: false;
|
|
610
|
-
reason: string;
|
|
611
|
-
};
|
|
747
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
612
748
|
};
|
|
613
749
|
email: string | null;
|
|
614
750
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -629,7 +765,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
629
765
|
type: "fail";
|
|
630
766
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
631
767
|
} | null;
|
|
632
|
-
} &
|
|
768
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
769
|
+
mode: "default" | "edit";
|
|
770
|
+
formData: import("./types").UserProfileFormData | null;
|
|
771
|
+
currentCategoryIndex: number;
|
|
772
|
+
inputValues: {
|
|
773
|
+
[dataPointName: string]: string;
|
|
774
|
+
};
|
|
775
|
+
savedValues: {
|
|
776
|
+
[dataPointName: string]: string;
|
|
777
|
+
};
|
|
778
|
+
validationResults: {
|
|
779
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
780
|
+
};
|
|
781
|
+
email: string | null;
|
|
782
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
783
|
+
ui: {
|
|
784
|
+
isSavingData: boolean;
|
|
785
|
+
isCancelConfirmSheetVisible: boolean;
|
|
786
|
+
isKycInfoSheetVisible: boolean;
|
|
787
|
+
isMailInfoSheetVisible: boolean;
|
|
788
|
+
errorSheet?: {
|
|
789
|
+
title: string;
|
|
790
|
+
text: string;
|
|
791
|
+
isVisible: boolean;
|
|
792
|
+
} | undefined;
|
|
793
|
+
};
|
|
794
|
+
result: ({
|
|
795
|
+
type: "success";
|
|
796
|
+
} | {
|
|
797
|
+
type: "fail";
|
|
798
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
799
|
+
}) | null;
|
|
800
|
+
}>): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
|
|
633
801
|
hasValidationError(state: {
|
|
634
802
|
mode: "default" | "edit";
|
|
635
803
|
formData: {
|
|
@@ -658,19 +826,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
658
826
|
} | null;
|
|
659
827
|
currentCategoryIndex: number;
|
|
660
828
|
inputValues: {
|
|
661
|
-
[
|
|
829
|
+
[dataPointName: string]: string;
|
|
662
830
|
};
|
|
663
831
|
savedValues: {
|
|
664
|
-
[
|
|
832
|
+
[dataPointName: string]: string;
|
|
665
833
|
};
|
|
666
834
|
validationResults: {
|
|
667
|
-
[
|
|
668
|
-
ok: true;
|
|
669
|
-
convertTo?: string | undefined;
|
|
670
|
-
} | {
|
|
671
|
-
ok: false;
|
|
672
|
-
reason: string;
|
|
673
|
-
};
|
|
835
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
674
836
|
};
|
|
675
837
|
email: string | null;
|
|
676
838
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -691,7 +853,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
691
853
|
type: "fail";
|
|
692
854
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
693
855
|
} | null;
|
|
694
|
-
} &
|
|
856
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
857
|
+
mode: "default" | "edit";
|
|
858
|
+
formData: import("./types").UserProfileFormData | null;
|
|
859
|
+
currentCategoryIndex: number;
|
|
860
|
+
inputValues: {
|
|
861
|
+
[dataPointName: string]: string;
|
|
862
|
+
};
|
|
863
|
+
savedValues: {
|
|
864
|
+
[dataPointName: string]: string;
|
|
865
|
+
};
|
|
866
|
+
validationResults: {
|
|
867
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
868
|
+
};
|
|
869
|
+
email: string | null;
|
|
870
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
871
|
+
ui: {
|
|
872
|
+
isSavingData: boolean;
|
|
873
|
+
isCancelConfirmSheetVisible: boolean;
|
|
874
|
+
isKycInfoSheetVisible: boolean;
|
|
875
|
+
isMailInfoSheetVisible: boolean;
|
|
876
|
+
errorSheet?: {
|
|
877
|
+
title: string;
|
|
878
|
+
text: string;
|
|
879
|
+
isVisible: boolean;
|
|
880
|
+
} | undefined;
|
|
881
|
+
};
|
|
882
|
+
result: ({
|
|
883
|
+
type: "success";
|
|
884
|
+
} | {
|
|
885
|
+
type: "fail";
|
|
886
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
887
|
+
}) | null;
|
|
888
|
+
}>): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
|
|
695
889
|
validationErrorForGroup(state: {
|
|
696
890
|
mode: "default" | "edit";
|
|
697
891
|
formData: {
|
|
@@ -720,19 +914,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
720
914
|
} | null;
|
|
721
915
|
currentCategoryIndex: number;
|
|
722
916
|
inputValues: {
|
|
723
|
-
[
|
|
917
|
+
[dataPointName: string]: string;
|
|
724
918
|
};
|
|
725
919
|
savedValues: {
|
|
726
|
-
[
|
|
920
|
+
[dataPointName: string]: string;
|
|
727
921
|
};
|
|
728
922
|
validationResults: {
|
|
729
|
-
[
|
|
730
|
-
ok: true;
|
|
731
|
-
convertTo?: string | undefined;
|
|
732
|
-
} | {
|
|
733
|
-
ok: false;
|
|
734
|
-
reason: string;
|
|
735
|
-
};
|
|
923
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
736
924
|
};
|
|
737
925
|
email: string | null;
|
|
738
926
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -753,7 +941,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
753
941
|
type: "fail";
|
|
754
942
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
755
943
|
} | null;
|
|
756
|
-
} &
|
|
944
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
945
|
+
mode: "default" | "edit";
|
|
946
|
+
formData: import("./types").UserProfileFormData | null;
|
|
947
|
+
currentCategoryIndex: number;
|
|
948
|
+
inputValues: {
|
|
949
|
+
[dataPointName: string]: string;
|
|
950
|
+
};
|
|
951
|
+
savedValues: {
|
|
952
|
+
[dataPointName: string]: string;
|
|
953
|
+
};
|
|
954
|
+
validationResults: {
|
|
955
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
956
|
+
};
|
|
957
|
+
email: string | null;
|
|
958
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
959
|
+
ui: {
|
|
960
|
+
isSavingData: boolean;
|
|
961
|
+
isCancelConfirmSheetVisible: boolean;
|
|
962
|
+
isKycInfoSheetVisible: boolean;
|
|
963
|
+
isMailInfoSheetVisible: boolean;
|
|
964
|
+
errorSheet?: {
|
|
965
|
+
title: string;
|
|
966
|
+
text: string;
|
|
967
|
+
isVisible: boolean;
|
|
968
|
+
} | undefined;
|
|
969
|
+
};
|
|
970
|
+
result: ({
|
|
971
|
+
type: "success";
|
|
972
|
+
} | {
|
|
973
|
+
type: "fail";
|
|
974
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
975
|
+
}) | null;
|
|
976
|
+
}>): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
|
|
757
977
|
shouldDisableSaveButton(state: {
|
|
758
978
|
mode: "default" | "edit";
|
|
759
979
|
formData: {
|
|
@@ -782,19 +1002,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
782
1002
|
} | null;
|
|
783
1003
|
currentCategoryIndex: number;
|
|
784
1004
|
inputValues: {
|
|
785
|
-
[
|
|
1005
|
+
[dataPointName: string]: string;
|
|
786
1006
|
};
|
|
787
1007
|
savedValues: {
|
|
788
|
-
[
|
|
1008
|
+
[dataPointName: string]: string;
|
|
789
1009
|
};
|
|
790
1010
|
validationResults: {
|
|
791
|
-
[
|
|
792
|
-
ok: true;
|
|
793
|
-
convertTo?: string | undefined;
|
|
794
|
-
} | {
|
|
795
|
-
ok: false;
|
|
796
|
-
reason: string;
|
|
797
|
-
};
|
|
1011
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
798
1012
|
};
|
|
799
1013
|
email: string | null;
|
|
800
1014
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -815,7 +1029,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
815
1029
|
type: "fail";
|
|
816
1030
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
817
1031
|
} | null;
|
|
818
|
-
} & {
|
|
1032
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1033
|
+
mode: "default" | "edit";
|
|
1034
|
+
formData: import("./types").UserProfileFormData | null;
|
|
1035
|
+
currentCategoryIndex: number;
|
|
1036
|
+
inputValues: {
|
|
1037
|
+
[dataPointName: string]: string;
|
|
1038
|
+
};
|
|
1039
|
+
savedValues: {
|
|
1040
|
+
[dataPointName: string]: string;
|
|
1041
|
+
};
|
|
1042
|
+
validationResults: {
|
|
1043
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
1044
|
+
};
|
|
1045
|
+
email: string | null;
|
|
1046
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
1047
|
+
ui: {
|
|
1048
|
+
isSavingData: boolean;
|
|
1049
|
+
isCancelConfirmSheetVisible: boolean;
|
|
1050
|
+
isKycInfoSheetVisible: boolean;
|
|
1051
|
+
isMailInfoSheetVisible: boolean;
|
|
1052
|
+
errorSheet?: {
|
|
1053
|
+
title: string;
|
|
1054
|
+
text: string;
|
|
1055
|
+
isVisible: boolean;
|
|
1056
|
+
} | undefined;
|
|
1057
|
+
};
|
|
1058
|
+
result: ({
|
|
1059
|
+
type: "success";
|
|
1060
|
+
} | {
|
|
1061
|
+
type: "fail";
|
|
1062
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
1063
|
+
}) | null;
|
|
1064
|
+
}>): boolean;
|
|
819
1065
|
}, {
|
|
820
1066
|
initialize(params: import("../../types").RegisterUserInfoParams): void;
|
|
821
1067
|
saveCategory(): void;
|