@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
|
@@ -292,6 +292,65 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
292
292
|
about3DSecure: string;
|
|
293
293
|
close: string;
|
|
294
294
|
};
|
|
295
|
+
registerPaymentFeatures: {
|
|
296
|
+
autoTopupRoot: {
|
|
297
|
+
title: string;
|
|
298
|
+
titleNeedUpdate: string;
|
|
299
|
+
description: string;
|
|
300
|
+
minAmount: string;
|
|
301
|
+
unit: string;
|
|
302
|
+
addTopupMethod: string;
|
|
303
|
+
noActivatedTopupMethod: string;
|
|
304
|
+
topupNotice: string;
|
|
305
|
+
updateWarning: {
|
|
306
|
+
message: string;
|
|
307
|
+
update: string;
|
|
308
|
+
cancel: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
autoTopupRootFooter: {
|
|
312
|
+
enable: string;
|
|
313
|
+
notice: string;
|
|
314
|
+
notNow: string;
|
|
315
|
+
};
|
|
316
|
+
amountChange: {
|
|
317
|
+
title: string;
|
|
318
|
+
description: string;
|
|
319
|
+
register: string;
|
|
320
|
+
cancel: string;
|
|
321
|
+
};
|
|
322
|
+
amountError: {
|
|
323
|
+
changeLimit: string;
|
|
324
|
+
close: string;
|
|
325
|
+
};
|
|
326
|
+
defaultError: {
|
|
327
|
+
title: string;
|
|
328
|
+
description: string;
|
|
329
|
+
};
|
|
330
|
+
autoTopupConfirmation: {
|
|
331
|
+
title: string;
|
|
332
|
+
description: string;
|
|
333
|
+
change: string;
|
|
334
|
+
cancel: string;
|
|
335
|
+
};
|
|
336
|
+
autoTopupSettingComplete: {
|
|
337
|
+
title: string;
|
|
338
|
+
description: string;
|
|
339
|
+
finish: string;
|
|
340
|
+
};
|
|
341
|
+
setupTopupMethod: {
|
|
342
|
+
title: string;
|
|
343
|
+
description: string;
|
|
344
|
+
finish: string;
|
|
345
|
+
cancel: string;
|
|
346
|
+
};
|
|
347
|
+
selectTopupAmount: {
|
|
348
|
+
title: string;
|
|
349
|
+
recommend: string;
|
|
350
|
+
close: string;
|
|
351
|
+
unit: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
295
354
|
};
|
|
296
355
|
store: import("pinia").Store<"registerUserInfo", {
|
|
297
356
|
mode: "default" | "edit";
|
|
@@ -354,19 +413,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
354
413
|
} | null;
|
|
355
414
|
currentCategoryIndex: number;
|
|
356
415
|
inputValues: {
|
|
357
|
-
[
|
|
416
|
+
[dataPointName: string]: string;
|
|
358
417
|
};
|
|
359
418
|
savedValues: {
|
|
360
|
-
[
|
|
419
|
+
[dataPointName: string]: string;
|
|
361
420
|
};
|
|
362
421
|
validationResults: {
|
|
363
|
-
[
|
|
364
|
-
ok: true;
|
|
365
|
-
convertTo?: string | undefined;
|
|
366
|
-
} | {
|
|
367
|
-
ok: false;
|
|
368
|
-
reason: string;
|
|
369
|
-
};
|
|
422
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
370
423
|
};
|
|
371
424
|
email: string | null;
|
|
372
425
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -387,7 +440,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
387
440
|
type: "fail";
|
|
388
441
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
389
442
|
} | null;
|
|
390
|
-
} & {
|
|
443
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
444
|
+
mode: "default" | "edit";
|
|
445
|
+
formData: import("./types").UserProfileFormData | null;
|
|
446
|
+
currentCategoryIndex: number;
|
|
447
|
+
inputValues: {
|
|
448
|
+
[dataPointName: string]: string;
|
|
449
|
+
};
|
|
450
|
+
savedValues: {
|
|
451
|
+
[dataPointName: string]: string;
|
|
452
|
+
};
|
|
453
|
+
validationResults: {
|
|
454
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
455
|
+
};
|
|
456
|
+
email: string | null;
|
|
457
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
458
|
+
ui: {
|
|
459
|
+
isSavingData: boolean;
|
|
460
|
+
isCancelConfirmSheetVisible: boolean;
|
|
461
|
+
isKycInfoSheetVisible: boolean;
|
|
462
|
+
isMailInfoSheetVisible: boolean;
|
|
463
|
+
errorSheet?: {
|
|
464
|
+
title: string;
|
|
465
|
+
text: string;
|
|
466
|
+
isVisible: boolean;
|
|
467
|
+
} | undefined;
|
|
468
|
+
};
|
|
469
|
+
result: ({
|
|
470
|
+
type: "success";
|
|
471
|
+
} | {
|
|
472
|
+
type: "fail";
|
|
473
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
474
|
+
}) | null;
|
|
475
|
+
}>): boolean;
|
|
391
476
|
categoryAtIndex(state: {
|
|
392
477
|
mode: "default" | "edit";
|
|
393
478
|
formData: {
|
|
@@ -416,19 +501,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
416
501
|
} | null;
|
|
417
502
|
currentCategoryIndex: number;
|
|
418
503
|
inputValues: {
|
|
419
|
-
[
|
|
504
|
+
[dataPointName: string]: string;
|
|
420
505
|
};
|
|
421
506
|
savedValues: {
|
|
422
|
-
[
|
|
507
|
+
[dataPointName: string]: string;
|
|
423
508
|
};
|
|
424
509
|
validationResults: {
|
|
425
|
-
[
|
|
426
|
-
ok: true;
|
|
427
|
-
convertTo?: string | undefined;
|
|
428
|
-
} | {
|
|
429
|
-
ok: false;
|
|
430
|
-
reason: string;
|
|
431
|
-
};
|
|
510
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
432
511
|
};
|
|
433
512
|
email: string | null;
|
|
434
513
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -449,7 +528,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
449
528
|
type: "fail";
|
|
450
529
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
451
530
|
} | null;
|
|
452
|
-
} &
|
|
531
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
532
|
+
mode: "default" | "edit";
|
|
533
|
+
formData: import("./types").UserProfileFormData | null;
|
|
534
|
+
currentCategoryIndex: number;
|
|
535
|
+
inputValues: {
|
|
536
|
+
[dataPointName: string]: string;
|
|
537
|
+
};
|
|
538
|
+
savedValues: {
|
|
539
|
+
[dataPointName: string]: string;
|
|
540
|
+
};
|
|
541
|
+
validationResults: {
|
|
542
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
543
|
+
};
|
|
544
|
+
email: string | null;
|
|
545
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
546
|
+
ui: {
|
|
547
|
+
isSavingData: boolean;
|
|
548
|
+
isCancelConfirmSheetVisible: boolean;
|
|
549
|
+
isKycInfoSheetVisible: boolean;
|
|
550
|
+
isMailInfoSheetVisible: boolean;
|
|
551
|
+
errorSheet?: {
|
|
552
|
+
title: string;
|
|
553
|
+
text: string;
|
|
554
|
+
isVisible: boolean;
|
|
555
|
+
} | undefined;
|
|
556
|
+
};
|
|
557
|
+
result: ({
|
|
558
|
+
type: "success";
|
|
559
|
+
} | {
|
|
560
|
+
type: "fail";
|
|
561
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
562
|
+
}) | null;
|
|
563
|
+
}>): (index: number) => import("./types").UserProfileFormCategory;
|
|
453
564
|
numberOfCategories(state: {
|
|
454
565
|
mode: "default" | "edit";
|
|
455
566
|
formData: {
|
|
@@ -478,19 +589,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
478
589
|
} | null;
|
|
479
590
|
currentCategoryIndex: number;
|
|
480
591
|
inputValues: {
|
|
481
|
-
[
|
|
592
|
+
[dataPointName: string]: string;
|
|
482
593
|
};
|
|
483
594
|
savedValues: {
|
|
484
|
-
[
|
|
595
|
+
[dataPointName: string]: string;
|
|
485
596
|
};
|
|
486
597
|
validationResults: {
|
|
487
|
-
[
|
|
488
|
-
ok: true;
|
|
489
|
-
convertTo?: string | undefined;
|
|
490
|
-
} | {
|
|
491
|
-
ok: false;
|
|
492
|
-
reason: string;
|
|
493
|
-
};
|
|
598
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
494
599
|
};
|
|
495
600
|
email: string | null;
|
|
496
601
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -511,7 +616,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
511
616
|
type: "fail";
|
|
512
617
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
513
618
|
} | null;
|
|
514
|
-
} & {
|
|
619
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
620
|
+
mode: "default" | "edit";
|
|
621
|
+
formData: import("./types").UserProfileFormData | null;
|
|
622
|
+
currentCategoryIndex: number;
|
|
623
|
+
inputValues: {
|
|
624
|
+
[dataPointName: string]: string;
|
|
625
|
+
};
|
|
626
|
+
savedValues: {
|
|
627
|
+
[dataPointName: string]: string;
|
|
628
|
+
};
|
|
629
|
+
validationResults: {
|
|
630
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
631
|
+
};
|
|
632
|
+
email: string | null;
|
|
633
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
634
|
+
ui: {
|
|
635
|
+
isSavingData: boolean;
|
|
636
|
+
isCancelConfirmSheetVisible: boolean;
|
|
637
|
+
isKycInfoSheetVisible: boolean;
|
|
638
|
+
isMailInfoSheetVisible: boolean;
|
|
639
|
+
errorSheet?: {
|
|
640
|
+
title: string;
|
|
641
|
+
text: string;
|
|
642
|
+
isVisible: boolean;
|
|
643
|
+
} | undefined;
|
|
644
|
+
};
|
|
645
|
+
result: ({
|
|
646
|
+
type: "success";
|
|
647
|
+
} | {
|
|
648
|
+
type: "fail";
|
|
649
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
650
|
+
}) | null;
|
|
651
|
+
}>): number;
|
|
515
652
|
currentValue(state: {
|
|
516
653
|
mode: "default" | "edit";
|
|
517
654
|
formData: {
|
|
@@ -540,19 +677,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
540
677
|
} | null;
|
|
541
678
|
currentCategoryIndex: number;
|
|
542
679
|
inputValues: {
|
|
543
|
-
[
|
|
680
|
+
[dataPointName: string]: string;
|
|
544
681
|
};
|
|
545
682
|
savedValues: {
|
|
546
|
-
[
|
|
683
|
+
[dataPointName: string]: string;
|
|
547
684
|
};
|
|
548
685
|
validationResults: {
|
|
549
|
-
[
|
|
550
|
-
ok: true;
|
|
551
|
-
convertTo?: string | undefined;
|
|
552
|
-
} | {
|
|
553
|
-
ok: false;
|
|
554
|
-
reason: string;
|
|
555
|
-
};
|
|
686
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
556
687
|
};
|
|
557
688
|
email: string | null;
|
|
558
689
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -573,7 +704,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
573
704
|
type: "fail";
|
|
574
705
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
575
706
|
} | null;
|
|
576
|
-
} &
|
|
707
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
708
|
+
mode: "default" | "edit";
|
|
709
|
+
formData: import("./types").UserProfileFormData | null;
|
|
710
|
+
currentCategoryIndex: number;
|
|
711
|
+
inputValues: {
|
|
712
|
+
[dataPointName: string]: string;
|
|
713
|
+
};
|
|
714
|
+
savedValues: {
|
|
715
|
+
[dataPointName: string]: string;
|
|
716
|
+
};
|
|
717
|
+
validationResults: {
|
|
718
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
719
|
+
};
|
|
720
|
+
email: string | null;
|
|
721
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
722
|
+
ui: {
|
|
723
|
+
isSavingData: boolean;
|
|
724
|
+
isCancelConfirmSheetVisible: boolean;
|
|
725
|
+
isKycInfoSheetVisible: boolean;
|
|
726
|
+
isMailInfoSheetVisible: boolean;
|
|
727
|
+
errorSheet?: {
|
|
728
|
+
title: string;
|
|
729
|
+
text: string;
|
|
730
|
+
isVisible: boolean;
|
|
731
|
+
} | undefined;
|
|
732
|
+
};
|
|
733
|
+
result: ({
|
|
734
|
+
type: "success";
|
|
735
|
+
} | {
|
|
736
|
+
type: "fail";
|
|
737
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
738
|
+
}) | null;
|
|
739
|
+
}>): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
|
|
577
740
|
hasValidationError(state: {
|
|
578
741
|
mode: "default" | "edit";
|
|
579
742
|
formData: {
|
|
@@ -602,19 +765,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
602
765
|
} | null;
|
|
603
766
|
currentCategoryIndex: number;
|
|
604
767
|
inputValues: {
|
|
605
|
-
[
|
|
768
|
+
[dataPointName: string]: string;
|
|
606
769
|
};
|
|
607
770
|
savedValues: {
|
|
608
|
-
[
|
|
771
|
+
[dataPointName: string]: string;
|
|
609
772
|
};
|
|
610
773
|
validationResults: {
|
|
611
|
-
[
|
|
612
|
-
ok: true;
|
|
613
|
-
convertTo?: string | undefined;
|
|
614
|
-
} | {
|
|
615
|
-
ok: false;
|
|
616
|
-
reason: string;
|
|
617
|
-
};
|
|
774
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
618
775
|
};
|
|
619
776
|
email: string | null;
|
|
620
777
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -635,7 +792,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
635
792
|
type: "fail";
|
|
636
793
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
637
794
|
} | null;
|
|
638
|
-
} &
|
|
795
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
796
|
+
mode: "default" | "edit";
|
|
797
|
+
formData: import("./types").UserProfileFormData | null;
|
|
798
|
+
currentCategoryIndex: number;
|
|
799
|
+
inputValues: {
|
|
800
|
+
[dataPointName: string]: string;
|
|
801
|
+
};
|
|
802
|
+
savedValues: {
|
|
803
|
+
[dataPointName: string]: string;
|
|
804
|
+
};
|
|
805
|
+
validationResults: {
|
|
806
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
807
|
+
};
|
|
808
|
+
email: string | null;
|
|
809
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
810
|
+
ui: {
|
|
811
|
+
isSavingData: boolean;
|
|
812
|
+
isCancelConfirmSheetVisible: boolean;
|
|
813
|
+
isKycInfoSheetVisible: boolean;
|
|
814
|
+
isMailInfoSheetVisible: boolean;
|
|
815
|
+
errorSheet?: {
|
|
816
|
+
title: string;
|
|
817
|
+
text: string;
|
|
818
|
+
isVisible: boolean;
|
|
819
|
+
} | undefined;
|
|
820
|
+
};
|
|
821
|
+
result: ({
|
|
822
|
+
type: "success";
|
|
823
|
+
} | {
|
|
824
|
+
type: "fail";
|
|
825
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
826
|
+
}) | null;
|
|
827
|
+
}>): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
|
|
639
828
|
validationErrorForGroup(state: {
|
|
640
829
|
mode: "default" | "edit";
|
|
641
830
|
formData: {
|
|
@@ -664,19 +853,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
664
853
|
} | null;
|
|
665
854
|
currentCategoryIndex: number;
|
|
666
855
|
inputValues: {
|
|
667
|
-
[
|
|
856
|
+
[dataPointName: string]: string;
|
|
668
857
|
};
|
|
669
858
|
savedValues: {
|
|
670
|
-
[
|
|
859
|
+
[dataPointName: string]: string;
|
|
671
860
|
};
|
|
672
861
|
validationResults: {
|
|
673
|
-
[
|
|
674
|
-
ok: true;
|
|
675
|
-
convertTo?: string | undefined;
|
|
676
|
-
} | {
|
|
677
|
-
ok: false;
|
|
678
|
-
reason: string;
|
|
679
|
-
};
|
|
862
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
680
863
|
};
|
|
681
864
|
email: string | null;
|
|
682
865
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -697,7 +880,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
697
880
|
type: "fail";
|
|
698
881
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
699
882
|
} | null;
|
|
700
|
-
} &
|
|
883
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
884
|
+
mode: "default" | "edit";
|
|
885
|
+
formData: import("./types").UserProfileFormData | null;
|
|
886
|
+
currentCategoryIndex: number;
|
|
887
|
+
inputValues: {
|
|
888
|
+
[dataPointName: string]: string;
|
|
889
|
+
};
|
|
890
|
+
savedValues: {
|
|
891
|
+
[dataPointName: string]: string;
|
|
892
|
+
};
|
|
893
|
+
validationResults: {
|
|
894
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
895
|
+
};
|
|
896
|
+
email: string | null;
|
|
897
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
898
|
+
ui: {
|
|
899
|
+
isSavingData: boolean;
|
|
900
|
+
isCancelConfirmSheetVisible: boolean;
|
|
901
|
+
isKycInfoSheetVisible: boolean;
|
|
902
|
+
isMailInfoSheetVisible: boolean;
|
|
903
|
+
errorSheet?: {
|
|
904
|
+
title: string;
|
|
905
|
+
text: string;
|
|
906
|
+
isVisible: boolean;
|
|
907
|
+
} | undefined;
|
|
908
|
+
};
|
|
909
|
+
result: ({
|
|
910
|
+
type: "success";
|
|
911
|
+
} | {
|
|
912
|
+
type: "fail";
|
|
913
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
914
|
+
}) | null;
|
|
915
|
+
}>): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
|
|
701
916
|
shouldDisableSaveButton(state: {
|
|
702
917
|
mode: "default" | "edit";
|
|
703
918
|
formData: {
|
|
@@ -726,19 +941,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
726
941
|
} | null;
|
|
727
942
|
currentCategoryIndex: number;
|
|
728
943
|
inputValues: {
|
|
729
|
-
[
|
|
944
|
+
[dataPointName: string]: string;
|
|
730
945
|
};
|
|
731
946
|
savedValues: {
|
|
732
|
-
[
|
|
947
|
+
[dataPointName: string]: string;
|
|
733
948
|
};
|
|
734
949
|
validationResults: {
|
|
735
|
-
[
|
|
736
|
-
ok: true;
|
|
737
|
-
convertTo?: string | undefined;
|
|
738
|
-
} | {
|
|
739
|
-
ok: false;
|
|
740
|
-
reason: string;
|
|
741
|
-
};
|
|
950
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
742
951
|
};
|
|
743
952
|
email: string | null;
|
|
744
953
|
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
@@ -759,7 +968,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
759
968
|
type: "fail";
|
|
760
969
|
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
761
970
|
} | null;
|
|
762
|
-
} & {
|
|
971
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
972
|
+
mode: "default" | "edit";
|
|
973
|
+
formData: import("./types").UserProfileFormData | null;
|
|
974
|
+
currentCategoryIndex: number;
|
|
975
|
+
inputValues: {
|
|
976
|
+
[dataPointName: string]: string;
|
|
977
|
+
};
|
|
978
|
+
savedValues: {
|
|
979
|
+
[dataPointName: string]: string;
|
|
980
|
+
};
|
|
981
|
+
validationResults: {
|
|
982
|
+
[dataPointName: string]: import("./validators").UserProfileFormValidationResult;
|
|
983
|
+
};
|
|
984
|
+
email: string | null;
|
|
985
|
+
emailStatus: import("../../utils/api").VERIFY_STATUS | null;
|
|
986
|
+
ui: {
|
|
987
|
+
isSavingData: boolean;
|
|
988
|
+
isCancelConfirmSheetVisible: boolean;
|
|
989
|
+
isKycInfoSheetVisible: boolean;
|
|
990
|
+
isMailInfoSheetVisible: boolean;
|
|
991
|
+
errorSheet?: {
|
|
992
|
+
title: string;
|
|
993
|
+
text: string;
|
|
994
|
+
isVisible: boolean;
|
|
995
|
+
} | undefined;
|
|
996
|
+
};
|
|
997
|
+
result: ({
|
|
998
|
+
type: "success";
|
|
999
|
+
} | {
|
|
1000
|
+
type: "fail";
|
|
1001
|
+
errorCode: import("../../model/miniAppError").MiniAppErrorType;
|
|
1002
|
+
}) | null;
|
|
1003
|
+
}>): boolean;
|
|
763
1004
|
}, {
|
|
764
1005
|
initialize(params: import("../../types").RegisterUserInfoParams): void;
|
|
765
1006
|
saveCategory(): void;
|