@pisell/private-materials 6.3.141 → 6.3.143
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 +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/scanOrder/components/Check/index.js +2 -1
- package/es/components/scanOrder/components/Content/index.js +21 -14
- package/es/components/scanOrder/components/Menu/index.js +2 -1
- package/es/components/scanOrder/locales.d.ts +5 -0
- package/es/components/scanOrder/locales.js +5 -0
- package/lib/components/scanOrder/components/Check/index.js +3 -1
- package/lib/components/scanOrder/components/Content/index.js +4 -0
- package/lib/components/scanOrder/components/Menu/index.js +2 -2
- package/lib/components/scanOrder/locales.d.ts +5 -0
- package/lib/components/scanOrder/locales.js +5 -0
- package/package.json +1 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/utils.d.ts +0 -227
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/locales.d.ts +0 -1489
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/eftposPay/amount.d.ts +0 -21
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/network.d.ts +0 -9
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/component/manual/index.d.ts +0 -9
- package/es/components/eftposPay/component/signature/index.d.ts +0 -9
- package/es/components/eftposPay/device.d.ts +0 -23
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/eftposPay/tip.d.ts +0 -10
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/utils/payLog.d.ts +0 -81
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/kioskSkuDetail/index.d.ts +0 -39
- package/es/components/kioskSkuDetail/locales.d.ts +0 -48
- 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/locales.d.ts +0 -631
- package/es/components/pay/toC/payGroup.d.ts +0 -59
- package/es/components/pay/toC/serve.d.ts +0 -87
- package/es/components/pay/toC/utils.d.ts +0 -65
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/scanOrder/components/Cart/index.d.ts +0 -16
- package/es/components/scanOrder/components/Footer/index.d.ts +0 -12
- package/es/components/scanOrder/components/Menu/index.d.ts +0 -17
- package/es/components/scanOrder/context.d.ts +0 -4
- package/es/components/scanOrder/types.d.ts +0 -79
- package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +0 -21
- package/es/components/scanOrder/utils/transformProductDetail.d.ts +0 -59
- 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/systemSettings/registry/services.d.ts +0 -99
- package/es/components/systemSettings/registry/types.d.ts +0 -143
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/components/venueBooking/components/Addons/index.d.ts +0 -3
- package/es/components/venueBooking/components/Cart/index.d.ts +0 -28
- package/es/components/venueBooking/components/Checkout/index.d.ts +0 -2
- package/es/components/venueBooking/components/Footer/index.d.ts +0 -3
- package/es/components/venueBooking/components/Header/index.d.ts +0 -2
- package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +0 -2
- package/es/components/venueBooking/context.d.ts +0 -9
- package/es/components/venueBooking/hooks.d.ts +0 -72
- package/es/components/venueBooking/index.d.ts +0 -6
- package/es/components/venueBooking/locales.d.ts +0 -627
- package/es/components/venueBooking/types.d.ts +0 -204
- package/es/index.d.ts +0 -87
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/es/plus/skuOptionsSelection/types.d.ts +0 -458
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/utils.d.ts +0 -227
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/locales.d.ts +0 -1489
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/eftposPay/amount.d.ts +0 -21
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
- package/lib/components/eftposPay/device.d.ts +0 -23
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/eftposPay/tip.d.ts +0 -10
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/kioskSkuDetail/index.d.ts +0 -39
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
- 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/locales.d.ts +0 -631
- package/lib/components/pay/toC/payGroup.d.ts +0 -59
- package/lib/components/pay/toC/serve.d.ts +0 -87
- package/lib/components/pay/toC/utils.d.ts +0 -65
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/scanOrder/components/Cart/index.d.ts +0 -16
- package/lib/components/scanOrder/components/Footer/index.d.ts +0 -12
- package/lib/components/scanOrder/components/Menu/index.d.ts +0 -17
- package/lib/components/scanOrder/context.d.ts +0 -4
- package/lib/components/scanOrder/types.d.ts +0 -79
- package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +0 -21
- package/lib/components/scanOrder/utils/transformProductDetail.d.ts +0 -59
- 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/systemSettings/registry/services.d.ts +0 -99
- package/lib/components/systemSettings/registry/types.d.ts +0 -143
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/components/venueBooking/components/Addons/index.d.ts +0 -3
- package/lib/components/venueBooking/components/Cart/index.d.ts +0 -28
- package/lib/components/venueBooking/components/Checkout/index.d.ts +0 -2
- package/lib/components/venueBooking/components/Footer/index.d.ts +0 -3
- package/lib/components/venueBooking/components/Header/index.d.ts +0 -2
- package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +0 -2
- package/lib/components/venueBooking/context.d.ts +0 -9
- package/lib/components/venueBooking/hooks.d.ts +0 -72
- package/lib/components/venueBooking/index.d.ts +0 -6
- package/lib/components/venueBooking/locales.d.ts +0 -627
- package/lib/components/venueBooking/types.d.ts +0 -204
- package/lib/index.d.ts +0 -87
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface MWCreditCardProps {
|
|
4
|
-
/** 店铺名称,用于授权说明文案 */
|
|
5
|
-
shopName?: string;
|
|
6
|
-
/** 商家联系电话(用于 3DS 错误弹窗联系方式) */
|
|
7
|
-
shopPhone?: string;
|
|
8
|
-
/** 商家联系邮箱(用于 3DS 错误弹窗联系方式) */
|
|
9
|
-
shopEmail?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface MWCreditCardRef {
|
|
12
|
-
init: (res: any) => void;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: React.ForwardRefExoticComponent<MWCreditCardProps & React.RefAttributes<unknown>>;
|
|
15
|
-
export default _default;
|
|
@@ -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;
|