@pisell/private-materials 6.3.96 → 6.3.97
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/Sales/Cart/index.d.ts +53 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +846 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +11 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/es/components/ticketBooking/index.d.ts +8 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +846 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +11 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/lib/components/ticketBooking/index.d.ts +8 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/package.json +1 -1
- package/es/components/ecocup/cupList/const.d.ts +0 -133
- package/es/components/ecocup/hooks.d.ts +0 -49
- package/es/components/ecocup/locales.d.ts +0 -339
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/tyro/const.d.ts +0 -17
- package/es/components/eftposPay/windcave/const.d.ts +0 -119
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/pay/toC/model.d.ts +0 -40
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/plus/saasAttendance/locales.d.ts +0 -381
- package/es/plus/saasAttendance/settings/types.d.ts +0 -134
- package/lib/components/ecocup/cupList/const.d.ts +0 -133
- package/lib/components/ecocup/hooks.d.ts +0 -49
- package/lib/components/ecocup/locales.d.ts +0 -339
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/tyro/const.d.ts +0 -17
- package/lib/components/eftposPay/windcave/const.d.ts +0 -119
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/pay/toC/model.d.ts +0 -40
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/plus/saasAttendance/locales.d.ts +0 -381
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -134
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 获取客户列表
|
|
3
|
+
* @description: 获取客户列表
|
|
4
|
+
* @param {any} params
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: cong.shao
|
|
7
|
+
* @Date: 2025-04-24 16:28
|
|
8
|
+
*/
|
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 获取服务列表
|
|
12
|
+
* @description: 查询服务列表
|
|
13
|
+
* @param {any} params
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: cong.shao
|
|
16
|
+
* @Date: 2025-04-24 16:28
|
|
17
|
+
*/
|
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取资源列表
|
|
21
|
+
* @description: 资源列表
|
|
22
|
+
* @param {any} params
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: cong.shao
|
|
25
|
+
* @Date: 2025-04-24 16:28
|
|
26
|
+
*/
|
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 获取产品列表
|
|
30
|
+
* @description: 查询产品列表
|
|
31
|
+
* @param {any} params
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: cong.shao
|
|
34
|
+
* @Date: 2025-04-24 16:28
|
|
35
|
+
*/
|
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* @title: 获取表单列表
|
|
39
|
+
* @description: 获取关联记录表单列表
|
|
40
|
+
* @param {any} params
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: cong.shao
|
|
43
|
+
* @Date: 2025-04-24 16:28
|
|
44
|
+
*/
|
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* @title: 获取预约配置
|
|
48
|
+
* @description: 获取预约相关配置信息
|
|
49
|
+
* @param {any} params
|
|
50
|
+
* @return {*}
|
|
51
|
+
* @Author: cong.shao
|
|
52
|
+
* @Date: 2025-04-24 16:28
|
|
53
|
+
*/
|
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
|
55
|
+
/**
|
|
56
|
+
* @title: 获取宠物信息
|
|
57
|
+
* @description: 根据ID获取宠物信息
|
|
58
|
+
* @param {string} formId
|
|
59
|
+
* @param {any} params
|
|
60
|
+
* @return {*}
|
|
61
|
+
* @Author: cong.shao
|
|
62
|
+
* @Date: 2025-04-24 16:28
|
|
63
|
+
*/
|
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @title: 获取宠物数据
|
|
67
|
+
* @description: 获取宠物数据
|
|
68
|
+
* @param {any} params
|
|
69
|
+
* @return {*}
|
|
70
|
+
* @Author: cong.shao
|
|
71
|
+
* @Date: 2025-04-24 16:28
|
|
72
|
+
*/
|
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* @title: 创建预约
|
|
76
|
+
* @description: 创建新的预约记录
|
|
77
|
+
* @param {any} params
|
|
78
|
+
* @return {*}
|
|
79
|
+
* @Author: cong.shao
|
|
80
|
+
* @Date: 2025-04-24 16:28
|
|
81
|
+
*/
|
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
|
83
|
+
/**
|
|
84
|
+
* @title: 获取预约附加服务
|
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
|
86
|
+
* @param {string} bookingId
|
|
87
|
+
* @param {any} params
|
|
88
|
+
* @return {*}
|
|
89
|
+
* @Author: cong.shao
|
|
90
|
+
* @Date: 2025-04-24 16:28
|
|
91
|
+
*/
|
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
93
|
+
/**
|
|
94
|
+
* @title: 保存预约附加服务
|
|
95
|
+
* @description: 保存预约的附加服务信息
|
|
96
|
+
* @param {string} bookingId
|
|
97
|
+
* @param {any} params
|
|
98
|
+
* @return {*}
|
|
99
|
+
* @Author: cong.shao
|
|
100
|
+
* @Date: 2025-04-24 16:28
|
|
101
|
+
*/
|
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* @title: 获取预约详情
|
|
105
|
+
* @description: 获取预约详细信息
|
|
106
|
+
* @param {number} bookingId
|
|
107
|
+
* @param {any} params
|
|
108
|
+
* @return {*}
|
|
109
|
+
* @Author: cong.shao
|
|
110
|
+
* @Date: 2025-04-24 16:28
|
|
111
|
+
*/
|
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* @title: 编辑预约状态
|
|
115
|
+
* @description: 更新预约状态
|
|
116
|
+
* @param {string} bookingId
|
|
117
|
+
* @param {any} params
|
|
118
|
+
* @return {*}
|
|
119
|
+
* @Author: cong.shao
|
|
120
|
+
* @Date: 2025-04-24 16:28
|
|
121
|
+
*/
|
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
|
123
|
+
/**
|
|
124
|
+
* @title: 编辑预约信息
|
|
125
|
+
* @description: 更新预约信息
|
|
126
|
+
* @param {string} bookingId
|
|
127
|
+
* @param {any} params
|
|
128
|
+
* @return {*}
|
|
129
|
+
* @Author: cong.shao
|
|
130
|
+
* @Date: 2025-04-24 16:28
|
|
131
|
+
*/
|
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
|
133
|
+
/**
|
|
134
|
+
* @title: 获取预约备注
|
|
135
|
+
* @description: 获取预约相关备注信息
|
|
136
|
+
* @param {any} params
|
|
137
|
+
* @return {*}
|
|
138
|
+
* @Author: cong.shao
|
|
139
|
+
* @Date: 2025-04-24 16:28
|
|
140
|
+
*/
|
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
|
142
|
+
/**
|
|
143
|
+
* @title: 添加预约备注
|
|
144
|
+
* @description: 添加预约相关备注
|
|
145
|
+
* @param {any} params
|
|
146
|
+
* @return {*}
|
|
147
|
+
* @Author: cong.shao
|
|
148
|
+
* @Date: 2025-04-24 16:28
|
|
149
|
+
*/
|
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
|
151
|
+
/**
|
|
152
|
+
* @title: 编辑预约备注
|
|
153
|
+
* @description: 更新预约备注信息
|
|
154
|
+
* @param {string} bookingId
|
|
155
|
+
* @param {any} params
|
|
156
|
+
* @return {*}
|
|
157
|
+
* @Author: cong.shao
|
|
158
|
+
* @Date: 2025-04-24 16:28
|
|
159
|
+
*/
|
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
161
|
+
/**
|
|
162
|
+
* @title: 删除预约备注
|
|
163
|
+
* @description: 删除预约相关备注
|
|
164
|
+
* @param {string} bookingId
|
|
165
|
+
* @param {any} params
|
|
166
|
+
* @return {*}
|
|
167
|
+
* @Author: cong.shao
|
|
168
|
+
* @Date: 2025-04-24 16:28
|
|
169
|
+
*/
|
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
171
|
+
/**
|
|
172
|
+
* @title: 保存预约表单数据
|
|
173
|
+
* @description: 保存预约相关的表单数据
|
|
174
|
+
* @param {any} params
|
|
175
|
+
* @return {*}
|
|
176
|
+
* @Author: cong.shao
|
|
177
|
+
* @Date: 2025-04-24 16:28
|
|
178
|
+
*/
|
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
|
180
|
+
/**
|
|
181
|
+
* @title: 获取支付列表
|
|
182
|
+
* @description: 获取支付相关列表数据
|
|
183
|
+
* @param {any} params
|
|
184
|
+
* @return {*}
|
|
185
|
+
* @Author: cong.shao
|
|
186
|
+
* @Date: 2025-04-24 16:28
|
|
187
|
+
*/
|
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
|
189
|
+
/**
|
|
190
|
+
* @title: 编辑订单备注
|
|
191
|
+
* @description: 更新订单备注信息
|
|
192
|
+
* @param {string} bookingId
|
|
193
|
+
* @param {any} params
|
|
194
|
+
* @return {*}
|
|
195
|
+
* @Author: cong.shao
|
|
196
|
+
* @Date: 2025-04-24 16:28
|
|
197
|
+
*/
|
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
|
199
|
+
/**
|
|
200
|
+
* @title: 获取退款信息
|
|
201
|
+
* @description: 获取退款相关信息
|
|
202
|
+
* @param {string} bookingId
|
|
203
|
+
* @param {any} params
|
|
204
|
+
* @return {*}
|
|
205
|
+
* @Author: cong.shao
|
|
206
|
+
* @Date: 2025-04-24 16:28
|
|
207
|
+
*/
|
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
|
209
|
+
/**
|
|
210
|
+
* @title: 创建活动预约
|
|
211
|
+
* @description: 创建新的活动预约记录
|
|
212
|
+
* @param {any} params
|
|
213
|
+
* @return {*}
|
|
214
|
+
* @Author: cong.shao
|
|
215
|
+
* @Date: 2025-04-24 16:28
|
|
216
|
+
*/
|
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
|
218
|
+
/**
|
|
219
|
+
* @title: 获取活动预约详情
|
|
220
|
+
* @description: 获取活动预约详细信息
|
|
221
|
+
* @param {number} bookingId
|
|
222
|
+
* @param {any} params
|
|
223
|
+
* @return {*}
|
|
224
|
+
* @Author: cong.shao
|
|
225
|
+
* @Date: 2025-04-24 16:28
|
|
226
|
+
*/
|
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
228
|
+
/**
|
|
229
|
+
* @title: 编辑活动预约
|
|
230
|
+
* @description: 更新活动预约信息
|
|
231
|
+
* @param {string} bookingId
|
|
232
|
+
* @param {any} params
|
|
233
|
+
* @return {*}
|
|
234
|
+
* @Author: cong.shao
|
|
235
|
+
* @Date: 2025-04-24 16:28
|
|
236
|
+
*/
|
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
|
238
|
+
/**
|
|
239
|
+
* @title: 获取定金显示配置
|
|
240
|
+
* @description: 获取定金相关显示配置
|
|
241
|
+
* @param {any} params
|
|
242
|
+
* @return {*}
|
|
243
|
+
* @Author: cong.shao
|
|
244
|
+
* @Date: 2025-04-24 16:28
|
|
245
|
+
*/
|
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
|
247
|
+
/**
|
|
248
|
+
* @title: 获取表单记录
|
|
249
|
+
* @description: 获取表单记录数据
|
|
250
|
+
* @param {any} params
|
|
251
|
+
* @return {*}
|
|
252
|
+
* @Author: cong.shao
|
|
253
|
+
* @Date: 2025-04-24 16:28
|
|
254
|
+
*/
|
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
|
256
|
+
/**
|
|
257
|
+
* @title: 获取预约列表
|
|
258
|
+
* @description: 获取预约列表数据
|
|
259
|
+
* @param {any} params
|
|
260
|
+
* @return {*}
|
|
261
|
+
* @Author: cong.shao
|
|
262
|
+
* @Date: 2025-04-24 16:28
|
|
263
|
+
*/
|
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
|
265
|
+
/**
|
|
266
|
+
* @title: 获取订单信息
|
|
267
|
+
* @description: 根据机器码获取订单信息
|
|
268
|
+
* @param {any} params
|
|
269
|
+
* @return {*}
|
|
270
|
+
* @Author: cong.shao
|
|
271
|
+
* @Date: 2025-04-24 16:28
|
|
272
|
+
*/
|
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
274
|
+
/**
|
|
275
|
+
* @title: 获取ES客户数据
|
|
276
|
+
* @description: 从ES获取客户数据
|
|
277
|
+
* @param {any} params
|
|
278
|
+
* @return {*}
|
|
279
|
+
* @Author: cong.shao
|
|
280
|
+
* @Date: 2025-04-24 16:28
|
|
281
|
+
*/
|
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
/** dayjs对象格式化为字符串时间 */
|
|
3
|
+
export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
|
|
4
|
+
export declare const getDefaultStartParam: () => string | string[];
|
|
5
|
+
export declare const formatBookingList: (bookingList: any[]) => any[];
|
|
6
|
+
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
|
7
|
+
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
|
8
|
+
export declare const restoreProductOtherData: (data: any) => {
|
|
9
|
+
product_id: any;
|
|
10
|
+
option: never[];
|
|
11
|
+
bundle: any;
|
|
12
|
+
product_variant_id: number;
|
|
13
|
+
quantity: number;
|
|
14
|
+
} | undefined;
|
|
15
|
+
export declare const isSameProduct: (a: any, b: any) => boolean;
|
|
16
|
+
export declare const addService: (list: any[], addItem: any, state: any) => {
|
|
17
|
+
list: any[];
|
|
18
|
+
quantity: any;
|
|
19
|
+
};
|
|
20
|
+
export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
|
|
21
|
+
export declare const getCartProductOverlay: (state: any) => any;
|
|
22
|
+
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
|
23
|
+
export declare const getIsShowNumber: (item: any, state: any) => any;
|
|
24
|
+
export declare const genServiceKey: (item: any) => string;
|
|
25
|
+
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
shop_id: number;
|
|
5
|
+
display_name?: string;
|
|
6
|
+
nickname?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
country_calling_code?: string;
|
|
10
|
+
channel?: string;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
waiver_form?: any;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
birthday?: string;
|
|
16
|
+
address?: string;
|
|
17
|
+
tags?: string[];
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
export declare type CardType = 'b1' | 'b2' | 'b5' | 'b9';
|
|
21
|
+
export declare type Direction = 'horizontal' | 'vertical';
|
|
22
|
+
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string;
|
|
23
|
+
export declare type AvatarShape = 'circle' | 'square';
|
|
24
|
+
export interface AvatarConfig {
|
|
25
|
+
icon?: string;
|
|
26
|
+
shape?: AvatarShape;
|
|
27
|
+
borderRadius?: number | string;
|
|
28
|
+
size?: AvatarSize;
|
|
29
|
+
useTextAvatar?: boolean;
|
|
30
|
+
children?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface StatusConfig {
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface NameStyle {
|
|
36
|
+
fontSize?: number | string;
|
|
37
|
+
fontWeight?: number | string;
|
|
38
|
+
color?: string;
|
|
39
|
+
textDecoration?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TagItem {
|
|
42
|
+
children: string;
|
|
43
|
+
color: string;
|
|
44
|
+
}
|
|
45
|
+
export interface TagConfig {
|
|
46
|
+
placement?: 'separate' | 'inline';
|
|
47
|
+
flexWrap?: 'nowrap' | 'wrap';
|
|
48
|
+
gap?: number | string;
|
|
49
|
+
}
|
|
50
|
+
export interface ExtraField {
|
|
51
|
+
label?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
isShowLabel?: boolean;
|
|
54
|
+
isShowValue?: boolean;
|
|
55
|
+
icon?: string;
|
|
56
|
+
iconSize?: number;
|
|
57
|
+
iconColor?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface Slots {
|
|
60
|
+
top?: React.ReactNode;
|
|
61
|
+
bottom?: React.ReactNode;
|
|
62
|
+
left?: React.ReactNode;
|
|
63
|
+
right?: React.ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface StyleConfig {
|
|
66
|
+
width?: number | string;
|
|
67
|
+
border?: 'solid' | 'unset';
|
|
68
|
+
borderWidth?: number | string;
|
|
69
|
+
borderColor?: string;
|
|
70
|
+
borderRadius?: number | string;
|
|
71
|
+
padding?: number | string;
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}
|
|
74
|
+
export interface FieldNames {
|
|
75
|
+
id?: string | ((data: any) => any);
|
|
76
|
+
name?: string | ((data: any) => any);
|
|
77
|
+
cover?: string | ((data: any) => any);
|
|
78
|
+
phone?: string | ((data: any) => any);
|
|
79
|
+
email?: string | ((data: any) => any);
|
|
80
|
+
birthday?: string | ((data: any) => any);
|
|
81
|
+
address?: string | ((data: any) => any);
|
|
82
|
+
tags?: string | ((data: any) => any);
|
|
83
|
+
[key: string]: string | ((data: any) => any) | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DisplayConfig {
|
|
86
|
+
isShowAvatar?: boolean;
|
|
87
|
+
isShowName?: boolean;
|
|
88
|
+
isShowPhone?: boolean;
|
|
89
|
+
isShowEmail?: boolean;
|
|
90
|
+
isShowBirthday?: boolean;
|
|
91
|
+
isShowAddress?: boolean;
|
|
92
|
+
isShowTag?: boolean;
|
|
93
|
+
isShowStatus?: boolean;
|
|
94
|
+
isShowEmptyDescription?: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface ClientCardProps extends DisplayConfig {
|
|
97
|
+
type?: CardType;
|
|
98
|
+
direction?: Direction;
|
|
99
|
+
dataSource?: ClientData | any;
|
|
100
|
+
fieldNames?: FieldNames;
|
|
101
|
+
style?: StyleConfig;
|
|
102
|
+
horizontalGap?: number | string;
|
|
103
|
+
verticalGap?: number | string;
|
|
104
|
+
avatar?: AvatarConfig;
|
|
105
|
+
status?: StatusConfig;
|
|
106
|
+
dropdown?: {
|
|
107
|
+
open?: boolean;
|
|
108
|
+
buttonProps?: {
|
|
109
|
+
icon?: ReactElement;
|
|
110
|
+
onClick?: (e: Event) => void;
|
|
111
|
+
style?: React.CSSProperties;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
defaultName?: string;
|
|
115
|
+
nameStyle?: NameStyle;
|
|
116
|
+
tags?: Array<TagItem | string>;
|
|
117
|
+
tag?: TagConfig;
|
|
118
|
+
extraFields?: ExtraField[];
|
|
119
|
+
slots?: Slots;
|
|
120
|
+
onAddClient?: () => void;
|
|
121
|
+
onChangeClient?: (data: ClientData) => void;
|
|
122
|
+
onRemoveClient?: (data: ClientData) => void;
|
|
123
|
+
onViewClient?: (data: ClientData) => void;
|
|
124
|
+
}
|
|
125
|
+
export interface ProcessedClientData {
|
|
126
|
+
id: any;
|
|
127
|
+
name: string;
|
|
128
|
+
cover?: string;
|
|
129
|
+
phone?: string;
|
|
130
|
+
email?: string;
|
|
131
|
+
birthday?: string;
|
|
132
|
+
address?: string;
|
|
133
|
+
tags?: string[];
|
|
134
|
+
[key: string]: any;
|
|
135
|
+
}
|
|
@@ -9,7 +9,7 @@ export declare const getTableColumns: (locales: any) => ({
|
|
|
9
9
|
dataIndex: string;
|
|
10
10
|
key: string;
|
|
11
11
|
width: number;
|
|
12
|
-
render: (value: any, record: any) =>
|
|
12
|
+
render: (value: any, record: any) => React.JSX.Element | "-";
|
|
13
13
|
isShow?: undefined;
|
|
14
14
|
} | {
|
|
15
15
|
title: any;
|
|
@@ -38,7 +38,7 @@ export declare const getTableColumns: (locales: any) => ({
|
|
|
38
38
|
key: string;
|
|
39
39
|
isShow: boolean;
|
|
40
40
|
width: number;
|
|
41
|
-
render: (value: any) =>
|
|
41
|
+
render: (value: any) => React.JSX.Element | "-";
|
|
42
42
|
})[];
|
|
43
43
|
export declare const getQuickFilterList: (locales: any) => ({
|
|
44
44
|
name: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../components/TabsStructure/TabsStructure.less';
|
|
3
|
+
import CategorySkeleton from './CategorySkeleton';
|
|
4
|
+
declare type TabItem = {
|
|
5
|
+
key: string;
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
interface IProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
items: TabItem[];
|
|
12
|
+
activeKey: string;
|
|
13
|
+
onChange: (key: string) => void;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
skeleton?: React.ReactNode;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const CategoryTabs: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
|
|
20
|
+
export default CategoryTabs;
|
|
21
|
+
export { CategorySkeleton };
|
|
@@ -3,7 +3,7 @@ import { ItemLayout, ItemProps, PresetConfig, SelectorProps, SelectorVariant } f
|
|
|
3
3
|
import './selector.less';
|
|
4
4
|
export declare const SelectorContext: React.Context<{
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
|
-
mode?: "
|
|
6
|
+
mode?: "single" | "multiple" | undefined;
|
|
7
7
|
itemLayout?: ItemLayout | undefined;
|
|
8
8
|
valueType?: "object" | "primitive" | undefined;
|
|
9
9
|
variant?: SelectorVariant | undefined;
|
|
@@ -9,7 +9,7 @@ const EcoCustomerListMeta: ComponentMetadata = {
|
|
|
9
9
|
"devMode": "proCode",
|
|
10
10
|
"npm": {
|
|
11
11
|
"package": "@pisell/private-materials",
|
|
12
|
-
"version": "6.3.
|
|
12
|
+
"version": "6.3.96",
|
|
13
13
|
"exportName": "EcoCustomerList",
|
|
14
14
|
"main": "src/index.ts",
|
|
15
15
|
"destructuring": true,
|
package/package.json
CHANGED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
declare const STATUS_TEXT_MAP: {
|
|
2
|
-
in_stock: string;
|
|
3
|
-
rent: string;
|
|
4
|
-
return: string;
|
|
5
|
-
missing: string;
|
|
6
|
-
broken: string;
|
|
7
|
-
shop_changed: string;
|
|
8
|
-
};
|
|
9
|
-
declare const STATUS_COLOR_MAP: {
|
|
10
|
-
in_stock: {
|
|
11
|
-
backgroundColor: string;
|
|
12
|
-
color: string;
|
|
13
|
-
border: string;
|
|
14
|
-
};
|
|
15
|
-
rent: {
|
|
16
|
-
backgroundColor: string;
|
|
17
|
-
color: string;
|
|
18
|
-
border: string;
|
|
19
|
-
};
|
|
20
|
-
return: {
|
|
21
|
-
backgroundColor: string;
|
|
22
|
-
color: string;
|
|
23
|
-
border: string;
|
|
24
|
-
};
|
|
25
|
-
shop_changed: {
|
|
26
|
-
backgroundColor: string;
|
|
27
|
-
color: string;
|
|
28
|
-
border: string;
|
|
29
|
-
};
|
|
30
|
-
overtime: {
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
color: string;
|
|
33
|
-
border: string;
|
|
34
|
-
};
|
|
35
|
-
expire_soon: {
|
|
36
|
-
backgroundColor: string;
|
|
37
|
-
color: string;
|
|
38
|
-
border: string;
|
|
39
|
-
};
|
|
40
|
-
borrowing: {
|
|
41
|
-
backgroundColor: string;
|
|
42
|
-
color: string;
|
|
43
|
-
border: string;
|
|
44
|
-
};
|
|
45
|
-
missing: {
|
|
46
|
-
backgroundColor: string;
|
|
47
|
-
color: string;
|
|
48
|
-
border: string;
|
|
49
|
-
};
|
|
50
|
-
broken: {
|
|
51
|
-
backgroundColor: string;
|
|
52
|
-
color: string;
|
|
53
|
-
border: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* @description: 排序设置
|
|
58
|
-
* @return {*}
|
|
59
|
-
*/
|
|
60
|
-
declare const SORT_SETTINGS: {
|
|
61
|
-
show: boolean;
|
|
62
|
-
list: {
|
|
63
|
-
columnKey: string;
|
|
64
|
-
key: string;
|
|
65
|
-
type: string;
|
|
66
|
-
localFilter: boolean;
|
|
67
|
-
}[];
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* @description: 列配置
|
|
71
|
-
* @return {*}
|
|
72
|
-
*/
|
|
73
|
-
declare const COLUMN_SETTING: {
|
|
74
|
-
show: boolean;
|
|
75
|
-
storageMode: string;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @description: 过滤选项
|
|
79
|
-
* @return {*}
|
|
80
|
-
*/
|
|
81
|
-
declare const FILTER: (locales: any, isNormalShop: boolean, ecoShopLists?: any, isPartner?: boolean, currentPagination?: number) => {
|
|
82
|
-
show: boolean;
|
|
83
|
-
quickFilterMaxLength: number;
|
|
84
|
-
currentPagination: number;
|
|
85
|
-
list: ({
|
|
86
|
-
key: string;
|
|
87
|
-
type: string;
|
|
88
|
-
columnKey: string;
|
|
89
|
-
isCustom: boolean;
|
|
90
|
-
name: string;
|
|
91
|
-
sort: boolean;
|
|
92
|
-
localFilter: boolean;
|
|
93
|
-
other: {
|
|
94
|
-
size: string;
|
|
95
|
-
allowClear: boolean;
|
|
96
|
-
showSearch: boolean;
|
|
97
|
-
placeholder: any;
|
|
98
|
-
defaultValue: number;
|
|
99
|
-
options: {
|
|
100
|
-
label: any;
|
|
101
|
-
value: string | number;
|
|
102
|
-
}[];
|
|
103
|
-
style: {
|
|
104
|
-
width: number;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
isHidden?: undefined;
|
|
108
|
-
} | {
|
|
109
|
-
key: string;
|
|
110
|
-
type: string;
|
|
111
|
-
columnKey: string;
|
|
112
|
-
isCustom: boolean;
|
|
113
|
-
name: string;
|
|
114
|
-
sort: boolean;
|
|
115
|
-
localFilter: boolean;
|
|
116
|
-
isHidden: boolean;
|
|
117
|
-
other: {
|
|
118
|
-
size: string;
|
|
119
|
-
allowClear: boolean;
|
|
120
|
-
showSearch: boolean;
|
|
121
|
-
placeholder: any;
|
|
122
|
-
defaultValue: number;
|
|
123
|
-
options: {
|
|
124
|
-
label: any;
|
|
125
|
-
value: any;
|
|
126
|
-
}[];
|
|
127
|
-
style: {
|
|
128
|
-
width: number;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
})[];
|
|
132
|
-
};
|
|
133
|
-
export { STATUS_TEXT_MAP, STATUS_COLOR_MAP, SORT_SETTINGS, COLUMN_SETTING, FILTER, };
|