@pisell/private-materials 6.3.136 → 6.3.137
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/venueBooking/components/Checkout/index.js +36 -5
- package/es/components/venueBooking/locales.d.ts +15 -0
- package/es/components/venueBooking/locales.js +15 -0
- package/lib/components/venueBooking/components/Checkout/index.js +28 -3
- package/lib/components/venueBooking/locales.d.ts +15 -0
- package/lib/components/venueBooking/locales.js +15 -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/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- 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 -20
- 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 -8
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/es/components/eftposPay/component/manual/index.d.ts +0 -9
- package/es/components/eftposPay/component/signature/index.d.ts +0 -8
- 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 -12
- 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 -9
- 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 -22
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -6
- 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/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/index.d.ts +0 -87
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -5
- 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/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/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- 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 -20
- 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 -8
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -8
- 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 -12
- 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 -9
- 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 -22
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -6
- 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/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/index.d.ts +0 -87
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -5
- 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/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,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 套餐单规格信息
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} option
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: zhiwei.Wang
|
|
7
|
-
* @Date: 2024-02-19 09:26
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatProductOption: (option: any) => any;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 套餐信息
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {any} bundle
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-02-19 09:26
|
|
17
|
-
*/
|
|
18
|
-
export declare const formatProductBundle: (bundle: any) => any;
|
|
19
|
-
/**
|
|
20
|
-
* 获取子商品折扣信息
|
|
21
|
-
* @param item
|
|
22
|
-
*/
|
|
23
|
-
export declare const getBundleDiscountList: (bundle: any[]) => any[];
|
|
24
|
-
export interface ResourceItem {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
29
|
-
* @description:
|
|
30
|
-
* @param {object} resource
|
|
31
|
-
* @return {*}
|
|
32
|
-
* @Author: jinglin.tan
|
|
33
|
-
*/
|
|
34
|
-
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
35
|
-
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
36
|
-
/**
|
|
37
|
-
* @title: 格式化商品单价
|
|
38
|
-
* @description:
|
|
39
|
-
* @param {any} item
|
|
40
|
-
* @return {*}
|
|
41
|
-
* @Author: WangHan
|
|
42
|
-
* @Date: 2024-12-23 12:05
|
|
43
|
-
*/
|
|
44
|
-
export declare const formatProductPrice: (item: any) => number;
|
|
45
|
-
export declare const getMainProductSellingPrice: (item: any) => number | undefined;
|
|
46
|
-
export declare const formatValues: (state: any) => any;
|
|
47
|
-
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface EditServiceRef {
|
|
4
|
-
init: (cacheItem?: any, open?: boolean, openEditProduct?: boolean) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
-
export default _default;
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const formatActiveKey: (lists: any[], platform: string, isEdit: boolean) => any[];
|
|
3
|
-
/**
|
|
4
|
-
* @title: 获取资源名称
|
|
5
|
-
* @description:
|
|
6
|
-
* @param {any} id
|
|
7
|
-
* @param {any} state
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: WangHan
|
|
10
|
-
* @Date: 2024-11-29 18:02
|
|
11
|
-
*/
|
|
12
|
-
export declare const getResourceItem: (id: any, state: any) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @title: 错误提示
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {any} service
|
|
17
|
-
* @param {any} resourceItem
|
|
18
|
-
* @return {*}
|
|
19
|
-
* @Author: WangHan
|
|
20
|
-
* @Date: 2024-11-29 18:41
|
|
21
|
-
*/
|
|
22
|
-
export declare const getErrorMessage: (service: any, resourceItem: any, isDay?: boolean) => any;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 格式化主体列表
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {any} lists
|
|
27
|
-
* @param {boolean} isOpenGroup
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: WangHan
|
|
30
|
-
* @Date: 2024-12-04 11:27
|
|
31
|
-
*/
|
|
32
|
-
export declare const formatHolderLists: (lists: any) => any;
|
|
33
|
-
export declare const isBookingProduct: (extension_type: any, bol?: boolean) => boolean | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* @title: 是否是预约商品
|
|
36
|
-
* @description:
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: WangHan
|
|
39
|
-
* @Date: 2024-12-06 11:24
|
|
40
|
-
*/
|
|
41
|
-
export declare const isDayBookingProduct: (item: any, state: any) => boolean | undefined;
|
|
42
|
-
export declare const handleChangeHolder: (products: any[], currentItem: any, other: any) => any[];
|
|
43
|
-
/**
|
|
44
|
-
* @title: 更新商品数据
|
|
45
|
-
* @description:
|
|
46
|
-
* @param {any} state
|
|
47
|
-
* @param currentItem
|
|
48
|
-
* @param {string} type
|
|
49
|
-
* @param {any} other
|
|
50
|
-
* @param actions
|
|
51
|
-
* @return {*}
|
|
52
|
-
* @Author: WangHan
|
|
53
|
-
* @Date: 2025-01-03 15:00
|
|
54
|
-
*/
|
|
55
|
-
export declare const updateServices: (state: any, currentItem: any, type?: string, other?: any, actions?: any) => any;
|
|
56
|
-
export declare const formItems: (items: any[]) => any[];
|
|
57
|
-
export declare const getIsSubjectRequire: (state: any) => boolean;
|
|
58
|
-
export declare const isNormalProductByDurationSchedule: (item: any) => boolean;
|
|
59
|
-
export declare const isAllNormalProduct: (items: any[]) => boolean;
|
|
60
|
-
export declare const isAllNormalProductByState: (state: any) => boolean;
|
|
61
|
-
/**
|
|
62
|
-
* @title: 格式化商品数据
|
|
63
|
-
* @description:
|
|
64
|
-
* @param {any} lists
|
|
65
|
-
* @return {*}
|
|
66
|
-
* @Author: WangHan
|
|
67
|
-
* @Date: 2024-11-29 17:36
|
|
68
|
-
*/
|
|
69
|
-
export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => {
|
|
70
|
-
_origin: any;
|
|
71
|
-
id: any;
|
|
72
|
-
_id: any;
|
|
73
|
-
name: any;
|
|
74
|
-
price: any;
|
|
75
|
-
totalDifference: any;
|
|
76
|
-
total: number;
|
|
77
|
-
origin_total: number;
|
|
78
|
-
num: any;
|
|
79
|
-
image: any;
|
|
80
|
-
isShowNote: boolean;
|
|
81
|
-
note: any;
|
|
82
|
-
like_status: any;
|
|
83
|
-
bundle: any;
|
|
84
|
-
options: any;
|
|
85
|
-
errorMessage: string;
|
|
86
|
-
product_option_string: any;
|
|
87
|
-
discount_reason: any;
|
|
88
|
-
resource_id: any;
|
|
89
|
-
relation_form_name: any;
|
|
90
|
-
holder_title: any;
|
|
91
|
-
start_date: any;
|
|
92
|
-
end_date: any;
|
|
93
|
-
holder_id: any;
|
|
94
|
-
isNormalProduct: boolean;
|
|
95
|
-
locale: any;
|
|
96
|
-
symbol: any;
|
|
97
|
-
relation_products: any;
|
|
98
|
-
items: any[];
|
|
99
|
-
}[];
|
|
100
|
-
/**
|
|
101
|
-
* @title: 禁用日期
|
|
102
|
-
* @description:
|
|
103
|
-
* @param {any} current
|
|
104
|
-
* @param {string} position
|
|
105
|
-
* @param {any} startDate
|
|
106
|
-
* @return {*}
|
|
107
|
-
* @Author: WangHan
|
|
108
|
-
* @Date: 2024-12-03 17:51
|
|
109
|
-
*/
|
|
110
|
-
export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
|
|
111
|
-
/**
|
|
112
|
-
* @title: 是否是跨日预约
|
|
113
|
-
* @description:
|
|
114
|
-
* @param {any} state
|
|
115
|
-
* @return {*}
|
|
116
|
-
* @Author: WangHan
|
|
117
|
-
* @Date: 2024-12-04 09:49
|
|
118
|
-
*/
|
|
119
|
-
export declare const isDayBooking: (state: any) => boolean;
|
|
120
|
-
export declare const isDaysBooking: (state: any) => boolean;
|
|
121
|
-
export declare const isEventBooking: (state: any) => boolean;
|
|
122
|
-
export declare const isAppointmentProduct: (item: any) => boolean;
|
|
123
|
-
/**
|
|
124
|
-
* @title: 是否是terminal上的跨日预约
|
|
125
|
-
* @description:
|
|
126
|
-
* @param {any} state
|
|
127
|
-
* @return {*}
|
|
128
|
-
* @Author: WangHan
|
|
129
|
-
* @Date: 2024-12-04 15:31
|
|
130
|
-
*/
|
|
131
|
-
export declare const isTerminalDayBooking: (state: any) => any;
|
|
132
|
-
export declare const formatDayDate: (_extend: any) => any;
|
|
133
|
-
/**
|
|
134
|
-
* @title: 根据营业日时间格式化时间
|
|
135
|
-
* @description:
|
|
136
|
-
* @param {any} state
|
|
137
|
-
* @return {*}
|
|
138
|
-
* @Author: WangHan
|
|
139
|
-
* @Date: 2024-12-04 12:07
|
|
140
|
-
*/
|
|
141
|
-
export declare const formatDayTime: ({ startDate, endDate }: any) => {
|
|
142
|
-
startDateTime: dayjs.Dayjs;
|
|
143
|
-
endDateTime: dayjs.Dayjs;
|
|
144
|
-
};
|
|
145
|
-
export declare const formatDateTime: (start_date: any, end_date: any) => {
|
|
146
|
-
value: dayjs.Dayjs;
|
|
147
|
-
end_date: dayjs.Dayjs;
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* @title: 初始化日期
|
|
151
|
-
* @description:
|
|
152
|
-
* @return {*}
|
|
153
|
-
* @Author: WangHan
|
|
154
|
-
* @Date: 2024-12-06 17:24
|
|
155
|
-
*/
|
|
156
|
-
export declare const initDate: () => {
|
|
157
|
-
value: dayjs.Dayjs;
|
|
158
|
-
end_date: dayjs.Dayjs;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* @title: 是否有预约商品
|
|
162
|
-
* @description:
|
|
163
|
-
* @return {*}
|
|
164
|
-
* @Author: WangHan
|
|
165
|
-
* @Date: 2024-12-12 15:47
|
|
166
|
-
*/
|
|
167
|
-
export declare const isHasDayAppointmentProduct: (state: any) => boolean;
|
|
168
|
-
/**
|
|
169
|
-
* @title: 过滤出如果是预约商品,则只获取跨日的预约商品
|
|
170
|
-
* @description:
|
|
171
|
-
* @param {any} lists
|
|
172
|
-
* @return {*}
|
|
173
|
-
* @Author: WangHan
|
|
174
|
-
* @Date: 2024-12-13 16:44
|
|
175
|
-
*/
|
|
176
|
-
export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
|
|
177
|
-
/**
|
|
178
|
-
* @title: 格式化表单数据
|
|
179
|
-
* @description:
|
|
180
|
-
* @param {any} state
|
|
181
|
-
* @return {*}
|
|
182
|
-
* @Author: WangHan
|
|
183
|
-
* @Date: 2024-12-30 22:19
|
|
184
|
-
*/
|
|
185
|
-
export declare const getPets: (state: any) => any;
|
|
186
|
-
/**
|
|
187
|
-
* @title: 得出预约商品
|
|
188
|
-
* @description:
|
|
189
|
-
* @param {any} state
|
|
190
|
-
* @return {*}
|
|
191
|
-
* @Author: WangHan
|
|
192
|
-
* @Date: 2024-12-30 22:26
|
|
193
|
-
*/
|
|
194
|
-
export declare const getAppointmentService: (state: any) => any;
|
|
195
|
-
/**
|
|
196
|
-
* @title: 判断是否打开删除宠物弹窗
|
|
197
|
-
* @description:
|
|
198
|
-
* @param {any} state
|
|
199
|
-
* @param {any} newVal
|
|
200
|
-
* @return {*}
|
|
201
|
-
* @Author: WangHan
|
|
202
|
-
* @Date: 2024-12-16 16:12
|
|
203
|
-
*/
|
|
204
|
-
export declare const isOpenDeletePet: (state: any, newVal: any) => {
|
|
205
|
-
ids: any;
|
|
206
|
-
lists: any;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* @title: 当前选中的表单id
|
|
210
|
-
* @description:
|
|
211
|
-
* @param {any} state
|
|
212
|
-
* @return {*}
|
|
213
|
-
* @Author: WangHan
|
|
214
|
-
* @Date: 2024-12-17 14:40
|
|
215
|
-
*/
|
|
216
|
-
export declare const holderId: (state: any) => number;
|
|
217
|
-
/**
|
|
218
|
-
* @title: 更新套餐的价格
|
|
219
|
-
* @description:
|
|
220
|
-
* @param {any} currentValue
|
|
221
|
-
* @param {any} newBundleData
|
|
222
|
-
* @return {*}
|
|
223
|
-
* @Author: WangHan
|
|
224
|
-
* @Date: 2024-12-31 15:16
|
|
225
|
-
*/
|
|
226
|
-
export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
|
|
227
|
-
/**
|
|
228
|
-
* @title: 更新预约商品报价单
|
|
229
|
-
* @description:
|
|
230
|
-
* @param {any} state
|
|
231
|
-
* @param {any} cacheItem
|
|
232
|
-
* @return {*}
|
|
233
|
-
* @Author: WangHan
|
|
234
|
-
* @Date: 2024-12-25 16:41
|
|
235
|
-
*/
|
|
236
|
-
export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
|
|
237
|
-
multiDayPrices: any;
|
|
238
|
-
price: number;
|
|
239
|
-
}>;
|
|
240
|
-
/**
|
|
241
|
-
* @title: 更新普通商品报价单价格
|
|
242
|
-
* @description:
|
|
243
|
-
* @param {any} state
|
|
244
|
-
* @return {*}
|
|
245
|
-
* @Author: WangHan
|
|
246
|
-
* @Date: 2024-12-24 11:32
|
|
247
|
-
*/
|
|
248
|
-
export declare const updateServicePrice: (state: any) => Promise<any> | never[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PisellDrawerProps } from '../../../components/drawer';
|
|
2
|
-
import '../../../info/service/addService/index.less';
|
|
3
|
-
interface AddServiceProps {
|
|
4
|
-
onEdit: any;
|
|
5
|
-
dispatch?: any;
|
|
6
|
-
state?: any;
|
|
7
|
-
drawerProps?: PisellDrawerProps;
|
|
8
|
-
renderMode?: 'current' | 'drawer';
|
|
9
|
-
}
|
|
10
|
-
declare const Info: (props: AddServiceProps) => JSX.Element;
|
|
11
|
-
export default Info;
|