@pisell/private-materials 3.3.66 → 3.3.67
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 +13 -13
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/index.js +4 -5
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +1 -120
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/locales.d.ts +146 -164
- package/es/components/ticketBooking/locales.js +147 -195
- package/es/components/walletList/index.js +7 -55
- package/es/components/walletList/serve.d.ts +0 -8
- package/es/components/walletList/serve.js +0 -38
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/utils/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -120
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/locales.d.ts +146 -164
- package/lib/components/ticketBooking/locales.js +4 -22
- package/lib/components/walletList/index.js +14 -42
- package/lib/components/walletList/serve.d.ts +0 -8
- package/lib/components/walletList/serve.js +2 -15
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatProductMessage.js +0 -53
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/formatTime.js +0 -144
- package/es/components/walletList/locales.d.ts +0 -18
- package/es/components/walletList/locales.js +0 -17
- package/es/components/walletList/status.d.ts +0 -38
- package/es/components/walletList/status.js +0 -47
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -76
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/formatTime.js +0 -139
- package/lib/components/walletList/locales.d.ts +0 -18
- package/lib/components/walletList/locales.js +0 -41
- package/lib/components/walletList/status.d.ts +0 -38
- package/lib/components/walletList/status.js +0 -66
|
@@ -1,171 +1,153 @@
|
|
|
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
|
-
|
|
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;
|
|
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;
|
|
57
51
|
};
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
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;
|
|
52
|
+
"zh-CN": {
|
|
53
|
+
"pisell2.ticket-booking.info": string;
|
|
54
|
+
"pisell2.ticket-booking.notes": string;
|
|
55
|
+
"pisell2.ticket-booking.forms": string;
|
|
56
|
+
"pisell2.ticket-booking.sales": string;
|
|
57
|
+
"pisell2.ticket-booking.payment": string;
|
|
58
|
+
"pisell2.ticket-booking.unsaved-changes": string;
|
|
59
|
+
"pisell2.ticket-booking.exit-confirm": string;
|
|
60
|
+
"pisell2.ticket-booking.go-back": string;
|
|
61
|
+
"pisell2.ticket-booking.exit": string;
|
|
62
|
+
"pisell2.ticket-booking.deposit": string;
|
|
63
|
+
"pisell2.ticket-booking.copy-success": string;
|
|
64
|
+
"pisell2.ticket-booking.no-data": string;
|
|
65
|
+
"pisell2.ticket-booking.authorized": string;
|
|
66
|
+
"pisell2.ticket-booking.paid": string;
|
|
67
|
+
"pisell2.ticket-booking.partially-paid": string;
|
|
68
|
+
"pisell2.ticket-booking.partially-refunded": string;
|
|
69
|
+
"pisell2.ticket-booking.payment-pending": string;
|
|
70
|
+
"pisell2.ticket-booking.refunded": string;
|
|
71
|
+
"pisell2.ticket-booking.unpaid": string;
|
|
72
|
+
"pisell2.ticket-booking.voided": string;
|
|
73
|
+
"pisell2.ticket-booking.pending": string;
|
|
74
|
+
"pisell2.ticket-booking.all": string;
|
|
75
|
+
"pisell2.ticket-booking.not-started": string;
|
|
76
|
+
"pisell2.ticket-booking.started": string;
|
|
77
|
+
"pisell2.ticket-booking.finished": string;
|
|
78
|
+
"pisell2.ticket-booking.canceled": string;
|
|
79
|
+
"pisell2.ticket-booking.inform": string;
|
|
80
|
+
"pisell2.ticket-booking.check-management": string;
|
|
81
|
+
"pisell2.ticket-booking.confirm": string;
|
|
82
|
+
"pisell2.ticket-booking.dashboard": string;
|
|
83
|
+
"pisell2.ticket-booking.booking-list": string;
|
|
84
|
+
"pisell2.ticket-booking.full-data": string;
|
|
85
|
+
"pisell2.ticket-booking.today": string;
|
|
86
|
+
"pisell2.ticket-booking.now": string;
|
|
87
|
+
"pisell2.ticket-booking.start-time": string;
|
|
88
|
+
"pisell2.ticket-booking.create-time": string;
|
|
89
|
+
"pisell2.ticket-booking.customer": string;
|
|
90
|
+
"pisell2.ticket-booking.total": string;
|
|
91
|
+
"pisell2.ticket-booking.search": string;
|
|
92
|
+
"pisell2.ticket-booking.refresh-success": string;
|
|
93
|
+
"pisell2.ticket-booking.loading": string;
|
|
94
|
+
"pisell2.ticket-booking.appointment-not-found": string;
|
|
95
|
+
"pisell2.ticket-booking.scan": string;
|
|
96
|
+
"pisell2.ticket-booking.create-new": string;
|
|
97
|
+
"pisell2.ticket-booking.add-to-cart": string;
|
|
98
|
+
"pisell2.ticket-booking.not-available-title": string;
|
|
99
|
+
"pisell2.ticket-booking.not-available-ok": string;
|
|
100
|
+
"pisell2.ticket-booking.in-cart": (number: number) => string;
|
|
113
101
|
};
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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;
|
|
102
|
+
"zh-HK": {
|
|
103
|
+
"pisell2.ticket-booking.info": string;
|
|
104
|
+
"pisell2.ticket-booking.notes": string;
|
|
105
|
+
"pisell2.ticket-booking.forms": string;
|
|
106
|
+
"pisell2.ticket-booking.sales": string;
|
|
107
|
+
"pisell2.ticket-booking.payment": string;
|
|
108
|
+
"pisell2.ticket-booking.unsaved-changes": string;
|
|
109
|
+
"pisell2.ticket-booking.exit-confirm": string;
|
|
110
|
+
"pisell2.ticket-booking.go-back": string;
|
|
111
|
+
"pisell2.ticket-booking.exit": string;
|
|
112
|
+
"pisell2.ticket-booking.deposit": string;
|
|
113
|
+
"pisell2.ticket-booking.copy-success": string;
|
|
114
|
+
"pisell2.ticket-booking.no-data": string;
|
|
115
|
+
"pisell2.ticket-booking.authorized": string;
|
|
116
|
+
"pisell2.ticket-booking.paid": string;
|
|
117
|
+
"pisell2.ticket-booking.partially-paid": string;
|
|
118
|
+
"pisell2.ticket-booking.partially-refunded": string;
|
|
119
|
+
"pisell2.ticket-booking.payment-pending": string;
|
|
120
|
+
"pisell2.ticket-booking.refunded": string;
|
|
121
|
+
"pisell2.ticket-booking.unpaid": string;
|
|
122
|
+
"pisell2.ticket-booking.voided": string;
|
|
123
|
+
"pisell2.ticket-booking.pending": string;
|
|
124
|
+
"pisell2.ticket-booking.all": string;
|
|
125
|
+
"pisell2.ticket-booking.not-started": string;
|
|
126
|
+
"pisell2.ticket-booking.started": string;
|
|
127
|
+
"pisell2.ticket-booking.finished": string;
|
|
128
|
+
"pisell2.ticket-booking.canceled": string;
|
|
129
|
+
"pisell2.ticket-booking.inform": string;
|
|
130
|
+
"pisell2.ticket-booking.check-management": string;
|
|
131
|
+
"pisell2.ticket-booking.confirm": string;
|
|
132
|
+
"pisell2.ticket-booking.dashboard": string;
|
|
133
|
+
"pisell2.ticket-booking.booking-list": string;
|
|
134
|
+
"pisell2.ticket-booking.full-data": string;
|
|
135
|
+
"pisell2.ticket-booking.today": string;
|
|
136
|
+
"pisell2.ticket-booking.now": string;
|
|
137
|
+
"pisell2.ticket-booking.start-time": string;
|
|
138
|
+
"pisell2.ticket-booking.create-time": string;
|
|
139
|
+
"pisell2.ticket-booking.customer": string;
|
|
140
|
+
"pisell2.ticket-booking.total": string;
|
|
141
|
+
"pisell2.ticket-booking.search": string;
|
|
142
|
+
"pisell2.ticket-booking.refresh-success": string;
|
|
143
|
+
"pisell2.ticket-booking.loading": string;
|
|
144
|
+
"pisell2.ticket-booking.appointment-not-found": string;
|
|
145
|
+
"pisell2.ticket-booking.scan": string;
|
|
146
|
+
"pisell2.ticket-booking.create-new": string;
|
|
147
|
+
"pisell2.ticket-booking.add-to-cart": string;
|
|
148
|
+
"pisell2.ticket-booking.not-available-title": string;
|
|
149
|
+
"pisell2.ticket-booking.not-available-ok": string;
|
|
150
|
+
"pisell2.ticket-booking.in-cart": (number: number) => string;
|
|
169
151
|
};
|
|
170
152
|
};
|
|
171
153
|
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
|
-
en: {
|
|
26
|
+
"en": {
|
|
27
27
|
"pisell2.ticket-booking.info": "Info",
|
|
28
28
|
"pisell2.ticket-booking.notes": "Notes",
|
|
29
29
|
"pisell2.ticket-booking.forms": "Forms",
|
|
@@ -71,13 +71,7 @@ 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
|
|
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"}`
|
|
74
|
+
"pisell2.ticket-booking.in-cart": (number) => `${number} in cart`
|
|
81
75
|
},
|
|
82
76
|
"zh-CN": {
|
|
83
77
|
"pisell2.ticket-booking.info": "信息",
|
|
@@ -127,13 +121,7 @@ var locales_default = {
|
|
|
127
121
|
"pisell2.ticket-booking.add-to-cart": "已加入购物车",
|
|
128
122
|
"pisell2.ticket-booking.not-available-title": "抱歉,目前不在可售时间。",
|
|
129
123
|
"pisell2.ticket-booking.not-available-ok": "好的",
|
|
130
|
-
"pisell2.
|
|
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) => "分钟"
|
|
124
|
+
"pisell2.ticket-booking.in-cart": (number) => `已有${number}件`
|
|
137
125
|
},
|
|
138
126
|
"zh-HK": {
|
|
139
127
|
"pisell2.ticket-booking.info": "資訊",
|
|
@@ -183,12 +171,6 @@ var locales_default = {
|
|
|
183
171
|
"pisell2.ticket-booking.add-to-cart": "已加入购物车",
|
|
184
172
|
"pisell2.ticket-booking.not-available-title": "抱歉,目前不在可售時間。",
|
|
185
173
|
"pisell2.ticket-booking.not-available-ok": "好的",
|
|
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) => "分鐘"
|
|
174
|
+
"pisell2.ticket-booking.in-cart": (number) => `已有${number}件`
|
|
193
175
|
}
|
|
194
176
|
};
|
|
@@ -40,8 +40,6 @@ var import_useEngineContext = __toESM(require("./../../hooks/useEngineContext"))
|
|
|
40
40
|
var import_serve = require("./serve");
|
|
41
41
|
var import_utils = require("@pisell/utils");
|
|
42
42
|
var import_utils2 = require("./../../utils");
|
|
43
|
-
var import_status = require("./status");
|
|
44
|
-
var import_locales = __toESM(require("./locales"));
|
|
45
43
|
var import_index = require("./index.less");
|
|
46
44
|
var import_classnames = __toESM(require("classnames"));
|
|
47
45
|
var import_types = require("./types");
|
|
@@ -100,7 +98,7 @@ var DEFAULT_WALLET_CARD = {
|
|
|
100
98
|
original: "Level",
|
|
101
99
|
"zh-CN": "Level",
|
|
102
100
|
"zh-HK": "Level",
|
|
103
|
-
en: "Level"
|
|
101
|
+
"en": "Level"
|
|
104
102
|
},
|
|
105
103
|
metadata: {
|
|
106
104
|
barcodetype: "barCode",
|
|
@@ -123,7 +121,7 @@ var WalletList = (0, import_model.Provider)((props) => {
|
|
|
123
121
|
const context = (0, import_useEngineContext.default)();
|
|
124
122
|
const { constants, utils } = context.appHelper || {};
|
|
125
123
|
const dvaStore = (_b = (_a = utils == null ? void 0 : utils.getStore) == null ? void 0 : _a.call(utils)) == null ? void 0 : _b.getState();
|
|
126
|
-
import_utils.locales.init(
|
|
124
|
+
import_utils.locales.init({}, ((_c = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _c.translateLocale) || "en");
|
|
127
125
|
const isMountedRef = (0, import_react.useRef)(true);
|
|
128
126
|
const carouselRef = (0, import_react.useRef)(null);
|
|
129
127
|
const { store } = utils;
|
|
@@ -131,32 +129,23 @@ var WalletList = (0, import_model.Provider)((props) => {
|
|
|
131
129
|
const prevButtonRef = (0, import_react.useRef)(null);
|
|
132
130
|
const nextButtonRef = (0, import_react.useRef)(null);
|
|
133
131
|
const [currentIndex, setCurrentIndex] = (0, import_react.useState)(0);
|
|
134
|
-
const [walletShopList, setWalletShopList] = (0, import_react.useState)([]);
|
|
135
132
|
const requestIdRef = (0, import_react.useRef)("");
|
|
136
|
-
const pubsub = utils == null ? void 0 : utils.pubsub;
|
|
137
133
|
const isUserLoggedIn = (0, import_react.useMemo)(() => {
|
|
138
134
|
var _a2, _b2;
|
|
139
135
|
return !!((_b2 = (_a2 = utils == null ? void 0 : utils.token) == null ? void 0 : _a2.get) == null ? void 0 : _b2.call(_a2)) || false;
|
|
140
136
|
}, [store]);
|
|
141
|
-
const {
|
|
137
|
+
const {
|
|
138
|
+
list = [],
|
|
139
|
+
error,
|
|
140
|
+
authError,
|
|
141
|
+
hasAttempted,
|
|
142
|
+
isLoggedIn
|
|
143
|
+
} = state;
|
|
142
144
|
(0, import_react.useEffect)(() => {
|
|
143
145
|
if (utils == null ? void 0 : utils.request) {
|
|
144
146
|
import_utils2.request.setRequest(utils.request);
|
|
145
147
|
}
|
|
146
148
|
}, [utils == null ? void 0 : utils.request]);
|
|
147
|
-
(0, import_react.useEffect)(() => {
|
|
148
|
-
if (isUserLoggedIn) {
|
|
149
|
-
(0, import_serve.getWalletShopList)({ skip: 1, num: 50 }).then((res) => {
|
|
150
|
-
pubsub.publish("wallet:shopList", res);
|
|
151
|
-
});
|
|
152
|
-
const subscription = pubsub.subscribe("wallet:shopList", (res) => {
|
|
153
|
-
setWalletShopList((res == null ? void 0 : res.list) || []);
|
|
154
|
-
});
|
|
155
|
-
return () => {
|
|
156
|
-
subscription.unsubscribe();
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
}, [isUserLoggedIn]);
|
|
160
149
|
(0, import_react.useEffect)(() => {
|
|
161
150
|
return () => {
|
|
162
151
|
isMountedRef.current = false;
|
|
@@ -296,7 +285,7 @@ var WalletList = (0, import_model.Provider)((props) => {
|
|
|
296
285
|
(0, import_serve.getWalletBalance)()
|
|
297
286
|
]);
|
|
298
287
|
if (!isMountedRef.current || requestIdRef.current !== requestId) return;
|
|
299
|
-
if (walletListData) {
|
|
288
|
+
if (walletListData && walletListData.length > 0) {
|
|
300
289
|
try {
|
|
301
290
|
saveToLocalStorage(STORAGE_KEY, walletListData);
|
|
302
291
|
} catch (e) {
|
|
@@ -312,8 +301,7 @@ var WalletList = (0, import_model.Provider)((props) => {
|
|
|
312
301
|
}
|
|
313
302
|
if (!walletBalanceData || Array.isArray(walletListData) && walletListData.length === 0) {
|
|
314
303
|
setTimeout(async () => {
|
|
315
|
-
if (!isMountedRef.current || requestIdRef.current !== requestId)
|
|
316
|
-
return;
|
|
304
|
+
if (!isMountedRef.current || requestIdRef.current !== requestId) return;
|
|
317
305
|
try {
|
|
318
306
|
let retryBalanceData = walletBalanceData;
|
|
319
307
|
let retryListData = walletListData;
|
|
@@ -323,10 +311,7 @@ var WalletList = (0, import_model.Provider)((props) => {
|
|
|
323
311
|
try {
|
|
324
312
|
saveToLocalStorage(STORAGE_KEY_BALANCE, retryBalanceData);
|
|
325
313
|
} catch (e) {
|
|
326
|
-
console.error(
|
|
327
|
-
"Error saving retry balance to localStorage:",
|
|
328
|
-
e
|
|
329
|
-
);
|
|
314
|
+
console.error("Error saving retry balance to localStorage:", e);
|
|
330
315
|
}
|
|
331
316
|
}
|
|
332
317
|
}
|
|
@@ -484,24 +469,11 @@ var WalletList = (0, import_model.Provider)((props) => {
|
|
|
484
469
|
const renderBalanceCard = (0, import_react.useCallback)((balance) => {
|
|
485
470
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-balance-card", key: balance.id }, /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-title" }, balance.name), /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-value" }, balance.value)), /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-content" }, balance.items && balance.items.map((item) => /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-item", key: item.key }, /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-item-label" }, item.label), /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-item-value" }, item.value)))));
|
|
486
471
|
}, []);
|
|
487
|
-
const isShowGuide = (0, import_react.useMemo)(() => {
|
|
488
|
-
var _a2;
|
|
489
|
-
if (((_a2 = globalState == null ? void 0 : globalState.walletGuideConfig) == null ? void 0 : _a2.show) === 0) return false;
|
|
490
|
-
return (walletShopList == null ? void 0 : walletShopList.length) > 0 && !(list == null ? void 0 : list.length);
|
|
491
|
-
}, [walletShopList, list, globalState == null ? void 0 : globalState.walletGuideConfig]);
|
|
492
472
|
const renderContent = () => {
|
|
493
|
-
if (list.length === 0
|
|
473
|
+
if (list.length === 0) {
|
|
494
474
|
return null;
|
|
495
475
|
}
|
|
496
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-list-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-content" },
|
|
497
|
-
import_materials.WalletCard,
|
|
498
|
-
{
|
|
499
|
-
key: (0, import_utils.getUniqueId)(),
|
|
500
|
-
isGuide: true,
|
|
501
|
-
...globalState,
|
|
502
|
-
walletGuideConfig: (globalState == null ? void 0 : globalState.walletGuideConfig) || (0, import_status.defaultWalletGuideConfig)()
|
|
503
|
-
}
|
|
504
|
-
) : /* @__PURE__ */ import_react.default.createElement(import_materials.Carousel, { ref: carouselRef, ...carouselProps }, list.map((item) => renderWalletCard(item)))), list && list.length > 1 && isUserLoggedIn && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-navigation" }, /* @__PURE__ */ import_react.default.createElement(
|
|
476
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-list-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-content" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Carousel, { ref: carouselRef, ...carouselProps }, list.map((item) => renderWalletCard(item)))), list && list.length > 1 && isUserLoggedIn && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-navigation" }, /* @__PURE__ */ import_react.default.createElement(
|
|
505
477
|
"div",
|
|
506
478
|
{
|
|
507
479
|
className: `wallet-nav-button wallet-prev ${currentIndex === 0 ? "disabled" : ""}`,
|
|
@@ -10,11 +10,3 @@ export declare const getWalletList: () => Promise<WalletPass[]>;
|
|
|
10
10
|
* @returns
|
|
11
11
|
*/
|
|
12
12
|
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
|
13
|
-
/**
|
|
14
|
-
* @title: 获取钱包店铺列表
|
|
15
|
-
* @description:
|
|
16
|
-
* @return {*}
|
|
17
|
-
* @Author: WangHan
|
|
18
|
-
* @Date: 2025-06-09 11:12
|
|
19
|
-
*/
|
|
20
|
-
export declare const getWalletShopList: (params: any) => Promise<any>;
|
|
@@ -20,8 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
var serve_exports = {};
|
|
21
21
|
__export(serve_exports, {
|
|
22
22
|
getWalletBalance: () => getWalletBalance,
|
|
23
|
-
getWalletList: () => getWalletList
|
|
24
|
-
getWalletShopList: () => getWalletShopList
|
|
23
|
+
getWalletList: () => getWalletList
|
|
25
24
|
});
|
|
26
25
|
module.exports = __toCommonJS(serve_exports);
|
|
27
26
|
var import_utils = require("./../../utils");
|
|
@@ -41,20 +40,8 @@ var getWalletBalance = async () => {
|
|
|
41
40
|
return null;
|
|
42
41
|
}
|
|
43
42
|
};
|
|
44
|
-
var getWalletShopList = async (params) => {
|
|
45
|
-
try {
|
|
46
|
-
const { data } = await import_utils.request.getRequest().get("/h5/wallet/shop/list", params || {}, {
|
|
47
|
-
abort: true,
|
|
48
|
-
useCache: true
|
|
49
|
-
});
|
|
50
|
-
return data || null;
|
|
51
|
-
} catch (error) {
|
|
52
|
-
return null;
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
43
|
// Annotate the CommonJS export names for ESM import in node:
|
|
56
44
|
0 && (module.exports = {
|
|
57
45
|
getWalletBalance,
|
|
58
|
-
getWalletList
|
|
59
|
-
getWalletShopList
|
|
46
|
+
getWalletList
|
|
60
47
|
});
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
|
18
18
|
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
|
19
19
|
export declare const saveConfirm: () => Promise<{
|
|
20
20
|
destroy: () => void;
|
|
21
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => 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
22
|
}>;
|
|
23
23
|
export { modal };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.67",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "1.0.42",
|
|
63
|
+
"@pisell/materials": "3.3.26",
|
|
63
64
|
"@pisell/icon": "0.0.11",
|
|
64
|
-
"@pisell/date-picker": "3.0.2"
|
|
65
|
-
"@pisell/materials": "3.3.25"
|
|
65
|
+
"@pisell/date-picker": "3.0.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^18.0.0",
|