@pisell/private-materials 6.1.24 → 6.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/index.js +2 -2
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/index.js +4 -2
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/index.js +5 -7
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.js +2 -2
- package/package.json +12 -12
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/index.d.ts +0 -3
- package/es/components/booking/info/service/Lists.d.ts +0 -2
- package/es/components/booking/info/service/addService/index.d.ts +0 -11
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -4
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Lists.d.ts +0 -2
- package/es/components/booking/info/service2/utils.d.ts +0 -251
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/es/components/booking/locales.d.ts +0 -906
- package/es/components/booking/materiels/duration/index.d.ts +0 -13
- package/es/components/booking/materiels/startTime/index.d.ts +0 -9
- package/es/components/booking/utils.d.ts +0 -174
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/es/components/pay/toB/components/Cache/index.d.ts +0 -10
- package/es/components/pay/toB/components/Card/index.d.ts +0 -7
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -7
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -6
- package/es/components/pay/toB/components/Content/Footer.d.ts +0 -7
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/es/components/pay/toB/components/Content/index.d.ts +0 -4
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/index.d.ts +0 -5
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toB/index.d.ts +0 -3
- package/es/components/pay/toB/locales.d.ts +0 -54
- package/es/components/pay/toB/store/context.d.ts +0 -3
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- package/es/components/pay/toB/store/index.d.ts +0 -3
- package/es/components/pay/toB/store/provider.d.ts +0 -4
- package/es/components/pay/toB/store/utils.d.ts +0 -13
- package/es/components/pay/toB/types/index.d.ts +0 -1
- package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/locales.d.ts +0 -180
- package/es/components/ticketBooking/serve.d.ts +0 -288
- package/es/components/ticketBooking/utils/index.d.ts +0 -62
- package/es/components/walletList/index.d.ts +0 -28
- package/es/hooks/useEngineContext.d.ts +0 -3
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/es/plus/clinetSearch/index.d.ts +0 -18
- package/es/pro/comprehensiveSearch/index.d.ts +0 -9
- package/es/pro/comprehensiveSearch/types.d.ts +0 -31
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/es/pro/skuDetailModal/index.d.ts +0 -5
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/index.d.ts +0 -3
- package/lib/components/booking/info/service/Lists.d.ts +0 -2
- package/lib/components/booking/info/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -4
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Lists.d.ts +0 -2
- package/lib/components/booking/info/service2/utils.d.ts +0 -251
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/lib/components/booking/locales.d.ts +0 -906
- package/lib/components/booking/materiels/duration/index.d.ts +0 -13
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -9
- package/lib/components/booking/utils.d.ts +0 -174
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/lib/components/pay/toB/components/Cache/index.d.ts +0 -10
- package/lib/components/pay/toB/components/Card/index.d.ts +0 -7
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -7
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -6
- package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -7
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/lib/components/pay/toB/components/Content/index.d.ts +0 -4
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/index.d.ts +0 -5
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toB/index.d.ts +0 -3
- package/lib/components/pay/toB/locales.d.ts +0 -54
- package/lib/components/pay/toB/store/context.d.ts +0 -3
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- package/lib/components/pay/toB/store/index.d.ts +0 -3
- package/lib/components/pay/toB/store/provider.d.ts +0 -4
- package/lib/components/pay/toB/store/utils.d.ts +0 -13
- package/lib/components/pay/toB/types/index.d.ts +0 -1
- package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/locales.d.ts +0 -180
- package/lib/components/ticketBooking/serve.d.ts +0 -288
- package/lib/components/ticketBooking/utils/index.d.ts +0 -62
- package/lib/components/walletList/index.d.ts +0 -28
- package/lib/hooks/useEngineContext.d.ts +0 -3
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/lib/pro/skuDetailModal/index.d.ts +0 -5
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
2
|
-
import './index.less';
|
3
|
-
interface ITimeBarProps {
|
4
|
-
globalState: any;
|
5
|
-
setGlobalState: any;
|
6
|
-
onDateChange: (date: Dayjs, dateString?: string) => void;
|
7
|
-
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
8
|
-
setIntervalTime: (value: boolean) => void;
|
9
|
-
locale: string;
|
10
|
-
onCreateClick: () => void;
|
11
|
-
}
|
12
|
-
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
13
|
-
export default TimeBar;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { ClientData } from '../../../booking/info2/cartClientCard/types';
|
2
|
-
export declare const useCustomer: (props: {
|
3
|
-
changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
|
4
|
-
}) => {
|
5
|
-
customers: never[];
|
6
|
-
selectedCustomer: ClientData | null;
|
7
|
-
loading: boolean;
|
8
|
-
error: null;
|
9
|
-
pagination: {
|
10
|
-
page: number;
|
11
|
-
pageSize: number;
|
12
|
-
total: number;
|
13
|
-
};
|
14
|
-
loadCustomers: (params?: {
|
15
|
-
skip?: number;
|
16
|
-
num?: number;
|
17
|
-
search?: string;
|
18
|
-
}) => Promise<void>;
|
19
|
-
changePage: (page: number, pageSize: number) => Promise<void>;
|
20
|
-
selectCustomer: (customer: ClientData | null) => void;
|
21
|
-
addCustomerToFirst: (customer: ClientData) => void;
|
22
|
-
initLoad: (this: any, keyword?: any) => Promise<void>;
|
23
|
-
hasMore: boolean;
|
24
|
-
loadMore: () => Promise<void>;
|
25
|
-
};
|
@@ -1,180 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
en: {
|
3
|
-
'pisell2.ticket-booking.info': string;
|
4
|
-
'pisell2.ticket-booking.notes': string;
|
5
|
-
'pisell2.ticket-booking.note': string;
|
6
|
-
'pisell2.ticket-booking.forms': string;
|
7
|
-
'pisell2.ticket-booking.sales': string;
|
8
|
-
'pisell2.ticket-booking.payment': string;
|
9
|
-
'pisell2.ticket-booking.unsaved-changes': string;
|
10
|
-
'pisell2.ticket-booking.exit-confirm': string;
|
11
|
-
'pisell2.ticket-booking.go-back': string;
|
12
|
-
'pisell2.ticket-booking.exit': string;
|
13
|
-
'pisell2.ticket-booking.deposit': string;
|
14
|
-
'pisell2.ticket-booking.copy-success': string;
|
15
|
-
'pisell2.ticket-booking.no-data': string;
|
16
|
-
'pisell2.ticket-booking.authorized': string;
|
17
|
-
'pisell2.ticket-booking.paid': string;
|
18
|
-
'pisell2.ticket-booking.partially-paid': string;
|
19
|
-
'pisell2.ticket-booking.partially-refunded': string;
|
20
|
-
'pisell2.ticket-booking.payment-pending': string;
|
21
|
-
'pisell2.ticket-booking.refunded': string;
|
22
|
-
'pisell2.ticket-booking.unpaid': string;
|
23
|
-
'pisell2.ticket-booking.voided': string;
|
24
|
-
'pisell2.ticket-booking.pending': string;
|
25
|
-
'pisell2.ticket-booking.all': string;
|
26
|
-
'pisell2.ticket-booking.not-started': string;
|
27
|
-
'pisell2.ticket-booking.started': string;
|
28
|
-
'pisell2.ticket-booking.finished': string;
|
29
|
-
'pisell2.ticket-booking.canceled': string;
|
30
|
-
'pisell2.ticket-booking.inform': string;
|
31
|
-
'pisell2.ticket-booking.check-management': string;
|
32
|
-
'pisell2.ticket-booking.confirm': string;
|
33
|
-
'pisell2.ticket-booking.dashboard': string;
|
34
|
-
'pisell2.ticket-booking.booking-list': string;
|
35
|
-
'pisell2.ticket-booking.full-data': string;
|
36
|
-
'pisell2.ticket-booking.today': string;
|
37
|
-
'pisell2.ticket-booking.now': string;
|
38
|
-
'pisell2.ticket-booking.start-time': string;
|
39
|
-
'pisell2.ticket-booking.create-time': string;
|
40
|
-
'pisell2.ticket-booking.customer': string;
|
41
|
-
'pisell2.ticket-booking.total': string;
|
42
|
-
'pisell2.ticket-booking.search': string;
|
43
|
-
'pisell2.ticket-booking.refresh-success': string;
|
44
|
-
'pisell2.ticket-booking.loading': string;
|
45
|
-
'pisell2.ticket-booking.appointment-not-found': string;
|
46
|
-
'pisell2.ticket-booking.scan': string;
|
47
|
-
'pisell2.ticket-booking.create-new': string;
|
48
|
-
'pisell2.ticket-booking.add-to-cart': string;
|
49
|
-
'pisell2.ticket-booking.not-available-title': string;
|
50
|
-
'pisell2.ticket-booking.not-available-ok': string;
|
51
|
-
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
52
|
-
'pisell2.product.card.cart-items': (number: number) => string;
|
53
|
-
'pisell2.product.card.subtotal': string;
|
54
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
55
|
-
'pisell2.product.card.day': (val: number) => string;
|
56
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
57
|
-
'pisell2.product.card.minute': (val: number) => string;
|
58
|
-
'pisell2.ticket-booking.reload': string;
|
59
|
-
'pisell2.text.scan-global-failed': string;
|
60
|
-
};
|
61
|
-
'zh-CN': {
|
62
|
-
'pisell2.ticket-booking.info': string;
|
63
|
-
'pisell2.ticket-booking.notes': string;
|
64
|
-
'pisell2.ticket-booking.note': string;
|
65
|
-
'pisell2.ticket-booking.forms': string;
|
66
|
-
'pisell2.ticket-booking.sales': string;
|
67
|
-
'pisell2.ticket-booking.payment': string;
|
68
|
-
'pisell2.ticket-booking.unsaved-changes': string;
|
69
|
-
'pisell2.ticket-booking.exit-confirm': string;
|
70
|
-
'pisell2.ticket-booking.go-back': string;
|
71
|
-
'pisell2.ticket-booking.exit': string;
|
72
|
-
'pisell2.ticket-booking.deposit': string;
|
73
|
-
'pisell2.ticket-booking.copy-success': string;
|
74
|
-
'pisell2.ticket-booking.no-data': string;
|
75
|
-
'pisell2.ticket-booking.authorized': string;
|
76
|
-
'pisell2.ticket-booking.paid': string;
|
77
|
-
'pisell2.ticket-booking.partially-paid': string;
|
78
|
-
'pisell2.ticket-booking.partially-refunded': string;
|
79
|
-
'pisell2.ticket-booking.payment-pending': string;
|
80
|
-
'pisell2.ticket-booking.refunded': string;
|
81
|
-
'pisell2.ticket-booking.unpaid': string;
|
82
|
-
'pisell2.ticket-booking.voided': string;
|
83
|
-
'pisell2.ticket-booking.pending': string;
|
84
|
-
'pisell2.ticket-booking.all': string;
|
85
|
-
'pisell2.ticket-booking.not-started': string;
|
86
|
-
'pisell2.ticket-booking.started': string;
|
87
|
-
'pisell2.ticket-booking.finished': string;
|
88
|
-
'pisell2.ticket-booking.canceled': string;
|
89
|
-
'pisell2.ticket-booking.inform': string;
|
90
|
-
'pisell2.ticket-booking.check-management': string;
|
91
|
-
'pisell2.ticket-booking.confirm': string;
|
92
|
-
'pisell2.ticket-booking.dashboard': string;
|
93
|
-
'pisell2.ticket-booking.booking-list': string;
|
94
|
-
'pisell2.ticket-booking.full-data': string;
|
95
|
-
'pisell2.ticket-booking.today': string;
|
96
|
-
'pisell2.ticket-booking.now': string;
|
97
|
-
'pisell2.ticket-booking.start-time': string;
|
98
|
-
'pisell2.ticket-booking.create-time': string;
|
99
|
-
'pisell2.ticket-booking.customer': string;
|
100
|
-
'pisell2.ticket-booking.total': string;
|
101
|
-
'pisell2.ticket-booking.search': string;
|
102
|
-
'pisell2.ticket-booking.refresh-success': string;
|
103
|
-
'pisell2.ticket-booking.loading': string;
|
104
|
-
'pisell2.ticket-booking.appointment-not-found': string;
|
105
|
-
'pisell2.ticket-booking.scan': string;
|
106
|
-
'pisell2.ticket-booking.create-new': string;
|
107
|
-
'pisell2.ticket-booking.add-to-cart': string;
|
108
|
-
'pisell2.ticket-booking.not-available-title': string;
|
109
|
-
'pisell2.ticket-booking.not-available-ok': string;
|
110
|
-
'pisell2.product.card.cart-items': (number: number) => string;
|
111
|
-
'pisell2.product.card.subtotal': string;
|
112
|
-
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
113
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
114
|
-
'pisell2.product.card.day': (val: number) => string;
|
115
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
116
|
-
'pisell2.product.card.minute': (val: number) => string;
|
117
|
-
'pisell2.ticket-booking.reload': string;
|
118
|
-
'pisell2.text.scan-global-failed': string;
|
119
|
-
};
|
120
|
-
'zh-HK': {
|
121
|
-
'pisell2.ticket-booking.info': string;
|
122
|
-
'pisell2.ticket-booking.notes': string;
|
123
|
-
'pisell2.ticket-booking.note': string;
|
124
|
-
'pisell2.ticket-booking.forms': string;
|
125
|
-
'pisell2.ticket-booking.sales': string;
|
126
|
-
'pisell2.ticket-booking.payment': string;
|
127
|
-
'pisell2.ticket-booking.unsaved-changes': string;
|
128
|
-
'pisell2.ticket-booking.exit-confirm': string;
|
129
|
-
'pisell2.ticket-booking.go-back': string;
|
130
|
-
'pisell2.ticket-booking.exit': string;
|
131
|
-
'pisell2.ticket-booking.deposit': string;
|
132
|
-
'pisell2.ticket-booking.copy-success': string;
|
133
|
-
'pisell2.ticket-booking.no-data': string;
|
134
|
-
'pisell2.ticket-booking.authorized': string;
|
135
|
-
'pisell2.ticket-booking.paid': string;
|
136
|
-
'pisell2.ticket-booking.partially-paid': string;
|
137
|
-
'pisell2.ticket-booking.partially-refunded': string;
|
138
|
-
'pisell2.ticket-booking.payment-pending': string;
|
139
|
-
'pisell2.ticket-booking.refunded': string;
|
140
|
-
'pisell2.ticket-booking.unpaid': string;
|
141
|
-
'pisell2.ticket-booking.voided': string;
|
142
|
-
'pisell2.ticket-booking.pending': string;
|
143
|
-
'pisell2.ticket-booking.all': string;
|
144
|
-
'pisell2.ticket-booking.not-started': string;
|
145
|
-
'pisell2.ticket-booking.started': string;
|
146
|
-
'pisell2.ticket-booking.finished': string;
|
147
|
-
'pisell2.ticket-booking.canceled': string;
|
148
|
-
'pisell2.ticket-booking.inform': string;
|
149
|
-
'pisell2.ticket-booking.check-management': string;
|
150
|
-
'pisell2.ticket-booking.confirm': string;
|
151
|
-
'pisell2.ticket-booking.dashboard': string;
|
152
|
-
'pisell2.ticket-booking.booking-list': string;
|
153
|
-
'pisell2.ticket-booking.full-data': string;
|
154
|
-
'pisell2.ticket-booking.today': string;
|
155
|
-
'pisell2.ticket-booking.now': string;
|
156
|
-
'pisell2.ticket-booking.start-time': string;
|
157
|
-
'pisell2.ticket-booking.create-time': string;
|
158
|
-
'pisell2.ticket-booking.customer': string;
|
159
|
-
'pisell2.ticket-booking.total': string;
|
160
|
-
'pisell2.ticket-booking.search': string;
|
161
|
-
'pisell2.ticket-booking.refresh-success': string;
|
162
|
-
'pisell2.ticket-booking.loading': string;
|
163
|
-
'pisell2.ticket-booking.appointment-not-found': string;
|
164
|
-
'pisell2.ticket-booking.scan': string;
|
165
|
-
'pisell2.ticket-booking.create-new': string;
|
166
|
-
'pisell2.ticket-booking.add-to-cart': string;
|
167
|
-
'pisell2.ticket-booking.not-available-title': string;
|
168
|
-
'pisell2.ticket-booking.not-available-ok': string;
|
169
|
-
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
170
|
-
'pisell2.product.card.cart-items': (number: number) => string;
|
171
|
-
'pisell2.product.card.subtotal': string;
|
172
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
173
|
-
'pisell2.product.card.day': (val: number) => string;
|
174
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
175
|
-
'pisell2.product.card.minute': (val: number) => string;
|
176
|
-
'pisell2.ticket-booking.reload': string;
|
177
|
-
'pisell2.text.scan-global-failed': string;
|
178
|
-
};
|
179
|
-
};
|
180
|
-
export default _default;
|
@@ -1,288 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @title: 获取客户列表
|
3
|
-
* @description: 获取客户列表
|
4
|
-
* @param {any} params
|
5
|
-
* @return {*}
|
6
|
-
* @Author: cong.shao
|
7
|
-
* @Date: 2025-04-24 16:28
|
8
|
-
*/
|
9
|
-
export declare const getClients: (params: any) => Promise<any>;
|
10
|
-
/**
|
11
|
-
* @title: 获取服务列表
|
12
|
-
* @description: 查询服务列表
|
13
|
-
* @param {any} params
|
14
|
-
* @return {*}
|
15
|
-
* @Author: cong.shao
|
16
|
-
* @Date: 2025-04-24 16:28
|
17
|
-
*/
|
18
|
-
export declare const getServices: (params: any) => Promise<any>;
|
19
|
-
/**
|
20
|
-
* @title: 获取资源列表
|
21
|
-
* @description: 资源列表
|
22
|
-
* @param {any} params
|
23
|
-
* @return {*}
|
24
|
-
* @Author: cong.shao
|
25
|
-
* @Date: 2025-04-24 16:28
|
26
|
-
*/
|
27
|
-
export declare const getResources: (params: any) => Promise<any>;
|
28
|
-
/**
|
29
|
-
* @title: 获取产品列表
|
30
|
-
* @description: 查询产品列表
|
31
|
-
* @param {any} params
|
32
|
-
* @return {*}
|
33
|
-
* @Author: cong.shao
|
34
|
-
* @Date: 2025-04-24 16:28
|
35
|
-
*/
|
36
|
-
export declare const getProducts: (params: any) => Promise<any>;
|
37
|
-
/**
|
38
|
-
* @title: 获取表单列表
|
39
|
-
* @description: 获取关联记录表单列表
|
40
|
-
* @param {any} params
|
41
|
-
* @return {*}
|
42
|
-
* @Author: cong.shao
|
43
|
-
* @Date: 2025-04-24 16:28
|
44
|
-
*/
|
45
|
-
export declare const getForms: (params: any) => Promise<any>;
|
46
|
-
/**
|
47
|
-
* @title: 获取预约配置
|
48
|
-
* @description: 获取预约相关配置信息
|
49
|
-
* @param {any} params
|
50
|
-
* @return {*}
|
51
|
-
* @Author: cong.shao
|
52
|
-
* @Date: 2025-04-24 16:28
|
53
|
-
*/
|
54
|
-
export declare const getBookingConfig: (params: any) => Promise<any>;
|
55
|
-
/**
|
56
|
-
* @title: 获取宠物信息
|
57
|
-
* @description: 根据ID获取宠物信息
|
58
|
-
* @param {string} formId
|
59
|
-
* @param {any} params
|
60
|
-
* @return {*}
|
61
|
-
* @Author: cong.shao
|
62
|
-
* @Date: 2025-04-24 16:28
|
63
|
-
*/
|
64
|
-
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
65
|
-
/**
|
66
|
-
* @title: 获取宠物数据
|
67
|
-
* @description: 获取宠物数据
|
68
|
-
* @param {any} params
|
69
|
-
* @return {*}
|
70
|
-
* @Author: cong.shao
|
71
|
-
* @Date: 2025-04-24 16:28
|
72
|
-
*/
|
73
|
-
export declare const getPetsData: (params: any) => Promise<any>;
|
74
|
-
/**
|
75
|
-
* @title: 创建预约
|
76
|
-
* @description: 创建新的预约记录
|
77
|
-
* @param {any} params
|
78
|
-
* @return {*}
|
79
|
-
* @Author: cong.shao
|
80
|
-
* @Date: 2025-04-24 16:28
|
81
|
-
*/
|
82
|
-
export declare const createBooking: (params: any) => Promise<any>;
|
83
|
-
/**
|
84
|
-
* @title: 获取预约附加服务
|
85
|
-
* @description: 根据预约ID获取附加服务信息
|
86
|
-
* @param {string} bookingId
|
87
|
-
* @param {any} params
|
88
|
-
* @return {*}
|
89
|
-
* @Author: cong.shao
|
90
|
-
* @Date: 2025-04-24 16:28
|
91
|
-
*/
|
92
|
-
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
93
|
-
/**
|
94
|
-
* @title: 保存预约附加服务
|
95
|
-
* @description: 保存预约的附加服务信息
|
96
|
-
* @param {string} bookingId
|
97
|
-
* @param {any} params
|
98
|
-
* @return {*}
|
99
|
-
* @Author: cong.shao
|
100
|
-
* @Date: 2025-04-24 16:28
|
101
|
-
*/
|
102
|
-
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
103
|
-
/**
|
104
|
-
* @title: 获取预约详情
|
105
|
-
* @description: 获取预约详细信息
|
106
|
-
* @param {number} bookingId
|
107
|
-
* @param {any} params
|
108
|
-
* @return {*}
|
109
|
-
* @Author: cong.shao
|
110
|
-
* @Date: 2025-04-24 16:28
|
111
|
-
*/
|
112
|
-
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
113
|
-
/**
|
114
|
-
* @title: 编辑预约状态
|
115
|
-
* @description: 更新预约状态
|
116
|
-
* @param {string} bookingId
|
117
|
-
* @param {any} params
|
118
|
-
* @return {*}
|
119
|
-
* @Author: cong.shao
|
120
|
-
* @Date: 2025-04-24 16:28
|
121
|
-
*/
|
122
|
-
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
123
|
-
/**
|
124
|
-
* @title: 编辑预约信息
|
125
|
-
* @description: 更新预约信息
|
126
|
-
* @param {string} bookingId
|
127
|
-
* @param {any} params
|
128
|
-
* @return {*}
|
129
|
-
* @Author: cong.shao
|
130
|
-
* @Date: 2025-04-24 16:28
|
131
|
-
*/
|
132
|
-
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
133
|
-
/**
|
134
|
-
* @title: 获取预约备注
|
135
|
-
* @description: 获取预约相关备注信息
|
136
|
-
* @param {any} params
|
137
|
-
* @return {*}
|
138
|
-
* @Author: cong.shao
|
139
|
-
* @Date: 2025-04-24 16:28
|
140
|
-
*/
|
141
|
-
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
142
|
-
/**
|
143
|
-
* @title: 添加预约备注
|
144
|
-
* @description: 添加预约相关备注
|
145
|
-
* @param {any} params
|
146
|
-
* @return {*}
|
147
|
-
* @Author: cong.shao
|
148
|
-
* @Date: 2025-04-24 16:28
|
149
|
-
*/
|
150
|
-
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
151
|
-
/**
|
152
|
-
* @title: 编辑预约备注
|
153
|
-
* @description: 更新预约备注信息
|
154
|
-
* @param {string} bookingId
|
155
|
-
* @param {any} params
|
156
|
-
* @return {*}
|
157
|
-
* @Author: cong.shao
|
158
|
-
* @Date: 2025-04-24 16:28
|
159
|
-
*/
|
160
|
-
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
161
|
-
/**
|
162
|
-
* @title: 删除预约备注
|
163
|
-
* @description: 删除预约相关备注
|
164
|
-
* @param {string} bookingId
|
165
|
-
* @param {any} params
|
166
|
-
* @return {*}
|
167
|
-
* @Author: cong.shao
|
168
|
-
* @Date: 2025-04-24 16:28
|
169
|
-
*/
|
170
|
-
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
171
|
-
/**
|
172
|
-
* @title: 保存预约表单数据
|
173
|
-
* @description: 保存预约相关的表单数据
|
174
|
-
* @param {any} params
|
175
|
-
* @return {*}
|
176
|
-
* @Author: cong.shao
|
177
|
-
* @Date: 2025-04-24 16:28
|
178
|
-
*/
|
179
|
-
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
180
|
-
/**
|
181
|
-
* @title: 获取支付列表
|
182
|
-
* @description: 获取支付相关列表数据
|
183
|
-
* @param {any} params
|
184
|
-
* @return {*}
|
185
|
-
* @Author: cong.shao
|
186
|
-
* @Date: 2025-04-24 16:28
|
187
|
-
*/
|
188
|
-
export declare const getPaymentList: (params: any) => Promise<any>;
|
189
|
-
/**
|
190
|
-
* @title: 编辑订单备注
|
191
|
-
* @description: 更新订单备注信息
|
192
|
-
* @param {string} bookingId
|
193
|
-
* @param {any} params
|
194
|
-
* @return {*}
|
195
|
-
* @Author: cong.shao
|
196
|
-
* @Date: 2025-04-24 16:28
|
197
|
-
*/
|
198
|
-
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
199
|
-
/**
|
200
|
-
* @title: 获取退款信息
|
201
|
-
* @description: 获取退款相关信息
|
202
|
-
* @param {string} bookingId
|
203
|
-
* @param {any} params
|
204
|
-
* @return {*}
|
205
|
-
* @Author: cong.shao
|
206
|
-
* @Date: 2025-04-24 16:28
|
207
|
-
*/
|
208
|
-
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
209
|
-
/**
|
210
|
-
* @title: 创建活动预约
|
211
|
-
* @description: 创建新的活动预约记录
|
212
|
-
* @param {any} params
|
213
|
-
* @return {*}
|
214
|
-
* @Author: cong.shao
|
215
|
-
* @Date: 2025-04-24 16:28
|
216
|
-
*/
|
217
|
-
export declare const createEventBooking: (params: any) => Promise<any>;
|
218
|
-
/**
|
219
|
-
* @title: 获取活动预约详情
|
220
|
-
* @description: 获取活动预约详细信息
|
221
|
-
* @param {number} bookingId
|
222
|
-
* @param {any} params
|
223
|
-
* @return {*}
|
224
|
-
* @Author: cong.shao
|
225
|
-
* @Date: 2025-04-24 16:28
|
226
|
-
*/
|
227
|
-
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
228
|
-
/**
|
229
|
-
* @title: 编辑活动预约
|
230
|
-
* @description: 更新活动预约信息
|
231
|
-
* @param {string} bookingId
|
232
|
-
* @param {any} params
|
233
|
-
* @return {*}
|
234
|
-
* @Author: cong.shao
|
235
|
-
* @Date: 2025-04-24 16:28
|
236
|
-
*/
|
237
|
-
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
238
|
-
/**
|
239
|
-
* @title: 获取定金显示配置
|
240
|
-
* @description: 获取定金相关显示配置
|
241
|
-
* @param {any} params
|
242
|
-
* @return {*}
|
243
|
-
* @Author: cong.shao
|
244
|
-
* @Date: 2025-04-24 16:28
|
245
|
-
*/
|
246
|
-
export declare const getDepositShow: (params: any) => Promise<any>;
|
247
|
-
/**
|
248
|
-
* @title: 获取表单记录
|
249
|
-
* @description: 获取表单记录数据
|
250
|
-
* @param {any} params
|
251
|
-
* @return {*}
|
252
|
-
* @Author: cong.shao
|
253
|
-
* @Date: 2025-04-24 16:28
|
254
|
-
*/
|
255
|
-
export declare const getFormRecords: (params: any) => Promise<any>;
|
256
|
-
/**
|
257
|
-
* @title: 获取预约列表
|
258
|
-
* @description: 获取预约列表数据
|
259
|
-
* @param {any} params
|
260
|
-
* @return {*}
|
261
|
-
* @Author: cong.shao
|
262
|
-
* @Date: 2025-04-24 16:28
|
263
|
-
*/
|
264
|
-
export declare const getBookingList2: (params: any) => Promise<any>;
|
265
|
-
/**
|
266
|
-
* @title: 获取订单信息
|
267
|
-
* @description: 根据机器码获取订单信息
|
268
|
-
* @param {any} params
|
269
|
-
* @return {*}
|
270
|
-
* @Author: cong.shao
|
271
|
-
* @Date: 2025-04-24 16:28
|
272
|
-
*/
|
273
|
-
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
274
|
-
/**
|
275
|
-
* @title: 获取ES客户数据
|
276
|
-
* @description: 从ES获取客户数据
|
277
|
-
* @param {any} params
|
278
|
-
* @return {*}
|
279
|
-
* @Author: cong.shao
|
280
|
-
* @Date: 2025-04-24 16:28
|
281
|
-
*/
|
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>;
|
288
|
-
export declare const getProductList: (params: any) => Promise<any>;
|
@@ -1,62 +0,0 @@
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
2
|
-
/** dayjs对象格式化为字符串时间 */
|
3
|
-
export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
|
4
|
-
export declare const getDefaultStartParam: () => string | string[];
|
5
|
-
export declare const formatBookingList: (bookingList: any[]) => any[];
|
6
|
-
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
7
|
-
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
8
|
-
export declare const formatOptions: (detail: any) => any;
|
9
|
-
export declare const formatHolder: (detail: any) => any;
|
10
|
-
export declare const restoreProductOtherData: (data: any) => {
|
11
|
-
product_id: any;
|
12
|
-
option: any;
|
13
|
-
bundle: any;
|
14
|
-
product_variant_id: any;
|
15
|
-
quantity: number;
|
16
|
-
} | undefined;
|
17
|
-
export declare const isSameProduct: (a: any, b: any) => boolean;
|
18
|
-
export declare const addService: (list: any[], addItem: any, state: any) => {
|
19
|
-
list: any[];
|
20
|
-
quantity: any;
|
21
|
-
};
|
22
|
-
export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
|
23
|
-
export declare const getCartProductOverlay: (state: any) => any;
|
24
|
-
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
25
|
-
export declare const getIsShowNumber: (item: any, state: any) => any;
|
26
|
-
export declare const genServiceKey: (item: any) => string;
|
27
|
-
export declare const getIsParallelResourcesBooking: (record: any) => boolean;
|
28
|
-
declare type ScanData = {
|
29
|
-
type: string;
|
30
|
-
status: 'success' | 'failed';
|
31
|
-
scanType: 'nfc' | 'scanner';
|
32
|
-
scanCode: string;
|
33
|
-
result: {
|
34
|
-
searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
|
35
|
-
response: {
|
36
|
-
status: boolean;
|
37
|
-
code: number;
|
38
|
-
message: string;
|
39
|
-
data: any;
|
40
|
-
};
|
41
|
-
};
|
42
|
-
};
|
43
|
-
export declare const formatScanCustomer: (data: ScanData) => {
|
44
|
-
searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
|
45
|
-
data: any;
|
46
|
-
scanCode: string;
|
47
|
-
} | null;
|
48
|
-
export declare const formatScanGlobal: (data: ScanData) => {
|
49
|
-
searchType: "wallet";
|
50
|
-
data: any;
|
51
|
-
scanCode: string;
|
52
|
-
} | {
|
53
|
-
searchType: "walletPass";
|
54
|
-
data: any;
|
55
|
-
scanCode: string;
|
56
|
-
} | {
|
57
|
-
searchType: "product" | "local_product";
|
58
|
-
data: any;
|
59
|
-
scanCode: string;
|
60
|
-
} | null | undefined;
|
61
|
-
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
62
|
-
export {};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
declare module 'react' {
|
4
|
-
interface HTMLAttributes<T> {
|
5
|
-
role?: string;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
declare global {
|
9
|
-
namespace JSX {
|
10
|
-
interface IntrinsicElements {
|
11
|
-
div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
12
|
-
children?: React.ReactNode;
|
13
|
-
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
14
|
-
onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
|
15
|
-
onMouseUp?: React.MouseEventHandler<HTMLDivElement>;
|
16
|
-
onTouchStart?: React.TouchEventHandler<HTMLDivElement>;
|
17
|
-
onTouchEnd?: React.TouchEventHandler<HTMLDivElement>;
|
18
|
-
role?: string;
|
19
|
-
};
|
20
|
-
img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
21
|
-
span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
|
22
|
-
children?: React.ReactNode;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
declare const WalletList: (props: any) => JSX.Element;
|
28
|
-
export default WalletList;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
en: {
|
3
|
-
'pisell2.text.add-client': string;
|
4
|
-
'pisell2.text.change-client': string;
|
5
|
-
'pisell2.text.remove-client': string;
|
6
|
-
};
|
7
|
-
'zh-CN': {
|
8
|
-
'pisell2.text.add-client': string;
|
9
|
-
'pisell2.text.change-client': string;
|
10
|
-
'pisell2.text.remove-client': string;
|
11
|
-
};
|
12
|
-
'zh-HK': {
|
13
|
-
'pisell2.text.add-client': string;
|
14
|
-
'pisell2.text.change-client': string;
|
15
|
-
'pisell2.text.remove-client': string;
|
16
|
-
};
|
17
|
-
};
|
18
|
-
export default _default;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { TableProps } from 'antd';
|
3
|
-
import type { ComprehensiveSearchProps } from '../../pro/comprehensiveSearch/types';
|
4
|
-
import type { ClientData } from './types';
|
5
|
-
import './index.less';
|
6
|
-
interface ClientSearchProps extends Omit<ComprehensiveSearchProps, 'resultDisplay' | 'onRowClick'> {
|
7
|
-
onRowClick?: (record: ClientData, index: number) => void;
|
8
|
-
onAddClient?: (record: ClientData, isChecked: boolean) => void;
|
9
|
-
resultProps?: TableProps<ClientData>;
|
10
|
-
hasMore?: boolean;
|
11
|
-
onLoadMore?: () => void;
|
12
|
-
}
|
13
|
-
export declare type ClientSearchRef = {
|
14
|
-
setSearchKeyword: (keyword: string) => void;
|
15
|
-
resetScrollPosition: () => void;
|
16
|
-
};
|
17
|
-
declare const ClientSearch: React.ForwardRefExoticComponent<ClientSearchProps & React.RefAttributes<ClientSearchRef>>;
|
18
|
-
export default ClientSearch;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ComprehensiveSearchProps, SearchResult } from './types';
|
3
|
-
import './index.less';
|
4
|
-
export declare type ComprehensiveSearchRef = {
|
5
|
-
setSearchKeyword: (keyword: string) => void;
|
6
|
-
};
|
7
|
-
declare const ComprehensiveSearch: React.ForwardRefExoticComponent<ComprehensiveSearchProps & React.RefAttributes<ComprehensiveSearchRef>>;
|
8
|
-
export default ComprehensiveSearch;
|
9
|
-
export type { ComprehensiveSearchProps, SearchResult };
|