@pisell/private-materials 3.2.37 → 3.2.38

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 (79) 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 +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Event/index.d.ts +30 -0
  8. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +3 -0
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +3 -0
  12. package/es/components/appointmentBooking/components/Content/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Guest/index.d.ts +3 -0
  16. package/es/components/appointmentBooking/components/Header/index.d.ts +4 -0
  17. package/es/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  18. package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
  19. package/es/components/appointmentBooking/context.d.ts +29 -0
  20. package/es/components/appointmentBooking/hooks.d.ts +76 -0
  21. package/es/components/appointmentBooking/index.d.ts +4 -0
  22. package/es/components/appointmentBooking/locales.d.ts +297 -0
  23. package/es/components/appointmentBooking/utils.d.ts +86 -0
  24. package/es/components/booking/components/footer/index.d.ts +12 -0
  25. package/es/components/booking/components/voucher/index.d.ts +3 -0
  26. package/es/components/booking/info/index.d.ts +3 -0
  27. package/es/components/booking/info2/service/addService/utils.d.ts +80 -0
  28. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  29. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  30. package/es/components/booking/info2/service/editService/index.d.ts +7 -0
  31. package/es/components/eftposPay/hooks.d.ts +1 -1
  32. package/es/components/eftposPay/store/index.d.ts +1 -1
  33. package/es/components/index.d.ts +17 -0
  34. package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  35. package/es/components/shoppingCart/status.d.ts +2 -0
  36. package/es/components/shoppingCart/type.d.ts +43 -0
  37. package/es/components/ticketBooking/data.d.ts +0 -0
  38. package/es/components/ticketBooking/index.d.ts +3 -0
  39. package/es/components/wallet/Detail/index.d.ts +42 -0
  40. package/es/components/wallet/components/WalletCard.d.ts +11 -0
  41. package/es/components/wallet/components/WalletCard.js +1 -1
  42. package/es/index.d.ts +42 -0
  43. package/lib/components/Sales/Event/index.d.ts +30 -0
  44. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +3 -0
  45. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  46. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
  47. package/lib/components/appointmentBooking/components/Cart/index.d.ts +3 -0
  48. package/lib/components/appointmentBooking/components/Content/index.d.ts +4 -0
  49. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  50. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  51. package/lib/components/appointmentBooking/components/Guest/index.d.ts +3 -0
  52. package/lib/components/appointmentBooking/components/Header/index.d.ts +4 -0
  53. package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  54. package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
  55. package/lib/components/appointmentBooking/context.d.ts +29 -0
  56. package/lib/components/appointmentBooking/hooks.d.ts +76 -0
  57. package/lib/components/appointmentBooking/index.d.ts +4 -0
  58. package/lib/components/appointmentBooking/locales.d.ts +297 -0
  59. package/lib/components/appointmentBooking/utils.d.ts +86 -0
  60. package/lib/components/booking/components/footer/index.d.ts +12 -0
  61. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  62. package/lib/components/booking/info/index.d.ts +3 -0
  63. package/lib/components/booking/info2/service/addService/utils.d.ts +80 -0
  64. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  65. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  66. package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
  67. package/lib/components/eftposPay/hooks.d.ts +1 -1
  68. package/lib/components/eftposPay/store/index.d.ts +1 -1
  69. package/lib/components/index.d.ts +17 -0
  70. package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  71. package/lib/components/shoppingCart/status.d.ts +2 -0
  72. package/lib/components/shoppingCart/type.d.ts +43 -0
  73. package/lib/components/ticketBooking/data.d.ts +0 -0
  74. package/lib/components/ticketBooking/index.d.ts +3 -0
  75. package/lib/components/wallet/Detail/index.d.ts +42 -0
  76. package/lib/components/wallet/components/WalletCard.d.ts +11 -0
  77. package/lib/components/wallet/components/WalletCard.js +1 -1
  78. package/lib/index.d.ts +42 -0
  79. package/package.json +4 -4
@@ -0,0 +1,297 @@
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.event.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.time': string;
74
+ 'pisell2.appointment.service.title': (val: number) => string;
75
+ 'pisell2.appointment.add.guest': string;
76
+ 'pisell2.appointment.edit.service': string;
77
+ 'pisell2.appointment.remove.guest': string;
78
+ 'pisell2.appointment.no.available.service': string;
79
+ 'pisell2.appointment.max.guest': string;
80
+ 'pisell2.appointment.no.available.time': string;
81
+ 'pisell2.appointment.monday': string;
82
+ 'pisell2.appointment.tuesday': string;
83
+ 'pisell2.appointment.wednesday': string;
84
+ 'pisell2.appointment.thursday': string;
85
+ 'pisell2.appointment.friday': string;
86
+ 'pisell2.appointment.saturday': string;
87
+ 'pisell2.appointment.sunday': string;
88
+ 'pisell2.appointment.any.professional': string;
89
+ 'pisell2.appointment.for.maximum.availability': string;
90
+ 'pisell2.text.apply': string;
91
+ 'pisell2.text.goodpass': string;
92
+ 'pisell2.text.goodpass.product-vouchers': string;
93
+ 'pisell2.text.goodpass.view-more': string;
94
+ 'pisell2.text.goodpass.code': string;
95
+ 'pisell2.text.goodpass.enter-code': string;
96
+ 'pisell2.text.goodpass.code-invalid': string;
97
+ 'pisell2.text.goodpass.login': string;
98
+ 'pisell2.text.goodpass.login-tip': string;
99
+ };
100
+ 'zh-CN': {
101
+ 'pisell2.event.calendar.limit.unavailable': string;
102
+ 'pisell2.event.calendar.limit.sold.out': string;
103
+ 'pisell2.event.calendar.limit.call.to.book': string;
104
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
105
+ 'pisell2.event.calendar.limit.lots.of.space': string;
106
+ 'pisell2.event.calendar.booking-closed': string;
107
+ 'pisell2.event.calendar.call-to-book': string;
108
+ 'pisell2.event.calendar.email-to-book': string;
109
+ 'pisell2.event.close.title': string;
110
+ 'pisell2.event.close.tip': string;
111
+ 'pisell2.event.close.continue': string;
112
+ 'pisell2.event.close.exit': string;
113
+ 'pisell2.event.step': (step: number) => string;
114
+ 'pisell2.event.select.category': (val: string) => string;
115
+ 'pisell2.event.select.event': string;
116
+ 'pisell2.event.select.campus': (val: string) => string;
117
+ 'pisell2.event.cart': string;
118
+ 'pisell2.event.total': string;
119
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
120
+ 'pisell2.event.continue': string;
121
+ 'pisell2.event.details': string;
122
+ 'pisell2.event.introduction': string;
123
+ 'pisell2.event.schedule': string;
124
+ 'pisell2.event.teacher': string;
125
+ 'pisell2.event.campus': string;
126
+ 'pisell2.event.resource': string;
127
+ 'pisell2.event.booking.options': string;
128
+ 'pisell2.event.add.to.cart': string;
129
+ 'pisell2.event.description': string;
130
+ 'pisell2.event.view.more': string;
131
+ 'pisell2.event.view.less': string;
132
+ 'pisell2.event.holder.modal.title': string;
133
+ 'pisell2.event.confirm': string;
134
+ 'pisell2.event.confirm.information': string;
135
+ 'pisell2.event.confirm.information.tip': string;
136
+ 'pisell2.event.confirm.information.other': string;
137
+ 'pisell2.event.add.others': string;
138
+ 'pisell2.event.checkout': string;
139
+ 'pisell2.event.edit.event': string;
140
+ 'pisell2.event.remove': string;
141
+ 'pisell2.event.option': string;
142
+ 'pisell2.event.order.items.error.title': string;
143
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
144
+ 'pisell2.event.order.items.error.proceed': string;
145
+ 'pisell2.event.order.items.error.return': string;
146
+ 'pisell2.event.order.items.error.back': string;
147
+ 'pisell2.event.order.items.error.continue': string;
148
+ 'pisell2.event.order.items.error.all.tip': string;
149
+ 'pisell2.event.remove.title': string;
150
+ 'pisell2.event.remove.tip': string;
151
+ 'pisell2.event.remove.cancel': string;
152
+ 'pisell2.event.create': string;
153
+ 'pisell2.event.search': string;
154
+ 'pisell2.event.empty.service': string;
155
+ 'pisell2.event.title': (val: number) => string;
156
+ 'pisell2.event.create.form': string;
157
+ 'pisell2.event.empty.event': string;
158
+ 'pisell2.event.error.holder': string;
159
+ 'pisell2.event.price.from': string;
160
+ 'pisell2.event.empty.holder.title': string;
161
+ 'pisell2.event.empty.holder.tip': string;
162
+ 'pisell2.event.empty.holder.continue.tip': string;
163
+ 'pisell2.event.empty.holder.go.back': string;
164
+ 'pisell2.event.empty.holder.continue.anyway': string;
165
+ 'pisell2.event.event.full.title': string;
166
+ 'pisell2.event.event.full.tip': string;
167
+ 'pisell2.event.event.full.ok': string;
168
+ 'pisell2.event.capacity.limit.reached.title': string;
169
+ 'pisell2.event.capacity.limit.reached.tip': string;
170
+ 'pisell2.appointment.booking.empty.service': string;
171
+ 'pisell2.appointment.booking.empty.time': string;
172
+ 'pisell2.appointment.service.title': (val: number) => string;
173
+ 'pisell2.appointment.add.guest': string;
174
+ 'pisell2.appointment.edit.service': string;
175
+ 'pisell2.appointment.remove.guest': string;
176
+ 'pisell2.appointment.no.available.service': string;
177
+ 'pisell2.appointment.max.guest': string;
178
+ 'pisell2.appointment.no.available.time': string;
179
+ 'pisell2.appointment.monday': string;
180
+ 'pisell2.appointment.tuesday': string;
181
+ 'pisell2.appointment.wednesday': string;
182
+ 'pisell2.appointment.thursday': string;
183
+ 'pisell2.appointment.friday': string;
184
+ 'pisell2.appointment.saturday': string;
185
+ 'pisell2.appointment.sunday': string;
186
+ 'pisell2.appointment.any.professional': string;
187
+ 'pisell2.appointment.for.maximum.availability': string;
188
+ 'pisell2.text.apply': string;
189
+ 'pisell2.text.goodpass': string;
190
+ 'pisell2.text.goodpass.product-vouchers': string;
191
+ 'pisell2.text.goodpass.view-more': string;
192
+ 'pisell2.text.goodpass.code': string;
193
+ 'pisell2.text.goodpass.enter-code': string;
194
+ 'pisell2.text.goodpass.code-invalid': string;
195
+ 'pisell2.text.goodpass.login': string;
196
+ 'pisell2.text.goodpass.login-tip': string;
197
+ };
198
+ 'zh-HK': {
199
+ 'pisell2.event.calendar.limit.unavailable': string;
200
+ 'pisell2.event.calendar.limit.sold.out': string;
201
+ 'pisell2.event.calendar.limit.call.to.book': string;
202
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
203
+ 'pisell2.event.calendar.limit.lots.of.space': string;
204
+ 'pisell2.event.calendar.booking-closed': string;
205
+ 'pisell2.event.calendar.call-to-book': string;
206
+ 'pisell2.event.calendar.email-to-book': string;
207
+ 'pisell2.event.close.title': string;
208
+ 'pisell2.event.close.tip': string;
209
+ 'pisell2.event.close.continue': string;
210
+ 'pisell2.event.close.exit': string;
211
+ 'pisell2.event.step': (step: number) => string;
212
+ 'pisell2.event.select.category': (val: string) => string;
213
+ 'pisell2.event.select.event': string;
214
+ 'pisell2.event.select.campus': (val: string) => string;
215
+ 'pisell2.event.cart': string;
216
+ 'pisell2.event.total': string;
217
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
218
+ 'pisell2.event.continue': string;
219
+ 'pisell2.event.details': string;
220
+ 'pisell2.event.introduction': string;
221
+ 'pisell2.event.schedule': string;
222
+ 'pisell2.event.teacher': string;
223
+ 'pisell2.event.campus': string;
224
+ 'pisell2.event.resource': string;
225
+ 'pisell2.event.booking.options': string;
226
+ 'pisell2.event.add.to.cart': string;
227
+ 'pisell2.event.description': string;
228
+ 'pisell2.event.view.more': string;
229
+ 'pisell2.event.view.less': string;
230
+ 'pisell2.event.holder.modal.title': string;
231
+ 'pisell2.event.confirm': string;
232
+ 'pisell2.event.confirm.information': string;
233
+ 'pisell2.event.confirm.information.tip': string;
234
+ 'pisell2.event.confirm.information.other': string;
235
+ 'pisell2.event.add.others': string;
236
+ 'pisell2.event.checkout': string;
237
+ 'pisell2.event.edit.event': string;
238
+ 'pisell2.event.remove': string;
239
+ 'pisell2.event.option': string;
240
+ 'pisell2.event.order.items.error.title': string;
241
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
242
+ 'pisell2.event.order.items.error.proceed': string;
243
+ 'pisell2.event.order.items.error.return': string;
244
+ 'pisell2.event.order.items.error.back': string;
245
+ 'pisell2.event.order.items.error.continue': string;
246
+ 'pisell2.event.order.items.error.all.tip': string;
247
+ 'pisell2.event.remove.title': string;
248
+ 'pisell2.event.remove.tip': string;
249
+ 'pisell2.event.remove.cancel': string;
250
+ 'pisell2.event.create': string;
251
+ 'pisell2.event.search': string;
252
+ 'pisell2.event.empty.service': string;
253
+ 'pisell2.event.title': (val: number) => string;
254
+ 'pisell2.event.create.form': string;
255
+ 'pisell2.event.empty.event': string;
256
+ 'pisell2.event.error.holder': string;
257
+ 'pisell2.event.price.from': string;
258
+ 'pisell2.event.empty.holder.title': string;
259
+ 'pisell2.event.empty.holder.tip': string;
260
+ 'pisell2.event.empty.holder.continue.tip': string;
261
+ 'pisell2.event.empty.holder.go.back': string;
262
+ 'pisell2.event.empty.holder.continue.anyway': string;
263
+ 'pisell2.event.event.full.title': string;
264
+ 'pisell2.event.event.full.tip': string;
265
+ 'pisell2.event.event.full.ok': string;
266
+ 'pisell2.event.capacity.limit.reached.title': string;
267
+ 'pisell2.event.capacity.limit.reached.tip': string;
268
+ 'pisell2.appointment.booking.empty.service': string;
269
+ 'pisell2.appointment.booking.empty.time': string;
270
+ 'pisell2.appointment.service.title': (val: number) => string;
271
+ 'pisell2.appointment.add.guest': string;
272
+ 'pisell2.appointment.edit.service': string;
273
+ 'pisell2.appointment.remove.guest': string;
274
+ 'pisell2.appointment.no.available.service': string;
275
+ 'pisell2.appointment.max.guest': string;
276
+ 'pisell2.appointment.no.available.time': string;
277
+ 'pisell2.appointment.monday': string;
278
+ 'pisell2.appointment.tuesday': string;
279
+ 'pisell2.appointment.wednesday': string;
280
+ 'pisell2.appointment.thursday': string;
281
+ 'pisell2.appointment.friday': string;
282
+ 'pisell2.appointment.saturday': string;
283
+ 'pisell2.appointment.sunday': string;
284
+ 'pisell2.appointment.any.professional': string;
285
+ 'pisell2.appointment.for.maximum.availability': string;
286
+ 'pisell2.text.apply': string;
287
+ 'pisell2.text.goodpass': string;
288
+ 'pisell2.text.goodpass.product-vouchers': string;
289
+ 'pisell2.text.goodpass.view-more': string;
290
+ 'pisell2.text.goodpass.code': string;
291
+ 'pisell2.text.goodpass.enter-code': string;
292
+ 'pisell2.text.goodpass.code-invalid': string;
293
+ 'pisell2.text.goodpass.login': string;
294
+ 'pisell2.text.goodpass.login-tip': string;
295
+ };
296
+ };
297
+ export default _default;
@@ -0,0 +1,86 @@
1
+ /**
2
+ * @title: 获取背景色
3
+ * @description:
4
+ * @param {string} colors
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-01-11 22:44
8
+ */
9
+ export declare const formatBackgroundColors: (colors: string[]) => string;
10
+ /**
11
+ * @title: 获取可用的 schedule
12
+ * @description:
13
+ * @param {any} schedule
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-03-05 18:05
17
+ */
18
+ export declare const getUsableSchedules: (schedule: any) => boolean;
19
+ /**
20
+ * @title: 获取 schedules 的所有颜色
21
+ * @description:
22
+ * @param {any} schedules
23
+ * @return {*}
24
+ * @Author: zhiwei.Wang
25
+ * @Date: 2024-03-05 18:02
26
+ */
27
+ export declare const getScheduleColors: (schedules: any[]) => string;
28
+ /**
29
+ * @title: 格式化日期头部日期显示
30
+ * @description:
31
+ * @param {string} dateString
32
+ * @return {*}
33
+ * @Author: WangHan
34
+ * @Date: 2025-01-12 11:55
35
+ */
36
+ export declare const formatMonthDisplay: (dateString: string) => string;
37
+ /**
38
+ * @title: 资源名称
39
+ * @description:
40
+ * @param {any} data
41
+ * @return {*}
42
+ * @Author: WangHan
43
+ * @Date: 2025-02-11 13:39
44
+ */
45
+ export declare const resourceTitle: (data: any) => any;
46
+ export declare const formatHolder: (data: any[]) => any[];
47
+ export declare const formatGuest: (data: any[], products: any) => any[];
48
+ export declare const formatCarts: (data: any[], resources: any[]) => any[];
49
+ /**
50
+ * @title: 对资源进行排序
51
+ * @description:
52
+ * @param {any} currentResourcesMap
53
+ * @param {any} resourceSort
54
+ * @return {*}
55
+ * @Author: WangHan
56
+ * @Date: 2025-04-14 11:16
57
+ */
58
+ export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
59
+ export declare const getMeAccount: (val: any[]) => any;
60
+ export declare const formatCustomer: (val: any) => {
61
+ id: any;
62
+ username: string;
63
+ };
64
+ export declare const formatCurrentUser: () => {
65
+ id: any;
66
+ username: string;
67
+ };
68
+ /**
69
+ * @title: 检查是否有空的账户
70
+ * @description:
71
+ * @param {any} carts
72
+ * @param {any} accounts
73
+ * @return {*}
74
+ * @Author: WangHan
75
+ * @Date: 2025-04-15 17:05
76
+ */
77
+ export declare const isEmptyGuest: (carts: any[], accounts: any[]) => boolean;
78
+ /**
79
+ * @title: 购物车中是否有空的资源数据
80
+ * @description:
81
+ * @param {any} carts
82
+ * @return {*}
83
+ * @Author: WangHan
84
+ * @Date: 2025-04-15 21:51
85
+ */
86
+ export declare const isEmptyCartsResourceId: (carts: any[]) => boolean;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ /**
4
+ * @title: 底部
5
+ * @description:
6
+ * @param {any} props
7
+ * @return {*}
8
+ * @Author: zhiwei.Wang
9
+ * @Date: 2024-01-30 16:51
10
+ */
11
+ declare const Footer: (props: any) => JSX.Element;
12
+ export default Footer;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const VoucherCard: (props: any) => JSX.Element | null;
3
+ export default VoucherCard;
@@ -0,0 +1,3 @@
1
+ import { InfoProps } from './main';
2
+ declare const APP: (props: InfoProps) => JSX.Element;
3
+ export default APP;
@@ -0,0 +1,80 @@
1
+ import dayjs from 'dayjs';
2
+ export declare const getUsableTime: (cacheItem: any) => any;
3
+ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
4
+ startDate: dayjs.Dayjs;
5
+ usableTime: any;
6
+ duration: string | number | {
7
+ type: string;
8
+ value: number;
9
+ };
10
+ locale: string;
11
+ slice: any;
12
+ selectProps: {
13
+ size: string;
14
+ };
15
+ };
16
+ /**
17
+ * @title: 灵活时长选项
18
+ * @description:
19
+ * @param {*} useMemo
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-02-23 10:10
23
+ */
24
+ export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
25
+ label: any;
26
+ value: any;
27
+ } | null;
28
+ export declare const getTimeSlices: ({ state }: any) => {
29
+ timeSlices: {
30
+ label: string;
31
+ value: string;
32
+ }[];
33
+ };
34
+ /**
35
+ * @title: 时间切片
36
+ * @description:
37
+ * @return {*}
38
+ * @Author: zhiwei.Wang
39
+ * @Date: 2024-01-09 13:37
40
+ */
41
+ export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
42
+ timeSlices: {
43
+ label: string;
44
+ value: string;
45
+ }[];
46
+ durationSlicesBasedOnTime: {
47
+ label: string;
48
+ value: number;
49
+ }[];
50
+ };
51
+ /**
52
+ * @title: 获取资源列表
53
+ * @description:
54
+ * @return {*}
55
+ * @Author: zhiwei.Wang
56
+ * @Date: 2024-01-09 13:38
57
+ */
58
+ export declare const formatResources: ({ cacheItem, resourcesOrigin }: any) => {
59
+ list: any[];
60
+ maps: any;
61
+ };
62
+ export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
63
+ /**
64
+ * @title: 设置默认容量
65
+ * @description:
66
+ * @param {any} param1
67
+ * @return {*}
68
+ * @Author: zhiwei.Wang
69
+ * @Date: 2024-09-19 20:26
70
+ */
71
+ export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
72
+ /**
73
+ * @title: 预生成服务的 extend
74
+ * @description:
75
+ * @param {any} param1
76
+ * @return {*}
77
+ * @Author: zhiwei.Wang
78
+ * @Date: 2024-06-01 13:25
79
+ */
80
+ export declare const getProductExtend: ({ cacheItem, state }: any) => any;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import '../../../info/service/addTimeModal/index.less';
3
+ declare const AddTimeModal: () => JSX.Element;
4
+ export default AddTimeModal;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from 'antd';
3
+ interface MaxLengthSelectProps<T> extends SelectProps<T> {
4
+ maxLength: number;
5
+ }
6
+ declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface EditServiceRef {
4
+ init: (cacheItem?: any) => void;
5
+ }
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "payo" | "stripe">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -297,7 +297,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "tyro" | "windcave" | "payo" | "stripe" | undefined;
300
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | undefined;
301
301
  action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
@@ -0,0 +1,17 @@
1
+ import Login from './login';
2
+ import BookingInfo from './booking/info/index';
3
+ import Booking from './booking';
4
+ import BookingNotes from './booking/notes';
5
+ import BookingAddons from './booking/addons';
6
+ import BookingForms from './booking/forms';
7
+ import Schedules from './schedules';
8
+ import ProductExtension from './productExtension';
9
+ import RuleSetting from './ruleSetting';
10
+ import TaxSelect from './taxSelect';
11
+ import ToCPay from './pay/toC';
12
+ import Wallet from './wallet';
13
+ import WalletList from './walletList';
14
+ import WorkspaceListDetail from './workSpaceListDetail/';
15
+ import WorkspaceList from './workSpaceList';
16
+ import PisellSelectCustomerModal from './pisellSelectCustomerModal';
17
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, };
@@ -0,0 +1,3 @@
1
+ import { ProductProps } from '../../type';
2
+ declare const Product: (props: ProductProps) => JSX.Element;
3
+ export default Product;
@@ -0,0 +1,2 @@
1
+ import { shoppingCartProps } from './type';
2
+ export declare const defaultData: shoppingCartProps;
@@ -0,0 +1,43 @@
1
+ import { CollapseProps } from 'antd';
2
+ export interface productProps {
3
+ hideAddBtn?: boolean;
4
+ isShowNote?: boolean;
5
+ isShowPackageNote?: boolean;
6
+ products?: any[];
7
+ holders?: any[];
8
+ isEdit?: boolean;
9
+ disabledEdit?: boolean;
10
+ isShowChangeResource?: boolean;
11
+ isShowDelete?: boolean;
12
+ }
13
+ export interface shoppingCartProps {
14
+ isOpenGroup?: boolean;
15
+ carts?: any[];
16
+ platform?: 'shop' | 'h5';
17
+ emptyText?: string;
18
+ activeKey?: string[] | number[];
19
+ defaultActiveKey?: string[] | number[];
20
+ className?: string;
21
+ onCard?: (e: any) => void;
22
+ onChange?: (items: any, type?: string, other?: any) => void;
23
+ onAddProduct?: (e?: any) => void;
24
+ onActiveKey?: (e: any) => void;
25
+ isShowImage?: boolean;
26
+ isShowHolder?: boolean;
27
+ isShowDelete?: boolean;
28
+ collapseParams?: CollapseProps;
29
+ productParams?: productProps;
30
+ isHideClearCart?: boolean;
31
+ }
32
+ /**
33
+ * @title: 商品卡片
34
+ * @description:
35
+ * @return {*}
36
+ * @Author: WangHan
37
+ * @Date: 2024-11-29 09:52
38
+ */
39
+ export interface ProductProps {
40
+ id?: any;
41
+ lists: any[];
42
+ isAdd?: boolean;
43
+ }
File without changes
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TicketBooking: () => JSX.Element;
3
+ export default TicketBooking;
@@ -0,0 +1,42 @@
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;
@@ -0,0 +1,11 @@
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;