@pisell/private-materials 3.3.19 → 3.3.21
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.css +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +3 -3
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +3 -2
- package/es/components/appointmentBooking/components/Content/index.js +19 -22
- package/es/components/appointmentBooking/components/Date/index.js +66 -42
- package/es/components/appointmentBooking/components/Date/state.js +5 -0
- package/es/components/appointmentBooking/components/Form/index.js +12 -4
- package/es/components/appointmentBooking/components/Guest/index.js +4 -2
- package/es/components/appointmentBooking/components/Resource/index.js +7 -4
- package/es/components/appointmentBooking/components/Services/index.js +3 -2
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +4 -2
- package/es/components/appointmentBooking/context.js +63 -6
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +35 -11
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.less +9 -0
- package/es/components/appointmentBooking/hooks.js +48 -8
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/appointmentBooking/locales.js +6 -0
- package/es/components/appointmentBooking/utils.js +10 -4
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/footer/utils.js +1 -1
- package/es/components/booking/deposit/index.js +1 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +1 -0
- package/lib/components/appointmentBooking/components/Content/index.js +11 -11
- package/lib/components/appointmentBooking/components/Date/index.js +29 -12
- package/lib/components/appointmentBooking/components/Date/state.js +7 -0
- package/lib/components/appointmentBooking/components/Form/index.js +6 -3
- package/lib/components/appointmentBooking/components/Guest/index.js +2 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +6 -4
- package/lib/components/appointmentBooking/components/Services/index.js +2 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +2 -1
- package/lib/components/appointmentBooking/context.js +28 -7
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +39 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.less +9 -0
- package/lib/components/appointmentBooking/hooks.js +29 -5
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/appointmentBooking/locales.js +6 -0
- package/lib/components/appointmentBooking/utils.js +8 -4
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.js +1 -1
- package/lib/components/booking/deposit/index.js +1 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/package.json +2 -2
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Guest/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
- package/es/components/appointmentBooking/context.d.ts +0 -33
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -106
- package/es/components/appointmentBooking/locales.d.ts +0 -348
- package/es/components/appointmentBooking/utils.d.ts +0 -114
- package/es/components/booking/deposit/index.d.ts +0 -3
- package/es/components/eftposPay/payo/config.d.ts +0 -12
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
- package/lib/components/appointmentBooking/context.d.ts +0 -33
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -106
- package/lib/components/appointmentBooking/locales.d.ts +0 -348
- package/lib/components/appointmentBooking/utils.d.ts +0 -114
- package/lib/components/booking/deposit/index.d.ts +0 -3
- package/lib/components/eftposPay/payo/config.d.ts +0 -12
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
|
@@ -1,106 +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
|
-
updateStep: (key: string, step: any) => void;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @title: 获取商品数据
|
|
20
|
-
* @description:
|
|
21
|
-
* @return {*}
|
|
22
|
-
* @Author: WangHan
|
|
23
|
-
* @Date: 2025-04-15 11:12
|
|
24
|
-
*/
|
|
25
|
-
export declare const useAppointmentBookingProduct: () => {
|
|
26
|
-
checkProductType: (productId: number) => Promise<any>;
|
|
27
|
-
getProducts: () => Promise<any>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @title: 更新购物车数据
|
|
31
|
-
* @description:
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: WangHan
|
|
34
|
-
* @Date: 2025-04-15 11:12
|
|
35
|
-
*/
|
|
36
|
-
export declare const useAppointmentBookingCart: () => void;
|
|
37
|
-
/**
|
|
38
|
-
* @title: 获取登录状态
|
|
39
|
-
* @description:
|
|
40
|
-
* @return {*}
|
|
41
|
-
* @Author: WangHan
|
|
42
|
-
* @Date: 2025-04-15 11:14
|
|
43
|
-
*/
|
|
44
|
-
export declare const useAppointmentBookingLogin: () => {
|
|
45
|
-
isLogin: boolean;
|
|
46
|
-
openLoginModal: (params: {
|
|
47
|
-
callback: any;
|
|
48
|
-
}) => void;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* @title: 获取账户
|
|
52
|
-
* @description:
|
|
53
|
-
* @return {*}
|
|
54
|
-
* @Author: WangHan
|
|
55
|
-
* @Date: 2025-04-15 11:15
|
|
56
|
-
*/
|
|
57
|
-
export declare const useAppointmentBookingAccount: () => {
|
|
58
|
-
accountLists: any;
|
|
59
|
-
getHolders: () => Promise<any>;
|
|
60
|
-
form_id: any;
|
|
61
|
-
addAccount: (val: any, type?: string) => Promise<any>;
|
|
62
|
-
checkAccount: (type: any) => any;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* @title: 获取资源数据
|
|
66
|
-
* @description:
|
|
67
|
-
* @return {*}
|
|
68
|
-
* @Author: WangHan
|
|
69
|
-
* @Date: 2025-04-15 11:29
|
|
70
|
-
*/
|
|
71
|
-
export declare const useAppointmentBookingResource: () => {
|
|
72
|
-
getResourceTimeSlot: (index?: number) => Promise<void>;
|
|
73
|
-
getResourceList: () => {
|
|
74
|
-
resources: any;
|
|
75
|
-
resourceCodes: any;
|
|
76
|
-
};
|
|
77
|
-
autoSelectAllProductResources: (index?: number) => Promise<any>;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* @title: 是否跳过资源选择步骤
|
|
81
|
-
* @description:
|
|
82
|
-
* @return {*}
|
|
83
|
-
* @Author: WangHan
|
|
84
|
-
* @Date: 2025-04-21 11:47
|
|
85
|
-
*/
|
|
86
|
-
export declare const useIsSkipResourceStep: () => {
|
|
87
|
-
checkSkipResourceStep: (isSkipUpdateFormStep?: boolean) => Promise<boolean>;
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* @title: 获取预约配置
|
|
91
|
-
* @description:
|
|
92
|
-
* @return {*}
|
|
93
|
-
* @Author: WangHan
|
|
94
|
-
* @Date: 2025-04-24 18:15
|
|
95
|
-
*/
|
|
96
|
-
export declare const useAppointmentBookingSetting: () => {
|
|
97
|
-
isDateSelectedFirst: boolean;
|
|
98
|
-
isFormSubject: boolean;
|
|
99
|
-
customPageId: any;
|
|
100
|
-
channel: any;
|
|
101
|
-
getLoadAllSchedule: () => void;
|
|
102
|
-
bookingSubject: any;
|
|
103
|
-
setOtherData: (key: string, val: any) => any;
|
|
104
|
-
getOtherData: (key: string) => any;
|
|
105
|
-
formName: any;
|
|
106
|
-
};
|
|
@@ -1,348 +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.unuse.date': string;
|
|
106
|
-
'pisell2.appointment.add-guests': string;
|
|
107
|
-
'pisell2.text.apply': string;
|
|
108
|
-
'pisell2.text.goodpass': string;
|
|
109
|
-
'pisell2.text.goodpass.product-vouchers': string;
|
|
110
|
-
'pisell2.text.goodpass.view-more': string;
|
|
111
|
-
'pisell2.text.goodpass.code': string;
|
|
112
|
-
'pisell2.text.goodpass.enter-code': string;
|
|
113
|
-
'pisell2.text.goodpass.code-invalid': string;
|
|
114
|
-
'pisell2.text.goodpass.login': string;
|
|
115
|
-
'pisell2.text.goodpass.login-tip': string;
|
|
116
|
-
};
|
|
117
|
-
'zh-CN': {
|
|
118
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
119
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
120
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
121
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
122
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
123
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
124
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
125
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
126
|
-
'pisell2.event.close.title': string;
|
|
127
|
-
'pisell2.event.close.tip': string;
|
|
128
|
-
'pisell2.event.close.continue': string;
|
|
129
|
-
'pisell2.event.close.exit': string;
|
|
130
|
-
'pisell2.appointment.step': (step: number) => string;
|
|
131
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
132
|
-
'pisell2.event.select.event': string;
|
|
133
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
134
|
-
'pisell2.event.cart': string;
|
|
135
|
-
'pisell2.event.total': string;
|
|
136
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
137
|
-
'pisell2.event.continue': string;
|
|
138
|
-
'pisell2.event.details': string;
|
|
139
|
-
'pisell2.event.introduction': string;
|
|
140
|
-
'pisell2.event.schedule': string;
|
|
141
|
-
'pisell2.event.teacher': string;
|
|
142
|
-
'pisell2.event.campus': string;
|
|
143
|
-
'pisell2.event.resource': string;
|
|
144
|
-
'pisell2.event.booking.options': string;
|
|
145
|
-
'pisell2.event.add.to.cart': string;
|
|
146
|
-
'pisell2.event.description': string;
|
|
147
|
-
'pisell2.event.view.more': string;
|
|
148
|
-
'pisell2.event.view.less': string;
|
|
149
|
-
'pisell2.event.holder.modal.title': string;
|
|
150
|
-
'pisell2.event.confirm': string;
|
|
151
|
-
'pisell2.event.confirm.information': string;
|
|
152
|
-
'pisell2.event.confirm.information.tip': string;
|
|
153
|
-
'pisell2.event.confirm.information.other': string;
|
|
154
|
-
'pisell2.event.add.others': string;
|
|
155
|
-
'pisell2.event.checkout': string;
|
|
156
|
-
'pisell2.event.edit.event': string;
|
|
157
|
-
'pisell2.event.remove': string;
|
|
158
|
-
'pisell2.event.option': string;
|
|
159
|
-
'pisell2.event.order.items.error.title': string;
|
|
160
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
161
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
162
|
-
'pisell2.event.order.items.error.return': string;
|
|
163
|
-
'pisell2.event.order.items.error.back': string;
|
|
164
|
-
'pisell2.event.order.items.error.continue': string;
|
|
165
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
166
|
-
'pisell2.event.remove.title': string;
|
|
167
|
-
'pisell2.event.remove.tip': string;
|
|
168
|
-
'pisell2.event.remove.cancel': string;
|
|
169
|
-
'pisell2.event.create': string;
|
|
170
|
-
'pisell2.event.search': string;
|
|
171
|
-
'pisell2.event.empty.service': string;
|
|
172
|
-
'pisell2.event.title': (val: number) => string;
|
|
173
|
-
'pisell2.event.create.form': string;
|
|
174
|
-
'pisell2.event.empty.event': string;
|
|
175
|
-
'pisell2.event.error.holder': string;
|
|
176
|
-
'pisell2.event.price.from': string;
|
|
177
|
-
'pisell2.event.empty.holder.title': string;
|
|
178
|
-
'pisell2.event.empty.holder.tip': string;
|
|
179
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
180
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
181
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
182
|
-
'pisell2.event.event.full.title': string;
|
|
183
|
-
'pisell2.event.event.full.tip': string;
|
|
184
|
-
'pisell2.event.event.full.ok': string;
|
|
185
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
186
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
187
|
-
'pisell2.appointment.booking.empty.service': string;
|
|
188
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
189
|
-
'pisell2.appointment.booking.empty.time': string;
|
|
190
|
-
'pisell2.appointment.service.title': (val: number) => string;
|
|
191
|
-
'pisell2.appointment.add.guest': string;
|
|
192
|
-
'pisell2.appointment.edit.service': string;
|
|
193
|
-
'pisell2.appointment.remove.guest': string;
|
|
194
|
-
'pisell2.appointment.no.available.service': string;
|
|
195
|
-
'pisell2.appointment.max.guest': string;
|
|
196
|
-
'pisell2.appointment.no.available.time': string;
|
|
197
|
-
'pisell2.appointment.monday': string;
|
|
198
|
-
'pisell2.appointment.tuesday': string;
|
|
199
|
-
'pisell2.appointment.wednesday': string;
|
|
200
|
-
'pisell2.appointment.thursday': string;
|
|
201
|
-
'pisell2.appointment.friday': string;
|
|
202
|
-
'pisell2.appointment.saturday': string;
|
|
203
|
-
'pisell2.appointment.sunday': string;
|
|
204
|
-
'pisell2.appointment.any.professional': string;
|
|
205
|
-
'pisell2.appointment.for.maximum.availability': string;
|
|
206
|
-
'pisell2.appointment.deposit': string;
|
|
207
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
208
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
209
|
-
'pisell2.appointment.deposit.and': string;
|
|
210
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
211
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
212
|
-
'pisell2.appointment.deposit.close': string;
|
|
213
|
-
'pisell2.appointment.tips': string;
|
|
214
|
-
'pisell2.appointment.tips.content': string;
|
|
215
|
-
'pisell2.appointment.fill-form': string;
|
|
216
|
-
'pisell2.appointment.select.holder': (val: string) => string;
|
|
217
|
-
'pisell2.appointment.select.time': string;
|
|
218
|
-
'pisell2.appointment.unselect.time': string;
|
|
219
|
-
'pisell2.appointment.unselect.date': string;
|
|
220
|
-
'pisell2.appointment.unuse.date': string;
|
|
221
|
-
'pisell2.appointment.add-guests': string;
|
|
222
|
-
'pisell2.text.apply': string;
|
|
223
|
-
'pisell2.text.goodpass': string;
|
|
224
|
-
'pisell2.text.goodpass.product-vouchers': string;
|
|
225
|
-
'pisell2.text.goodpass.view-more': string;
|
|
226
|
-
'pisell2.text.goodpass.code': string;
|
|
227
|
-
'pisell2.text.goodpass.enter-code': string;
|
|
228
|
-
'pisell2.text.goodpass.code-invalid': string;
|
|
229
|
-
'pisell2.text.goodpass.login': string;
|
|
230
|
-
'pisell2.text.goodpass.login-tip': string;
|
|
231
|
-
};
|
|
232
|
-
'zh-HK': {
|
|
233
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
234
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
235
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
236
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
237
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
238
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
239
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
240
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
241
|
-
'pisell2.event.close.title': string;
|
|
242
|
-
'pisell2.event.close.tip': string;
|
|
243
|
-
'pisell2.event.close.continue': string;
|
|
244
|
-
'pisell2.event.close.exit': string;
|
|
245
|
-
'pisell2.appointment.step': (step: number) => string;
|
|
246
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
247
|
-
'pisell2.event.select.event': string;
|
|
248
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
249
|
-
'pisell2.event.cart': string;
|
|
250
|
-
'pisell2.event.total': string;
|
|
251
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
252
|
-
'pisell2.event.continue': string;
|
|
253
|
-
'pisell2.event.details': string;
|
|
254
|
-
'pisell2.event.introduction': string;
|
|
255
|
-
'pisell2.event.schedule': string;
|
|
256
|
-
'pisell2.event.teacher': string;
|
|
257
|
-
'pisell2.event.campus': string;
|
|
258
|
-
'pisell2.event.resource': string;
|
|
259
|
-
'pisell2.event.booking.options': string;
|
|
260
|
-
'pisell2.event.add.to.cart': string;
|
|
261
|
-
'pisell2.event.description': string;
|
|
262
|
-
'pisell2.event.view.more': string;
|
|
263
|
-
'pisell2.event.view.less': string;
|
|
264
|
-
'pisell2.event.holder.modal.title': string;
|
|
265
|
-
'pisell2.event.confirm': string;
|
|
266
|
-
'pisell2.event.confirm.information': string;
|
|
267
|
-
'pisell2.event.confirm.information.tip': string;
|
|
268
|
-
'pisell2.event.confirm.information.other': string;
|
|
269
|
-
'pisell2.event.add.others': string;
|
|
270
|
-
'pisell2.event.checkout': string;
|
|
271
|
-
'pisell2.event.edit.event': string;
|
|
272
|
-
'pisell2.event.remove': string;
|
|
273
|
-
'pisell2.event.option': string;
|
|
274
|
-
'pisell2.event.order.items.error.title': string;
|
|
275
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
276
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
277
|
-
'pisell2.event.order.items.error.return': string;
|
|
278
|
-
'pisell2.event.order.items.error.back': string;
|
|
279
|
-
'pisell2.event.order.items.error.continue': string;
|
|
280
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
281
|
-
'pisell2.event.remove.title': string;
|
|
282
|
-
'pisell2.event.remove.tip': string;
|
|
283
|
-
'pisell2.event.remove.cancel': string;
|
|
284
|
-
'pisell2.event.create': string;
|
|
285
|
-
'pisell2.event.search': string;
|
|
286
|
-
'pisell2.event.empty.service': string;
|
|
287
|
-
'pisell2.event.title': (val: number) => string;
|
|
288
|
-
'pisell2.event.create.form': string;
|
|
289
|
-
'pisell2.event.empty.event': string;
|
|
290
|
-
'pisell2.event.error.holder': string;
|
|
291
|
-
'pisell2.event.price.from': string;
|
|
292
|
-
'pisell2.event.empty.holder.title': string;
|
|
293
|
-
'pisell2.event.empty.holder.tip': string;
|
|
294
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
295
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
296
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
297
|
-
'pisell2.event.event.full.title': string;
|
|
298
|
-
'pisell2.event.event.full.tip': string;
|
|
299
|
-
'pisell2.event.event.full.ok': string;
|
|
300
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
301
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
302
|
-
'pisell2.appointment.booking.empty.service': string;
|
|
303
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
304
|
-
'pisell2.appointment.booking.empty.time': string;
|
|
305
|
-
'pisell2.appointment.service.title': (val: number) => string;
|
|
306
|
-
'pisell2.appointment.add.guest': string;
|
|
307
|
-
'pisell2.appointment.edit.service': string;
|
|
308
|
-
'pisell2.appointment.remove.guest': string;
|
|
309
|
-
'pisell2.appointment.no.available.service': string;
|
|
310
|
-
'pisell2.appointment.max.guest': string;
|
|
311
|
-
'pisell2.appointment.no.available.time': string;
|
|
312
|
-
'pisell2.appointment.monday': string;
|
|
313
|
-
'pisell2.appointment.tuesday': string;
|
|
314
|
-
'pisell2.appointment.wednesday': string;
|
|
315
|
-
'pisell2.appointment.thursday': string;
|
|
316
|
-
'pisell2.appointment.friday': string;
|
|
317
|
-
'pisell2.appointment.saturday': string;
|
|
318
|
-
'pisell2.appointment.sunday': string;
|
|
319
|
-
'pisell2.appointment.any.professional': string;
|
|
320
|
-
'pisell2.appointment.for.maximum.availability': string;
|
|
321
|
-
'pisell2.appointment.deposit': string;
|
|
322
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
323
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
324
|
-
'pisell2.appointment.deposit.and': string;
|
|
325
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
326
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
327
|
-
'pisell2.appointment.deposit.close': string;
|
|
328
|
-
'pisell2.appointment.tips': string;
|
|
329
|
-
'pisell2.appointment.tips.content': string;
|
|
330
|
-
'pisell2.appointment.fill-form': string;
|
|
331
|
-
'pisell2.appointment.select.holder': (val: string) => string;
|
|
332
|
-
'pisell2.appointment.select.time': string;
|
|
333
|
-
'pisell2.appointment.unselect.time': string;
|
|
334
|
-
'pisell2.appointment.unselect.date': string;
|
|
335
|
-
'pisell2.appointment.unuse.date': string;
|
|
336
|
-
'pisell2.appointment.add-guests': string;
|
|
337
|
-
'pisell2.text.apply': string;
|
|
338
|
-
'pisell2.text.goodpass': string;
|
|
339
|
-
'pisell2.text.goodpass.product-vouchers': string;
|
|
340
|
-
'pisell2.text.goodpass.view-more': string;
|
|
341
|
-
'pisell2.text.goodpass.code': string;
|
|
342
|
-
'pisell2.text.goodpass.enter-code': string;
|
|
343
|
-
'pisell2.text.goodpass.code-invalid': string;
|
|
344
|
-
'pisell2.text.goodpass.login': string;
|
|
345
|
-
'pisell2.text.goodpass.login-tip': string;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
export default _default;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 格式化holder表数据
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} data
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2025-05-07 21:22
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatHolder: (data: any[]) => any[];
|
|
10
|
-
export declare const formatGuest: (data: any[], products: any) => any[];
|
|
11
|
-
/**
|
|
12
|
-
* @title: 格式化购物车中资源上挂接的表单数据
|
|
13
|
-
* @description:
|
|
14
|
-
* @param {any} data
|
|
15
|
-
* @param {any} resources
|
|
16
|
-
* @return {*}
|
|
17
|
-
* @Author: WangHan
|
|
18
|
-
* @Date: 2025-05-06 22:22
|
|
19
|
-
*/
|
|
20
|
-
export declare const formatCartsResources: (carts: any[], resources: any[]) => any[];
|
|
21
|
-
/**
|
|
22
|
-
* @title: 格式化购物车数据
|
|
23
|
-
* @description:
|
|
24
|
-
* @param {any} data
|
|
25
|
-
* @param {any} resources
|
|
26
|
-
* @param {any} accountLists
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: WangHan
|
|
29
|
-
* @Date: 2025-05-07 21:22
|
|
30
|
-
*/
|
|
31
|
-
export declare const formatCarts: (data: any[], resources: any[], accountLists?: any) => any[];
|
|
32
|
-
/**
|
|
33
|
-
* @title: 对资源进行排序
|
|
34
|
-
* @description:
|
|
35
|
-
* @param {any} currentResourcesMap
|
|
36
|
-
* @param {any} resourceSort
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: WangHan
|
|
39
|
-
* @Date: 2025-04-14 11:16
|
|
40
|
-
*/
|
|
41
|
-
export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
|
|
42
|
-
export declare const getMeAccount: (val: any[]) => any;
|
|
43
|
-
export declare const getCustomer: () => any;
|
|
44
|
-
export declare const formatCustomer: (val: any) => {
|
|
45
|
-
id: any;
|
|
46
|
-
username: string;
|
|
47
|
-
};
|
|
48
|
-
export declare const formatCurrentUser: () => {
|
|
49
|
-
id: any;
|
|
50
|
-
username: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* @title: 定金合并的标点符号
|
|
54
|
-
* @description:
|
|
55
|
-
* @return {*}
|
|
56
|
-
* @Author: WangHan
|
|
57
|
-
* @Date: 2025-04-21 17:52
|
|
58
|
-
*/
|
|
59
|
-
export declare const getPunctuationMark: (index: number, totalLength: number, isEn: boolean) => any;
|
|
60
|
-
/**
|
|
61
|
-
* @title: 判断当前选中的资源中是否有 resource_form_id 表单id,如果有表单则下一步是选择表单
|
|
62
|
-
* @description:
|
|
63
|
-
* @param {any} array
|
|
64
|
-
* @param {any} resources
|
|
65
|
-
* @return {*}
|
|
66
|
-
* @Author: WangHan
|
|
67
|
-
* @Date: 2025-04-25 19:05
|
|
68
|
-
*/
|
|
69
|
-
export declare const hasResourceFormId: (array: any[]) => boolean | undefined;
|
|
70
|
-
export declare const formatForms: (array: any[]) => ({
|
|
71
|
-
form_id: any;
|
|
72
|
-
policy_id: any;
|
|
73
|
-
id: any;
|
|
74
|
-
cart_id: any;
|
|
75
|
-
} | null)[];
|
|
76
|
-
/**
|
|
77
|
-
* @title: 打开表单
|
|
78
|
-
* @description:
|
|
79
|
-
* @param {string} title
|
|
80
|
-
* @param {any} callback
|
|
81
|
-
* @return {*}
|
|
82
|
-
* @Author: WangHan
|
|
83
|
-
* @Date: 2025-04-26 15:26
|
|
84
|
-
*/
|
|
85
|
-
export declare const openForm: ({ form_id, title, callback, utils }: any) => void;
|
|
86
|
-
/**
|
|
87
|
-
* @title: 更新数组
|
|
88
|
-
* @description:
|
|
89
|
-
* @return {*}
|
|
90
|
-
* @Author: WangHan
|
|
91
|
-
* @Date: 2025-04-26 18:13
|
|
92
|
-
*/
|
|
93
|
-
export declare function updateLists<T extends Record<string, any>>(list: T[], key: string, value: any, newData: Partial<T>): T[];
|
|
94
|
-
/**
|
|
95
|
-
* @title: 更新表单存储
|
|
96
|
-
* @description:
|
|
97
|
-
* @param {any} bookingForm
|
|
98
|
-
* @param {number} id
|
|
99
|
-
* @param {any} newData
|
|
100
|
-
* @return {*}
|
|
101
|
-
* @Author: WangHan
|
|
102
|
-
* @Date: 2025-04-27 17:27
|
|
103
|
-
*/
|
|
104
|
-
export declare const updateBookingFormStorage: (bookingForm: any, id: number, newData: any) => any;
|
|
105
|
-
export declare const Toast: (text: string) => void;
|
|
106
|
-
/**
|
|
107
|
-
* @title: 添加或移除表单步骤
|
|
108
|
-
* @description:
|
|
109
|
-
* @param {any} param1
|
|
110
|
-
* @return {*}
|
|
111
|
-
* @Author: WangHan
|
|
112
|
-
* @Date: 2025-05-06 21:51
|
|
113
|
-
*/
|
|
114
|
-
export declare const checkHasFormStep: ({ isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => true | undefined;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StatusEnum } from '../const';
|
|
2
|
-
export declare const POS: ({ api, onChange, }: {
|
|
3
|
-
api: {
|
|
4
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
5
|
-
};
|
|
6
|
-
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
|
7
|
-
[keys: string]: unknown;
|
|
8
|
-
} | undefined) => void;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
-
export declare const Action: ({ onChange }: {
|
|
11
|
-
onChange: any;
|
|
12
|
-
}) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PayStatus } from '../const';
|
|
2
|
-
/**
|
|
3
|
-
* @title: 循环查询 接口状态
|
|
4
|
-
* @Author: hongbing.wang
|
|
5
|
-
* @Date: 2024-08-20 13:29
|
|
6
|
-
*/
|
|
7
|
-
export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
|
|
8
|
-
[key: string]: unknown;
|
|
9
|
-
code: `${PayStatus}`;
|
|
10
|
-
}>, () => void];
|