@paypay/mini-app-js-sdk 1.38.0 → 1.41.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 (40) hide show
  1. package/dist/composition-api/useRegisterEmail.d.ts +1 -1
  2. package/dist/mini-app-api.d.ts +2 -1
  3. package/dist/mini-app-js-sdk.browser.js +1 -1
  4. package/dist/mini-app-js-sdk.d.ts +2 -1
  5. package/dist/mini-app-js-sdk.es.js +8304 -8366
  6. package/dist/mini-app-js-sdk.min.css +1 -1
  7. package/dist/model/bridge/checkAccessToken.d.ts +1 -1
  8. package/dist/model/bridge/debug.d.ts +1 -1
  9. package/dist/model/bridge/getAuthStatus.d.ts +1 -1
  10. package/dist/model/bridge/getBankInfo.d.ts +1 -1
  11. package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
  12. package/dist/model/bridge/getPlatformInformation.d.ts +1 -1
  13. package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
  14. package/dist/model/bridge/getUAID.d.ts +1 -1
  15. package/dist/model/bridge/getUserProfile.d.ts +1 -1
  16. package/dist/model/bridge/logout.d.ts +1 -1
  17. package/dist/model/bridge/registerEmail.d.ts +1 -1
  18. package/dist/model/bridge/scanCode.d.ts +1 -1
  19. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +1 -1
  20. package/dist/model/makePayment.d.ts +7 -9
  21. package/dist/types.d.ts +28 -1
  22. package/dist/utils/api.d.ts +53 -6
  23. package/dist/utils/fetch.d.ts +8 -0
  24. package/dist/utils/helper.d.ts +1 -0
  25. package/dist/views/email-registration/App.vue.d.ts +1 -1
  26. package/dist/views/email-registration/hooks/callback.d.ts +1 -1
  27. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +1 -1
  28. package/dist/views/error-sheet/Index.vue.d.ts +1 -1
  29. package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +1 -1
  30. package/dist/views/make-payment/Main.vue.d.ts +4 -4
  31. package/dist/views/make-payment/hooks/app-hooks.d.ts +5 -5
  32. package/dist/views/make-payment/store/handle-error.d.ts +2 -2
  33. package/dist/views/make-payment/store/util-for-handle-error.d.ts +2 -2
  34. package/dist/views/topup/App.vue.d.ts +0 -1
  35. package/package.json +1 -1
  36. package/dist/composition-api/dom/index.d.ts +0 -6
  37. package/dist/jsbridge-core/index.d.ts +0 -4
  38. package/dist/model/bridge/index.d.ts +0 -46
  39. package/dist/package/index.d.ts +0 -18
  40. package/dist/package/switch/index.d.ts +0 -23
@@ -1,3 +1,3 @@
1
- import { NativeParams } from '../../jsbridge-core';
1
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
2
2
  import { MiniAppResult } from '../../types';
3
3
  export declare function getUserProfile(params: NativeParams<MiniAppResult>): Promise<void>;
@@ -1,3 +1,3 @@
1
- import { NativeParams } from '../../jsbridge-core';
1
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
2
2
  import { MiniAppResult } from '../../types';
3
3
  export declare function logout(params: NativeParams<MiniAppResult>): void;
@@ -1,2 +1,2 @@
1
- import { NativeParams } from '../../jsbridge-core';
1
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
2
2
  export declare function registerEmail(params: NativeParams<unknown>, allowsUpdate?: boolean): void;
@@ -1,3 +1,3 @@
1
- import { NativeParams } from '../../jsbridge-core';
1
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
2
2
  import { MiniAppResult } from '../../types';
3
3
  export declare function scanCode(_params: NativeParams<MiniAppResult>): void;
@@ -1,3 +1,3 @@
1
- import { NativeParams } from '../../jsbridge-core';
1
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
2
2
  import { MiniAppResult } from '../../types';
3
3
  export declare function verifyMultiFactorAuthResult(params: NativeParams<MiniAppResult>): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { ErrorResponse } from '../utils/fetch';
1
+ import { PPFetchResult } from '../utils/fetch';
2
2
  import { MiniAppErrorType } from './miniAppError';
3
3
  import { Amount, OrderItem } from '../types';
4
4
  import { UIComponentsError } from './uiComponents';
@@ -199,13 +199,13 @@ export declare const getPaymentMethods: (params: {
199
199
  type: string;
200
200
  productType?: string;
201
201
  sourceInfoApp?: string;
202
- }) => Promise<ErrorResponse | GetPaymentMethodsResponse>;
202
+ }) => Promise<GetPaymentMethodsResponse | import("../utils/fetch").ErrorResponse>;
203
203
  export declare const getPaymentMethods2: (params: {
204
204
  merchant?: string;
205
205
  type: string;
206
206
  productType?: string;
207
207
  sourceInfoApp?: string;
208
- }) => Promise<import("../utils/fetch").PPFetchResult<GetPaymentMethodsResponse, Record<string, unknown>>>;
208
+ }) => Promise<PPFetchResult<GetPaymentMethodsResponse, Record<string, unknown>>>;
209
209
  export declare type PaymentResult = {
210
210
  requestedAt: number;
211
211
  storeId: string;
@@ -228,9 +228,7 @@ export declare type MakePaymentResponse = ResponseBase & {
228
228
  data: PaymentResult;
229
229
  };
230
230
  };
231
- export declare const makePayment: (queryParams: PaymentQuery, body: PaymentBody, isAuthorization: boolean) => Promise<{
232
- isSuccess: boolean;
233
- } & (MakePaymentResponse | ErrorResponse)>;
231
+ export declare const makePayment: (queryParams: PaymentQuery, body: PaymentBody, isAuthorization: boolean) => Promise<PPFetchResult<MakePaymentResponse>>;
234
232
  export declare type AppealDescription = {
235
233
  backgroundColor: string;
236
234
  color: string;
@@ -273,7 +271,7 @@ export declare const getConsult: ({ merchant, amount, productType, }: {
273
271
  merchant: string;
274
272
  amount: number;
275
273
  productType: string;
276
- }) => Promise<ErrorResponse | ConsultResponse>;
274
+ }) => Promise<PPFetchResult<ConsultResponse, ConsultResponse>>;
277
275
  export declare enum CashBackAnimationType {
278
276
  TIER_CAMPAIGN_BOTTOM = "TIER_CAMPAIGN_BOTTOM",
279
277
  LOTTERY = "LOTTERY",
@@ -327,7 +325,7 @@ export declare type CashBackDetailResponse = ResponseBase & {
327
325
  };
328
326
  };
329
327
  };
330
- export declare const getCashBackDetails: (paymentId: string) => Promise<ErrorResponse | CashBackDetailResponse>;
328
+ export declare const getCashBackDetails: (paymentId: string) => Promise<PPFetchResult<CashBackDetailResponse, Record<string, unknown>>>;
331
329
  export declare type SendAgePayload = {
332
330
  month: number;
333
331
  orderId: string;
@@ -346,5 +344,5 @@ export declare type SendAgeResponse = ResponseBase & {
346
344
  };
347
345
  };
348
346
  };
349
- export declare const sendAge: (payload: SendAgePayload) => Promise<ErrorResponse | SendAgeResponse>;
347
+ export declare const sendAge: (payload: SendAgePayload) => Promise<PPFetchResult<SendAgeResponse, Record<string, unknown>>>;
350
348
  export {};
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { NativeParams } from './jsbridge-core';
1
+ import { NativeParams } from './jsbridge-core/jsbridge';
2
2
  import { MiniAppErrorType } from './model/miniAppError';
3
3
  export declare type MiniAppResult = Record<string, unknown>;
4
4
  export interface MiniAppErrorResultType {
@@ -407,4 +407,31 @@ export declare type AddressUpdateEvent = {
407
407
  selectedAddress: Address;
408
408
  addresses: Address[];
409
409
  };
410
+ export declare type GrantedPermissionRespone = {
411
+ unsigned?: {
412
+ data?: {
413
+ scopes?: Array<string>;
414
+ };
415
+ };
416
+ };
417
+ export declare type BalanceType = {
418
+ unsigned?: {
419
+ resultInfo?: {
420
+ code?: string;
421
+ };
422
+ data?: {
423
+ totalBalance?: {
424
+ amount?: number;
425
+ };
426
+ };
427
+ };
428
+ };
429
+ export declare type SessionResponse = {
430
+ unsigned?: {
431
+ data?: Record<string, unknown>;
432
+ resultInfo?: {
433
+ code?: string;
434
+ };
435
+ };
436
+ };
410
437
  export {};
@@ -71,7 +71,54 @@ declare type WalletInfoResponse = {
71
71
  };
72
72
  };
73
73
  };
74
- export declare function topup(queryParams: TopupQuery, body: TopupBody): Promise<import("./fetch").ErrorResponse | TopupResponse>;
74
+ export declare function topup(queryParams: TopupQuery, body: TopupBody): Promise<{
75
+ ppFetchResult: "notAuthorized";
76
+ body: null;
77
+ } | {
78
+ ppFetchResult: "fetchError";
79
+ body: null;
80
+ } | {
81
+ ppFetchResult: "timeout";
82
+ body: null;
83
+ } | {
84
+ ppFetchResult: "tokenExpired";
85
+ statusCode: number;
86
+ body?: null | undefined;
87
+ } | {
88
+ ppFetchResult: "apiError";
89
+ statusCode: number;
90
+ body: ({
91
+ signed: {
92
+ jws: string;
93
+ };
94
+ unsigned: {
95
+ resultInfo: {
96
+ code: string;
97
+ };
98
+ data?: {
99
+ header?: {
100
+ resultCode?: string | undefined;
101
+ } | undefined;
102
+ } | undefined;
103
+ };
104
+ uiComponents?: {
105
+ displayErrorResponse?: UIComponentsError | undefined;
106
+ } | undefined;
107
+ } | {
108
+ signed?: undefined;
109
+ unsigned?: undefined;
110
+ resultInfo: {
111
+ code: string;
112
+ };
113
+ uiComponents?: {
114
+ displayErrorResponse: UIComponentsError;
115
+ } | undefined;
116
+ }) & Record<string, unknown>;
117
+ } | {
118
+ ppFetchResult: "success";
119
+ statusCode: number;
120
+ body: TopupResponse;
121
+ }>;
75
122
  export declare type BalanceParams = {
76
123
  clientId?: string;
77
124
  currency?: string;
@@ -79,8 +126,8 @@ export declare type BalanceParams = {
79
126
  productType?: string;
80
127
  sourceInfoApp?: string;
81
128
  };
82
- export declare function getBalance(params?: BalanceParams): Promise<unknown>;
83
- export declare function getCashBackInfo(): Promise<import("./fetch").ErrorResponse | WalletInfoResponse>;
129
+ export declare function getBalance(params?: BalanceParams): Promise<import("./fetch").PPFetchResult<unknown, Record<string, unknown>>>;
130
+ export declare function getCashBackInfo(): Promise<import("./fetch").PPFetchResult<WalletInfoResponse, Record<string, unknown>>>;
84
131
  export declare type getCashBackResponse = {
85
132
  signed: unknown;
86
133
  unsigned: unknown;
@@ -158,7 +205,7 @@ export declare type ProfileResponse = {
158
205
  };
159
206
  statusCode: number;
160
207
  };
161
- export declare function getUserProfileData(): Promise<import("./fetch").ErrorResponse | ProfileResponse>;
208
+ export declare function getUserProfileData(): Promise<import("./fetch").PPFetchResult<ProfileResponse, Record<string, unknown>>>;
162
209
  export declare function getUserProfileDataV2(): Promise<import("./fetch").PPFetchResult<ProfileResponse, Record<string, unknown>>>;
163
210
  export declare type RegisterEmailResponse = {
164
211
  signed: unknown;
@@ -178,7 +225,7 @@ export declare type RegisterEmailResponse = {
178
225
  };
179
226
  };
180
227
  };
181
- export declare function registerEmail(email: string): Promise<import("./fetch").ErrorResponse | RegisterEmailResponse>;
228
+ export declare function registerEmail(email: string): Promise<import("./fetch").PPFetchResult<RegisterEmailResponse, Record<string, unknown>>>;
182
229
  export declare function resendEmail(): Promise<import("./fetch").PPFetchResult<RegisterEmailResponse, Record<string, unknown>>>;
183
230
  export declare type UserLocationResponse = {
184
231
  unsigned: {
@@ -192,6 +239,6 @@ export declare type UserLocationResponse = {
192
239
  };
193
240
  export declare function getUserLocationRequest(params: {
194
241
  validTimeMinutes: number;
195
- }): Promise<import("./fetch").ErrorResponse | UserLocationResponse>;
242
+ }): Promise<import("./fetch").PPFetchResult<UserLocationResponse, Record<string, unknown>>>;
196
243
  export declare function isValidUrl(urlChallenge: string): boolean;
197
244
  export {};
@@ -1,3 +1,4 @@
1
+ import { UIComponentsError } from '../model/uiComponents';
1
2
  declare const createHeaderMiniAppApi: (urlEndpoint: string, customHeaders?: Record<string, string> | undefined) => Headers | undefined;
2
3
  export declare type ErrorResponse = {
3
4
  error: {
@@ -12,6 +13,7 @@ declare type PPFetchOptions = {
12
13
  headers?: Record<string, string>;
13
14
  suppressRefresh?: boolean;
14
15
  timeout?: number;
16
+ skipResultCodeCheck?: boolean;
15
17
  };
16
18
  declare function ppFetch<T>(options: PPFetchOptions): Promise<T | ErrorResponse>;
17
19
  declare type APIBaseResponse = {
@@ -28,12 +30,18 @@ declare type APIBaseResponse = {
28
30
  };
29
31
  };
30
32
  };
33
+ uiComponents?: {
34
+ displayErrorResponse?: UIComponentsError;
35
+ };
31
36
  } | {
32
37
  signed?: undefined;
33
38
  unsigned?: undefined;
34
39
  resultInfo: {
35
40
  code: string;
36
41
  };
42
+ uiComponents?: {
43
+ displayErrorResponse: UIComponentsError;
44
+ };
37
45
  };
38
46
  export declare type PPFetchResult<T, E = Record<string, unknown>> = {
39
47
  ppFetchResult: 'success';
@@ -49,4 +49,5 @@ export declare function updateLocalisedString(data: string, target: string, valu
49
49
  export declare function handleHeightResize(el: HTMLElement, windowHeight: number, isScrollable: boolean, offsetHeight: number): boolean;
50
50
  export declare function getPaymentMethodStatus(isExpired: boolean, val?: PaymentMethodStatus): unknown;
51
51
  export declare function filterErrorButtonList(buttonList: UIComponentsErrorButton[] | null): UIComponentsErrorButton[] | undefined;
52
+ export declare function getFailErrorCode(ppFetchResult: string): MiniAppErrorType.timeOut | MiniAppErrorType.serverError | MiniAppErrorType.tokenExpired | MiniAppErrorType.notAuthorized;
52
53
  export {};
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { NativeParams } from '../../jsbridge-core';
2
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
3
3
  import { MiniAppStatusType } from '../../model/miniAppStatus';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  show: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { SetupContext } from 'vue';
2
- import { NativeParams } from '../../../jsbridge-core';
2
+ import { NativeParams } from '../../../jsbridge-core/jsbridge';
3
3
  import { MiniAppStatusType } from '../../../model/miniAppStatus';
4
4
  export declare function useCallBack(props: NativeParams<unknown>, ctx: SetupContext<{
5
5
  click: () => true;
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  start: () => void;
17
17
  pause: () => void;
18
18
  reset: (totalTime?: number) => void;
19
- current: import("vue").ComputedRef<import('../../../composition-api/dom').CurrentTime>;
19
+ current: import("vue").ComputedRef<import('../../../composition-api/dom/useCountDown').CurrentTime>;
20
20
  };
21
21
  sendEmailAction: () => Promise<void>;
22
22
  sentText: import("vue").ComputedRef<string>;
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, PropType } from 'vue';
2
2
  import { UIComponentsErrorButton } from '../../model/uiComponents';
3
- import { ButtonType } from '../../package';
3
+ import { ButtonType } from '../../package/button';
4
4
  export declare type ErrorSheetButton = {
5
5
  title: string;
6
6
  buttonType: 'BLUE' | 'WHITE' | ButtonType;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { NativeParams } from '../../jsbridge-core';
2
+ import { NativeParams } from '../../jsbridge-core/jsbridge';
3
3
  import { MiniAppResult } from '../../types';
4
4
  import { MiniAppErrorType } from '../../model/miniAppError';
5
5
  declare const _default: import("vue").DefineComponent<{
@@ -1,4 +1,4 @@
1
- import { PropType, ComputedRef } from 'vue';
1
+ import { PropType, ComputedRef, Ref } from 'vue';
2
2
  import { Address, MakePaymentParams } from '../../types';
3
3
  import { PaymentMethod, InsufficientBalanceInfo, CreditMethod } from '../../model/makePayment';
4
4
  declare const _default: import("vue").DefineComponent<{
@@ -176,10 +176,10 @@ declare const _default: import("vue").DefineComponent<{
176
176
  showCloseConfirmation: ComputedRef<boolean>;
177
177
  confirmCloseConfirmation: () => void;
178
178
  cancelCloseConfirmation: () => void;
179
- show3DSecureSheet: import("vue").Ref<boolean>;
180
- selectedCCType: ComputedRef<string | undefined>;
181
- selectedCardMethod: ComputedRef<CreditMethod | undefined>;
179
+ show3DSecureSheet: Ref<boolean>;
180
+ selectedTopupMethod: Ref<CreditMethod | undefined>;
182
181
  close3DSecureSheet: () => void;
182
+ selectedCCType: ComputedRef<string | undefined>;
183
183
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
184
184
  click: () => true;
185
185
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1,15 +1,15 @@
1
1
  import { ComputedRef } from 'vue';
2
- import { BannerInfo, CashBackDetail, ConsultResponse, GetPaymentMethodsResponse, MakePaymentResponse, PaymentMethod, PaymentMethodType } from '../../../model/makePayment';
2
+ import { BannerInfo, CashBackDetail, ConsultResponse, GetPaymentMethodsResponse, PaymentMethod, PaymentMethodType } from '../../../model/makePayment';
3
3
  import { UIComponentsError } from '../../../model/uiComponents';
4
4
  import { MakePaymentParams } from '../../../types';
5
- import { ErrorResponse } from '../../../utils/fetch';
5
+ import { PPFetchResult } from '../../../utils/fetch';
6
6
  export interface Props {
7
7
  show?: boolean;
8
8
  paymentParams: MakePaymentParams;
9
9
  }
10
10
  export declare function usePaymentMethod(props: Props): {
11
11
  getPaymentMethods: (dryRun?: boolean | undefined) => Promise<{
12
- res: ErrorResponse | GetPaymentMethodsResponse;
12
+ res: PPFetchResult<GetPaymentMethodsResponse>;
13
13
  result: boolean;
14
14
  }>;
15
15
  showPaymentMethod: () => void;
@@ -312,13 +312,13 @@ export declare function useConsult(props: Props): {
312
312
  getConsult: () => Promise<boolean>;
313
313
  closeConsult: () => void;
314
314
  setConsult: (consult: UIComponentsError) => void;
315
- getConsultForTopup: (_retryCount?: number) => Promise<false | ErrorResponse | ConsultResponse>;
315
+ getConsultForTopup: (_retryCount?: number) => Promise<false | PPFetchResult<ConsultResponse, Record<string, unknown>>>;
316
316
  };
317
317
  export declare function usePayment(props: Props, { paymentMethod, duplicatePayment, }: {
318
318
  paymentMethod: ComputedRef<PaymentMethod>;
319
319
  duplicatePayment: ComputedRef<boolean>;
320
320
  }): {
321
- pay: () => Promise<MakePaymentResponse | undefined>;
321
+ pay: () => Promise<import('../../../model/makePayment').MakePaymentResponse | undefined>;
322
322
  paymentId: ComputedRef<string>;
323
323
  };
324
324
  export declare function useCashBackDetail(props: Props): {
@@ -1,7 +1,7 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  import { ResponseBase } from '../../../model/makePayment';
3
3
  import { UIComponentsError } from '../../../model/uiComponents';
4
- import { ErrorResponse } from '../../../utils/fetch';
4
+ import { PPFetchResult } from '../../../utils/fetch';
5
5
  import { RootStore } from './root';
6
6
  import { API_TYPES_NEVER_RETURN, API_TYPES } from './util-for-handle-error';
7
7
  declare type InsufficientParams = {
@@ -14,7 +14,7 @@ export declare type ErrorHandlingStore = {
14
14
  isError: ComputedRef<boolean>;
15
15
  isErrorOverlay: ComputedRef<boolean>;
16
16
  closeError: (immediately: boolean) => void;
17
- handleError: (res: ResponseBase | ErrorResponse, options: HandleErrorOptions) => boolean;
17
+ handleError: (res: PPFetchResult<ResponseBase>, options: HandleErrorOptions) => boolean;
18
18
  consultError: ComputedRef<UIComponentsError | null>;
19
19
  showConsultError: ComputedRef<boolean>;
20
20
  openLogicError: (options?: InsufficientParams, jws?: string | null) => void;
@@ -1,6 +1,6 @@
1
1
  import { MiniAppErrorType } from '../../../model/miniAppError';
2
2
  import { ResponseBase } from '../../../model/makePayment';
3
- import { ErrorResponse } from '../../../utils/fetch';
3
+ import { PPFetchResult } from '../../../utils/fetch';
4
4
  export declare type API_TYPES = 'consult' | 'payment' | 'topup' | 'paymentMethod' | 'address';
5
5
  export declare type API_TYPES_NEVER_RETURN = 'ageConfirm' | 'cashback';
6
6
  export declare function createErrorFromType(type?: string): {
@@ -13,4 +13,4 @@ export declare function createErrorFromErrorCodeAndType(type?: string, code?: st
13
13
  errorDescription: string;
14
14
  errorIcon: string;
15
15
  };
16
- export declare function createErrorCodeForFailCallBack(res: ResponseBase | ErrorResponse, api: API_TYPES | API_TYPES_NEVER_RETURN): MiniAppErrorType;
16
+ export declare function createErrorCodeForFailCallBack(res: PPFetchResult<ResponseBase>, api: API_TYPES | API_TYPES_NEVER_RETURN): MiniAppErrorType;
@@ -396,7 +396,6 @@ declare const _default: import("vue").DefineComponent<{
396
396
  isFirstLoad: boolean;
397
397
  show3DSecureSheet: boolean;
398
398
  }, {
399
- getfooterclass(): string;
400
399
  descriptionBannerInfo(): {
401
400
  label?: string | undefined;
402
401
  title?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paypay/mini-app-js-sdk",
3
- "version": "1.38.0",
3
+ "version": "1.41.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "build": "vite build",
@@ -1,6 +0,0 @@
1
- export * from './useOnMountedOrActivated';
2
- export * from './useEventListener';
3
- export * from './useHorizontalScrollDirective';
4
- export * from './useVerticalScrollDirective';
5
- export * from './useCountDown';
6
- export * from './useOTTLoginState';
@@ -1,4 +0,0 @@
1
- export * from './jsbridge';
2
- export * from './paypay-jsbridge';
3
- export * from './module';
4
- export * from './lib/browser';
@@ -1,46 +0,0 @@
1
- export * from './init';
2
- export * from './copyToClipboard';
3
- export * from './getUAID';
4
- export * from './getBalance';
5
- export * from './getUserProfile';
6
- export * from './getKycInformation';
7
- export * from './getPermissionStatus';
8
- export * from './getTopBarHeight';
9
- export * from './getPlatformInformation';
10
- export * from './getDeviceInformation';
11
- export * from './makePayment';
12
- export * from './openWebview';
13
- export * from './showErrorSheet';
14
- export * from './showAlert';
15
- export * from './topup';
16
- export * from './showUpdateWarning';
17
- export * from './scanCode';
18
- export * from './closeApp';
19
- export * from './takePhoto';
20
- export * from './setTitle';
21
- export * from './getUserLocation';
22
- export * from './getUserAddress';
23
- export * from './inputAddress';
24
- export * from './openMap';
25
- export * from './openApp';
26
- export * from './openMiniApp';
27
- export * from './checkPaymentMethod';
28
- export * from './requestInternal';
29
- export * from './debug';
30
- export * from './checkAccessToken';
31
- export * from './registerEmail';
32
- export * from './registerKyc';
33
- export * from './startMultiFactorAuth';
34
- export * from './logout';
35
- export * from './verifyMultiFactorAuthResult';
36
- export * from './getAuthStatus';
37
- export * from './render';
38
- export * from './setSessionData';
39
- export * from './getSessionData';
40
- export * from './setStorageData';
41
- export * from './getStorageData';
42
- export * from './removeStorageData';
43
- export * from './request';
44
- export * from './share';
45
- export * from './registerUserInfo';
46
- export * from './getBankInfo';
@@ -1,18 +0,0 @@
1
- export * from './action-sheet';
2
- export * from './button';
3
- export * from './divider';
4
- export * from './input';
5
- export * from './overlay';
6
- export * from './switch';
7
- export * from './lottie';
8
- export * from './header';
9
- export * from './desktop-header';
10
- export * from './payment-method';
11
- export * from './payment-type';
12
- export * from './select-list';
13
- export { default as DateButton } from './date-button/index.vue';
14
- export { default as BannerHeader } from './banner-header/index.vue';
15
- export { default as ChargeAmountList } from './charge-amount-list/index.vue';
16
- export { default as ChargeAmountMoreList } from './charge-amount-more-list/index.vue';
17
- export { default as PaymentMethodList } from './payment-method-list/index.vue';
18
- export { default as SkeletonLoader } from './skeleton-loader/SkeletonLoader.vue';
@@ -1,23 +0,0 @@
1
- export declare const Switch: import("vue").DefineComponent<{
2
- label: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- checked: BooleanConstructor;
7
- disabled: BooleanConstructor;
8
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- toggleSwitch: (_p: boolean) => true;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- label: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- checked: BooleanConstructor;
16
- disabled: BooleanConstructor;
17
- }>> & {
18
- onToggleSwitch?: ((_p: boolean) => any) | undefined;
19
- }, {
20
- label: string;
21
- disabled: boolean;
22
- checked: boolean;
23
- }>;