@paypay/mini-app-js-sdk 1.64.0 → 2.0.0-beta.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 (187) hide show
  1. package/dist/client/clientUtils.d.ts +14 -0
  2. package/dist/client/index.d.ts +34 -0
  3. package/dist/client/supportedFunctionsList.d.ts +2 -0
  4. package/dist/client/types.d.ts +5 -0
  5. package/dist/core/coreUtils.d.ts +6 -0
  6. package/dist/jsbridge-core/jsbridge.d.ts +1 -1
  7. package/dist/mini-app-api.d.ts +5 -3
  8. package/dist/mini-app-js-sdk.browser.js +2 -1
  9. package/dist/mini-app-js-sdk.es.js +661 -44555
  10. package/dist/model/bridge/getKycPassportInfo.d.ts +2 -3
  11. package/dist/model/bridge/logAppsFlyerEvent.d.ts +2 -0
  12. package/dist/model/bridge/render.d.ts +4 -0
  13. package/dist/model/bridge/renderPayButton.d.ts +8 -1
  14. package/dist/model/bridge/showStorageAccessPermissionAlert.d.ts +2 -0
  15. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +2 -3
  16. package/dist/model/miniAppError.d.ts +2 -1
  17. package/dist/package/button/index.d.ts +1 -1
  18. package/dist/resources/en.d.ts +496 -0
  19. package/dist/resources/ja.d.ts +515 -0
  20. package/dist/types.d.ts +157 -8
  21. package/dist/utils/api.d.ts +2 -1
  22. package/dist/utils/fetch.d.ts +1 -0
  23. package/dist/utils/getLanguage.d.ts +83 -1
  24. package/dist/utils/helper.d.ts +5 -0
  25. package/dist/utils/ip.d.ts +1 -1
  26. package/dist/utils/minimumAppVersion.d.ts +1 -0
  27. package/dist/utils/storage.d.ts +20 -13
  28. package/package.json +24 -10
  29. package/dist/composition-api/dom/useCountDown.d.ts +0 -20
  30. package/dist/composition-api/dom/useEventListener.d.ts +0 -8
  31. package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +0 -1
  32. package/dist/index.d.ts +0 -3
  33. package/dist/jsbridge-core/lib/browser.d.ts +0 -3
  34. package/dist/jsbridge-core/paypay-jsbridge.d.ts +0 -16
  35. package/dist/mini-app-js-sdk.d.ts +0 -10
  36. package/dist/mini-app-js-sdk.min.css +0 -1
  37. package/dist/model/OPAErrorCodes.d.ts +0 -4
  38. package/dist/model/bridge/index.d.ts +0 -47
  39. package/dist/package/action-sheet/index.d.ts +0 -123
  40. package/dist/package/banner-header/index.vue.d.ts +0 -71
  41. package/dist/package/button/LoadingIndicator.vue.d.ts +0 -2
  42. package/dist/package/charge-amount-list/index.vue.d.ts +0 -100
  43. package/dist/package/charge-amount-more-list/index.vue.d.ts +0 -25
  44. package/dist/package/date-button/index.vue.d.ts +0 -21
  45. package/dist/package/desktop-header/index.d.ts +0 -26
  46. package/dist/package/divider/index.d.ts +0 -24
  47. package/dist/package/header/index.d.ts +0 -99
  48. package/dist/package/input/currency/index.d.ts +0 -124
  49. package/dist/package/input/email/index.d.ts +0 -137
  50. package/dist/package/input/text/index.d.ts +0 -151
  51. package/dist/package/input/utils.d.ts +0 -6
  52. package/dist/package/input/zip/index.d.ts +0 -107
  53. package/dist/package/lottie/index.d.ts +0 -77
  54. package/dist/package/overlay/index.d.ts +0 -52
  55. package/dist/package/payment-method/Bank.vue.d.ts +0 -59
  56. package/dist/package/payment-method/CreditCard.vue.d.ts +0 -55
  57. package/dist/package/payment-method/PayLaterCC.vue.d.ts +0 -462
  58. package/dist/package/payment-method/SbidBank.vue.d.ts +0 -463
  59. package/dist/package/payment-method/Wallet.vue.d.ts +0 -467
  60. package/dist/package/payment-method/index.d.ts +0 -32
  61. package/dist/package/payment-method-list/index.vue.d.ts +0 -58
  62. package/dist/package/payment-type/Bank.vue.d.ts +0 -46
  63. package/dist/package/payment-type/CreditCard.vue.d.ts +0 -56
  64. package/dist/package/payment-type/PayLaterCC.vue.d.ts +0 -473
  65. package/dist/package/payment-type/Sbid.vue.d.ts +0 -462
  66. package/dist/package/payment-type/Wallet.vue.d.ts +0 -476
  67. package/dist/package/payment-type/index.d.ts +0 -38
  68. package/dist/package/select-list/Components.d.ts +0 -130
  69. package/dist/package/select-list/index.d.ts +0 -109
  70. package/dist/package/skeleton-loader/SkeletonLoader.vue.d.ts +0 -18
  71. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +0 -461
  72. package/dist/utils/uiConstants.d.ts +0 -1
  73. package/dist/utils/useBreakpoints.d.ts +0 -5
  74. package/dist/utils/utils.d.ts +0 -2
  75. package/dist/views/email-registration/App.vue.d.ts +0 -59
  76. package/dist/views/email-registration/hooks/callback.d.ts +0 -9
  77. package/dist/views/email-registration/hooks/const.d.ts +0 -1
  78. package/dist/views/email-registration/hooks/ui.d.ts +0 -23
  79. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +0 -42
  80. package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +0 -76
  81. package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +0 -24
  82. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +0 -54
  83. package/dist/views/error-sheet/Index.vue.d.ts +0 -526
  84. package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +0 -44
  85. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +0 -482
  86. package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +0 -35
  87. package/dist/views/get-bank-info/components/PayoutMethodView.vue.d.ts +0 -22
  88. package/dist/views/get-bank-info/types.d.ts +0 -29
  89. package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +0 -459
  90. package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +0 -457
  91. package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +0 -457
  92. package/dist/views/get-kyc-passport/GetKycPassportRootView.vue.d.ts +0 -36
  93. package/dist/views/get-user-address/App.vue.d.ts +0 -67
  94. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +0 -539
  95. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +0 -460
  96. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +0 -503
  97. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +0 -474
  98. package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +0 -4
  99. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +0 -543
  100. package/dist/views/get-user-address/Sheet/App.vue.d.ts +0 -89
  101. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +0 -484
  102. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +0 -466
  103. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +0 -550
  104. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +0 -450
  105. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +0 -473
  106. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +0 -468
  107. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +0 -460
  108. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +0 -57
  109. package/dist/views/get-user-address/store/error-handle.d.ts +0 -12
  110. package/dist/views/get-user-address/store/root.d.ts +0 -18
  111. package/dist/views/init-kyc-passport/App.vue.d.ts +0 -38
  112. package/dist/views/init-kyc-passport/UpdateWarning.vue.d.ts +0 -55
  113. package/dist/views/input-address/App.vue.d.ts +0 -40
  114. package/dist/views/input-address/hook/app.d.ts +0 -14
  115. package/dist/views/input-address/hook/error-handle.d.ts +0 -8
  116. package/dist/views/input-address/hook/root.d.ts +0 -10
  117. package/dist/views/make-payment/App.vue.d.ts +0 -6663
  118. package/dist/views/make-payment/Main.vue.d.ts +0 -6676
  119. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +0 -458
  120. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +0 -461
  121. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +0 -453
  122. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +0 -449
  123. package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +0 -29
  124. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +0 -27
  125. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +0 -493
  126. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +0 -528
  127. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +0 -653
  128. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +0 -494
  129. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +0 -1419
  130. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +0 -493
  131. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +0 -439
  132. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +0 -27
  133. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +0 -464
  134. package/dist/views/make-payment/Sheets/MaintenanceInfo.vue.d.ts +0 -20
  135. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +0 -530
  136. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +0 -656
  137. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +0 -42
  138. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +0 -549
  139. package/dist/views/make-payment/store/util-for-handle-error.d.ts +0 -16
  140. package/dist/views/make-payment/store.d.ts +0 -6328
  141. package/dist/views/make-payment/utils/paymentMethod.d.ts +0 -4
  142. package/dist/views/open-app/App.vue.d.ts +0 -464
  143. package/dist/views/open-map/App.vue.d.ts +0 -464
  144. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +0 -1102
  145. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +0 -1117
  146. package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +0 -19
  147. package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +0 -7
  148. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +0 -1102
  149. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +0 -1107
  150. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +0 -1107
  151. package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +0 -6
  152. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +0 -684
  153. package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +0 -16
  154. package/dist/views/register-user-info/api.d.ts +0 -23
  155. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +0 -454
  156. package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +0 -18
  157. package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +0 -34
  158. package/dist/views/register-user-info/store.d.ts +0 -448
  159. package/dist/views/register-user-info/types.d.ts +0 -32
  160. package/dist/views/register-user-info/utils.d.ts +0 -4
  161. package/dist/views/register-user-info/validators.d.ts +0 -10
  162. package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +0 -140
  163. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +0 -98
  164. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +0 -99
  165. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +0 -100
  166. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +0 -105
  167. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +0 -96
  168. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +0 -96
  169. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +0 -102
  170. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +0 -96
  171. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +0 -106
  172. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +0 -129
  173. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +0 -151
  174. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +0 -99
  175. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +0 -99
  176. package/dist/views/registerPaymentFeatures/fallback-method/FallbackMethodAppUpdateWarning.vue.d.ts +0 -33
  177. package/dist/views/registerPaymentFeatures/store.d.ts +0 -95
  178. package/dist/views/show-alert/App.vue.d.ts +0 -42
  179. package/dist/views/show-update-warning/App.vue.d.ts +0 -466
  180. package/dist/views/smart-button/App.vue.d.ts +0 -100
  181. package/dist/views/sms-auth/App.vue.d.ts +0 -580
  182. package/dist/views/sms-auth/store.d.ts +0 -321
  183. package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +0 -40
  184. package/dist/views/topup/App.vue.d.ts +0 -559
  185. package/dist/views/topup/BannerInfo.vue.d.ts +0 -35
  186. package/dist/views/topup/CashbackInfo.vue.d.ts +0 -489
  187. package/dist/views/topup/TopupCompletion.vue.d.ts +0 -466
@@ -1,6 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- showsProgressView: import("vue").ComputedRef<boolean>;
3
- dotStyles: import("vue").ComputedRef<string[]>;
4
- barStyles: import("vue").ComputedRef<string[]>;
5
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
6
- export default _default;
@@ -1,684 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { RegisterUserInfoParams } from '../../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- params: {
5
- type: PropType<RegisterUserInfoParams>;
6
- required: true;
7
- };
8
- }, {
9
- store: import("pinia").Store<"registerUserInfo", {
10
- mode: "default" | "edit";
11
- formData: import("./types").UserProfileFormData | null;
12
- currentCategoryIndex: number;
13
- inputValues: {
14
- [dataPointName: string]: string;
15
- };
16
- savedValues: {
17
- [dataPointName: string]: string;
18
- };
19
- validationResults: {
20
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
21
- };
22
- email: string | null;
23
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
24
- ui: {
25
- isSavingData: boolean;
26
- isCancelConfirmSheetVisible: boolean;
27
- isKycInfoSheetVisible: boolean;
28
- isMailInfoSheetVisible: boolean;
29
- errorSheet?: {
30
- title: string;
31
- text: string;
32
- isVisible: boolean;
33
- } | undefined;
34
- };
35
- result: ({
36
- type: "success";
37
- } | {
38
- type: "fail";
39
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
40
- }) | null;
41
- }, {
42
- uiIsVisible(state: {
43
- mode: "default" | "edit";
44
- formData: {
45
- isKycRequired: boolean;
46
- categories: {
47
- categoryName: string;
48
- categoryTitle: string;
49
- categorySubTitle: string;
50
- isAllDataPointFilled: boolean;
51
- dataPointGroup: {
52
- groupType: string;
53
- groupName: string;
54
- dataPoints: {
55
- name: string;
56
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
57
- isEditable: boolean;
58
- isOptional: boolean;
59
- isKycData: boolean;
60
- placeholder: string;
61
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
62
- value?: string | undefined;
63
- selectionItems?: string[] | undefined;
64
- }[];
65
- }[];
66
- }[];
67
- } | null;
68
- currentCategoryIndex: number;
69
- inputValues: {
70
- [dataPointName: string]: string;
71
- };
72
- savedValues: {
73
- [dataPointName: string]: string;
74
- };
75
- validationResults: {
76
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
77
- };
78
- email: string | null;
79
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
80
- ui: {
81
- isSavingData: boolean;
82
- isCancelConfirmSheetVisible: boolean;
83
- isKycInfoSheetVisible: boolean;
84
- isMailInfoSheetVisible: boolean;
85
- errorSheet?: {
86
- title: string;
87
- text: string;
88
- isVisible: boolean;
89
- } | undefined;
90
- };
91
- result: {
92
- type: "success";
93
- } | {
94
- type: "fail";
95
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
96
- } | null;
97
- } & import("pinia").PiniaCustomStateProperties<{
98
- mode: "default" | "edit";
99
- formData: import("./types").UserProfileFormData | null;
100
- currentCategoryIndex: number;
101
- inputValues: {
102
- [dataPointName: string]: string;
103
- };
104
- savedValues: {
105
- [dataPointName: string]: string;
106
- };
107
- validationResults: {
108
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
109
- };
110
- email: string | null;
111
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
112
- ui: {
113
- isSavingData: boolean;
114
- isCancelConfirmSheetVisible: boolean;
115
- isKycInfoSheetVisible: boolean;
116
- isMailInfoSheetVisible: boolean;
117
- errorSheet?: {
118
- title: string;
119
- text: string;
120
- isVisible: boolean;
121
- } | undefined;
122
- };
123
- result: ({
124
- type: "success";
125
- } | {
126
- type: "fail";
127
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
128
- }) | null;
129
- }>): boolean;
130
- categoryAtIndex(state: {
131
- mode: "default" | "edit";
132
- formData: {
133
- isKycRequired: boolean;
134
- categories: {
135
- categoryName: string;
136
- categoryTitle: string;
137
- categorySubTitle: string;
138
- isAllDataPointFilled: boolean;
139
- dataPointGroup: {
140
- groupType: string;
141
- groupName: string;
142
- dataPoints: {
143
- name: string;
144
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
145
- isEditable: boolean;
146
- isOptional: boolean;
147
- isKycData: boolean;
148
- placeholder: string;
149
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
150
- value?: string | undefined;
151
- selectionItems?: string[] | undefined;
152
- }[];
153
- }[];
154
- }[];
155
- } | null;
156
- currentCategoryIndex: number;
157
- inputValues: {
158
- [dataPointName: string]: string;
159
- };
160
- savedValues: {
161
- [dataPointName: string]: string;
162
- };
163
- validationResults: {
164
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
165
- };
166
- email: string | null;
167
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
168
- ui: {
169
- isSavingData: boolean;
170
- isCancelConfirmSheetVisible: boolean;
171
- isKycInfoSheetVisible: boolean;
172
- isMailInfoSheetVisible: boolean;
173
- errorSheet?: {
174
- title: string;
175
- text: string;
176
- isVisible: boolean;
177
- } | undefined;
178
- };
179
- result: {
180
- type: "success";
181
- } | {
182
- type: "fail";
183
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
184
- } | null;
185
- } & import("pinia").PiniaCustomStateProperties<{
186
- mode: "default" | "edit";
187
- formData: import("./types").UserProfileFormData | null;
188
- currentCategoryIndex: number;
189
- inputValues: {
190
- [dataPointName: string]: string;
191
- };
192
- savedValues: {
193
- [dataPointName: string]: string;
194
- };
195
- validationResults: {
196
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
197
- };
198
- email: string | null;
199
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
200
- ui: {
201
- isSavingData: boolean;
202
- isCancelConfirmSheetVisible: boolean;
203
- isKycInfoSheetVisible: boolean;
204
- isMailInfoSheetVisible: boolean;
205
- errorSheet?: {
206
- title: string;
207
- text: string;
208
- isVisible: boolean;
209
- } | undefined;
210
- };
211
- result: ({
212
- type: "success";
213
- } | {
214
- type: "fail";
215
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
216
- }) | null;
217
- }>): (index: number) => import("./types").UserProfileFormCategory;
218
- numberOfCategories(state: {
219
- mode: "default" | "edit";
220
- formData: {
221
- isKycRequired: boolean;
222
- categories: {
223
- categoryName: string;
224
- categoryTitle: string;
225
- categorySubTitle: string;
226
- isAllDataPointFilled: boolean;
227
- dataPointGroup: {
228
- groupType: string;
229
- groupName: string;
230
- dataPoints: {
231
- name: string;
232
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
233
- isEditable: boolean;
234
- isOptional: boolean;
235
- isKycData: boolean;
236
- placeholder: string;
237
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
238
- value?: string | undefined;
239
- selectionItems?: string[] | undefined;
240
- }[];
241
- }[];
242
- }[];
243
- } | null;
244
- currentCategoryIndex: number;
245
- inputValues: {
246
- [dataPointName: string]: string;
247
- };
248
- savedValues: {
249
- [dataPointName: string]: string;
250
- };
251
- validationResults: {
252
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
253
- };
254
- email: string | null;
255
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
256
- ui: {
257
- isSavingData: boolean;
258
- isCancelConfirmSheetVisible: boolean;
259
- isKycInfoSheetVisible: boolean;
260
- isMailInfoSheetVisible: boolean;
261
- errorSheet?: {
262
- title: string;
263
- text: string;
264
- isVisible: boolean;
265
- } | undefined;
266
- };
267
- result: {
268
- type: "success";
269
- } | {
270
- type: "fail";
271
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
272
- } | null;
273
- } & import("pinia").PiniaCustomStateProperties<{
274
- mode: "default" | "edit";
275
- formData: import("./types").UserProfileFormData | null;
276
- currentCategoryIndex: number;
277
- inputValues: {
278
- [dataPointName: string]: string;
279
- };
280
- savedValues: {
281
- [dataPointName: string]: string;
282
- };
283
- validationResults: {
284
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
285
- };
286
- email: string | null;
287
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
288
- ui: {
289
- isSavingData: boolean;
290
- isCancelConfirmSheetVisible: boolean;
291
- isKycInfoSheetVisible: boolean;
292
- isMailInfoSheetVisible: boolean;
293
- errorSheet?: {
294
- title: string;
295
- text: string;
296
- isVisible: boolean;
297
- } | undefined;
298
- };
299
- result: ({
300
- type: "success";
301
- } | {
302
- type: "fail";
303
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
304
- }) | null;
305
- }>): number;
306
- currentValue(state: {
307
- mode: "default" | "edit";
308
- formData: {
309
- isKycRequired: boolean;
310
- categories: {
311
- categoryName: string;
312
- categoryTitle: string;
313
- categorySubTitle: string;
314
- isAllDataPointFilled: boolean;
315
- dataPointGroup: {
316
- groupType: string;
317
- groupName: string;
318
- dataPoints: {
319
- name: string;
320
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
321
- isEditable: boolean;
322
- isOptional: boolean;
323
- isKycData: boolean;
324
- placeholder: string;
325
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
326
- value?: string | undefined;
327
- selectionItems?: string[] | undefined;
328
- }[];
329
- }[];
330
- }[];
331
- } | null;
332
- currentCategoryIndex: number;
333
- inputValues: {
334
- [dataPointName: string]: string;
335
- };
336
- savedValues: {
337
- [dataPointName: string]: string;
338
- };
339
- validationResults: {
340
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
341
- };
342
- email: string | null;
343
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
344
- ui: {
345
- isSavingData: boolean;
346
- isCancelConfirmSheetVisible: boolean;
347
- isKycInfoSheetVisible: boolean;
348
- isMailInfoSheetVisible: boolean;
349
- errorSheet?: {
350
- title: string;
351
- text: string;
352
- isVisible: boolean;
353
- } | undefined;
354
- };
355
- result: {
356
- type: "success";
357
- } | {
358
- type: "fail";
359
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
360
- } | null;
361
- } & import("pinia").PiniaCustomStateProperties<{
362
- mode: "default" | "edit";
363
- formData: import("./types").UserProfileFormData | null;
364
- currentCategoryIndex: number;
365
- inputValues: {
366
- [dataPointName: string]: string;
367
- };
368
- savedValues: {
369
- [dataPointName: string]: string;
370
- };
371
- validationResults: {
372
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
373
- };
374
- email: string | null;
375
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
376
- ui: {
377
- isSavingData: boolean;
378
- isCancelConfirmSheetVisible: boolean;
379
- isKycInfoSheetVisible: boolean;
380
- isMailInfoSheetVisible: boolean;
381
- errorSheet?: {
382
- title: string;
383
- text: string;
384
- isVisible: boolean;
385
- } | undefined;
386
- };
387
- result: ({
388
- type: "success";
389
- } | {
390
- type: "fail";
391
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
392
- }) | null;
393
- }>): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
394
- hasValidationError(state: {
395
- mode: "default" | "edit";
396
- formData: {
397
- isKycRequired: boolean;
398
- categories: {
399
- categoryName: string;
400
- categoryTitle: string;
401
- categorySubTitle: string;
402
- isAllDataPointFilled: boolean;
403
- dataPointGroup: {
404
- groupType: string;
405
- groupName: string;
406
- dataPoints: {
407
- name: string;
408
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
409
- isEditable: boolean;
410
- isOptional: boolean;
411
- isKycData: boolean;
412
- placeholder: string;
413
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
414
- value?: string | undefined;
415
- selectionItems?: string[] | undefined;
416
- }[];
417
- }[];
418
- }[];
419
- } | null;
420
- currentCategoryIndex: number;
421
- inputValues: {
422
- [dataPointName: string]: string;
423
- };
424
- savedValues: {
425
- [dataPointName: string]: string;
426
- };
427
- validationResults: {
428
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
429
- };
430
- email: string | null;
431
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
432
- ui: {
433
- isSavingData: boolean;
434
- isCancelConfirmSheetVisible: boolean;
435
- isKycInfoSheetVisible: boolean;
436
- isMailInfoSheetVisible: boolean;
437
- errorSheet?: {
438
- title: string;
439
- text: string;
440
- isVisible: boolean;
441
- } | undefined;
442
- };
443
- result: {
444
- type: "success";
445
- } | {
446
- type: "fail";
447
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
448
- } | null;
449
- } & import("pinia").PiniaCustomStateProperties<{
450
- mode: "default" | "edit";
451
- formData: import("./types").UserProfileFormData | null;
452
- currentCategoryIndex: number;
453
- inputValues: {
454
- [dataPointName: string]: string;
455
- };
456
- savedValues: {
457
- [dataPointName: string]: string;
458
- };
459
- validationResults: {
460
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
461
- };
462
- email: string | null;
463
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
464
- ui: {
465
- isSavingData: boolean;
466
- isCancelConfirmSheetVisible: boolean;
467
- isKycInfoSheetVisible: boolean;
468
- isMailInfoSheetVisible: boolean;
469
- errorSheet?: {
470
- title: string;
471
- text: string;
472
- isVisible: boolean;
473
- } | undefined;
474
- };
475
- result: ({
476
- type: "success";
477
- } | {
478
- type: "fail";
479
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
480
- }) | null;
481
- }>): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
482
- validationErrorForGroup(state: {
483
- mode: "default" | "edit";
484
- formData: {
485
- isKycRequired: boolean;
486
- categories: {
487
- categoryName: string;
488
- categoryTitle: string;
489
- categorySubTitle: string;
490
- isAllDataPointFilled: boolean;
491
- dataPointGroup: {
492
- groupType: string;
493
- groupName: string;
494
- dataPoints: {
495
- name: string;
496
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
497
- isEditable: boolean;
498
- isOptional: boolean;
499
- isKycData: boolean;
500
- placeholder: string;
501
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
502
- value?: string | undefined;
503
- selectionItems?: string[] | undefined;
504
- }[];
505
- }[];
506
- }[];
507
- } | null;
508
- currentCategoryIndex: number;
509
- inputValues: {
510
- [dataPointName: string]: string;
511
- };
512
- savedValues: {
513
- [dataPointName: string]: string;
514
- };
515
- validationResults: {
516
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
517
- };
518
- email: string | null;
519
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
520
- ui: {
521
- isSavingData: boolean;
522
- isCancelConfirmSheetVisible: boolean;
523
- isKycInfoSheetVisible: boolean;
524
- isMailInfoSheetVisible: boolean;
525
- errorSheet?: {
526
- title: string;
527
- text: string;
528
- isVisible: boolean;
529
- } | undefined;
530
- };
531
- result: {
532
- type: "success";
533
- } | {
534
- type: "fail";
535
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
536
- } | null;
537
- } & import("pinia").PiniaCustomStateProperties<{
538
- mode: "default" | "edit";
539
- formData: import("./types").UserProfileFormData | null;
540
- currentCategoryIndex: number;
541
- inputValues: {
542
- [dataPointName: string]: string;
543
- };
544
- savedValues: {
545
- [dataPointName: string]: string;
546
- };
547
- validationResults: {
548
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
549
- };
550
- email: string | null;
551
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
552
- ui: {
553
- isSavingData: boolean;
554
- isCancelConfirmSheetVisible: boolean;
555
- isKycInfoSheetVisible: boolean;
556
- isMailInfoSheetVisible: boolean;
557
- errorSheet?: {
558
- title: string;
559
- text: string;
560
- isVisible: boolean;
561
- } | undefined;
562
- };
563
- result: ({
564
- type: "success";
565
- } | {
566
- type: "fail";
567
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
568
- }) | null;
569
- }>): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
570
- shouldDisableSaveButton(state: {
571
- mode: "default" | "edit";
572
- formData: {
573
- isKycRequired: boolean;
574
- categories: {
575
- categoryName: string;
576
- categoryTitle: string;
577
- categorySubTitle: string;
578
- isAllDataPointFilled: boolean;
579
- dataPointGroup: {
580
- groupType: string;
581
- groupName: string;
582
- dataPoints: {
583
- name: string;
584
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
585
- isEditable: boolean;
586
- isOptional: boolean;
587
- isKycData: boolean;
588
- placeholder: string;
589
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
590
- value?: string | undefined;
591
- selectionItems?: string[] | undefined;
592
- }[];
593
- }[];
594
- }[];
595
- } | null;
596
- currentCategoryIndex: number;
597
- inputValues: {
598
- [dataPointName: string]: string;
599
- };
600
- savedValues: {
601
- [dataPointName: string]: string;
602
- };
603
- validationResults: {
604
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
605
- };
606
- email: string | null;
607
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
608
- ui: {
609
- isSavingData: boolean;
610
- isCancelConfirmSheetVisible: boolean;
611
- isKycInfoSheetVisible: boolean;
612
- isMailInfoSheetVisible: boolean;
613
- errorSheet?: {
614
- title: string;
615
- text: string;
616
- isVisible: boolean;
617
- } | undefined;
618
- };
619
- result: {
620
- type: "success";
621
- } | {
622
- type: "fail";
623
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
624
- } | null;
625
- } & import("pinia").PiniaCustomStateProperties<{
626
- mode: "default" | "edit";
627
- formData: import("./types").UserProfileFormData | null;
628
- currentCategoryIndex: number;
629
- inputValues: {
630
- [dataPointName: string]: string;
631
- };
632
- savedValues: {
633
- [dataPointName: string]: string;
634
- };
635
- validationResults: {
636
- [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
637
- };
638
- email: string | null;
639
- emailStatus: import("../../utils/api").VERIFY_STATUS | null;
640
- ui: {
641
- isSavingData: boolean;
642
- isCancelConfirmSheetVisible: boolean;
643
- isKycInfoSheetVisible: boolean;
644
- isMailInfoSheetVisible: boolean;
645
- errorSheet?: {
646
- title: string;
647
- text: string;
648
- isVisible: boolean;
649
- } | undefined;
650
- };
651
- result: ({
652
- type: "success";
653
- } | {
654
- type: "fail";
655
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
656
- }) | null;
657
- }>): boolean;
658
- }, {
659
- initialize(params: RegisterUserInfoParams): void;
660
- saveCategory(): void;
661
- getEmailStatus(): void;
662
- onInputValueChange(dataPoint: import("./types").UserProfileFormDataPoint, value: string): void;
663
- onBackButton(): void;
664
- onCancelFormButton(): void;
665
- closeCancelConfirmationSheet(): void;
666
- confirmCancel(): void;
667
- showKycInfoSheet(): void;
668
- closeKycInfoSheet(): void;
669
- showMailInfoSheet(): void;
670
- closeMailInfoSheet(): void;
671
- closeErrorSheet(): void;
672
- }>;
673
- complete: () => void;
674
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
675
- complete: () => true;
676
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
677
- params: {
678
- type: PropType<RegisterUserInfoParams>;
679
- required: true;
680
- };
681
- }>> & {
682
- onComplete?: (() => any) | undefined;
683
- }, {}>;
684
- export default _default;