@pisell/private-materials 3.3.13 → 3.3.14
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/Services/index.js +2 -2
- package/es/components/booking/deposit/DepositItem/index.js +1 -0
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/utils.js +2 -1
- package/lib/components/appointmentBooking/components/Services/index.js +1 -1
- package/lib/components/booking/deposit/DepositItem/index.js +1 -0
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/booking/info2/utils.js +2 -1
- package/package.json +3 -3
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +0 -7
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -3
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -36
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Guest/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
- package/es/components/appointmentBooking/context.d.ts +0 -29
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -106
- package/es/components/appointmentBooking/index.d.ts +0 -3
- package/es/components/appointmentBooking/utils.d.ts +0 -114
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/forms/footer.d.ts +0 -6
- package/es/components/booking/forms/forms.d.ts +0 -26
- package/es/components/booking/forms/sendModal/index.d.ts +0 -27
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -3
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/utils.d.ts +0 -46
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- 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/unknow.d.ts +0 -9
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/locales.d.ts +0 -330
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -12
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
- package/es/components/eventBooking/components/progressBar/index.d.ts +0 -16
- package/es/components/eventBooking/components/resourceDisplay/index.d.ts +0 -23
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -111
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -3
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/utils.d.ts +0 -49
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/es/components/productSelect/components/gridLayout/index.d.ts +0 -9
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -34
- package/es/components/productSelect/index.d.ts +0 -23
- package/es/components/ruleSetting/server.d.ts +0 -4
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -2
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -2
- package/es/components/subTotal/index.d.ts +0 -22
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -3
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/wallet/Detail/index.d.ts +0 -42
- package/es/components/wallet/Voucher/index.d.ts +0 -12
- package/es/components/wallet/components/WalletCard.d.ts +0 -11
- package/es/components/wallet/index.d.ts +0 -10
- package/es/components/walletList/index.d.ts +0 -28
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/components/workSpaceList/components/EditableString/index.d.ts +0 -21
- package/es/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -3
- package/es/components/workSpaceList/components/Sort/index.d.ts +0 -7
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +0 -7
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -36
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
- package/lib/components/appointmentBooking/context.d.ts +0 -29
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -106
- package/lib/components/appointmentBooking/index.d.ts +0 -3
- package/lib/components/appointmentBooking/utils.d.ts +0 -114
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/forms/footer.d.ts +0 -6
- package/lib/components/booking/forms/forms.d.ts +0 -26
- package/lib/components/booking/forms/sendModal/index.d.ts +0 -27
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -3
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/utils.d.ts +0 -46
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- 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/unknow.d.ts +0 -9
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/locales.d.ts +0 -330
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -12
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
- package/lib/components/eventBooking/components/progressBar/index.d.ts +0 -16
- package/lib/components/eventBooking/components/resourceDisplay/index.d.ts +0 -23
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -111
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -3
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/utils.d.ts +0 -49
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/lib/components/productSelect/components/gridLayout/index.d.ts +0 -9
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -34
- package/lib/components/productSelect/index.d.ts +0 -23
- package/lib/components/ruleSetting/server.d.ts +0 -4
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -2
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -2
- package/lib/components/subTotal/index.d.ts +0 -22
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -3
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/wallet/Detail/index.d.ts +0 -42
- package/lib/components/wallet/Voucher/index.d.ts +0 -12
- package/lib/components/wallet/components/WalletCard.d.ts +0 -11
- package/lib/components/wallet/index.d.ts +0 -10
- package/lib/components/walletList/index.d.ts +0 -28
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/components/workSpaceList/components/EditableString/index.d.ts +0 -21
- package/lib/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -3
- package/lib/components/workSpaceList/components/Sort/index.d.ts +0 -7
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface GlobePayWxH5Ref {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface GlobePayWxH5Props {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayWxH5Props & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -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,111 +0,0 @@
|
|
|
1
|
-
export declare type MachineCodeListParams = {
|
|
2
|
-
order_id: number | string;
|
|
3
|
-
available: number;
|
|
4
|
-
prepare_payments: {
|
|
5
|
-
voucher_id: number;
|
|
6
|
-
amount: number;
|
|
7
|
-
tag: string;
|
|
8
|
-
}[];
|
|
9
|
-
filter_prepare_wallet_pass: 1 | 0;
|
|
10
|
-
sale_channel: string;
|
|
11
|
-
};
|
|
12
|
-
export declare type WalletPassDataType = {
|
|
13
|
-
id: number;
|
|
14
|
-
shop_id: number;
|
|
15
|
-
customer_id: number;
|
|
16
|
-
code: string;
|
|
17
|
-
encoded: string;
|
|
18
|
-
status: string;
|
|
19
|
-
cover: string;
|
|
20
|
-
tag: string;
|
|
21
|
-
relation_type: string;
|
|
22
|
-
product_id: number;
|
|
23
|
-
limit_status: string;
|
|
24
|
-
sales_status: number;
|
|
25
|
-
par_value: string;
|
|
26
|
-
used_par_value: string;
|
|
27
|
-
start_date: string;
|
|
28
|
-
expire_date: string;
|
|
29
|
-
end_time: string;
|
|
30
|
-
start_time: string;
|
|
31
|
-
created_at: string;
|
|
32
|
-
product_name: string;
|
|
33
|
-
expire_time: string;
|
|
34
|
-
available_max_par_value: string;
|
|
35
|
-
available_max_amount: string;
|
|
36
|
-
custom_expire_status: number;
|
|
37
|
-
wallet_pass_usage_unit: WalletPassUsageUnit;
|
|
38
|
-
custom_order_deduct_exhausted: number;
|
|
39
|
-
available_product_status: number;
|
|
40
|
-
available_product_ids: any[];
|
|
41
|
-
available_product_type: string;
|
|
42
|
-
available_num: number;
|
|
43
|
-
available_product_title: string;
|
|
44
|
-
unified_available_status: number;
|
|
45
|
-
unified_messages: UnifiedMessages;
|
|
46
|
-
external_card: any[];
|
|
47
|
-
product: Product;
|
|
48
|
-
shop: Shop;
|
|
49
|
-
wallet_pass_usage?: any;
|
|
50
|
-
balance_par_value: string;
|
|
51
|
-
};
|
|
52
|
-
declare type Shop = {
|
|
53
|
-
id: number;
|
|
54
|
-
name: string;
|
|
55
|
-
default_url: string;
|
|
56
|
-
};
|
|
57
|
-
declare type Product = {
|
|
58
|
-
id: number;
|
|
59
|
-
title: string;
|
|
60
|
-
cover: string;
|
|
61
|
-
is_charge_tax: number;
|
|
62
|
-
};
|
|
63
|
-
declare type UnifiedMessages = {
|
|
64
|
-
title: string;
|
|
65
|
-
desc: string;
|
|
66
|
-
alert: string;
|
|
67
|
-
};
|
|
68
|
-
declare type WalletPassUsageUnit = {
|
|
69
|
-
price: number;
|
|
70
|
-
points: number;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* 查询支付识别码列表
|
|
74
|
-
*/
|
|
75
|
-
export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
|
|
76
|
-
/**
|
|
77
|
-
* 获取推荐的支付识别码
|
|
78
|
-
*/
|
|
79
|
-
export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
|
|
80
|
-
/**
|
|
81
|
-
* 搜索支付识别码
|
|
82
|
-
*/
|
|
83
|
-
export declare const searchMachineCodeList: (params: {
|
|
84
|
-
order_id: number | string;
|
|
85
|
-
code: string;
|
|
86
|
-
sale_channel: string;
|
|
87
|
-
prepare_payments: {
|
|
88
|
-
voucher_id: number;
|
|
89
|
-
amount: number;
|
|
90
|
-
tag: string;
|
|
91
|
-
}[];
|
|
92
|
-
filter_prepare_wallet_pass: 1 | 0;
|
|
93
|
-
}) => Promise<WalletPassDataType[]>;
|
|
94
|
-
/**
|
|
95
|
-
* walletpass支付
|
|
96
|
-
*/
|
|
97
|
-
export declare const walletPassPay: (params: {
|
|
98
|
-
order_id: number | string;
|
|
99
|
-
payment_group_id: number;
|
|
100
|
-
payments: {
|
|
101
|
-
amount: string;
|
|
102
|
-
wallet_pass_use_value: string;
|
|
103
|
-
voucher_id: number;
|
|
104
|
-
tag: string;
|
|
105
|
-
wallet_pass_usage_unit: {
|
|
106
|
-
price: number;
|
|
107
|
-
points: number;
|
|
108
|
-
};
|
|
109
|
-
}[];
|
|
110
|
-
}) => Promise<WalletPassDataType[]>;
|
|
111
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { PayGroup } from "./model";
|
|
2
|
-
/**
|
|
3
|
-
* 计算walletPass列表数据的总金额
|
|
4
|
-
* @param list
|
|
5
|
-
*/
|
|
6
|
-
export declare const calcWalletPassListAmount: (list: any[]) => any;
|
|
7
|
-
/**
|
|
8
|
-
* 将walletPass列表数据转换为prepare_payments需要的数据格式
|
|
9
|
-
* @param list
|
|
10
|
-
*/
|
|
11
|
-
export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
|
|
12
|
-
voucher_id: any;
|
|
13
|
-
amount: number;
|
|
14
|
-
tag: any;
|
|
15
|
-
}[];
|
|
16
|
-
/**
|
|
17
|
-
* walletPass支付params
|
|
18
|
-
* @param payGroup
|
|
19
|
-
*/
|
|
20
|
-
export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
21
|
-
order_id: string;
|
|
22
|
-
payment_group_id: number;
|
|
23
|
-
payments: {
|
|
24
|
-
amount: any;
|
|
25
|
-
wallet_pass_use_value: any;
|
|
26
|
-
voucher_id: any;
|
|
27
|
-
tag: any;
|
|
28
|
-
wallet_pass_usage_unit: any;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* @title: 获取是否walletPass和三方支付的组合支付
|
|
33
|
-
* @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
|
|
34
|
-
* @return: *
|
|
35
|
-
* @Author: shengjie.zuo
|
|
36
|
-
* @Date: 2024-08-30 10:06:17
|
|
37
|
-
*/
|
|
38
|
-
export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
|
|
39
|
-
export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
40
|
-
/**
|
|
41
|
-
* @title: 获取当前连锁加盟店铺shopid
|
|
42
|
-
* @description:
|
|
43
|
-
* @param {any} param1
|
|
44
|
-
* @return {*}
|
|
45
|
-
* @Author: chensheng.gu
|
|
46
|
-
* @Date: 2024-08-07 10:04
|
|
47
|
-
*/
|
|
48
|
-
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
49
|
-
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
export interface ProductCardConfig {
|
|
3
|
-
showImg: boolean;
|
|
4
|
-
imgWidth: string;
|
|
5
|
-
imgHeight: string;
|
|
6
|
-
showTitle: boolean;
|
|
7
|
-
showSpec: boolean;
|
|
8
|
-
showTags: boolean;
|
|
9
|
-
showPrice: boolean;
|
|
10
|
-
showOriginalPrice: boolean;
|
|
11
|
-
showZeroPrice: boolean;
|
|
12
|
-
showMarketingTag: boolean;
|
|
13
|
-
showRemark: boolean;
|
|
14
|
-
showStock: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface ProductGroupProps {
|
|
17
|
-
data: {
|
|
18
|
-
icon: string;
|
|
19
|
-
id: number;
|
|
20
|
-
name: string;
|
|
21
|
-
products: any[];
|
|
22
|
-
slug: string;
|
|
23
|
-
sort: number;
|
|
24
|
-
};
|
|
25
|
-
layout: {
|
|
26
|
-
grid: boolean;
|
|
27
|
-
config?: string;
|
|
28
|
-
};
|
|
29
|
-
onSelectProduct?: (id: number) => void;
|
|
30
|
-
currentProductId?: number;
|
|
31
|
-
}
|
|
32
|
-
declare const ProductGroup: ({ data, layout, onSelectProduct, currentProductId, showImg, imgWidth, imgHeight, showTitle, showSpec, showTags, showPrice, showOriginalPrice, showZeroPrice, showMarketingTag, showRemark, showStock, }: ProductGroupProps & ProductCardConfig) => JSX.Element;
|
|
33
|
-
export declare const ProductGroupSkeleton: ({ layout }: any) => JSX.Element;
|
|
34
|
-
export default ProductGroup;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ProductCardConfig } from './components/productGroup';
|
|
3
|
-
import type { ProductSelectToken } from './theme/token';
|
|
4
|
-
import './index.less';
|
|
5
|
-
interface ProductSelectProps {
|
|
6
|
-
dataSource: any[];
|
|
7
|
-
theme?: 'light' | 'dark';
|
|
8
|
-
showSearch?: boolean;
|
|
9
|
-
showTab?: boolean;
|
|
10
|
-
layout?: {
|
|
11
|
-
grid: boolean;
|
|
12
|
-
config: string;
|
|
13
|
-
};
|
|
14
|
-
onChange: (value: any) => void;
|
|
15
|
-
value?: number;
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
scrollDom?: string;
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
emptyDescription?: string;
|
|
20
|
-
token?: Partial<ProductSelectToken>;
|
|
21
|
-
}
|
|
22
|
-
declare const index: ({ dataSource, theme, showSearch, scrollDom, style, token: customToken, ...rest }: ProductSelectProps & Partial<ProductCardConfig>) => JSX.Element;
|
|
23
|
-
export default index;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare type SubTotalKey = 'deposit' | 'total' | 'sub_total' | 'tax' | 'delivery_fee' | 'discount' | 'point_deduction' | 'member_deduction' | 'custom' | string;
|
|
4
|
-
export interface SubTotalItem extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
key: SubTotalKey;
|
|
6
|
-
label?: string | React.ReactNode;
|
|
7
|
-
value: number;
|
|
8
|
-
count?: number;
|
|
9
|
-
hidden?: boolean;
|
|
10
|
-
tax?: {
|
|
11
|
-
rate?: number;
|
|
12
|
-
is_price_include_tax?: boolean;
|
|
13
|
-
title?: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
interface SubTotalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
|
-
list: SubTotalItem[];
|
|
18
|
-
mode?: 'column1' | 'column2';
|
|
19
|
-
describe?: string;
|
|
20
|
-
}
|
|
21
|
-
declare const SubTotal: (props: SubTotalProps) => JSX.Element;
|
|
22
|
-
export default SubTotal;
|
|
@@ -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,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
PKPass?: any;
|
|
6
|
-
GoogleWalletPass?: any;
|
|
7
|
-
}
|
|
8
|
-
interface Navigator {
|
|
9
|
-
pkpass?: {
|
|
10
|
-
addPass(pass: any): Promise<string>;
|
|
11
|
-
};
|
|
12
|
-
googlewallet?: {
|
|
13
|
-
addPass(pass: any): Promise<string>;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
interface DetailProps {
|
|
18
|
-
detail: {
|
|
19
|
-
id?: string;
|
|
20
|
-
tag?: string;
|
|
21
|
-
code?: string;
|
|
22
|
-
product_title?: string;
|
|
23
|
-
encoded?: string;
|
|
24
|
-
balance?: number;
|
|
25
|
-
expire_date?: string;
|
|
26
|
-
product?: any;
|
|
27
|
-
machinecode_config?: any;
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
};
|
|
30
|
-
isDiscoundCard?: boolean;
|
|
31
|
-
showWalletBar?: boolean;
|
|
32
|
-
onBack?: () => void;
|
|
33
|
-
buttonGroupList?: any[][];
|
|
34
|
-
className?: string;
|
|
35
|
-
style?: React.CSSProperties;
|
|
36
|
-
addWalletCallback?: (addWallet: () => void) => void;
|
|
37
|
-
}
|
|
38
|
-
export interface WalletDetailRef {
|
|
39
|
-
addWalletCard: () => void;
|
|
40
|
-
}
|
|
41
|
-
declare const Detail: React.ForwardRefExoticComponent<DetailProps & React.RefAttributes<WalletDetailRef>>;
|
|
42
|
-
export default Detail;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface VoucherProps {
|
|
4
|
-
globalState: any;
|
|
5
|
-
setGlobalState: (state: any) => void;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* 代金券组件
|
|
9
|
-
* 展示用户的代金券列表和详情
|
|
10
|
-
*/
|
|
11
|
-
declare const Voucher: React.FC<VoucherProps>;
|
|
12
|
-
export default Voucher;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IWalletListItemProps } from '../serve';
|
|
3
|
-
export interface WalletCardProps {
|
|
4
|
-
item: IWalletListItemProps;
|
|
5
|
-
currentId?: string | number;
|
|
6
|
-
isDiscountCard?: boolean;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
balanceTitle?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: React.NamedExoticComponent<WalletCardProps>;
|
|
11
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
import { DetailProvider, useDetail } from './DetailContext';
|
|
3
|
-
export { default as WalletCard } from './components/WalletCard';
|
|
4
|
-
export * from './utils/formatUtils';
|
|
5
|
-
export * from './hooks/useWalletCard';
|
|
6
|
-
export * from './serve';
|
|
7
|
-
export * from './model';
|
|
8
|
-
export { DetailProvider, useDetail };
|
|
9
|
-
declare const Wallet: any;
|
|
10
|
-
export default Wallet;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface HTMLAttributes<T> {
|
|
5
|
-
role?: string;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
declare global {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
14
|
-
onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
|
|
15
|
-
onMouseUp?: React.MouseEventHandler<HTMLDivElement>;
|
|
16
|
-
onTouchStart?: React.TouchEventHandler<HTMLDivElement>;
|
|
17
|
-
onTouchEnd?: React.TouchEventHandler<HTMLDivElement>;
|
|
18
|
-
role?: string;
|
|
19
|
-
};
|
|
20
|
-
img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
21
|
-
span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
|
|
22
|
-
children?: React.ReactNode;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
declare const WalletList: (props: any) => JSX.Element;
|
|
28
|
-
export default WalletList;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './IconPanel.less';
|
|
3
|
-
interface IconPanel {
|
|
4
|
-
name: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
defaultValue?: string;
|
|
8
|
-
onChange?: (val: string) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const IconPanel: React.FC<IconPanel>;
|
|
11
|
-
export default IconPanel;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface EditableString {
|
|
4
|
-
text: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
onChange?: (value: string) => void;
|
|
7
|
-
editable?: boolean;
|
|
8
|
-
editing?: boolean;
|
|
9
|
-
maxLength?: number;
|
|
10
|
-
className?: string;
|
|
11
|
-
ellipsis?: {
|
|
12
|
-
row: number;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 可编辑string
|
|
17
|
-
* @param props
|
|
18
|
-
* @constructor
|
|
19
|
-
*/
|
|
20
|
-
declare const EditableString: React.FC<EditableString>;
|
|
21
|
-
export default EditableString;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CreateBaseModalProps } from './../CreateBaseModal';
|
|
2
|
-
import { SortProps } from './../../../workSpaceList/components/Sort';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import './index.less';
|
|
5
|
-
export interface SearchBarProps {
|
|
6
|
-
title: string;
|
|
7
|
-
describe?: string;
|
|
8
|
-
onTitleChange?: (value: string) => void;
|
|
9
|
-
onDescribeChange?: (value: string) => void;
|
|
10
|
-
onDelete?: () => void;
|
|
11
|
-
onSort?: SortProps['onChange'];
|
|
12
|
-
isDetail?: boolean;
|
|
13
|
-
onAddBase: CreateBaseModalProps['onAddBase'];
|
|
14
|
-
editingTitle?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const SearchBar: React.FC<SearchBarProps>;
|
|
17
|
-
export default SearchBar;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
interface CheckLoginParams {
|
|
2
|
-
isLogin: boolean;
|
|
3
|
-
openLoginModal: (params: {
|
|
4
|
-
callback: (status: string) => void;
|
|
5
|
-
}) => void;
|
|
6
|
-
isFormSubject: boolean;
|
|
7
|
-
utils: any;
|
|
8
|
-
accountLists: any[];
|
|
9
|
-
appointmentBooking: any;
|
|
10
|
-
getHolders: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const checkLogin: ({ isLogin, openLoginModal, isFormSubject, utils, accountLists, appointmentBooking, getHolders, }: CheckLoginParams) => Promise<boolean>;
|
|
13
|
-
interface CheckHolderParams {
|
|
14
|
-
isFormSubject: boolean;
|
|
15
|
-
checkAccount: (type: string) => boolean;
|
|
16
|
-
carts: any[];
|
|
17
|
-
}
|
|
18
|
-
export declare const checkHolder: ({ isFormSubject, checkAccount, carts }: CheckHolderParams) => false | any[];
|
|
19
|
-
interface CheckResourceParams {
|
|
20
|
-
carts: any[];
|
|
21
|
-
resources: any[];
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @title: 检测资源数据
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {CheckResourceParams} param1
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: WangHan
|
|
29
|
-
* @Date: 2025-04-29 18:02
|
|
30
|
-
*/
|
|
31
|
-
export declare const checkResource: ({ carts, resources }: CheckResourceParams) => false | any[];
|
|
32
|
-
interface CheckResourceParams {
|
|
33
|
-
carts: any[];
|
|
34
|
-
}
|
|
35
|
-
export declare type StepKey = 'select-resource' | 'fill-form' | 'select-time' | 'confirm-information' | 'select-service' | 'select-date' | 'select-guest';
|
|
36
|
-
export {};
|