@pisell/private-materials 6.3.146 → 6.3.149
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.js +12 -6
- package/es/components/appointmentBooking/components/Form/index.js +15 -2
- package/es/components/appointmentBooking/context.js +18 -11
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/appointmentBooking/index.js +6 -3
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/venueBooking/context.d.ts +9 -0
- package/es/components/venueBooking/context.js +17 -12
- package/es/components/venueBooking/index.js +50 -12
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.js +5 -5
- package/lib/components/appointmentBooking/components/Form/index.js +9 -2
- package/lib/components/appointmentBooking/context.js +4 -1
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/appointmentBooking/index.js +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/venueBooking/context.d.ts +9 -0
- package/lib/components/venueBooking/context.js +4 -2
- package/lib/components/venueBooking/index.js +51 -7
- package/package.json +1 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -3
- package/es/components/appointmentBooking/context.d.ts +0 -35
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/utils.d.ts +0 -227
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/kioskSkuDetail/index.d.ts +0 -39
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/serve.d.ts +0 -87
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/es/plus/walletPassGallery/locales.d.ts +0 -488
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/es/pro/Login2.0/Register2.d.ts +0 -65
- package/es/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -117
- package/es/pro/Login2.0/steps/CodeInput.d.ts +0 -24
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -3
- package/lib/components/appointmentBooking/context.d.ts +0 -35
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/utils.d.ts +0 -227
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/kioskSkuDetail/index.d.ts +0 -39
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/serve.d.ts +0 -87
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/locales.d.ts +0 -488
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/lib/pro/Login2.0/Register2.d.ts +0 -65
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -117
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +0 -24
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 取消当前支付流程中残留的 message 监听器和定时器,
|
|
3
|
-
* 并 reject 挂起的 Promise 使 startPayment 的 await 结束。
|
|
4
|
-
* reject 值为 0,startPayment catch 中 `if (err === 0) return` 会静默处理。
|
|
5
|
-
*/
|
|
6
|
-
export declare const cancelCurrentPayment: () => void;
|
|
7
|
-
interface PaymentOptions {
|
|
8
|
-
callback?: (res: any) => void;
|
|
9
|
-
isCancelled?: () => boolean;
|
|
10
|
-
/** 引擎 token.get(),供 setPayNumber 写入 stash */
|
|
11
|
-
stashAuthToken?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @title: 点击支付
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {any} param1
|
|
17
|
-
* @return {*}
|
|
18
|
-
* @Author: Wzw
|
|
19
|
-
* @Date: 2022-10-22 10:05
|
|
20
|
-
*/
|
|
21
|
-
export declare const startPayment: ({ orderId, cardInfo, payData }: any, options?: PaymentOptions) => Promise<boolean | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* @title: 前置检查 - 提交卡信息到后端(预检查版本)
|
|
24
|
-
* @description: 与 checkEnrollment 调用相同 API,但不包含 Toast/callback/closeIframe 等副作用。
|
|
25
|
-
* 失败时直接 throw error,由调用方(MWCreditCard)捕获并展示 3DS 错误弹窗。
|
|
26
|
-
* @param {string} orderId 订单ID
|
|
27
|
-
* @param {any} cardInfo 卡信息
|
|
28
|
-
* @return {Promise<any>} 返回后端数据(含 pay_info),失败则 throw
|
|
29
|
-
*/
|
|
30
|
-
export declare const preCheckEnrollment: (orderId: string, cardInfo: any, stashAuthToken?: string) => Promise<any>;
|
|
31
|
-
/*******
|
|
32
|
-
* @title: 步骤2
|
|
33
|
-
* @description: 提交卡信息到后端
|
|
34
|
-
* @return {*}
|
|
35
|
-
* @Author: Wzw
|
|
36
|
-
* @Date: 2022-10-18 10:26
|
|
37
|
-
*/
|
|
38
|
-
export declare const checkEnrollment: (orderId: string, cardInfo: any, options?: PaymentOptions) => Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
* @title: 步骤3
|
|
41
|
-
* @description: 创建iframe, 监听
|
|
42
|
-
* @param {any} threeDSMethodData
|
|
43
|
-
* @return {*}
|
|
44
|
-
* @Author: Wzw
|
|
45
|
-
* @Date: 2022-10-18 10:36
|
|
46
|
-
*/
|
|
47
|
-
export declare const createThreeDSMethodIframe: (threeDSMethodData: any, callback: any) => Promise<unknown>;
|
|
48
|
-
/**
|
|
49
|
-
* @title: 步骤4
|
|
50
|
-
* @description:
|
|
51
|
-
* @param {any} param1
|
|
52
|
-
* @return {*}
|
|
53
|
-
* @Author: Wzw
|
|
54
|
-
* @Date: 2022-10-18 10:43
|
|
55
|
-
*/
|
|
56
|
-
export declare const checkTDSAuth: (step2: any, step3: any, options?: PaymentOptions) => Promise<any>;
|
|
57
|
-
/**
|
|
58
|
-
* @title: 步骤5
|
|
59
|
-
* @description: 监听
|
|
60
|
-
* @param {any} challengeData
|
|
61
|
-
* @return {*}
|
|
62
|
-
* @Author: Wzw
|
|
63
|
-
* @Date: 2022-10-18 10:45
|
|
64
|
-
*/
|
|
65
|
-
export declare const createChallengeIframe: (challengeData: any, callback?: any) => Promise<unknown>;
|
|
66
|
-
/**
|
|
67
|
-
* @title: 步骤6
|
|
68
|
-
* @description:
|
|
69
|
-
* @param {any} cres
|
|
70
|
-
* @return {*}
|
|
71
|
-
* @Author: Wzw
|
|
72
|
-
* @Date: 2022-10-18 10:48
|
|
73
|
-
*/
|
|
74
|
-
export declare const checkPARes: (step2: any, step4: any, step5: any) => Promise<any>;
|
|
75
|
-
/**
|
|
76
|
-
* @title: 支付结束
|
|
77
|
-
* @description:
|
|
78
|
-
* @return {*}
|
|
79
|
-
* @Author: Wzw
|
|
80
|
-
* @Date: 2022-10-18 14:28
|
|
81
|
-
*/
|
|
82
|
-
export declare const paymentEnd: (props: any, callback: any) => void;
|
|
83
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface SuperPayAliPayH5Ref {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface SuperPayAliPayH5Props {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<SuperPayAliPayH5Props & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface SuperPayWxPayH5Ref {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface SuperPayWxPayH5Props {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<SuperPayWxPayH5Props & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellWalletPassCardProps } from '@pisell/materials/es/components/pisellWalletPassCard';
|
|
3
|
-
import { MachineCodeListParams, WalletPassDataType } from '../serve';
|
|
4
|
-
import './index.less';
|
|
5
|
-
export interface WalletPassListProps {
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
data?: PisellWalletPassCardProps[];
|
|
8
|
-
onChange?: (val: number[], valDetail: PisellWalletPassCardProps[]) => void;
|
|
9
|
-
value?: number[];
|
|
10
|
-
walletSetting: {
|
|
11
|
-
name: string;
|
|
12
|
-
};
|
|
13
|
-
onChangeDebounce?: boolean;
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
onLoadingChange?: (loading: boolean) => void;
|
|
16
|
-
customer_id?: number;
|
|
17
|
-
}
|
|
18
|
-
export declare type WalletPassListRef = {
|
|
19
|
-
init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
|
|
20
|
-
};
|
|
21
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<WalletPassListProps & React.RefAttributes<WalletPassListRef>>>;
|
|
22
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WalletPassDataType } from './serve';
|
|
3
|
-
import { PayGroup } from '../../model';
|
|
4
|
-
import './index.less';
|
|
5
|
-
export interface WalletPassRef {
|
|
6
|
-
init: (val?: PayGroup & {
|
|
7
|
-
customer_id?: number;
|
|
8
|
-
}) => void;
|
|
9
|
-
}
|
|
10
|
-
export interface WalletPassProps {
|
|
11
|
-
onWalletPassChange?: (walletPass: {
|
|
12
|
-
cards: WalletPassDataType[];
|
|
13
|
-
amount: number;
|
|
14
|
-
}) => void;
|
|
15
|
-
walletPass: {
|
|
16
|
-
cards: WalletPassDataType[];
|
|
17
|
-
amount: number;
|
|
18
|
-
};
|
|
19
|
-
walletSetting: {
|
|
20
|
-
name: string;
|
|
21
|
-
popup_status: 0 | 1;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<WalletPassProps & React.RefAttributes<WalletPassRef>>>;
|
|
25
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { WalletPassDataType } from './serve';
|
|
2
|
-
export declare const formatMachineCodeServer2CardList: (data: WalletPassDataType[], selectId?: number[]) => any;
|
|
3
|
-
export declare const getDataByIds: (arr: any[], ids: number[]) => any[];
|
|
4
|
-
/**
|
|
5
|
-
* 判断是否是wallet code
|
|
6
|
-
* @param val
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare const getIsWalletCode: (val: string) => boolean;
|
|
10
|
-
export declare const formatWalletPassWithUniquePaymentNumber: (currentWalletPass: {
|
|
11
|
-
cards: any[];
|
|
12
|
-
amount: number;
|
|
13
|
-
}) => {
|
|
14
|
-
cards: any[];
|
|
15
|
-
amount: number;
|
|
16
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface PaymentMethodsRef {
|
|
3
|
-
onPay: (props: any) => void;
|
|
4
|
-
}
|
|
5
|
-
interface PaymentMethodsProps {
|
|
6
|
-
payCallback: (props: any) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
|
9
|
-
export default _default;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
-
message: string;
|
|
3
|
-
status: string;
|
|
4
|
-
paymentList?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
message: string;
|
|
7
|
-
status: string;
|
|
8
|
-
paymentList: any;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {object} values
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-08-15 11:52
|
|
17
|
-
*/
|
|
18
|
-
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
-
order_id: string;
|
|
20
|
-
total_amount: number;
|
|
21
|
-
sale_channel: string;
|
|
22
|
-
}) => Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 初始化交易组
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {object} values
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: zhiwei.Wang
|
|
29
|
-
* @Date: 2024-08-16 10:42
|
|
30
|
-
*/
|
|
31
|
-
export declare const getPaymentInit: (values: {
|
|
32
|
-
order_id?: string;
|
|
33
|
-
amount?: number;
|
|
34
|
-
}) => Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* @title: 获取钱包名称和弹窗状态
|
|
37
|
-
* @description:
|
|
38
|
-
* @param {object} values
|
|
39
|
-
* @return {*}
|
|
40
|
-
* @Author: shengjie.zuo
|
|
41
|
-
* @member: 马天宇
|
|
42
|
-
* @Date: 2025-02-21 10:42
|
|
43
|
-
*/
|
|
44
|
-
export declare const getWalletNameAndPopupStatus: (values: {
|
|
45
|
-
setting_type?: string;
|
|
46
|
-
}) => Promise<{
|
|
47
|
-
wallet: {
|
|
48
|
-
name?: {
|
|
49
|
-
en: string;
|
|
50
|
-
'zh-CN': string;
|
|
51
|
-
'zh-HK': string;
|
|
52
|
-
'ja': string;
|
|
53
|
-
'pt': string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
wallet_setting: {
|
|
57
|
-
popup_status?: 1 | 0;
|
|
58
|
-
};
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* @title: 获取支付结果
|
|
62
|
-
* @description: 获取支付结果
|
|
63
|
-
*/
|
|
64
|
-
export declare const getPaymentResult: (values: any) => Promise<any>;
|
|
65
|
-
/**
|
|
66
|
-
* @title: 检测订单是否有正在处理中的交易
|
|
67
|
-
* @param {object} values - { order_id: string }
|
|
68
|
-
* @return {Promise<{ has_pending: boolean }>}
|
|
69
|
-
*/
|
|
70
|
-
export declare const checkPendingPayment: (values: {
|
|
71
|
-
order_id: string;
|
|
72
|
-
}) => Promise<{
|
|
73
|
-
has_pending: boolean;
|
|
74
|
-
}>;
|
|
75
|
-
/** `/h5/core/stash` 请求体 */
|
|
76
|
-
export interface CoreStashParams {
|
|
77
|
-
/** 缓存 key,由前端生成 */
|
|
78
|
-
token: string;
|
|
79
|
-
/** 暂存数据,如完整 PayGroup */
|
|
80
|
-
data: unknown;
|
|
81
|
-
/** 生命周期(秒),默认 86400(1 天) */
|
|
82
|
-
ttl?: number;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* 调用服务端暂存接口,写入 payGroup 等数据。
|
|
86
|
-
*/
|
|
87
|
-
export declare const postCoreStash: (params: CoreStashParams) => Promise<void>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ITimeBarProps {
|
|
4
|
-
globalState: any;
|
|
5
|
-
setGlobalState: any;
|
|
6
|
-
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
7
|
-
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
8
|
-
setIntervalTime: (value: boolean) => void;
|
|
9
|
-
locale: string;
|
|
10
|
-
}
|
|
11
|
-
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
|
12
|
-
export default TimeBar;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface OptionsModalProps {
|
|
2
|
-
parentDataSource: any;
|
|
3
|
-
dataSource: any;
|
|
4
|
-
modalDataSource: any;
|
|
5
|
-
values: any;
|
|
6
|
-
optionItemValue?: any;
|
|
7
|
-
modalValue: any;
|
|
8
|
-
remainingCount: number;
|
|
9
|
-
open: boolean;
|
|
10
|
-
title: string;
|
|
11
|
-
onCancel: () => void;
|
|
12
|
-
onConfirm: (v: any) => void;
|
|
13
|
-
}
|
|
14
|
-
declare const OptionsModal: (props: OptionsModalProps) => JSX.Element;
|
|
15
|
-
export default OptionsModal;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface BundleItem {
|
|
2
|
-
id: string | number;
|
|
3
|
-
title?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
min_quantity?: number;
|
|
6
|
-
max_quantity?: number;
|
|
7
|
-
bundle_item?: Array<{
|
|
8
|
-
id: string | number;
|
|
9
|
-
title?: string;
|
|
10
|
-
cover?: string;
|
|
11
|
-
price?: number;
|
|
12
|
-
subtitle?: string;
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}>;
|
|
15
|
-
required?: 0 | 1;
|
|
16
|
-
is_enabled?: 0 | 1;
|
|
17
|
-
}
|
|
18
|
-
export declare const transformBundleGroup: (bundleGroup: BundleItem[]) => any[];
|
|
19
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
interface PassDetailProps {
|
|
3
|
-
dataSource?: any | null;
|
|
4
|
-
platform?: 'pc' | 'h5';
|
|
5
|
-
buttonGroupList?: any[][];
|
|
6
|
-
showTimeLine?: boolean;
|
|
7
|
-
onListRefresh?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const PassDetail: (props: PassDetailProps) => JSX.Element | null;
|
|
10
|
-
export default PassDetail;
|