@pisell/private-materials 3.3.5 → 3.3.7

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.
Files changed (47) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/components/booking/components/voucher/index.js +3 -2
  8. package/es/components/booking/info/utils.js +1 -1
  9. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -1
  10. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  11. package/es/components/ticketBooking/components/timeBar/index.js +3 -2
  12. package/lib/components/booking/components/voucher/index.js +3 -2
  13. package/lib/components/booking/info/utils.js +1 -1
  14. package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -1
  15. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  16. package/lib/components/ticketBooking/components/timeBar/index.js +2 -2
  17. package/package.json +2 -2
  18. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +0 -8
  19. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -3
  20. package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -77
  21. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
  22. package/es/components/appointmentBooking/components/Date/index.d.ts +0 -3
  23. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -3
  24. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -3
  25. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  26. package/es/components/appointmentBooking/deposit/index.d.ts +0 -3
  27. package/es/components/appointmentBooking/hooks.d.ts +0 -104
  28. package/es/components/appointmentBooking/index.d.ts +0 -3
  29. package/es/components/appointmentBooking/locales.d.ts +0 -345
  30. package/es/components/booking/info/service/serviceList/index.d.ts +0 -5
  31. package/es/components/booking/utils.d.ts +0 -172
  32. package/es/components/wallet/components/WalletCard.d.ts +0 -11
  33. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +0 -8
  34. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -3
  35. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -77
  36. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
  37. package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -3
  38. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -3
  39. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -3
  40. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  41. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -3
  42. package/lib/components/appointmentBooking/hooks.d.ts +0 -104
  43. package/lib/components/appointmentBooking/index.d.ts +0 -3
  44. package/lib/components/appointmentBooking/locales.d.ts +0 -345
  45. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -5
  46. package/lib/components/booking/utils.d.ts +0 -172
  47. package/lib/components/wallet/components/WalletCard.d.ts +0 -11
@@ -1,104 +0,0 @@
1
- export declare const useAppointmentBooking: () => any;
2
- export declare const useShopDiscount: () => any;
3
- export declare const contextUtils: () => any;
4
- /**
5
- * @title: 监听步骤发生变化
6
- * @description:
7
- * @return {*}
8
- * @Author: WangHan
9
- * @Date: 2025-04-15 11:11
10
- */
11
- export declare const useAppointmentBookingStep: () => {
12
- getStepIndex: (type: string, skipNumber?: number) => any;
13
- stepList: any;
14
- removeStep: (key: string) => any;
15
- addStep: (props: any, stepKey?: string) => any;
16
- };
17
- /**
18
- * @title: 获取商品数据
19
- * @description:
20
- * @return {*}
21
- * @Author: WangHan
22
- * @Date: 2025-04-15 11:12
23
- */
24
- export declare const useAppointmentBookingProduct: () => {
25
- checkProductType: (productId: number) => Promise<any>;
26
- getProducts: () => Promise<any>;
27
- };
28
- /**
29
- * @title: 更新购物车数据
30
- * @description:
31
- * @return {*}
32
- * @Author: WangHan
33
- * @Date: 2025-04-15 11:12
34
- */
35
- export declare const useAppointmentBookingCart: () => void;
36
- /**
37
- * @title: 获取登录状态
38
- * @description:
39
- * @return {*}
40
- * @Author: WangHan
41
- * @Date: 2025-04-15 11:14
42
- */
43
- export declare const useAppointmentBookingLogin: () => {
44
- isLogin: boolean;
45
- openLoginModal: (params: {
46
- callback: any;
47
- }) => void;
48
- };
49
- /**
50
- * @title: 获取账户
51
- * @description:
52
- * @return {*}
53
- * @Author: WangHan
54
- * @Date: 2025-04-15 11:15
55
- */
56
- export declare const useAppointmentBookingAccount: () => {
57
- accountLists: any;
58
- getHolders: () => Promise<any>;
59
- form_id: any;
60
- addAccount: (val: any, type?: string) => Promise<any>;
61
- checkAccount: (type: any) => any;
62
- };
63
- /**
64
- * @title: 获取资源数据
65
- * @description:
66
- * @return {*}
67
- * @Author: WangHan
68
- * @Date: 2025-04-15 11:29
69
- */
70
- export declare const useAppointmentBookingResource: () => {
71
- getResourceTimeSlot: (index?: number) => Promise<void>;
72
- getResourceList: () => {
73
- resources: any;
74
- resourceCodes: any;
75
- };
76
- autoSelectAllProductResources: (index?: number) => Promise<any>;
77
- };
78
- /**
79
- * @title: 是否跳过资源选择步骤
80
- * @description:
81
- * @return {*}
82
- * @Author: WangHan
83
- * @Date: 2025-04-21 11:47
84
- */
85
- export declare const useIsSkipResourceStep: () => {
86
- checkSkipResourceStep: () => Promise<boolean>;
87
- };
88
- /**
89
- * @title: 获取预约配置
90
- * @description:
91
- * @return {*}
92
- * @Author: WangHan
93
- * @Date: 2025-04-24 18:15
94
- */
95
- export declare const useAppointmentBookingSetting: () => {
96
- isDateSelectedFirst: boolean;
97
- isFormSubject: boolean;
98
- customPageId: any;
99
- getLoadAllSchedule: () => void;
100
- bookingSubject: any;
101
- setOtherData: (key: string, val: any) => any;
102
- getOtherData: (key: string) => any;
103
- formName: any;
104
- };
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const AppointmentBooking: () => JSX.Element;
3
- export default AppointmentBooking;
@@ -1,345 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.event.calendar.limit.unavailable': string;
4
- 'pisell2.event.calendar.limit.sold.out': string;
5
- 'pisell2.event.calendar.limit.call.to.book': string;
6
- 'pisell2.event.calendar.limit.filling.up.fast': string;
7
- 'pisell2.event.calendar.limit.lots.of.space': string;
8
- 'pisell2.event.calendar.booking-closed': string;
9
- 'pisell2.event.calendar.call-to-book': string;
10
- 'pisell2.event.calendar.email-to-book': string;
11
- 'pisell2.event.close.title': string;
12
- 'pisell2.event.close.tip': string;
13
- 'pisell2.event.close.continue': string;
14
- 'pisell2.event.close.exit': string;
15
- 'pisell2.appointment.step': (step: number) => string;
16
- 'pisell2.event.select.category': (val: string) => string;
17
- 'pisell2.event.select.campus': (val: string) => string;
18
- 'pisell2.event.select.event': string;
19
- 'pisell2.event.cart': string;
20
- 'pisell2.event.total': string;
21
- 'pisell2.event.total.gst': (val: string, amount: any) => string;
22
- 'pisell2.event.continue': string;
23
- 'pisell2.event.details': string;
24
- 'pisell2.event.introduction': string;
25
- 'pisell2.event.schedule': string;
26
- 'pisell2.event.teacher': string;
27
- 'pisell2.event.campus': string;
28
- 'pisell2.event.resource': string;
29
- 'pisell2.event.booking.options': string;
30
- 'pisell2.event.add.to.cart': string;
31
- 'pisell2.event.description': string;
32
- 'pisell2.event.view.more': string;
33
- 'pisell2.event.view.less': string;
34
- 'pisell2.event.holder.modal.title': string;
35
- 'pisell2.event.confirm': string;
36
- 'pisell2.event.confirm.information': string;
37
- 'pisell2.event.confirm.information.tip': string;
38
- 'pisell2.event.confirm.information.other': string;
39
- 'pisell2.event.add.others': string;
40
- 'pisell2.event.checkout': string;
41
- 'pisell2.event.edit.event': string;
42
- 'pisell2.event.remove': string;
43
- 'pisell2.event.option': string;
44
- 'pisell2.event.order.items.error.title': string;
45
- 'pisell2.event.order.items.error.tip': (val: number) => string;
46
- 'pisell2.event.order.items.error.proceed': string;
47
- 'pisell2.event.order.items.error.return': string;
48
- 'pisell2.event.order.items.error.back': string;
49
- 'pisell2.event.order.items.error.continue': string;
50
- 'pisell2.event.order.items.error.all.tip': string;
51
- 'pisell2.event.remove.title': string;
52
- 'pisell2.event.remove.tip': string;
53
- 'pisell2.event.remove.cancel': string;
54
- 'pisell2.event.create': string;
55
- 'pisell2.event.search': string;
56
- 'pisell2.event.empty.service': string;
57
- 'pisell2.event.title': (val: number) => string;
58
- 'pisell2.event.create.form': string;
59
- 'pisell2.event.empty.event': string;
60
- 'pisell2.event.error.holder': string;
61
- 'pisell2.event.price.from': string;
62
- 'pisell2.event.empty.holder.title': string;
63
- 'pisell2.event.empty.holder.tip': string;
64
- 'pisell2.event.empty.holder.continue.tip': string;
65
- 'pisell2.event.empty.holder.go.back': string;
66
- 'pisell2.event.empty.holder.continue.anyway': string;
67
- 'pisell2.event.event.full.title': string;
68
- 'pisell2.event.event.full.tip': string;
69
- 'pisell2.event.event.full.ok': string;
70
- 'pisell2.event.capacity.limit.reached.title': string;
71
- 'pisell2.event.capacity.limit.reached.tip': string;
72
- 'pisell2.appointment.booking.empty.service': string;
73
- 'pisell2.appointment.booking.empty.data': string;
74
- 'pisell2.appointment.booking.empty.time': string;
75
- 'pisell2.appointment.service.title': (val: number) => string;
76
- 'pisell2.appointment.add.guest': string;
77
- 'pisell2.appointment.edit.service': string;
78
- 'pisell2.appointment.remove.guest': string;
79
- 'pisell2.appointment.no.available.service': string;
80
- 'pisell2.appointment.max.guest': string;
81
- 'pisell2.appointment.no.available.time': string;
82
- 'pisell2.appointment.monday': string;
83
- 'pisell2.appointment.tuesday': string;
84
- 'pisell2.appointment.wednesday': string;
85
- 'pisell2.appointment.thursday': string;
86
- 'pisell2.appointment.friday': string;
87
- 'pisell2.appointment.saturday': string;
88
- 'pisell2.appointment.sunday': string;
89
- 'pisell2.appointment.any.professional': string;
90
- 'pisell2.appointment.for.maximum.availability': string;
91
- 'pisell2.appointment.deposit': string;
92
- 'pisell2.appointment.deposit.agreed': string;
93
- 'pisell2.appointment.deposit.agree.policy': string;
94
- 'pisell2.appointment.deposit.and': string;
95
- 'pisell2.appointment.deposit.amount.tip1': string;
96
- 'pisell2.appointment.deposit.amount.tip2': string;
97
- 'pisell2.appointment.deposit.close': string;
98
- 'pisell2.appointment.tips': string;
99
- 'pisell2.appointment.tips.content': string;
100
- 'pisell2.appointment.fill-form': string;
101
- 'pisell2.appointment.select.holder': (val: string) => string;
102
- 'pisell2.appointment.select.time': string;
103
- 'pisell2.appointment.unselect.time': string;
104
- 'pisell2.appointment.unselect.date': string;
105
- 'pisell2.appointment.add-guests': string;
106
- 'pisell2.text.apply': string;
107
- 'pisell2.text.goodpass': string;
108
- 'pisell2.text.goodpass.product-vouchers': string;
109
- 'pisell2.text.goodpass.view-more': string;
110
- 'pisell2.text.goodpass.code': string;
111
- 'pisell2.text.goodpass.enter-code': string;
112
- 'pisell2.text.goodpass.code-invalid': string;
113
- 'pisell2.text.goodpass.login': string;
114
- 'pisell2.text.goodpass.login-tip': string;
115
- };
116
- 'zh-CN': {
117
- 'pisell2.event.calendar.limit.unavailable': string;
118
- 'pisell2.event.calendar.limit.sold.out': string;
119
- 'pisell2.event.calendar.limit.call.to.book': string;
120
- 'pisell2.event.calendar.limit.filling.up.fast': string;
121
- 'pisell2.event.calendar.limit.lots.of.space': string;
122
- 'pisell2.event.calendar.booking-closed': string;
123
- 'pisell2.event.calendar.call-to-book': string;
124
- 'pisell2.event.calendar.email-to-book': string;
125
- 'pisell2.event.close.title': string;
126
- 'pisell2.event.close.tip': string;
127
- 'pisell2.event.close.continue': string;
128
- 'pisell2.event.close.exit': string;
129
- 'pisell2.appointment.step': (step: number) => string;
130
- 'pisell2.event.select.category': (val: string) => string;
131
- 'pisell2.event.select.event': string;
132
- 'pisell2.event.select.campus': (val: string) => string;
133
- 'pisell2.event.cart': string;
134
- 'pisell2.event.total': string;
135
- 'pisell2.event.total.gst': (val: string, amount: any) => string;
136
- 'pisell2.event.continue': string;
137
- 'pisell2.event.details': string;
138
- 'pisell2.event.introduction': string;
139
- 'pisell2.event.schedule': string;
140
- 'pisell2.event.teacher': string;
141
- 'pisell2.event.campus': string;
142
- 'pisell2.event.resource': string;
143
- 'pisell2.event.booking.options': string;
144
- 'pisell2.event.add.to.cart': string;
145
- 'pisell2.event.description': string;
146
- 'pisell2.event.view.more': string;
147
- 'pisell2.event.view.less': string;
148
- 'pisell2.event.holder.modal.title': string;
149
- 'pisell2.event.confirm': string;
150
- 'pisell2.event.confirm.information': string;
151
- 'pisell2.event.confirm.information.tip': string;
152
- 'pisell2.event.confirm.information.other': string;
153
- 'pisell2.event.add.others': string;
154
- 'pisell2.event.checkout': string;
155
- 'pisell2.event.edit.event': string;
156
- 'pisell2.event.remove': string;
157
- 'pisell2.event.option': string;
158
- 'pisell2.event.order.items.error.title': string;
159
- 'pisell2.event.order.items.error.tip': (val: number) => string;
160
- 'pisell2.event.order.items.error.proceed': string;
161
- 'pisell2.event.order.items.error.return': string;
162
- 'pisell2.event.order.items.error.back': string;
163
- 'pisell2.event.order.items.error.continue': string;
164
- 'pisell2.event.order.items.error.all.tip': string;
165
- 'pisell2.event.remove.title': string;
166
- 'pisell2.event.remove.tip': string;
167
- 'pisell2.event.remove.cancel': string;
168
- 'pisell2.event.create': string;
169
- 'pisell2.event.search': string;
170
- 'pisell2.event.empty.service': string;
171
- 'pisell2.event.title': (val: number) => string;
172
- 'pisell2.event.create.form': string;
173
- 'pisell2.event.empty.event': string;
174
- 'pisell2.event.error.holder': string;
175
- 'pisell2.event.price.from': string;
176
- 'pisell2.event.empty.holder.title': string;
177
- 'pisell2.event.empty.holder.tip': string;
178
- 'pisell2.event.empty.holder.continue.tip': string;
179
- 'pisell2.event.empty.holder.go.back': string;
180
- 'pisell2.event.empty.holder.continue.anyway': string;
181
- 'pisell2.event.event.full.title': string;
182
- 'pisell2.event.event.full.tip': string;
183
- 'pisell2.event.event.full.ok': string;
184
- 'pisell2.event.capacity.limit.reached.title': string;
185
- 'pisell2.event.capacity.limit.reached.tip': string;
186
- 'pisell2.appointment.booking.empty.service': string;
187
- 'pisell2.appointment.booking.empty.data': string;
188
- 'pisell2.appointment.booking.empty.time': string;
189
- 'pisell2.appointment.service.title': (val: number) => string;
190
- 'pisell2.appointment.add.guest': string;
191
- 'pisell2.appointment.edit.service': string;
192
- 'pisell2.appointment.remove.guest': string;
193
- 'pisell2.appointment.no.available.service': string;
194
- 'pisell2.appointment.max.guest': string;
195
- 'pisell2.appointment.no.available.time': string;
196
- 'pisell2.appointment.monday': string;
197
- 'pisell2.appointment.tuesday': string;
198
- 'pisell2.appointment.wednesday': string;
199
- 'pisell2.appointment.thursday': string;
200
- 'pisell2.appointment.friday': string;
201
- 'pisell2.appointment.saturday': string;
202
- 'pisell2.appointment.sunday': string;
203
- 'pisell2.appointment.any.professional': string;
204
- 'pisell2.appointment.for.maximum.availability': string;
205
- 'pisell2.appointment.deposit': string;
206
- 'pisell2.appointment.deposit.agreed': string;
207
- 'pisell2.appointment.deposit.agree.policy': string;
208
- 'pisell2.appointment.deposit.and': string;
209
- 'pisell2.appointment.deposit.amount.tip1': string;
210
- 'pisell2.appointment.deposit.amount.tip2': string;
211
- 'pisell2.appointment.deposit.close': string;
212
- 'pisell2.appointment.tips': string;
213
- 'pisell2.appointment.tips.content': string;
214
- 'pisell2.appointment.fill-form': string;
215
- 'pisell2.appointment.select.holder': (val: string) => string;
216
- 'pisell2.appointment.select.time': string;
217
- 'pisell2.appointment.unselect.time': string;
218
- 'pisell2.appointment.unselect.date': string;
219
- 'pisell2.appointment.add-guests': string;
220
- 'pisell2.text.apply': string;
221
- 'pisell2.text.goodpass': string;
222
- 'pisell2.text.goodpass.product-vouchers': string;
223
- 'pisell2.text.goodpass.view-more': string;
224
- 'pisell2.text.goodpass.code': string;
225
- 'pisell2.text.goodpass.enter-code': string;
226
- 'pisell2.text.goodpass.code-invalid': string;
227
- 'pisell2.text.goodpass.login': string;
228
- 'pisell2.text.goodpass.login-tip': string;
229
- };
230
- 'zh-HK': {
231
- 'pisell2.event.calendar.limit.unavailable': string;
232
- 'pisell2.event.calendar.limit.sold.out': string;
233
- 'pisell2.event.calendar.limit.call.to.book': string;
234
- 'pisell2.event.calendar.limit.filling.up.fast': string;
235
- 'pisell2.event.calendar.limit.lots.of.space': string;
236
- 'pisell2.event.calendar.booking-closed': string;
237
- 'pisell2.event.calendar.call-to-book': string;
238
- 'pisell2.event.calendar.email-to-book': string;
239
- 'pisell2.event.close.title': string;
240
- 'pisell2.event.close.tip': string;
241
- 'pisell2.event.close.continue': string;
242
- 'pisell2.event.close.exit': string;
243
- 'pisell2.appointment.step': (step: number) => string;
244
- 'pisell2.event.select.category': (val: string) => string;
245
- 'pisell2.event.select.event': string;
246
- 'pisell2.event.select.campus': (val: string) => string;
247
- 'pisell2.event.cart': string;
248
- 'pisell2.event.total': string;
249
- 'pisell2.event.total.gst': (val: string, amount: any) => string;
250
- 'pisell2.event.continue': string;
251
- 'pisell2.event.details': string;
252
- 'pisell2.event.introduction': string;
253
- 'pisell2.event.schedule': string;
254
- 'pisell2.event.teacher': string;
255
- 'pisell2.event.campus': string;
256
- 'pisell2.event.resource': string;
257
- 'pisell2.event.booking.options': string;
258
- 'pisell2.event.add.to.cart': string;
259
- 'pisell2.event.description': string;
260
- 'pisell2.event.view.more': string;
261
- 'pisell2.event.view.less': string;
262
- 'pisell2.event.holder.modal.title': string;
263
- 'pisell2.event.confirm': string;
264
- 'pisell2.event.confirm.information': string;
265
- 'pisell2.event.confirm.information.tip': string;
266
- 'pisell2.event.confirm.information.other': string;
267
- 'pisell2.event.add.others': string;
268
- 'pisell2.event.checkout': string;
269
- 'pisell2.event.edit.event': string;
270
- 'pisell2.event.remove': string;
271
- 'pisell2.event.option': string;
272
- 'pisell2.event.order.items.error.title': string;
273
- 'pisell2.event.order.items.error.tip': (val: number) => string;
274
- 'pisell2.event.order.items.error.proceed': string;
275
- 'pisell2.event.order.items.error.return': string;
276
- 'pisell2.event.order.items.error.back': string;
277
- 'pisell2.event.order.items.error.continue': string;
278
- 'pisell2.event.order.items.error.all.tip': string;
279
- 'pisell2.event.remove.title': string;
280
- 'pisell2.event.remove.tip': string;
281
- 'pisell2.event.remove.cancel': string;
282
- 'pisell2.event.create': string;
283
- 'pisell2.event.search': string;
284
- 'pisell2.event.empty.service': string;
285
- 'pisell2.event.title': (val: number) => string;
286
- 'pisell2.event.create.form': string;
287
- 'pisell2.event.empty.event': string;
288
- 'pisell2.event.error.holder': string;
289
- 'pisell2.event.price.from': string;
290
- 'pisell2.event.empty.holder.title': string;
291
- 'pisell2.event.empty.holder.tip': string;
292
- 'pisell2.event.empty.holder.continue.tip': string;
293
- 'pisell2.event.empty.holder.go.back': string;
294
- 'pisell2.event.empty.holder.continue.anyway': string;
295
- 'pisell2.event.event.full.title': string;
296
- 'pisell2.event.event.full.tip': string;
297
- 'pisell2.event.event.full.ok': string;
298
- 'pisell2.event.capacity.limit.reached.title': string;
299
- 'pisell2.event.capacity.limit.reached.tip': string;
300
- 'pisell2.appointment.booking.empty.service': string;
301
- 'pisell2.appointment.booking.empty.data': string;
302
- 'pisell2.appointment.booking.empty.time': string;
303
- 'pisell2.appointment.service.title': (val: number) => string;
304
- 'pisell2.appointment.add.guest': string;
305
- 'pisell2.appointment.edit.service': string;
306
- 'pisell2.appointment.remove.guest': string;
307
- 'pisell2.appointment.no.available.service': string;
308
- 'pisell2.appointment.max.guest': string;
309
- 'pisell2.appointment.no.available.time': string;
310
- 'pisell2.appointment.monday': string;
311
- 'pisell2.appointment.tuesday': string;
312
- 'pisell2.appointment.wednesday': string;
313
- 'pisell2.appointment.thursday': string;
314
- 'pisell2.appointment.friday': string;
315
- 'pisell2.appointment.saturday': string;
316
- 'pisell2.appointment.sunday': string;
317
- 'pisell2.appointment.any.professional': string;
318
- 'pisell2.appointment.for.maximum.availability': string;
319
- 'pisell2.appointment.deposit': string;
320
- 'pisell2.appointment.deposit.agreed': string;
321
- 'pisell2.appointment.deposit.agree.policy': string;
322
- 'pisell2.appointment.deposit.and': string;
323
- 'pisell2.appointment.deposit.amount.tip1': string;
324
- 'pisell2.appointment.deposit.amount.tip2': string;
325
- 'pisell2.appointment.deposit.close': string;
326
- 'pisell2.appointment.tips': string;
327
- 'pisell2.appointment.tips.content': string;
328
- 'pisell2.appointment.fill-form': string;
329
- 'pisell2.appointment.select.holder': (val: string) => string;
330
- 'pisell2.appointment.select.time': string;
331
- 'pisell2.appointment.unselect.time': string;
332
- 'pisell2.appointment.unselect.date': string;
333
- 'pisell2.appointment.add-guests': string;
334
- 'pisell2.text.apply': string;
335
- 'pisell2.text.goodpass': string;
336
- 'pisell2.text.goodpass.product-vouchers': string;
337
- 'pisell2.text.goodpass.view-more': string;
338
- 'pisell2.text.goodpass.code': string;
339
- 'pisell2.text.goodpass.enter-code': string;
340
- 'pisell2.text.goodpass.code-invalid': string;
341
- 'pisell2.text.goodpass.login': string;
342
- 'pisell2.text.goodpass.login-tip': string;
343
- };
344
- };
345
- export default _default;
@@ -1,5 +0,0 @@
1
- import './index.less';
2
- declare const ServiceList: ({ onEdit }: {
3
- onEdit: any;
4
- }) => JSX.Element;
5
- export default ServiceList;
@@ -1,172 +0,0 @@
1
- import dayjs from 'dayjs';
2
- declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
3
- declare class Request {
4
- private request;
5
- constructor();
6
- setRequest(val: any): void;
7
- getRequest(): {
8
- get: RType;
9
- post: RType;
10
- put: RType;
11
- remove: RType;
12
- custom: RType;
13
- };
14
- }
15
- export declare const request: Request;
16
- /**
17
- * @title: 格式化持续时长用于展示
18
- * @description:
19
- * @param {number} service_times
20
- * @return {*}
21
- * @Author: zhiwei.Wang
22
- * @Date: 2024-04-26 14:00
23
- */
24
- export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
25
- /**
26
- * @title: 时间切片
27
- * @description:
28
- * @param {any} config
29
- * @param {string} locale
30
- * @return {*}
31
- * @Author: zhiwei.Wang
32
- * @Date: 2024-04-26 13:59
33
- */
34
- export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
35
- timeSlices: {
36
- label: string;
37
- value: string;
38
- }[];
39
- durationSlicesBasedOnTime: {
40
- label: string;
41
- value: number;
42
- }[];
43
- };
44
- export declare const getNowTime: () => string;
45
- export declare const isNowTime: (time: string) => boolean;
46
- /**
47
- * @title: 获取服务的开始时间, 如果是now 转换为当前的时间
48
- * @description:
49
- * @param {string} start_time
50
- * @return {*}
51
- * @Author: zhiwei.Wang
52
- * @Date: 2024-04-26 14:03
53
- */
54
- export declare const getServeStartTime: (start_time: string) => string;
55
- /**
56
- * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
57
- * @description:
58
- * @param {any} item
59
- * @param {any} currentDate
60
- * @return {*}
61
- * @Author: zhiwei.Wang
62
- * @Date: 2024-04-26 14:04
63
- */
64
- export declare const getServiceTime: (item: any, currentDate: any) => string;
65
- export declare const findNextSlice: ({ timeSlices, index, date, }: {
66
- timeSlices: any[];
67
- index?: number | undefined;
68
- date?: string | undefined;
69
- }) => any;
70
- export declare const findNextDuration: (current: any, array: any, defaultValue?: any) => any;
71
- export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
72
- export declare const getResourceTimeIsUsable: (item: any, cacheItem: any) => any;
73
- /**
74
- * @title: 查找是否有可用的time
75
- * @description:
76
- * @param {any} resourceItem
77
- * @return {*}
78
- * @Author: zhiwei.Wang
79
- * @Date: 2024-01-09 13:57
80
- */
81
- export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
82
- /**
83
- * @title: 获取店铺的营业结束时间
84
- * @description:
85
- * @return {*}
86
- * @Author: zhiwei.Wang
87
- * @Date: 2024-02-23 10:00
88
- */
89
- export declare const getShopOpeningHours: () => string;
90
- /**
91
- * @title: 对灵活时长进行处理
92
- * @description:
93
- * @return {*}
94
- * @Author: zhiwei.Wang
95
- * @Date: 2024-02-23 10:00
96
- */
97
- export declare const flexibleObj: {
98
- create: (num: number) => any;
99
- getValue: (str: string | number) => number;
100
- isFlexible: (str: string | number) => boolean;
101
- add: (current: number | string, duration: number) => any;
102
- };
103
- /**
104
- * @title: 获取结束时间
105
- * @description: 取 endDate | 店铺营业时间 最小的那一个
106
- * @param {any} startDate
107
- * @param {string} duration
108
- * @param {any} endDate
109
- * @return {*}
110
- * @Author: zhiwei.Wang
111
- * @Date: 2024-02-23 10:01
112
- */
113
- export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
114
- export declare const getServiceTimes: (service: any) => {
115
- startDate: dayjs.Dayjs;
116
- endDate: dayjs.Dayjs;
117
- };
118
- export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
119
- label: any;
120
- type: string;
121
- }[];
122
- /**
123
- * @title: 格式化资源, 添加自定义参数
124
- * @description:
125
- * @param {any} resourceItem
126
- * @return {*}
127
- * @Author: zhiwei.Wang
128
- * @Date: 2024-01-09 13:40
129
- */
130
- export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
131
- export declare const getLastServer: (list: any) => any;
132
- export declare const getCacheParams: () => any;
133
- export declare const deleteCacheParams: () => void;
134
- /**
135
- * @title: 获取跨日预约的时长
136
- * @description:
137
- * @param {any} cacheItem
138
- * @return {*}
139
- * @Author: WangHan
140
- * @Date: 2024-12-01 22:43
141
- */
142
- export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
143
- export declare const isSessionProduct: (cacheItem: any) => boolean;
144
- /**
145
- * @title: 创建一个服务商品
146
- * @description:
147
- * @param {any} state
148
- * @param {any} item
149
- * @return {*}
150
- * @Author: zhiwei.Wang
151
- * @Date: 2024-01-26 14:09
152
- */
153
- export declare const getServerItemExtend: (state: any, cacheItem: any, timeObj: any) => any;
154
- export declare const getProductTotalPrice: (item: any) => number;
155
- /**
156
- * @title: 判断 duration
157
- * @description: 用于处理不同格式的duration
158
- * @param {number} duration
159
- * @return {*}
160
- * @Author: zhiwei.Wang
161
- * @Date: 2024-02-23 10:02
162
- */
163
- export declare const getDuration: (duration: number | {
164
- type: string;
165
- value: number;
166
- }) => number | "flexible" | {
167
- type: string;
168
- value: number;
169
- };
170
- export declare const isWalkIn: (customer_id?: number | string) => boolean;
171
- export declare const getIsEdit: (state: any) => boolean;
172
- export {};
@@ -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;