@pisell/private-materials 3.3.65 → 3.3.66
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.less +0 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +30 -15
- package/es/components/booking/components/voucher/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.less +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +13 -9
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/utilsByBooking.js +17 -10
- package/es/components/booking/utils.js +10 -4
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +3 -3
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/index.js +5 -4
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/schedules/calendar/index.less +158 -152
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +12 -10
- package/es/components/ticketBooking/components/ticketBooking/index.js +135 -9
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +164 -146
- package/es/components/ticketBooking/locales.js +195 -147
- package/es/components/ticketBooking/serve.d.ts +5 -0
- package/es/components/ticketBooking/serve.js +27 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/formatProductMessage.js +53 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/es/components/ticketBooking/utils/formatTime.js +144 -0
- package/es/components/wallet/DiscountCard/index.less +0 -1
- package/es/components/wallet/PointCard/index.less +0 -1
- package/es/components/wallet/RechargeableCard/index.less +5 -9
- package/es/components/wallet/Voucher/index.less +0 -1
- package/es/components/wallet/index.less +0 -4
- package/es/components/walletList/index.js +55 -7
- package/es/components/walletList/index.less +17 -15
- package/es/components/walletList/locales.d.ts +18 -0
- package/es/components/walletList/locales.js +17 -0
- package/es/components/walletList/serve.d.ts +8 -0
- package/es/components/walletList/serve.js +38 -0
- package/es/components/walletList/status.d.ts +38 -0
- package/es/components/walletList/status.js +47 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.less +0 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +14 -2
- package/lib/components/booking/components/voucher/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.less +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +7 -3
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/utilsByBooking.js +7 -9
- package/lib/components/booking/utils.js +7 -3
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/index.js +10 -9
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/schedules/calendar/index.less +158 -152
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +5 -3
- package/lib/components/ticketBooking/components/ticketBooking/index.js +134 -8
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +164 -146
- package/lib/components/ticketBooking/locales.js +22 -4
- package/lib/components/ticketBooking/serve.d.ts +5 -0
- package/lib/components/ticketBooking/serve.js +8 -2
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.js +76 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/lib/components/ticketBooking/utils/formatTime.js +139 -0
- package/lib/components/wallet/DiscountCard/index.less +0 -1
- package/lib/components/wallet/PointCard/index.less +0 -1
- package/lib/components/wallet/RechargeableCard/index.less +5 -9
- package/lib/components/wallet/Voucher/index.less +0 -1
- package/lib/components/wallet/index.less +0 -4
- package/lib/components/walletList/index.js +42 -14
- package/lib/components/walletList/index.less +17 -15
- package/lib/components/walletList/locales.d.ts +18 -0
- package/lib/components/walletList/locales.js +41 -0
- package/lib/components/walletList/serve.d.ts +8 -0
- package/lib/components/walletList/serve.js +15 -2
- package/lib/components/walletList/status.d.ts +38 -0
- package/lib/components/walletList/status.js +66 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/package.json +3 -3
|
@@ -1,158 +1,206 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': 'Info',
|
|
4
|
+
'pisell2.ticket-booking.notes': 'Notes',
|
|
5
|
+
'pisell2.ticket-booking.forms': 'Forms',
|
|
6
|
+
'pisell2.ticket-booking.sales': 'Sales',
|
|
7
|
+
'pisell2.ticket-booking.payment': 'Payment',
|
|
8
|
+
'pisell2.ticket-booking.unsaved-changes': 'Unsaved changes',
|
|
9
|
+
'pisell2.ticket-booking.exit-confirm': 'Your changes will not be saved if you exit. Are you sure you want to exit?',
|
|
10
|
+
'pisell2.ticket-booking.go-back': 'Go back',
|
|
11
|
+
'pisell2.ticket-booking.exit': 'Yes, exit',
|
|
12
|
+
'pisell2.ticket-booking.deposit': 'Deposit',
|
|
13
|
+
'pisell2.ticket-booking.copy-success': 'Copy successful',
|
|
14
|
+
'pisell2.ticket-booking.no-data': 'No data',
|
|
15
|
+
'pisell2.ticket-booking.authorized': 'Authorized',
|
|
16
|
+
'pisell2.ticket-booking.paid': 'Paid',
|
|
17
|
+
'pisell2.ticket-booking.partially-paid': 'Partially Paid',
|
|
18
|
+
'pisell2.ticket-booking.partially-refunded': 'Partially Refunded',
|
|
19
|
+
'pisell2.ticket-booking.payment-pending': 'Payment pending',
|
|
20
|
+
'pisell2.ticket-booking.refunded': 'Refunded',
|
|
21
|
+
'pisell2.ticket-booking.unpaid': 'Unpaid',
|
|
22
|
+
'pisell2.ticket-booking.voided': 'Voided',
|
|
23
|
+
'pisell2.ticket-booking.pending': 'Pending',
|
|
24
|
+
'pisell2.ticket-booking.all': 'All',
|
|
25
|
+
'pisell2.ticket-booking.not-started': 'Not started',
|
|
26
|
+
'pisell2.ticket-booking.started': 'Started',
|
|
27
|
+
'pisell2.ticket-booking.finished': 'Finished',
|
|
28
|
+
'pisell2.ticket-booking.canceled': 'Canceled',
|
|
29
|
+
'pisell2.ticket-booking.inform': 'Inform',
|
|
30
|
+
'pisell2.ticket-booking.check-management': 'Please go to the management side to check this data.',
|
|
31
|
+
'pisell2.ticket-booking.confirm': 'Confirm',
|
|
32
|
+
'pisell2.ticket-booking.dashboard': 'Dashboard',
|
|
33
|
+
'pisell2.ticket-booking.booking-list': 'Booking list',
|
|
34
|
+
'pisell2.ticket-booking.full-data': 'Go to full data',
|
|
35
|
+
'pisell2.ticket-booking.today': 'Today',
|
|
36
|
+
'pisell2.ticket-booking.now': 'Now',
|
|
37
|
+
'pisell2.ticket-booking.start-time': 'Start time',
|
|
38
|
+
'pisell2.ticket-booking.create-time': 'Create time',
|
|
39
|
+
'pisell2.ticket-booking.customer': 'Customer',
|
|
40
|
+
'pisell2.ticket-booking.total': 'Total',
|
|
41
|
+
'pisell2.ticket-booking.search': 'Search',
|
|
42
|
+
'pisell2.ticket-booking.refresh-success': 'Refresh Successful',
|
|
43
|
+
'pisell2.ticket-booking.loading': 'Loading',
|
|
44
|
+
'pisell2.ticket-booking.appointment-not-found': 'Appointment not found',
|
|
45
|
+
'pisell2.ticket-booking.scan': 'Scan',
|
|
46
|
+
'pisell2.ticket-booking.create-new': 'Create new',
|
|
47
|
+
'pisell2.ticket-booking.add-to-cart': 'Added to Cart',
|
|
48
|
+
'pisell2.ticket-booking.not-available-title': 'Sorry, Not available at current time.',
|
|
49
|
+
'pisell2.ticket-booking.not-available-ok': 'OK',
|
|
50
|
+
'pisell2.ticket-booking.in-cart': function pisell2TicketBookingInCart(number) {
|
|
51
51
|
return "".concat(number, " in cart");
|
|
52
|
+
},
|
|
53
|
+
'pisell2.product.card.cart-items': function pisell2ProductCardCartItems(number) {
|
|
54
|
+
return "".concat(number, "items");
|
|
55
|
+
},
|
|
56
|
+
'pisell2.product.card.subtotal': 'Subtotal',
|
|
57
|
+
'pisell2.product.card.hour.minute': function pisell2ProductCardHourMinute(hour, minute) {
|
|
58
|
+
return "".concat(hour > 0 ? "".concat(hour, "h") : '').concat(hour > 0 && minute > 0 ? ' ' : '').concat(minute > 0 ? "".concat(minute, "min") : '');
|
|
59
|
+
},
|
|
60
|
+
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
61
|
+
return "".concat(val > 1 ? ' days' : ' day');
|
|
62
|
+
},
|
|
63
|
+
'pisell2.product.card.day.event': function pisell2ProductCardDayEvent(val) {
|
|
64
|
+
return "".concat(val > 1 ? ' events' : ' event');
|
|
65
|
+
},
|
|
66
|
+
'pisell2.product.card.minute': function pisell2ProductCardMinute(val) {
|
|
67
|
+
return "".concat(val > 1 ? ' minutes' : ' minute');
|
|
52
68
|
}
|
|
53
69
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
70
|
+
'zh-CN': {
|
|
71
|
+
'pisell2.ticket-booking.info': '信息',
|
|
72
|
+
'pisell2.ticket-booking.notes': '备注',
|
|
73
|
+
'pisell2.ticket-booking.forms': '表单',
|
|
74
|
+
'pisell2.ticket-booking.sales': '销售',
|
|
75
|
+
'pisell2.ticket-booking.payment': '付款',
|
|
76
|
+
'pisell2.ticket-booking.unsaved-changes': '有未保存的更改',
|
|
77
|
+
'pisell2.ticket-booking.exit-confirm': '如果您退出,您的更改将不会被保存。您确定要退出吗?',
|
|
78
|
+
'pisell2.ticket-booking.go-back': '返回',
|
|
79
|
+
'pisell2.ticket-booking.exit': '退出',
|
|
80
|
+
'pisell2.ticket-booking.deposit': '定金',
|
|
81
|
+
'pisell2.ticket-booking.copy-success': '复制成功',
|
|
82
|
+
'pisell2.ticket-booking.no-data': '暂无数据',
|
|
83
|
+
'pisell2.ticket-booking.authorized': '已授权',
|
|
84
|
+
'pisell2.ticket-booking.paid': '已付款',
|
|
85
|
+
'pisell2.ticket-booking.partially-paid': '部分付款',
|
|
86
|
+
'pisell2.ticket-booking.partially-refunded': '部分退款',
|
|
87
|
+
'pisell2.ticket-booking.payment-pending': '等待付款',
|
|
88
|
+
'pisell2.ticket-booking.refunded': '已退款',
|
|
89
|
+
'pisell2.ticket-booking.unpaid': '未付款',
|
|
90
|
+
'pisell2.ticket-booking.voided': '已作废',
|
|
91
|
+
'pisell2.ticket-booking.pending': '待支付',
|
|
92
|
+
'pisell2.ticket-booking.all': '全部',
|
|
93
|
+
'pisell2.ticket-booking.not-started': '未开始',
|
|
94
|
+
'pisell2.ticket-booking.started': '已开始',
|
|
95
|
+
'pisell2.ticket-booking.finished': '已完成',
|
|
96
|
+
'pisell2.ticket-booking.canceled': '已取消',
|
|
97
|
+
'pisell2.ticket-booking.inform': '通知',
|
|
98
|
+
'pisell2.ticket-booking.check-management': '请前往管理端查看此数据。',
|
|
99
|
+
'pisell2.ticket-booking.confirm': '确认',
|
|
100
|
+
'pisell2.ticket-booking.dashboard': '数据看板',
|
|
101
|
+
'pisell2.ticket-booking.booking-list': '预约列表',
|
|
102
|
+
'pisell2.ticket-booking.full-data': '查看全部数据',
|
|
103
|
+
'pisell2.ticket-booking.today': '今天',
|
|
104
|
+
'pisell2.ticket-booking.now': '现在',
|
|
105
|
+
'pisell2.ticket-booking.start-time': '开始时间',
|
|
106
|
+
'pisell2.ticket-booking.create-time': '创建时间',
|
|
107
|
+
'pisell2.ticket-booking.customer': '客户名称',
|
|
108
|
+
'pisell2.ticket-booking.total': '价格',
|
|
109
|
+
'pisell2.ticket-booking.search': '搜索',
|
|
110
|
+
'pisell2.ticket-booking.refresh-success': '刷新成功',
|
|
111
|
+
'pisell2.ticket-booking.loading': '加载中',
|
|
112
|
+
'pisell2.ticket-booking.appointment-not-found': '没有发现此预约',
|
|
113
|
+
'pisell2.ticket-booking.scan': '',
|
|
114
|
+
'pisell2.ticket-booking.create-new': '新建',
|
|
115
|
+
'pisell2.ticket-booking.add-to-cart': '已加入购物车',
|
|
116
|
+
'pisell2.ticket-booking.not-available-title': '抱歉,目前不在可售时间。',
|
|
117
|
+
'pisell2.ticket-booking.not-available-ok': '好的',
|
|
118
|
+
'pisell2.product.card.cart-items': function pisell2ProductCardCartItems(number) {
|
|
119
|
+
return "".concat(number, "\u4EF6\u5546\u54C1");
|
|
120
|
+
},
|
|
121
|
+
'pisell2.product.card.subtotal': '小计',
|
|
122
|
+
'pisell2.ticket-booking.in-cart': function pisell2TicketBookingInCart(number) {
|
|
103
123
|
return "\u5DF2\u6709".concat(number, "\u4EF6");
|
|
124
|
+
},
|
|
125
|
+
'pisell2.product.card.hour.minute': function pisell2ProductCardHourMinute(hour, minute) {
|
|
126
|
+
return "".concat(hour > 0 ? "".concat(hour, "\u5C0F\u65F6") : '').concat(minute > 0 ? "".concat(minute, "\u5206\u949F") : '');
|
|
127
|
+
},
|
|
128
|
+
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
129
|
+
return '天';
|
|
130
|
+
},
|
|
131
|
+
'pisell2.product.card.day.event': function pisell2ProductCardDayEvent(val) {
|
|
132
|
+
return '个活动';
|
|
133
|
+
},
|
|
134
|
+
'pisell2.product.card.minute': function pisell2ProductCardMinute(val) {
|
|
135
|
+
return '分钟';
|
|
104
136
|
}
|
|
105
137
|
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
138
|
+
'zh-HK': {
|
|
139
|
+
'pisell2.ticket-booking.info': '資訊',
|
|
140
|
+
'pisell2.ticket-booking.notes': '備註',
|
|
141
|
+
'pisell2.ticket-booking.forms': '表单',
|
|
142
|
+
'pisell2.ticket-booking.sales': '銷售',
|
|
143
|
+
'pisell2.ticket-booking.payment': '付款',
|
|
144
|
+
'pisell2.ticket-booking.unsaved-changes': '有未保存的更改',
|
|
145
|
+
'pisell2.ticket-booking.exit-confirm': '如果您退出,您的變更將不會被保存。您確定要退出嗎?',
|
|
146
|
+
'pisell2.ticket-booking.go-back': '返回',
|
|
147
|
+
'pisell2.ticket-booking.exit': '退出',
|
|
148
|
+
'pisell2.ticket-booking.deposit': '定金',
|
|
149
|
+
'pisell2.ticket-booking.copy-success': '复制成功',
|
|
150
|
+
'pisell2.ticket-booking.no-data': '暂无数据',
|
|
151
|
+
'pisell2.ticket-booking.authorized': '已授權',
|
|
152
|
+
'pisell2.ticket-booking.paid': '已付款',
|
|
153
|
+
'pisell2.ticket-booking.partially-paid': '部分付款',
|
|
154
|
+
'pisell2.ticket-booking.partially-refunded': '部分退款',
|
|
155
|
+
'pisell2.ticket-booking.payment-pending': '等待付款',
|
|
156
|
+
'pisell2.ticket-booking.refunded': '已退款',
|
|
157
|
+
'pisell2.ticket-booking.unpaid': '未付款',
|
|
158
|
+
'pisell2.ticket-booking.voided': '已作廢',
|
|
159
|
+
'pisell2.ticket-booking.pending': '待支付',
|
|
160
|
+
'pisell2.ticket-booking.all': '全部',
|
|
161
|
+
'pisell2.ticket-booking.not-started': '未开始',
|
|
162
|
+
'pisell2.ticket-booking.started': '已开始',
|
|
163
|
+
'pisell2.ticket-booking.finished': '已完成',
|
|
164
|
+
'pisell2.ticket-booking.canceled': '已取消',
|
|
165
|
+
'pisell2.ticket-booking.inform': '通知',
|
|
166
|
+
'pisell2.ticket-booking.check-management': '请前往管理端查看此数据。',
|
|
167
|
+
'pisell2.ticket-booking.confirm': '确认',
|
|
168
|
+
'pisell2.ticket-booking.dashboard': '数据看板',
|
|
169
|
+
'pisell2.ticket-booking.booking-list': '预约列表',
|
|
170
|
+
'pisell2.ticket-booking.full-data': '查看全部数据',
|
|
171
|
+
'pisell2.ticket-booking.today': '今天',
|
|
172
|
+
'pisell2.ticket-booking.now': '现在',
|
|
173
|
+
'pisell2.ticket-booking.start-time': '开始时间',
|
|
174
|
+
'pisell2.ticket-booking.create-time': '创建时间',
|
|
175
|
+
'pisell2.ticket-booking.customer': '客户名称',
|
|
176
|
+
'pisell2.ticket-booking.total': '价格',
|
|
177
|
+
'pisell2.ticket-booking.search': '搜索',
|
|
178
|
+
'pisell2.ticket-booking.refresh-success': '刷新成功',
|
|
179
|
+
'pisell2.ticket-booking.loading': '加载中',
|
|
180
|
+
'pisell2.ticket-booking.appointment-not-found': '没有發現此預約',
|
|
181
|
+
'pisell2.ticket-booking.scan': '扫码',
|
|
182
|
+
'pisell2.ticket-booking.create-new': '新建',
|
|
183
|
+
'pisell2.ticket-booking.add-to-cart': '已加入购物车',
|
|
184
|
+
'pisell2.ticket-booking.not-available-title': '抱歉,目前不在可售時間。',
|
|
185
|
+
'pisell2.ticket-booking.not-available-ok': '好的',
|
|
186
|
+
'pisell2.ticket-booking.in-cart': function pisell2TicketBookingInCart(number) {
|
|
155
187
|
return "\u5DF2\u6709".concat(number, "\u4EF6");
|
|
188
|
+
},
|
|
189
|
+
'pisell2.product.card.cart-items': function pisell2ProductCardCartItems(number) {
|
|
190
|
+
return "".concat(number, "\u4EF6\u5546\u54C1");
|
|
191
|
+
},
|
|
192
|
+
'pisell2.product.card.subtotal': '小計',
|
|
193
|
+
'pisell2.product.card.hour.minute': function pisell2ProductCardHourMinute(hour, minute) {
|
|
194
|
+
return "".concat(hour > 0 ? "".concat(hour, "\u5C0F\u6642") : '').concat(minute > 0 ? "".concat(minute, "\u5206\u9418") : '');
|
|
195
|
+
},
|
|
196
|
+
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
197
|
+
return '天';
|
|
198
|
+
},
|
|
199
|
+
'pisell2.product.card.day.event': function pisell2ProductCardDayEvent(val) {
|
|
200
|
+
return '个活動';
|
|
201
|
+
},
|
|
202
|
+
'pisell2.product.card.minute': function pisell2ProductCardMinute(val) {
|
|
203
|
+
return '分鐘';
|
|
156
204
|
}
|
|
157
205
|
}
|
|
158
206
|
};
|
|
@@ -280,3 +280,8 @@ export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
|
280
280
|
* @Date: 2025-04-24 16:28
|
|
281
281
|
*/
|
|
282
282
|
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
|
@@ -960,4 +960,31 @@ export var getClientsEs = /*#__PURE__*/function () {
|
|
|
960
960
|
return function getClientsEs(_x42) {
|
|
961
961
|
return _ref30.apply(this, arguments);
|
|
962
962
|
};
|
|
963
|
+
}();
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* 作废2.0预约订单
|
|
967
|
+
* @param order_id
|
|
968
|
+
*/
|
|
969
|
+
export var voidAppointment = /*#__PURE__*/function () {
|
|
970
|
+
var _ref31 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee31(order_id) {
|
|
971
|
+
var _yield$request$getReq30, data;
|
|
972
|
+
return _regeneratorRuntime().wrap(function _callee31$(_context31) {
|
|
973
|
+
while (1) switch (_context31.prev = _context31.next) {
|
|
974
|
+
case 0:
|
|
975
|
+
_context31.next = 2;
|
|
976
|
+
return request.getRequest().put(prefix + "/order/void/appointment/".concat(order_id), {});
|
|
977
|
+
case 2:
|
|
978
|
+
_yield$request$getReq30 = _context31.sent;
|
|
979
|
+
data = _yield$request$getReq30.data;
|
|
980
|
+
return _context31.abrupt("return", data);
|
|
981
|
+
case 5:
|
|
982
|
+
case "end":
|
|
983
|
+
return _context31.stop();
|
|
984
|
+
}
|
|
985
|
+
}, _callee31);
|
|
986
|
+
}));
|
|
987
|
+
return function voidAppointment(_x43) {
|
|
988
|
+
return _ref31.apply(this, arguments);
|
|
989
|
+
};
|
|
963
990
|
}();
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { formatAmount } from '@pisell/utils';
|
|
2
|
+
import { getServiceTime } from "./formatTime";
|
|
3
|
+
var formatProductMessage = function formatProductMessage(product, utils) {
|
|
4
|
+
var product_option_string = product.product_option_string,
|
|
5
|
+
options = product.options,
|
|
6
|
+
bundle = product.bundle,
|
|
7
|
+
currency_symbol = product.currency_symbol,
|
|
8
|
+
start_date = product.start_date,
|
|
9
|
+
end_date = product.end_date,
|
|
10
|
+
holder_id = product.holder_id,
|
|
11
|
+
holders = product.holders,
|
|
12
|
+
multiResources = product.multiResources;
|
|
13
|
+
var str = '';
|
|
14
|
+
if (start_date && end_date) {
|
|
15
|
+
str += "".concat(getServiceTime(product, start_date, utils), " \n");
|
|
16
|
+
}
|
|
17
|
+
if (holder_id && Array.isArray(holders)) {
|
|
18
|
+
var targetHolder = holders.find(function (holder) {
|
|
19
|
+
return holder.id === holder_id;
|
|
20
|
+
});
|
|
21
|
+
if (targetHolder !== null && targetHolder !== void 0 && targetHolder.label) {
|
|
22
|
+
str += "".concat(targetHolder.label, " \n");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (Array.isArray(multiResources) && multiResources.length > 0) {
|
|
26
|
+
multiResources.forEach(function (resource) {
|
|
27
|
+
var id = resource.id,
|
|
28
|
+
list = resource.list;
|
|
29
|
+
var targetRes = list.find(function (l) {
|
|
30
|
+
return l.id === id;
|
|
31
|
+
});
|
|
32
|
+
if (targetRes !== null && targetRes !== void 0 && targetRes.label) str += "".concat(targetRes === null || targetRes === void 0 ? void 0 : targetRes.label, " \n");
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// 组合规格 单规格
|
|
37
|
+
if (product_option_string) str += "".concat(product_option_string, "\n");
|
|
38
|
+
if (Array.isArray(options) && options.length) {
|
|
39
|
+
options.forEach(function (opt) {
|
|
40
|
+
str += "".concat(opt.name, " ").concat(formatAmount(opt === null || opt === void 0 ? void 0 : opt.price, 2, currency_symbol), " x ").concat(opt.num, "\n");
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// 套餐
|
|
45
|
+
if (Array.isArray(bundle) && bundle.length) {
|
|
46
|
+
bundle.forEach(function (item) {
|
|
47
|
+
str += "".concat(item.title, " \n");
|
|
48
|
+
str += "".concat(formatAmount(item.price, 2, currency_symbol), " x ").concat(item.num);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return str;
|
|
52
|
+
};
|
|
53
|
+
export default formatProductMessage;
|
|
@@ -0,0 +1,31 @@
|
|
|
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;
|