@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,30 @@
1
+ import React from 'react';
2
+ interface EventData {
3
+ currentEventItem: any;
4
+ eventList: any[];
5
+ }
6
+ interface EventContextType {
7
+ eventData: EventData;
8
+ getEventList: {
9
+ run: (params: any) => void;
10
+ loading: boolean;
11
+ data?: EventData['eventList'];
12
+ };
13
+ getEventListByTitle: (title: string) => any;
14
+ selectEvent: (eventItem: any) => void;
15
+ }
16
+ interface EventProviderProps {
17
+ children: React.ReactNode;
18
+ }
19
+ export declare const EventContext: React.Context<EventContextType | undefined>;
20
+ export declare const EventProvider: React.FC<EventProviderProps>;
21
+ /**
22
+ * 使用步骤管理的Hook
23
+ * @throws {Error} 如果在StepProvider外部使用会抛出错误
24
+ * @returns {StepContextType} 步骤管理上下文
25
+ */
26
+ export declare const useEvent: () => EventContextType;
27
+ declare const _default: {
28
+ defaultState: EventData;
29
+ };
30
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const ContinueButton: () => JSX.Element;
3
+ export default ContinueButton;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
+ export default Total;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const CartItem: ({ onConfirm }: any) => JSX.Element;
4
+ export default CartItem;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
+ export default Cart;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Layout: () => JSX.Element;
4
+ export default Layout;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const CalendarDate: (props: any) => JSX.Element;
4
+ export default CalendarDate;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Footer: () => JSX.Element;
3
+ export default Footer;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Guest: () => JSX.Element;
3
+ export default Guest;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Header: () => JSX.Element;
4
+ export default Header;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Resource: () => JSX.Element;
3
+ export default Resource;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Services: () => JSX.Element;
3
+ export default Services;
@@ -0,0 +1,29 @@
1
+ import { ReactNode } from 'react';
2
+ interface AppointmentBookingContextType {
3
+ appointmentBooking: any;
4
+ times: any[];
5
+ resources: any[];
6
+ setTimes: (times: any[]) => void;
7
+ setResources: (lists: any[]) => void;
8
+ products: any;
9
+ carts: any[];
10
+ summary: any;
11
+ setProducts: (val: any) => void;
12
+ setCarts: (val: any[]) => void;
13
+ setSummary: (val: any) => void;
14
+ currentStep: any;
15
+ isLastStep?: boolean;
16
+ setIsLastStep: (val: boolean) => void;
17
+ setCurrentStep: (val: any) => void;
18
+ appHelper?: any;
19
+ symbolic?: any;
20
+ resourceOtherParams?: any;
21
+ setResourceOtherParams: (val: any) => void;
22
+ selectedTime: any;
23
+ setSelectedTime: (val: any) => void;
24
+ }
25
+ export declare const AppointmentBookingProvider: ({ children, }: {
26
+ children: ReactNode;
27
+ }) => JSX.Element;
28
+ export declare const useAppointmentBookingContext: () => AppointmentBookingContextType;
29
+ export {};
@@ -0,0 +1,76 @@
1
+ export declare const useAppointmentBooking: () => any;
2
+ export declare const useShopDiscount: () => any;
3
+ /**
4
+ * @title: 监听步骤发生变化
5
+ * @description:
6
+ * @return {*}
7
+ * @Author: WangHan
8
+ * @Date: 2025-04-15 11:11
9
+ */
10
+ export declare const useAppointmentBookingStep: () => {
11
+ getStepIndex: (type: string, skipNumber?: number) => any;
12
+ };
13
+ /**
14
+ * @title: 获取商品数据
15
+ * @description:
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-04-15 11:12
19
+ */
20
+ export declare const useAppointmentBookingProduct: () => void;
21
+ /**
22
+ * @title: 更新购物车数据
23
+ * @description:
24
+ * @return {*}
25
+ * @Author: WangHan
26
+ * @Date: 2025-04-15 11:12
27
+ */
28
+ export declare const useAppointmentBookingCart: () => void;
29
+ /**
30
+ * @title: 获取登录状态
31
+ * @description:
32
+ * @return {*}
33
+ * @Author: WangHan
34
+ * @Date: 2025-04-15 11:14
35
+ */
36
+ export declare const useAppointmentBookingLogin: () => {
37
+ isLogin: boolean;
38
+ openLoginModal: (params: {
39
+ callback: any;
40
+ }) => void;
41
+ };
42
+ /**
43
+ * @title: 获取账户
44
+ * @description:
45
+ * @return {*}
46
+ * @Author: WangHan
47
+ * @Date: 2025-04-15 11:15
48
+ */
49
+ export declare const useAppointmentBookingAccount: () => {
50
+ accountLists: any;
51
+ };
52
+ /**
53
+ * @title: 获取资源数据
54
+ * @description:
55
+ * @return {*}
56
+ * @Author: WangHan
57
+ * @Date: 2025-04-15 11:29
58
+ */
59
+ export declare const useAppointmentBookingResource: () => {
60
+ getResourceTimeSlot: (index?: number) => Promise<void>;
61
+ getResourceList: () => {
62
+ resources: any;
63
+ resourceCodes: any;
64
+ };
65
+ autoSelectAllProductResources: (index?: number) => Promise<any>;
66
+ };
67
+ /**
68
+ * @title: 是否跳过资源选择步骤
69
+ * @description:
70
+ * @return {*}
71
+ * @Author: WangHan
72
+ * @Date: 2025-04-21 11:47
73
+ */
74
+ export declare const useIsSkipResourceStep: () => {
75
+ checkSkipResourceStep: () => Promise<boolean>;
76
+ };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const AppointmentBooking: () => JSX.Element;
4
+ export default AppointmentBooking;
@@ -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;