@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,153 +1,171 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
en: {
|
|
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
|
-
|
|
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;
|
|
51
57
|
};
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
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;
|
|
101
113
|
};
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
|
|
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;
|
|
151
169
|
};
|
|
152
170
|
};
|
|
153
171
|
export default _default;
|
|
@@ -23,7 +23,7 @@ __export(locales_exports, {
|
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(locales_exports);
|
|
25
25
|
var locales_default = {
|
|
26
|
-
|
|
26
|
+
en: {
|
|
27
27
|
"pisell2.ticket-booking.info": "Info",
|
|
28
28
|
"pisell2.ticket-booking.notes": "Notes",
|
|
29
29
|
"pisell2.ticket-booking.forms": "Forms",
|
|
@@ -71,7 +71,13 @@ var locales_default = {
|
|
|
71
71
|
"pisell2.ticket-booking.add-to-cart": "Added to Cart",
|
|
72
72
|
"pisell2.ticket-booking.not-available-title": "Sorry, Not available at current time.",
|
|
73
73
|
"pisell2.ticket-booking.not-available-ok": "OK",
|
|
74
|
-
"pisell2.ticket-booking.in-cart": (number) => `${number} in cart
|
|
74
|
+
"pisell2.ticket-booking.in-cart": (number) => `${number} in cart`,
|
|
75
|
+
"pisell2.product.card.cart-items": (number) => `${number}items`,
|
|
76
|
+
"pisell2.product.card.subtotal": "Subtotal",
|
|
77
|
+
"pisell2.product.card.hour.minute": (hour, minute) => `${hour > 0 ? `${hour}h` : ""}${hour > 0 && minute > 0 ? " " : ""}${minute > 0 ? `${minute}min` : ""}`,
|
|
78
|
+
"pisell2.product.card.day": (val) => `${val > 1 ? " days" : " day"}`,
|
|
79
|
+
"pisell2.product.card.day.event": (val) => `${val > 1 ? " events" : " event"}`,
|
|
80
|
+
"pisell2.product.card.minute": (val) => `${val > 1 ? " minutes" : " minute"}`
|
|
75
81
|
},
|
|
76
82
|
"zh-CN": {
|
|
77
83
|
"pisell2.ticket-booking.info": "信息",
|
|
@@ -121,7 +127,13 @@ var locales_default = {
|
|
|
121
127
|
"pisell2.ticket-booking.add-to-cart": "已加入购物车",
|
|
122
128
|
"pisell2.ticket-booking.not-available-title": "抱歉,目前不在可售时间。",
|
|
123
129
|
"pisell2.ticket-booking.not-available-ok": "好的",
|
|
124
|
-
"pisell2.
|
|
130
|
+
"pisell2.product.card.cart-items": (number) => `${number}件商品`,
|
|
131
|
+
"pisell2.product.card.subtotal": "小计",
|
|
132
|
+
"pisell2.ticket-booking.in-cart": (number) => `已有${number}件`,
|
|
133
|
+
"pisell2.product.card.hour.minute": (hour, minute) => `${hour > 0 ? `${hour}小时` : ""}${minute > 0 ? `${minute}分钟` : ""}`,
|
|
134
|
+
"pisell2.product.card.day": (val) => "天",
|
|
135
|
+
"pisell2.product.card.day.event": (val) => "个活动",
|
|
136
|
+
"pisell2.product.card.minute": (val) => "分钟"
|
|
125
137
|
},
|
|
126
138
|
"zh-HK": {
|
|
127
139
|
"pisell2.ticket-booking.info": "資訊",
|
|
@@ -171,6 +183,12 @@ var locales_default = {
|
|
|
171
183
|
"pisell2.ticket-booking.add-to-cart": "已加入购物车",
|
|
172
184
|
"pisell2.ticket-booking.not-available-title": "抱歉,目前不在可售時間。",
|
|
173
185
|
"pisell2.ticket-booking.not-available-ok": "好的",
|
|
174
|
-
"pisell2.ticket-booking.in-cart": (number) => `已有${number}
|
|
186
|
+
"pisell2.ticket-booking.in-cart": (number) => `已有${number}件`,
|
|
187
|
+
"pisell2.product.card.cart-items": (number) => `${number}件商品`,
|
|
188
|
+
"pisell2.product.card.subtotal": "小計",
|
|
189
|
+
"pisell2.product.card.hour.minute": (hour, minute) => `${hour > 0 ? `${hour}小時` : ""}${minute > 0 ? `${minute}分鐘` : ""}`,
|
|
190
|
+
"pisell2.product.card.day": (val) => "天",
|
|
191
|
+
"pisell2.product.card.day.event": (val) => "个活動",
|
|
192
|
+
"pisell2.product.card.minute": (val) => "分鐘"
|
|
175
193
|
}
|
|
176
194
|
};
|
|
@@ -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>;
|
|
@@ -48,7 +48,8 @@ __export(serve_exports, {
|
|
|
48
48
|
getServices: () => getServices,
|
|
49
49
|
removeNoteByOrder: () => removeNoteByOrder,
|
|
50
50
|
saveAddonsByOrderId: () => saveAddonsByOrderId,
|
|
51
|
-
saveBookingFormData: () => saveBookingFormData
|
|
51
|
+
saveBookingFormData: () => saveBookingFormData,
|
|
52
|
+
voidAppointment: () => voidAppointment
|
|
52
53
|
});
|
|
53
54
|
module.exports = __toCommonJS(serve_exports);
|
|
54
55
|
var import_utils = require("./../../utils");
|
|
@@ -183,6 +184,10 @@ var getClientsEs = async (params) => {
|
|
|
183
184
|
let { data } = await import_utils.request.getRequest().get(prefix + "/customer/es/data", params);
|
|
184
185
|
return data;
|
|
185
186
|
};
|
|
187
|
+
var voidAppointment = async (order_id) => {
|
|
188
|
+
let { data } = await import_utils.request.getRequest().put(prefix + `/order/void/appointment/${order_id}`, {});
|
|
189
|
+
return data;
|
|
190
|
+
};
|
|
186
191
|
// Annotate the CommonJS export names for ESM import in node:
|
|
187
192
|
0 && (module.exports = {
|
|
188
193
|
addNotesByOrder,
|
|
@@ -214,5 +219,6 @@ var getClientsEs = async (params) => {
|
|
|
214
219
|
getServices,
|
|
215
220
|
removeNoteByOrder,
|
|
216
221
|
saveAddonsByOrderId,
|
|
217
|
-
saveBookingFormData
|
|
222
|
+
saveBookingFormData,
|
|
223
|
+
voidAppointment
|
|
218
224
|
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/ticketBooking/utils/formatProductMessage.ts
|
|
20
|
+
var formatProductMessage_exports = {};
|
|
21
|
+
__export(formatProductMessage_exports, {
|
|
22
|
+
default: () => formatProductMessage_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(formatProductMessage_exports);
|
|
25
|
+
var import_utils = require("@pisell/utils");
|
|
26
|
+
var import_formatTime = require("./formatTime");
|
|
27
|
+
var formatProductMessage = (product, utils) => {
|
|
28
|
+
const {
|
|
29
|
+
product_option_string,
|
|
30
|
+
options,
|
|
31
|
+
bundle,
|
|
32
|
+
currency_symbol,
|
|
33
|
+
start_date,
|
|
34
|
+
end_date,
|
|
35
|
+
holder_id,
|
|
36
|
+
holders,
|
|
37
|
+
multiResources
|
|
38
|
+
} = product;
|
|
39
|
+
let str = "";
|
|
40
|
+
if (start_date && end_date) {
|
|
41
|
+
str += `${(0, import_formatTime.getServiceTime)(product, start_date, utils)}
|
|
42
|
+
`;
|
|
43
|
+
}
|
|
44
|
+
if (holder_id && Array.isArray(holders)) {
|
|
45
|
+
const targetHolder = holders.find((holder) => holder.id === holder_id);
|
|
46
|
+
if (targetHolder == null ? void 0 : targetHolder.label) {
|
|
47
|
+
str += `${targetHolder.label}
|
|
48
|
+
`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (Array.isArray(multiResources) && multiResources.length > 0) {
|
|
52
|
+
multiResources.forEach((resource) => {
|
|
53
|
+
const { id, list } = resource;
|
|
54
|
+
const targetRes = list.find((l) => l.id === id);
|
|
55
|
+
if (targetRes == null ? void 0 : targetRes.label) str += `${targetRes == null ? void 0 : targetRes.label}
|
|
56
|
+
`;
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
if (product_option_string) str += `${product_option_string}
|
|
60
|
+
`;
|
|
61
|
+
if (Array.isArray(options) && options.length) {
|
|
62
|
+
options.forEach((opt) => {
|
|
63
|
+
str += `${opt.name} ${(0, import_utils.formatAmount)(opt == null ? void 0 : opt.price, 2, currency_symbol)} x ${opt.num}
|
|
64
|
+
`;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
if (Array.isArray(bundle) && bundle.length) {
|
|
68
|
+
bundle.forEach((item) => {
|
|
69
|
+
str += `${item.title}
|
|
70
|
+
`;
|
|
71
|
+
str += `${(0, import_utils.formatAmount)(item.price, 2, currency_symbol)} x ${item.num}`;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return str;
|
|
75
|
+
};
|
|
76
|
+
var formatProductMessage_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;
|