@paypay/mini-app-js-sdk 1.15.0 → 1.19.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/composition-api/dom/index.d.ts +4 -4
- package/dist/composition-api/dom/useEventListener.d.ts +8 -8
- package/dist/composition-api/dom/useHorizontalScrollDirective.d.ts +4 -4
- package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +1 -1
- package/dist/composition-api/dom/useVerticalScrollDirective.d.ts +4 -4
- package/dist/composition-api/useErrorSheet.d.ts +3 -3
- package/dist/composition-api/useGetUserAddress.d.ts +2 -2
- package/dist/composition-api/useHeightProperties.d.ts +19 -19
- package/dist/composition-api/useInpuAddress.d.ts +2 -2
- package/dist/composition-api/useMakePayment.d.ts +3 -3
- package/dist/composition-api/useOpenApp.d.ts +3 -3
- package/dist/composition-api/useOpenMap.d.ts +3 -3
- package/dist/composition-api/useRegisterEmail.d.ts +2 -2
- package/dist/composition-api/useRenderSmartButton.d.ts +3 -0
- package/dist/composition-api/useShowAlert.d.ts +3 -3
- package/dist/composition-api/useShowUpdateWarning.d.ts +3 -3
- package/dist/composition-api/useTakePhoto.d.ts +3 -3
- package/dist/composition-api/useTopup.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/jsbridge-core/index.d.ts +4 -4
- package/dist/jsbridge-core/jsbridge.d.ts +62 -62
- package/dist/jsbridge-core/lib/browser.d.ts +3 -3
- package/dist/jsbridge-core/lib/logger.d.ts +9 -9
- package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -2
- package/dist/jsbridge-core/module.d.ts +15 -14
- package/dist/jsbridge-core/namespace.d.ts +2 -2
- package/dist/jsbridge-core/paypay-jsbridge.d.ts +17 -16
- package/dist/mini-app-api.d.ts +51 -48
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.d.ts +9 -9
- package/dist/mini-app-js-sdk.es.js +31001 -1
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +3 -3
- package/dist/model/bridge/checkPaymentMethod.d.ts +2 -2
- package/dist/model/bridge/closeApp.d.ts +2 -2
- package/dist/model/bridge/copyToClipboard.d.ts +2 -2
- package/dist/model/bridge/debug.d.ts +3 -3
- package/dist/model/bridge/getAppDetail.d.ts +17 -17
- package/dist/model/bridge/getAuthStatus.d.ts +3 -0
- package/dist/model/bridge/getBalance.d.ts +2 -2
- package/dist/model/bridge/getConfigure.d.ts +39 -39
- package/dist/model/bridge/getDeviceInformation.d.ts +3 -3
- package/dist/model/bridge/getKycInformation.d.ts +2 -2
- package/dist/model/bridge/getPermissionStatus.d.ts +2 -2
- package/dist/model/bridge/getPlatformInformation.d.ts +3 -3
- package/dist/model/bridge/getSessionData.d.ts +2 -2
- package/dist/model/bridge/getStorageData.d.ts +2 -2
- package/dist/model/bridge/getTopBarHeight.d.ts +3 -3
- package/dist/model/bridge/getUAID.d.ts +3 -3
- package/dist/model/bridge/getUserAddress.d.ts +2 -2
- package/dist/model/bridge/getUserLocation.d.ts +2 -2
- package/dist/model/bridge/getUserProfile.d.ts +3 -3
- package/dist/model/bridge/index.d.ts +43 -41
- package/dist/model/bridge/init.d.ts +2 -2
- package/dist/model/bridge/inputAddress.d.ts +2 -2
- package/dist/model/bridge/logout.d.ts +3 -3
- package/dist/model/bridge/makePayment.d.ts +2 -2
- package/dist/model/bridge/openApp.d.ts +2 -2
- package/dist/model/bridge/openMap.d.ts +2 -2
- package/dist/model/bridge/openWebview.d.ts +3 -3
- package/dist/model/bridge/registerEmail.d.ts +2 -2
- package/dist/model/bridge/registerKyc.d.ts +2 -2
- package/dist/model/bridge/removeStorageData.d.ts +2 -2
- package/dist/model/bridge/render.d.ts +2 -0
- package/dist/model/bridge/renderLoginButton.d.ts +2 -0
- package/dist/model/bridge/renderPayButton.d.ts +2 -0
- package/dist/model/bridge/request.d.ts +2 -2
- package/dist/model/bridge/requestInternal.d.ts +2 -2
- package/dist/model/bridge/scanCode.d.ts +3 -3
- package/dist/model/bridge/setSessionData.d.ts +2 -2
- package/dist/model/bridge/setStorageData.d.ts +2 -2
- package/dist/model/bridge/setTitle.d.ts +2 -2
- package/dist/model/bridge/share.d.ts +2 -2
- package/dist/model/bridge/showAlert.d.ts +2 -2
- package/dist/model/bridge/showErrorSheet.d.ts +2 -2
- package/dist/model/bridge/showUpdateWarning.d.ts +2 -2
- package/dist/model/bridge/startMultiFactorAuth.d.ts +2 -2
- package/dist/model/bridge/takePhoto.d.ts +2 -2
- package/dist/model/bridge/topup.d.ts +2 -2
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +3 -3
- package/dist/model/makePayment.d.ts +324 -323
- package/dist/model/miniAppError.d.ts +57 -55
- package/dist/model/miniAppStatus.d.ts +9 -8
- package/dist/model/permission.d.ts +21 -18
- package/dist/model/uiComponents.d.ts +23 -23
- package/dist/package/action-sheet/index.d.ts +90 -78
- package/dist/package/banner-header/index.vue.d.ts +56 -48
- package/dist/package/button/index.d.ts +69 -57
- package/dist/package/charge-amount-list/index.vue.d.ts +54 -47
- package/dist/package/charge-amount-more-list/index.vue.d.ts +19 -17
- package/dist/package/date-button/index.vue.d.ts +21 -19
- package/dist/package/divider/index.d.ts +21 -19
- package/dist/package/header/index.d.ts +65 -54
- package/dist/package/index.d.ts +16 -16
- package/dist/package/input/index.d.ts +169 -141
- package/dist/package/input/utils.d.ts +10 -10
- package/dist/package/lottie/index.d.ts +61 -53
- package/dist/package/overlay/index.d.ts +44 -39
- package/dist/package/payment-method/Bank.vue.d.ts +35 -32
- package/dist/package/payment-method/CreditCard.vue.d.ts +42 -39
- package/dist/package/payment-method/SbidBank.vue.d.ts +21 -19
- package/dist/package/payment-method/Wallet.vue.d.ts +31 -29
- package/dist/package/payment-method/index.d.ts +15 -13
- package/dist/package/payment-method-list/index.vue.d.ts +27 -24
- package/dist/package/payment-type/Bank.vue.d.ts +31 -28
- package/dist/package/payment-type/{CrediCard.vue.d.ts → CreditCard.vue.d.ts} +32 -30
- package/dist/package/payment-type/Sbid.vue.d.ts +17 -15
- package/dist/package/payment-type/Wallet.vue.d.ts +17 -15
- package/dist/package/payment-type/index.d.ts +15 -13
- package/dist/package/select-list/Components.d.ts +65 -57
- package/dist/package/select-list/index.d.ts +73 -62
- package/dist/package/switch/index.d.ts +22 -17
- package/dist/types.d.ts +344 -299
- package/dist/utils/api.d.ts +147 -142
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/create/bem.d.ts +6 -6
- package/dist/utils/create/index.d.ts +5 -5
- package/dist/utils/fetch.d.ts +16 -16
- package/dist/utils/getImages.d.ts +5 -5
- package/dist/utils/getLanguage.d.ts +3 -3
- package/dist/utils/helper.d.ts +47 -40
- package/dist/utils/ip.d.ts +2 -2
- package/dist/utils/miniAppRequest.d.ts +9 -9
- package/dist/utils/popstateHandler.d.ts +4 -4
- package/dist/utils/secondary-list.d.ts +1 -1
- package/dist/utils/storage.d.ts +26 -22
- package/dist/views/email-registration/App.vue.d.ts +79 -71
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +45 -37
- package/dist/views/email-registration/components/icons.d.ts +2 -2
- package/dist/views/email-registration/hooks/callback.d.ts +7 -7
- package/dist/views/email-registration/hooks/ui.d.ts +29 -29
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +52 -46
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +24 -19
- package/dist/views/error-sheet/Index.vue.d.ts +52 -43
- package/dist/views/get-user-address/App.vue.d.ts +44 -32
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +73 -63
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +23 -18
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +33 -29
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +35 -30
- package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +4 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +83 -64
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +62 -44
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +32 -25
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +25 -10
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +41 -24
- package/dist/views/get-user-address/hooks/ui-hooks.d.ts +14 -11
- package/dist/views/get-user-address/store/error-handle.d.ts +12 -12
- package/dist/views/get-user-address/store/root.d.ts +14 -12
- package/dist/views/input-address/App.vue.d.ts +36 -32
- package/dist/views/input-address/hook/app.d.ts +13 -13
- package/dist/views/input-address/hook/error-handle.d.ts +10 -10
- package/dist/views/input-address/hook/root.d.ts +10 -10
- package/dist/views/make-payment/App.vue.d.ts +52 -32
- package/dist/views/make-payment/Main.vue.d.ts +630 -590
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +25 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +20 -16
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +19 -17
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +16 -14
- package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +24 -21
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +26 -26
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +53 -50
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +32 -29
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +80 -71
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +49 -44
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +522 -515
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +38 -34
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +23 -21
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +27 -22
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +108 -71
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +36 -33
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +69 -62
- package/dist/views/make-payment/hooks/app-hooks.d.ts +568 -565
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +72 -51
- package/dist/views/make-payment/store/age-confirm.d.ts +9 -9
- package/dist/views/make-payment/store/handle-error.d.ts +36 -36
- package/dist/views/make-payment/store/root.d.ts +22 -22
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +16 -16
- package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -3
- package/dist/views/open-app/App.vue.d.ts +28 -23
- package/dist/views/open-map/App.vue.d.ts +28 -23
- package/dist/views/show-alert/App.vue.d.ts +36 -29
- package/dist/views/show-update-warning/App.vue.d.ts +28 -23
- package/dist/views/smart-button/App.vue.d.ts +87 -0
- package/dist/views/take-photo/App.vue.d.ts +25 -20
- package/dist/views/take-photo/helper.d.ts +2 -2
- package/dist/views/topup/App.vue.d.ts +102 -95
- package/dist/views/topup/BannerInfo.vue.d.ts +23 -19
- package/dist/views/topup/CashbackInfo.vue.d.ts +44 -37
- package/dist/views/topup/TopupCompletion.vue.d.ts +26 -22
- package/package.json +26 -33
- package/dist/utils/mock-data/mockData.d.ts +0 -64
- package/dist/utils/ns.d.ts +0 -5
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isMakepayment: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
add: () => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
style: Record<string, string>;
|
|
11
|
+
bottomStyle: import("vue").ComputedRef<{
|
|
12
|
+
paddingBottom: string;
|
|
13
|
+
}>;
|
|
14
|
+
lg: unknown;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "add")[], "close" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
16
|
+
isMakepayment?: unknown;
|
|
17
|
+
} & {
|
|
18
|
+
isMakepayment: boolean;
|
|
19
|
+
} & {}> & {
|
|
20
|
+
onClose?: (...args: any[]) => any;
|
|
21
|
+
onAdd?: (...args: any[]) => any;
|
|
22
|
+
}, {
|
|
23
|
+
isMakepayment: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
@@ -1,24 +1,41 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Address as AddressType } from '../../../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
addresses: {
|
|
5
|
-
type: PropType<AddressType[]>;
|
|
6
|
-
required: true;
|
|
7
|
-
default: () => AddressType[];
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Address as AddressType } from '../../../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
addresses: {
|
|
5
|
+
type: PropType<AddressType[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
default: () => AddressType[];
|
|
8
|
+
};
|
|
9
|
+
isMakepayment: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
style: Record<string, string>;
|
|
16
|
+
state: {
|
|
17
|
+
selectedIndex: number;
|
|
18
|
+
selected: boolean;
|
|
19
|
+
};
|
|
20
|
+
selectIndex: (index: number, address: AddressType) => void;
|
|
21
|
+
close: () => void;
|
|
22
|
+
add: () => void;
|
|
23
|
+
lg: unknown;
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "edit" | "add" | "back" | "makepayment")[], "success" | "close" | "edit" | "add" | "back" | "makepayment", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
25
|
+
addresses?: unknown;
|
|
26
|
+
isMakepayment?: unknown;
|
|
27
|
+
} & {
|
|
28
|
+
isMakepayment: boolean;
|
|
29
|
+
addresses: AddressType[];
|
|
30
|
+
} & {}> & {
|
|
31
|
+
onClose?: (...args: any[]) => any;
|
|
32
|
+
onEdit?: (...args: any[]) => any;
|
|
33
|
+
onAdd?: (...args: any[]) => any;
|
|
34
|
+
onSuccess?: (...args: any[]) => any;
|
|
35
|
+
onBack?: (...args: any[]) => any;
|
|
36
|
+
onMakepayment?: (...args: any[]) => any;
|
|
37
|
+
}, {
|
|
38
|
+
isMakepayment: boolean;
|
|
39
|
+
addresses: AddressType[];
|
|
40
|
+
}>;
|
|
41
|
+
export default _default;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
import { Address } from '../../../types';
|
|
2
|
+
export declare function useUIControl(): {
|
|
3
|
+
pageTransition: {
|
|
4
|
+
fullScreen: import("vue").ComputedRef<boolean>;
|
|
5
|
+
showAddSheet: import("vue").ComputedRef<boolean>;
|
|
6
|
+
openAddSheet: (address: Address) => void;
|
|
7
|
+
closeAddSheet: () => void;
|
|
8
|
+
resetAddress: () => void;
|
|
9
|
+
address: import("vue").ComputedRef<any>;
|
|
10
|
+
};
|
|
11
|
+
headerHeight: import("vue").ComputedRef<{
|
|
12
|
+
maxHeight: string;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
2
|
-
import { ErrorResponse } from '../../../utils/fetch';
|
|
3
|
-
export declare const KEY = "getUserAddress_error_handling";
|
|
4
|
-
export interface ErrorHandleStore {
|
|
5
|
-
errorShow: ComputedRef<boolean>;
|
|
6
|
-
errorTitle: ComputedRef<string>;
|
|
7
|
-
errorDescription: ComputedRef<string>;
|
|
8
|
-
errorIcon: ComputedRef<string>;
|
|
9
|
-
handleError: <T>(res?: ErrorResponse | T) => res is ErrorResponse;
|
|
10
|
-
}
|
|
11
|
-
export declare function initErrorHandling(): ErrorHandleStore;
|
|
12
|
-
export declare function getErrorHandling(): ErrorHandleStore;
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { ErrorResponse } from '../../../utils/fetch';
|
|
3
|
+
export declare const KEY = "getUserAddress_error_handling";
|
|
4
|
+
export interface ErrorHandleStore {
|
|
5
|
+
errorShow: ComputedRef<boolean>;
|
|
6
|
+
errorTitle: ComputedRef<string>;
|
|
7
|
+
errorDescription: ComputedRef<string>;
|
|
8
|
+
errorIcon: ComputedRef<string>;
|
|
9
|
+
handleError: <T>(res?: ErrorResponse | T) => res is ErrorResponse;
|
|
10
|
+
}
|
|
11
|
+
export declare function initErrorHandling(): ErrorHandleStore;
|
|
12
|
+
export declare function getErrorHandling(): ErrorHandleStore;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { SetupContext } from 'vue';
|
|
2
|
-
import { Address, GetUserAddressParams } from '../../../types';
|
|
3
|
-
export declare const KEY = "getUserAddress_root";
|
|
4
|
-
export interface Props {
|
|
5
|
-
getUserAddressParams: GetUserAddressParams;
|
|
6
|
-
}
|
|
7
|
-
export interface RootStore {
|
|
8
|
-
cancel: () => void;
|
|
9
|
-
success: (address: Address) => void;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { SetupContext } from 'vue';
|
|
2
|
+
import { Address, GetUserAddressParams } from '../../../types';
|
|
3
|
+
export declare const KEY = "getUserAddress_root";
|
|
4
|
+
export interface Props {
|
|
5
|
+
getUserAddressParams: GetUserAddressParams;
|
|
6
|
+
}
|
|
7
|
+
export interface RootStore {
|
|
8
|
+
cancel: () => void;
|
|
9
|
+
success: (address: Address) => void;
|
|
10
|
+
back: () => void;
|
|
11
|
+
makepayment: (index: any) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function initRoot(props: Props, { emit }: SetupContext): RootStore;
|
|
14
|
+
export declare function getRoot(): RootStore;
|
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { InputAddressParams } from '../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
inputAddressParams: {
|
|
5
|
-
type: PropType<InputAddressParams>;
|
|
6
|
-
required: true;
|
|
7
|
-
default: any;
|
|
8
|
-
};
|
|
9
|
-
show: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
required: false;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
cancel: () => void;
|
|
16
|
-
errorTitle: import("vue").ComputedRef<string>;
|
|
17
|
-
errorShow: import("vue").ComputedRef<boolean>;
|
|
18
|
-
errorIcon: import("vue").ComputedRef<string>;
|
|
19
|
-
errorDescription: import("vue").ComputedRef<string>;
|
|
20
|
-
addAddress: (_address: import("../../types").Address) => Promise<void>;
|
|
21
|
-
loading: import("vue").ComputedRef<boolean>;
|
|
22
|
-
closeError: () => void;
|
|
23
|
-
address: import("vue").ComputedRef<any>;
|
|
24
|
-
delAddress: (
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
26
|
-
inputAddressParams
|
|
27
|
-
show
|
|
28
|
-
} & {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { InputAddressParams } from '../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
inputAddressParams: {
|
|
5
|
+
type: PropType<InputAddressParams>;
|
|
6
|
+
required: true;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
show: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
cancel: () => void;
|
|
16
|
+
errorTitle: import("vue").ComputedRef<string>;
|
|
17
|
+
errorShow: import("vue").ComputedRef<boolean>;
|
|
18
|
+
errorIcon: import("vue").ComputedRef<string>;
|
|
19
|
+
errorDescription: import("vue").ComputedRef<string>;
|
|
20
|
+
addAddress: (_address: import("../../types").Address) => Promise<void>;
|
|
21
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
22
|
+
closeError: () => void;
|
|
23
|
+
address: import("vue").ComputedRef<any>;
|
|
24
|
+
delAddress: (res: any) => Promise<void>;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
26
|
+
inputAddressParams?: unknown;
|
|
27
|
+
show?: unknown;
|
|
28
|
+
} & {
|
|
29
|
+
show: boolean;
|
|
30
|
+
} & {
|
|
31
|
+
inputAddressParams?: any;
|
|
32
|
+
}>, {
|
|
33
|
+
show: boolean;
|
|
34
|
+
inputAddressParams: any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Address } from '../../../types';
|
|
2
|
-
import { ErrorResponse } from '../../../utils/fetch';
|
|
3
|
-
export declare function useApp(params: {
|
|
4
|
-
handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
|
|
5
|
-
success: () => void;
|
|
6
|
-
address?: Address | null | undefined;
|
|
7
|
-
}): {
|
|
8
|
-
addAddress: (_address: Address) => Promise<void>;
|
|
9
|
-
loading: import("vue").ComputedRef<boolean>;
|
|
10
|
-
delAddress: (
|
|
11
|
-
shallow: import("vue").ComputedRef<boolean>;
|
|
12
|
-
reset: () => void;
|
|
13
|
-
};
|
|
1
|
+
import { Address } from '../../../types';
|
|
2
|
+
import { ErrorResponse } from '../../../utils/fetch';
|
|
3
|
+
export declare function useApp(params: {
|
|
4
|
+
handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
|
|
5
|
+
success: () => void;
|
|
6
|
+
address?: Address | null | undefined;
|
|
7
|
+
}): {
|
|
8
|
+
addAddress: (_address: Address) => Promise<void>;
|
|
9
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
10
|
+
delAddress: (res: ErrorResponse | any) => Promise<void>;
|
|
11
|
+
shallow: import("vue").ComputedRef<boolean>;
|
|
12
|
+
reset: () => void;
|
|
13
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SetupContext } from 'vue';
|
|
2
|
-
import { ErrorResponse } from '../../../utils/fetch';
|
|
3
|
-
export declare function useErrorHandling({ emit }: SetupContext): {
|
|
4
|
-
errorShow: import("vue").ComputedRef<boolean>;
|
|
5
|
-
errorTitle: import("vue").ComputedRef<string>;
|
|
6
|
-
errorIcon: import("vue").ComputedRef<string>;
|
|
7
|
-
errorDescription: import("vue").ComputedRef<string>;
|
|
8
|
-
handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
|
|
9
|
-
closeError: () => void;
|
|
10
|
-
};
|
|
1
|
+
import { SetupContext } from 'vue';
|
|
2
|
+
import { ErrorResponse } from '../../../utils/fetch';
|
|
3
|
+
export declare function useErrorHandling({ emit }: SetupContext): {
|
|
4
|
+
errorShow: import("vue").ComputedRef<boolean>;
|
|
5
|
+
errorTitle: import("vue").ComputedRef<string>;
|
|
6
|
+
errorIcon: import("vue").ComputedRef<string>;
|
|
7
|
+
errorDescription: import("vue").ComputedRef<string>;
|
|
8
|
+
handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
|
|
9
|
+
closeError: () => void;
|
|
10
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { InputAddressParams } from '../../../types';
|
|
2
|
-
import { SetupContext } from 'vue';
|
|
3
|
-
export interface Props {
|
|
4
|
-
inputAddressParams: InputAddressParams;
|
|
5
|
-
show: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function useRoot(props: Props, { emit }: SetupContext): {
|
|
8
|
-
cancel: () => void;
|
|
9
|
-
success: () => void;
|
|
10
|
-
};
|
|
1
|
+
import { InputAddressParams } from '../../../types';
|
|
2
|
+
import { SetupContext } from 'vue';
|
|
3
|
+
export interface Props {
|
|
4
|
+
inputAddressParams: InputAddressParams;
|
|
5
|
+
show: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function useRoot(props: Props, { emit }: SetupContext): {
|
|
8
|
+
cancel: () => void;
|
|
9
|
+
success: () => void;
|
|
10
|
+
};
|
|
@@ -1,32 +1,52 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { MakePaymentParams } from '../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
show: BooleanConstructor;
|
|
5
|
-
paymentParams: {
|
|
6
|
-
type: PropType<MakePaymentParams>;
|
|
7
|
-
default: () => void;
|
|
8
|
-
};
|
|
9
|
-
orderItems: {
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
default: () => void;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Address, MakePaymentParams } from '../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
show: BooleanConstructor;
|
|
5
|
+
paymentParams: {
|
|
6
|
+
type: PropType<MakePaymentParams>;
|
|
7
|
+
default: () => void;
|
|
8
|
+
};
|
|
9
|
+
orderItems: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => void;
|
|
12
|
+
};
|
|
13
|
+
addresses: {
|
|
14
|
+
type: PropType<Address[]>;
|
|
15
|
+
required: false;
|
|
16
|
+
default: () => Address[];
|
|
17
|
+
};
|
|
18
|
+
showUserAddress: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
endApplication: () => void;
|
|
25
|
+
isError: import("vue").ComputedRef<boolean>;
|
|
26
|
+
closeError: (immediately: boolean) => void;
|
|
27
|
+
showConsultError: import("vue").ComputedRef<boolean>;
|
|
28
|
+
consultError: import("vue").ComputedRef<import("../../model/uiComponents").UIComponentsError>;
|
|
29
|
+
isErrorOverlay: import("vue").ComputedRef<boolean>;
|
|
30
|
+
errorIcon: import("vue").ComputedRef<string>;
|
|
31
|
+
errorDescription: import("vue").ComputedRef<string>;
|
|
32
|
+
errorTitle: import("vue").ComputedRef<string>;
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
34
|
+
show?: unknown;
|
|
35
|
+
paymentParams?: unknown;
|
|
36
|
+
orderItems?: unknown;
|
|
37
|
+
addresses?: unknown;
|
|
38
|
+
showUserAddress?: unknown;
|
|
39
|
+
} & {
|
|
40
|
+
show: boolean;
|
|
41
|
+
addresses: Address[];
|
|
42
|
+
paymentParams: MakePaymentParams;
|
|
43
|
+
showUserAddress: boolean;
|
|
44
|
+
orderItems: Record<string, any>;
|
|
45
|
+
} & {}>, {
|
|
46
|
+
show: boolean;
|
|
47
|
+
addresses: Address[];
|
|
48
|
+
paymentParams: MakePaymentParams;
|
|
49
|
+
showUserAddress: boolean;
|
|
50
|
+
orderItems: Record<string, any>;
|
|
51
|
+
}>;
|
|
52
|
+
export default _default;
|