@pisell/private-materials 3.3.97 → 3.3.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/eftposPay/payo/config.js +1 -1
- package/lib/components/eftposPay/payo/config.js +1 -1
- package/package.json +3 -3
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/Sales/Cart/utils.d.ts +0 -63
- package/es/components/Sales/Checkout/index.d.ts +0 -37
- package/es/components/Sales/Checkout/serve.d.ts +0 -15
- package/es/components/Sales/Checkout/utils.d.ts +0 -35
- package/es/components/Sales/Summary/index.d.ts +0 -35
- package/es/components/Sales/Summary/serve.d.ts +0 -1
- package/es/components/Sales/Summary/utils.d.ts +0 -51
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -9
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -3
- package/es/components/appointmentBooking/index.d.ts +0 -3
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/eftposPay/const.d.ts +0 -184
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/service.d.ts +0 -32
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/store/index.d.ts +0 -355
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
- package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/es/components/eventBooking/locales.d.ts +0 -246
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/locales.d.ts +0 -171
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/utils/index.d.ts +0 -23
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/Sales/Cart/utils.d.ts +0 -63
- package/lib/components/Sales/Checkout/index.d.ts +0 -37
- package/lib/components/Sales/Checkout/serve.d.ts +0 -15
- package/lib/components/Sales/Checkout/utils.d.ts +0 -35
- package/lib/components/Sales/Summary/index.d.ts +0 -35
- package/lib/components/Sales/Summary/serve.d.ts +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +0 -51
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -9
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -3
- package/lib/components/appointmentBooking/index.d.ts +0 -3
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/eftposPay/const.d.ts +0 -184
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/service.d.ts +0 -32
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/store/index.d.ts +0 -355
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/lib/components/eventBooking/locales.d.ts +0 -246
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/locales.d.ts +0 -171
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/utils/index.d.ts +0 -23
|
@@ -1,246 +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.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.event.schedule.item.expand': string;
|
|
73
|
-
'pisell2.event.schedule.item.collapse': string;
|
|
74
|
-
'pisell2.appointment.deposit': string;
|
|
75
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
76
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
77
|
-
'pisell2.appointment.deposit.and': string;
|
|
78
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
79
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
80
|
-
'pisell2.appointment.deposit.close': string;
|
|
81
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
82
|
-
};
|
|
83
|
-
'zh-CN': {
|
|
84
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
85
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
86
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
87
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
88
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
89
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
90
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
91
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
92
|
-
'pisell2.event.close.title': string;
|
|
93
|
-
'pisell2.event.close.tip': string;
|
|
94
|
-
'pisell2.event.close.continue': string;
|
|
95
|
-
'pisell2.event.close.exit': string;
|
|
96
|
-
'pisell2.event.step': (step: number) => string;
|
|
97
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
98
|
-
'pisell2.event.select.event': string;
|
|
99
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
100
|
-
'pisell2.event.cart': string;
|
|
101
|
-
'pisell2.event.total': string;
|
|
102
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
103
|
-
'pisell2.event.continue': string;
|
|
104
|
-
'pisell2.event.details': string;
|
|
105
|
-
'pisell2.event.introduction': string;
|
|
106
|
-
'pisell2.event.schedule': string;
|
|
107
|
-
'pisell2.event.teacher': string;
|
|
108
|
-
'pisell2.event.campus': string;
|
|
109
|
-
'pisell2.event.resource': string;
|
|
110
|
-
'pisell2.event.booking.options': string;
|
|
111
|
-
'pisell2.event.add.to.cart': string;
|
|
112
|
-
'pisell2.event.description': string;
|
|
113
|
-
'pisell2.event.view.more': string;
|
|
114
|
-
'pisell2.event.view.less': string;
|
|
115
|
-
'pisell2.event.holder.modal.title': string;
|
|
116
|
-
'pisell2.event.confirm': string;
|
|
117
|
-
'pisell2.event.confirm.information': string;
|
|
118
|
-
'pisell2.event.confirm.information.tip': string;
|
|
119
|
-
'pisell2.event.confirm.information.other': string;
|
|
120
|
-
'pisell2.event.add.others': string;
|
|
121
|
-
'pisell2.event.checkout': string;
|
|
122
|
-
'pisell2.event.edit.event': string;
|
|
123
|
-
'pisell2.event.remove': string;
|
|
124
|
-
'pisell2.event.option': string;
|
|
125
|
-
'pisell2.event.order.items.error.title': string;
|
|
126
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
127
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
128
|
-
'pisell2.event.order.items.error.return': string;
|
|
129
|
-
'pisell2.event.order.items.error.back': string;
|
|
130
|
-
'pisell2.event.order.items.error.continue': string;
|
|
131
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
132
|
-
'pisell2.event.remove.title': string;
|
|
133
|
-
'pisell2.event.remove.tip': string;
|
|
134
|
-
'pisell2.event.remove.cancel': string;
|
|
135
|
-
'pisell2.event.create': string;
|
|
136
|
-
'pisell2.event.search': string;
|
|
137
|
-
'pisell2.event.empty.service': string;
|
|
138
|
-
'pisell2.event.title': (val: number) => string;
|
|
139
|
-
'pisell2.event.create.form': string;
|
|
140
|
-
'pisell2.event.empty.event': string;
|
|
141
|
-
'pisell2.event.error.holder': string;
|
|
142
|
-
'pisell2.event.price.from': string;
|
|
143
|
-
'pisell2.event.empty.holder.title': string;
|
|
144
|
-
'pisell2.event.empty.holder.tip': string;
|
|
145
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
146
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
147
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
148
|
-
'pisell2.event.event.full.title': string;
|
|
149
|
-
'pisell2.event.event.full.tip': string;
|
|
150
|
-
'pisell2.event.event.full.ok': string;
|
|
151
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
152
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
153
|
-
'pisell2.event.schedule.item.expand': string;
|
|
154
|
-
'pisell2.event.schedule.item.collapse': string;
|
|
155
|
-
'pisell2.appointment.deposit': string;
|
|
156
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
157
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
158
|
-
'pisell2.appointment.deposit.and': string;
|
|
159
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
160
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
161
|
-
'pisell2.appointment.deposit.close': string;
|
|
162
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
163
|
-
};
|
|
164
|
-
'zh-HK': {
|
|
165
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
166
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
167
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
168
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
169
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
170
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
171
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
172
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
173
|
-
'pisell2.event.close.title': string;
|
|
174
|
-
'pisell2.event.close.tip': string;
|
|
175
|
-
'pisell2.event.close.continue': string;
|
|
176
|
-
'pisell2.event.close.exit': string;
|
|
177
|
-
'pisell2.event.step': (step: number) => string;
|
|
178
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
179
|
-
'pisell2.event.select.event': string;
|
|
180
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
181
|
-
'pisell2.event.cart': string;
|
|
182
|
-
'pisell2.event.total': string;
|
|
183
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
184
|
-
'pisell2.event.continue': string;
|
|
185
|
-
'pisell2.event.details': string;
|
|
186
|
-
'pisell2.event.introduction': string;
|
|
187
|
-
'pisell2.event.schedule': string;
|
|
188
|
-
'pisell2.event.teacher': string;
|
|
189
|
-
'pisell2.event.campus': string;
|
|
190
|
-
'pisell2.event.resource': string;
|
|
191
|
-
'pisell2.event.booking.options': string;
|
|
192
|
-
'pisell2.event.add.to.cart': string;
|
|
193
|
-
'pisell2.event.description': string;
|
|
194
|
-
'pisell2.event.view.more': string;
|
|
195
|
-
'pisell2.event.view.less': string;
|
|
196
|
-
'pisell2.event.holder.modal.title': string;
|
|
197
|
-
'pisell2.event.confirm': string;
|
|
198
|
-
'pisell2.event.confirm.information': string;
|
|
199
|
-
'pisell2.event.confirm.information.tip': string;
|
|
200
|
-
'pisell2.event.confirm.information.other': string;
|
|
201
|
-
'pisell2.event.add.others': string;
|
|
202
|
-
'pisell2.event.checkout': string;
|
|
203
|
-
'pisell2.event.edit.event': string;
|
|
204
|
-
'pisell2.event.remove': string;
|
|
205
|
-
'pisell2.event.option': string;
|
|
206
|
-
'pisell2.event.order.items.error.title': string;
|
|
207
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
208
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
209
|
-
'pisell2.event.order.items.error.return': string;
|
|
210
|
-
'pisell2.event.order.items.error.back': string;
|
|
211
|
-
'pisell2.event.order.items.error.continue': string;
|
|
212
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
213
|
-
'pisell2.event.remove.title': string;
|
|
214
|
-
'pisell2.event.remove.tip': string;
|
|
215
|
-
'pisell2.event.remove.cancel': string;
|
|
216
|
-
'pisell2.event.create': string;
|
|
217
|
-
'pisell2.event.search': string;
|
|
218
|
-
'pisell2.event.empty.service': string;
|
|
219
|
-
'pisell2.event.title': (val: number) => string;
|
|
220
|
-
'pisell2.event.create.form': string;
|
|
221
|
-
'pisell2.event.empty.event': string;
|
|
222
|
-
'pisell2.event.error.holder': string;
|
|
223
|
-
'pisell2.event.price.from': string;
|
|
224
|
-
'pisell2.event.empty.holder.title': string;
|
|
225
|
-
'pisell2.event.empty.holder.tip': string;
|
|
226
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
227
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
228
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
229
|
-
'pisell2.event.event.full.title': string;
|
|
230
|
-
'pisell2.event.event.full.tip': string;
|
|
231
|
-
'pisell2.event.event.full.ok': string;
|
|
232
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
233
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
234
|
-
'pisell2.event.schedule.item.expand': string;
|
|
235
|
-
'pisell2.event.schedule.item.collapse': string;
|
|
236
|
-
'pisell2.appointment.deposit': string;
|
|
237
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
238
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
239
|
-
'pisell2.appointment.deposit.and': string;
|
|
240
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
241
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
242
|
-
'pisell2.appointment.deposit.close': string;
|
|
243
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface PaymentMethodsRef {
|
|
3
|
-
onPay: (props: any) => void;
|
|
4
|
-
}
|
|
5
|
-
interface PaymentMethodsProps {
|
|
6
|
-
payCallback: (props: any) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
|
9
|
-
export default _default;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.ticket-booking.info': string;
|
|
4
|
-
'pisell2.ticket-booking.notes': string;
|
|
5
|
-
'pisell2.ticket-booking.forms': string;
|
|
6
|
-
'pisell2.ticket-booking.sales': string;
|
|
7
|
-
'pisell2.ticket-booking.payment': string;
|
|
8
|
-
'pisell2.ticket-booking.unsaved-changes': string;
|
|
9
|
-
'pisell2.ticket-booking.exit-confirm': string;
|
|
10
|
-
'pisell2.ticket-booking.go-back': string;
|
|
11
|
-
'pisell2.ticket-booking.exit': string;
|
|
12
|
-
'pisell2.ticket-booking.deposit': string;
|
|
13
|
-
'pisell2.ticket-booking.copy-success': string;
|
|
14
|
-
'pisell2.ticket-booking.no-data': string;
|
|
15
|
-
'pisell2.ticket-booking.authorized': string;
|
|
16
|
-
'pisell2.ticket-booking.paid': string;
|
|
17
|
-
'pisell2.ticket-booking.partially-paid': string;
|
|
18
|
-
'pisell2.ticket-booking.partially-refunded': string;
|
|
19
|
-
'pisell2.ticket-booking.payment-pending': string;
|
|
20
|
-
'pisell2.ticket-booking.refunded': string;
|
|
21
|
-
'pisell2.ticket-booking.unpaid': string;
|
|
22
|
-
'pisell2.ticket-booking.voided': string;
|
|
23
|
-
'pisell2.ticket-booking.pending': string;
|
|
24
|
-
'pisell2.ticket-booking.all': string;
|
|
25
|
-
'pisell2.ticket-booking.not-started': string;
|
|
26
|
-
'pisell2.ticket-booking.started': string;
|
|
27
|
-
'pisell2.ticket-booking.finished': string;
|
|
28
|
-
'pisell2.ticket-booking.canceled': string;
|
|
29
|
-
'pisell2.ticket-booking.inform': string;
|
|
30
|
-
'pisell2.ticket-booking.check-management': string;
|
|
31
|
-
'pisell2.ticket-booking.confirm': string;
|
|
32
|
-
'pisell2.ticket-booking.dashboard': string;
|
|
33
|
-
'pisell2.ticket-booking.booking-list': string;
|
|
34
|
-
'pisell2.ticket-booking.full-data': string;
|
|
35
|
-
'pisell2.ticket-booking.today': string;
|
|
36
|
-
'pisell2.ticket-booking.now': string;
|
|
37
|
-
'pisell2.ticket-booking.start-time': string;
|
|
38
|
-
'pisell2.ticket-booking.create-time': string;
|
|
39
|
-
'pisell2.ticket-booking.customer': string;
|
|
40
|
-
'pisell2.ticket-booking.total': string;
|
|
41
|
-
'pisell2.ticket-booking.search': string;
|
|
42
|
-
'pisell2.ticket-booking.refresh-success': string;
|
|
43
|
-
'pisell2.ticket-booking.loading': string;
|
|
44
|
-
'pisell2.ticket-booking.appointment-not-found': string;
|
|
45
|
-
'pisell2.ticket-booking.scan': string;
|
|
46
|
-
'pisell2.ticket-booking.create-new': string;
|
|
47
|
-
'pisell2.ticket-booking.add-to-cart': string;
|
|
48
|
-
'pisell2.ticket-booking.not-available-title': string;
|
|
49
|
-
'pisell2.ticket-booking.not-available-ok': string;
|
|
50
|
-
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
51
|
-
'pisell2.product.card.cart-items': (number: number) => string;
|
|
52
|
-
'pisell2.product.card.subtotal': string;
|
|
53
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
54
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
55
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
56
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
57
|
-
};
|
|
58
|
-
'zh-CN': {
|
|
59
|
-
'pisell2.ticket-booking.info': string;
|
|
60
|
-
'pisell2.ticket-booking.notes': string;
|
|
61
|
-
'pisell2.ticket-booking.forms': string;
|
|
62
|
-
'pisell2.ticket-booking.sales': string;
|
|
63
|
-
'pisell2.ticket-booking.payment': string;
|
|
64
|
-
'pisell2.ticket-booking.unsaved-changes': string;
|
|
65
|
-
'pisell2.ticket-booking.exit-confirm': string;
|
|
66
|
-
'pisell2.ticket-booking.go-back': string;
|
|
67
|
-
'pisell2.ticket-booking.exit': string;
|
|
68
|
-
'pisell2.ticket-booking.deposit': string;
|
|
69
|
-
'pisell2.ticket-booking.copy-success': string;
|
|
70
|
-
'pisell2.ticket-booking.no-data': string;
|
|
71
|
-
'pisell2.ticket-booking.authorized': string;
|
|
72
|
-
'pisell2.ticket-booking.paid': string;
|
|
73
|
-
'pisell2.ticket-booking.partially-paid': string;
|
|
74
|
-
'pisell2.ticket-booking.partially-refunded': string;
|
|
75
|
-
'pisell2.ticket-booking.payment-pending': string;
|
|
76
|
-
'pisell2.ticket-booking.refunded': string;
|
|
77
|
-
'pisell2.ticket-booking.unpaid': string;
|
|
78
|
-
'pisell2.ticket-booking.voided': string;
|
|
79
|
-
'pisell2.ticket-booking.pending': string;
|
|
80
|
-
'pisell2.ticket-booking.all': string;
|
|
81
|
-
'pisell2.ticket-booking.not-started': string;
|
|
82
|
-
'pisell2.ticket-booking.started': string;
|
|
83
|
-
'pisell2.ticket-booking.finished': string;
|
|
84
|
-
'pisell2.ticket-booking.canceled': string;
|
|
85
|
-
'pisell2.ticket-booking.inform': string;
|
|
86
|
-
'pisell2.ticket-booking.check-management': string;
|
|
87
|
-
'pisell2.ticket-booking.confirm': string;
|
|
88
|
-
'pisell2.ticket-booking.dashboard': string;
|
|
89
|
-
'pisell2.ticket-booking.booking-list': string;
|
|
90
|
-
'pisell2.ticket-booking.full-data': string;
|
|
91
|
-
'pisell2.ticket-booking.today': string;
|
|
92
|
-
'pisell2.ticket-booking.now': string;
|
|
93
|
-
'pisell2.ticket-booking.start-time': string;
|
|
94
|
-
'pisell2.ticket-booking.create-time': string;
|
|
95
|
-
'pisell2.ticket-booking.customer': string;
|
|
96
|
-
'pisell2.ticket-booking.total': string;
|
|
97
|
-
'pisell2.ticket-booking.search': string;
|
|
98
|
-
'pisell2.ticket-booking.refresh-success': string;
|
|
99
|
-
'pisell2.ticket-booking.loading': string;
|
|
100
|
-
'pisell2.ticket-booking.appointment-not-found': string;
|
|
101
|
-
'pisell2.ticket-booking.scan': string;
|
|
102
|
-
'pisell2.ticket-booking.create-new': string;
|
|
103
|
-
'pisell2.ticket-booking.add-to-cart': string;
|
|
104
|
-
'pisell2.ticket-booking.not-available-title': string;
|
|
105
|
-
'pisell2.ticket-booking.not-available-ok': string;
|
|
106
|
-
'pisell2.product.card.cart-items': (number: number) => string;
|
|
107
|
-
'pisell2.product.card.subtotal': string;
|
|
108
|
-
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
109
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
110
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
111
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
112
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
113
|
-
};
|
|
114
|
-
'zh-HK': {
|
|
115
|
-
'pisell2.ticket-booking.info': string;
|
|
116
|
-
'pisell2.ticket-booking.notes': string;
|
|
117
|
-
'pisell2.ticket-booking.forms': string;
|
|
118
|
-
'pisell2.ticket-booking.sales': string;
|
|
119
|
-
'pisell2.ticket-booking.payment': string;
|
|
120
|
-
'pisell2.ticket-booking.unsaved-changes': string;
|
|
121
|
-
'pisell2.ticket-booking.exit-confirm': string;
|
|
122
|
-
'pisell2.ticket-booking.go-back': string;
|
|
123
|
-
'pisell2.ticket-booking.exit': string;
|
|
124
|
-
'pisell2.ticket-booking.deposit': string;
|
|
125
|
-
'pisell2.ticket-booking.copy-success': string;
|
|
126
|
-
'pisell2.ticket-booking.no-data': string;
|
|
127
|
-
'pisell2.ticket-booking.authorized': string;
|
|
128
|
-
'pisell2.ticket-booking.paid': string;
|
|
129
|
-
'pisell2.ticket-booking.partially-paid': string;
|
|
130
|
-
'pisell2.ticket-booking.partially-refunded': string;
|
|
131
|
-
'pisell2.ticket-booking.payment-pending': string;
|
|
132
|
-
'pisell2.ticket-booking.refunded': string;
|
|
133
|
-
'pisell2.ticket-booking.unpaid': string;
|
|
134
|
-
'pisell2.ticket-booking.voided': string;
|
|
135
|
-
'pisell2.ticket-booking.pending': string;
|
|
136
|
-
'pisell2.ticket-booking.all': string;
|
|
137
|
-
'pisell2.ticket-booking.not-started': string;
|
|
138
|
-
'pisell2.ticket-booking.started': string;
|
|
139
|
-
'pisell2.ticket-booking.finished': string;
|
|
140
|
-
'pisell2.ticket-booking.canceled': string;
|
|
141
|
-
'pisell2.ticket-booking.inform': string;
|
|
142
|
-
'pisell2.ticket-booking.check-management': string;
|
|
143
|
-
'pisell2.ticket-booking.confirm': string;
|
|
144
|
-
'pisell2.ticket-booking.dashboard': string;
|
|
145
|
-
'pisell2.ticket-booking.booking-list': string;
|
|
146
|
-
'pisell2.ticket-booking.full-data': string;
|
|
147
|
-
'pisell2.ticket-booking.today': string;
|
|
148
|
-
'pisell2.ticket-booking.now': string;
|
|
149
|
-
'pisell2.ticket-booking.start-time': string;
|
|
150
|
-
'pisell2.ticket-booking.create-time': string;
|
|
151
|
-
'pisell2.ticket-booking.customer': string;
|
|
152
|
-
'pisell2.ticket-booking.total': string;
|
|
153
|
-
'pisell2.ticket-booking.search': string;
|
|
154
|
-
'pisell2.ticket-booking.refresh-success': string;
|
|
155
|
-
'pisell2.ticket-booking.loading': string;
|
|
156
|
-
'pisell2.ticket-booking.appointment-not-found': string;
|
|
157
|
-
'pisell2.ticket-booking.scan': string;
|
|
158
|
-
'pisell2.ticket-booking.create-new': string;
|
|
159
|
-
'pisell2.ticket-booking.add-to-cart': string;
|
|
160
|
-
'pisell2.ticket-booking.not-available-title': string;
|
|
161
|
-
'pisell2.ticket-booking.not-available-ok': string;
|
|
162
|
-
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
163
|
-
'pisell2.product.card.cart-items': (number: number) => string;
|
|
164
|
-
'pisell2.product.card.subtotal': string;
|
|
165
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
166
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
167
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
168
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import 'dayjs/locale/zh-cn';
|
|
2
|
-
import 'dayjs/locale/en';
|
|
3
|
-
import 'dayjs/locale/zh-tw';
|
|
4
|
-
/**
|
|
5
|
-
* @title: 是否英文
|
|
6
|
-
* @description:
|
|
7
|
-
* @param {any} item
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: WangHan
|
|
10
|
-
* @Date: 2024-12-28 22:49
|
|
11
|
-
*/
|
|
12
|
-
export declare const isEn: (item: any) => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @title: 跨日预约时间
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {any} item
|
|
17
|
-
* @return {*}
|
|
18
|
-
* @Author: WangHan
|
|
19
|
-
* @Date: 2024-12-28 22:50
|
|
20
|
-
*/
|
|
21
|
-
export declare const formatMultiDayDate: (item: any) => string;
|
|
22
|
-
/**
|
|
23
|
-
* @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
|
|
24
|
-
* @description:
|
|
25
|
-
* @param {any} item
|
|
26
|
-
* @param {any} currentDate
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: zhiwei.Wang
|
|
29
|
-
* @Date: 2024-04-26 14:04
|
|
30
|
-
*/
|
|
31
|
-
export declare const getServiceTime: (item: any, currentDate: any, utils: any) => string;
|
package/es/utils/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
|
2
|
-
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
|
3
|
-
declare class Request {
|
|
4
|
-
private request;
|
|
5
|
-
constructor();
|
|
6
|
-
setRequest(val: any): void;
|
|
7
|
-
withCustomToast(config?: any): any;
|
|
8
|
-
getRequest(): {
|
|
9
|
-
get: (url: string, params: any, config?: any) => Promise<any>;
|
|
10
|
-
post: (url: string, params: any, config?: any) => Promise<any>;
|
|
11
|
-
put: RType;
|
|
12
|
-
remove: RType;
|
|
13
|
-
custom: RType;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare const request: Request;
|
|
17
|
-
declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
18
|
-
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
|
19
|
-
export declare const saveConfirm: () => Promise<{
|
|
20
|
-
destroy: () => void;
|
|
21
|
-
update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
|
|
22
|
-
}>;
|
|
23
|
-
export { modal };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TUpdateDisabledCartItem } from './types';
|
|
3
|
-
interface CartItem {
|
|
4
|
-
_id: string;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}
|
|
7
|
-
interface CartData {
|
|
8
|
-
cartItems: CartItem[];
|
|
9
|
-
currentCartItem: CartItem | null;
|
|
10
|
-
}
|
|
11
|
-
interface CartContextType {
|
|
12
|
-
createCartItem: () => CartItem;
|
|
13
|
-
createCartItemFromEvent: (eventItem: any) => CartItem;
|
|
14
|
-
createCartItemFromHolder: (holderItem: any) => CartItem;
|
|
15
|
-
addToCart: () => void;
|
|
16
|
-
updateCartItem: (cartItem: CartItem) => CartItem;
|
|
17
|
-
deleteCartItem: (cartItem: CartItem) => void;
|
|
18
|
-
clickCartItem: (cartItem: CartItem) => void;
|
|
19
|
-
updateCurrentCartItem: (cartItem: Partial<CartItem>) => void;
|
|
20
|
-
clearCurrentCartItem: () => void;
|
|
21
|
-
currentCartItem: CartItem | null;
|
|
22
|
-
checkHolder: () => boolean;
|
|
23
|
-
cartData: CartData;
|
|
24
|
-
openCart: boolean;
|
|
25
|
-
onOpenCart: any;
|
|
26
|
-
onCloseCart: any;
|
|
27
|
-
deleteCartItemByHolder: (holder_id: number) => void;
|
|
28
|
-
addHolderToCartItem: (holderItem: any) => void;
|
|
29
|
-
cartDataHolderList: any;
|
|
30
|
-
addNoteToCartItem: (cartItem: CartItem) => void;
|
|
31
|
-
updateDisabledCartItem: TUpdateDisabledCartItem;
|
|
32
|
-
getWithoutCartItemsHolderNames: () => Array<string>;
|
|
33
|
-
checkBeforeAddToCartResquest: any;
|
|
34
|
-
checkBeforeAddToCart: () => Promise<{
|
|
35
|
-
result: boolean;
|
|
36
|
-
num: number;
|
|
37
|
-
}>;
|
|
38
|
-
}
|
|
39
|
-
interface CartProviderProps {
|
|
40
|
-
children: React.ReactNode;
|
|
41
|
-
}
|
|
42
|
-
export declare const CartContext: React.Context<CartContextType | undefined>;
|
|
43
|
-
export declare const CartProvider: React.FC<CartProviderProps>;
|
|
44
|
-
/**
|
|
45
|
-
* 使用步骤管理的Hook
|
|
46
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
47
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
48
|
-
*/
|
|
49
|
-
export declare const useCart: () => CartContextType;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
defaultState: CartData;
|
|
52
|
-
};
|
|
53
|
-
export default _default;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import Decimal from 'decimal.js';
|
|
2
|
-
import { ICalculatePriceParams } from './types';
|
|
3
|
-
export declare const handleProductInfo: (eventDetail: any, num: number) => {
|
|
4
|
-
totalPrice: number;
|
|
5
|
-
originTotal: any;
|
|
6
|
-
is_charge_tax: any;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* 获取商品总价
|
|
10
|
-
* @description 当前总价计算基于商品数量为1
|
|
11
|
-
* @param item 商品
|
|
12
|
-
* @returns 商品总价
|
|
13
|
-
*/
|
|
14
|
-
export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
|
|
15
|
-
/**
|
|
16
|
-
* 获取商品原始总价
|
|
17
|
-
* @description 当前总价计算基于商品数量为1
|
|
18
|
-
* @param item 商品
|
|
19
|
-
* @returns 商品原始总价
|
|
20
|
-
*/
|
|
21
|
-
export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
|
|
22
|
-
export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
|
|
23
|
-
export declare const formatBundleToOrigin: (bundle: any) => any;
|
|
24
|
-
export declare const formatOptionsToOrigin: (options: any) => any;
|
|
25
|
-
export declare const handleProductDeposit: (cartItem: any, eventDetail: any, num: number) => {
|
|
26
|
-
total: number;
|
|
27
|
-
protocols: any;
|
|
28
|
-
} | null;
|
|
29
|
-
/**
|
|
30
|
-
* 获取商品定金
|
|
31
|
-
* @description 定金基于商品售价来算,最终乘商品数量
|
|
32
|
-
* 1、如果套餐主商品有定金规则,则定金为:(套餐商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
33
|
-
* 2、如果套餐主商品没有定金规则,子商品有定金规则,则定金为:(套餐子商品售价 * 套餐子商品定金百分比 + 套餐子商品定金固定金额)* 商品数量,最终将所有子商品定金相加
|
|
34
|
-
* 3、普通商品/单规格商品/组合规则商品,定金规则:(商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
35
|
-
* @param params 参数
|
|
36
|
-
* @returns 商品定金
|
|
37
|
-
*/
|
|
38
|
-
export declare const getProductDeposit: (params: {
|
|
39
|
-
cartItem: any;
|
|
40
|
-
product: any;
|
|
41
|
-
bundle?: any;
|
|
42
|
-
options?: any;
|
|
43
|
-
num?: number;
|
|
44
|
-
}) => {
|
|
45
|
-
total: number;
|
|
46
|
-
protocols: any;
|
|
47
|
-
} | null;
|
|
48
|
-
/**
|
|
49
|
-
* 计算商品定金
|
|
50
|
-
* @param params 参数
|
|
51
|
-
* @returns 商品定金
|
|
52
|
-
*/
|
|
53
|
-
export declare const calculateProductDeposit: (params: {
|
|
54
|
-
depositData: {
|
|
55
|
-
deposit_fixed?: string;
|
|
56
|
-
deposit_percentage?: string;
|
|
57
|
-
};
|
|
58
|
-
total: string | number;
|
|
59
|
-
num: number;
|
|
60
|
-
}) => {
|
|
61
|
-
result: boolean;
|
|
62
|
-
depositTotal: Decimal;
|
|
63
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface CheckoutData {
|
|
3
|
-
}
|
|
4
|
-
interface PayProps {
|
|
5
|
-
order_id: string;
|
|
6
|
-
amount: number;
|
|
7
|
-
sale_channel?: string;
|
|
8
|
-
is_deposit?: number;
|
|
9
|
-
deposit_amount?: number;
|
|
10
|
-
total_amount?: number;
|
|
11
|
-
}
|
|
12
|
-
interface CheckoutContextType {
|
|
13
|
-
onCheckBeforeBooking: (data: any) => Promise<{
|
|
14
|
-
result: boolean;
|
|
15
|
-
num: number;
|
|
16
|
-
}>;
|
|
17
|
-
onCheckout: (data: any) => Promise<any>;
|
|
18
|
-
onPay: (payProps: PayProps) => void;
|
|
19
|
-
createBooking: any;
|
|
20
|
-
checkBeforeBooking: any;
|
|
21
|
-
freePay: any;
|
|
22
|
-
}
|
|
23
|
-
interface CheckoutProviderProps {
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export declare const CheckoutContext: React.Context<CheckoutContextType | undefined>;
|
|
27
|
-
export declare const CheckoutProvider: React.FC<CheckoutProviderProps>;
|
|
28
|
-
/**
|
|
29
|
-
* 使用步骤管理的Hook
|
|
30
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
31
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
32
|
-
*/
|
|
33
|
-
export declare const useCheckout: () => CheckoutContextType;
|
|
34
|
-
declare const _default: {
|
|
35
|
-
defaultState: CheckoutData;
|
|
36
|
-
};
|
|
37
|
-
export default _default;
|