@pisell/private-materials 3.3.8 → 3.3.9
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 +4 -4
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +8 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +77 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.js +5 -3
- package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/es/components/appointmentBooking/hooks.d.ts +105 -0
- package/es/components/appointmentBooking/hooks.js +3 -1
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +345 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/addons/model.js +5 -5
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/listComponent/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productExtension/server.js +2 -2
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/wallet/model.d.ts +9 -1
- package/es/hooks/useComponents.js +1 -1
- package/es/utils/index.d.ts +1 -1
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +77 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.js +4 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/lib/components/appointmentBooking/hooks.d.ts +105 -0
- package/lib/components/appointmentBooking/hooks.js +2 -1
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +345 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/Sales/Event/index.d.ts +0 -30
- package/es/components/appointmentBooking/utils.d.ts +0 -151
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/footer/index.d.ts +0 -11
- package/es/components/booking/components/footer/utils.d.ts +0 -30
- package/es/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
- package/es/components/booking/info/hooks/useAddHolder.d.ts +0 -2
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/es/components/booking/info/index.d.ts +0 -3
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/pet/index.d.ts +0 -14
- 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/index.d.ts +0 -7
- package/es/components/booking/info/service/index.d.ts +0 -4
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -88
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
- 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/utils.d.ts +0 -4
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -34
- package/es/components/booking/materiels/holder/index.d.ts +0 -7
- package/es/components/booking/notes/addNote/index.d.ts +0 -4
- package/es/components/index.d.ts +0 -18
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/es/components/productSelect/components/gridLayout/index.d.ts +0 -9
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -34
- package/es/components/productSelect/hooks/useToken.d.ts +0 -18
- package/es/components/productSelect/index.d.ts +0 -23
- package/es/components/productSelect/locales.d.ts +0 -18
- package/es/components/productSelect/mock.d.ts +0 -134
- package/es/components/productSelect/theme/token.d.ts +0 -17
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -2
- package/es/components/shoppingCart/index.d.ts +0 -3
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/subTotal/index.d.ts +0 -22
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/es/components/ticketBooking/data.d.ts +0 -58
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
- package/es/components/ticketBooking/index.d.ts +0 -3
- package/es/components/ticketBooking/locales.d.ts +0 -144
- package/es/components/ticketBooking/miniRedux.d.ts +0 -22
- package/es/components/ticketBooking/serve.d.ts +0 -282
- package/es/components/ticketBooking/utils/index.d.ts +0 -14
- package/es/components/wallet/Detail/index.d.ts +0 -42
- package/es/index.d.ts +0 -45
- package/lib/components/Sales/Event/index.d.ts +0 -30
- package/lib/components/appointmentBooking/utils.d.ts +0 -151
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/footer/index.d.ts +0 -11
- package/lib/components/booking/components/footer/utils.d.ts +0 -30
- package/lib/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
- package/lib/components/booking/info/hooks/useAddHolder.d.ts +0 -2
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/lib/components/booking/info/index.d.ts +0 -3
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/pet/index.d.ts +0 -14
- 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/index.d.ts +0 -7
- package/lib/components/booking/info/service/index.d.ts +0 -4
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -88
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
- 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/utils.d.ts +0 -4
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -34
- package/lib/components/booking/materiels/holder/index.d.ts +0 -7
- package/lib/components/booking/notes/addNote/index.d.ts +0 -4
- package/lib/components/index.d.ts +0 -18
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/lib/components/productSelect/components/gridLayout/index.d.ts +0 -9
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -34
- package/lib/components/productSelect/hooks/useToken.d.ts +0 -18
- package/lib/components/productSelect/index.d.ts +0 -23
- package/lib/components/productSelect/locales.d.ts +0 -18
- package/lib/components/productSelect/mock.d.ts +0 -134
- package/lib/components/productSelect/theme/token.d.ts +0 -17
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -2
- package/lib/components/shoppingCart/index.d.ts +0 -3
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/subTotal/index.d.ts +0 -22
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/lib/components/ticketBooking/data.d.ts +0 -58
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
- package/lib/components/ticketBooking/index.d.ts +0 -3
- package/lib/components/ticketBooking/locales.d.ts +0 -144
- package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
- package/lib/components/ticketBooking/serve.d.ts +0 -282
- package/lib/components/ticketBooking/utils/index.d.ts +0 -14
- package/lib/components/wallet/Detail/index.d.ts +0 -42
- package/lib/index.d.ts +0 -45
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export declare const useAppointmentBooking: () => any;
|
|
2
|
+
export declare const useShopDiscount: () => any;
|
|
3
|
+
export declare const contextUtils: () => any;
|
|
4
|
+
/**
|
|
5
|
+
* @title: 监听步骤发生变化
|
|
6
|
+
* @description:
|
|
7
|
+
* @return {*}
|
|
8
|
+
* @Author: WangHan
|
|
9
|
+
* @Date: 2025-04-15 11:11
|
|
10
|
+
*/
|
|
11
|
+
export declare const useAppointmentBookingStep: () => {
|
|
12
|
+
getStepIndex: (type: string, skipNumber?: number) => any;
|
|
13
|
+
stepList: any;
|
|
14
|
+
removeStep: (key: string) => any;
|
|
15
|
+
addStep: (props: any, stepKey?: string) => any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @title: 获取商品数据
|
|
19
|
+
* @description:
|
|
20
|
+
* @return {*}
|
|
21
|
+
* @Author: WangHan
|
|
22
|
+
* @Date: 2025-04-15 11:12
|
|
23
|
+
*/
|
|
24
|
+
export declare const useAppointmentBookingProduct: () => {
|
|
25
|
+
checkProductType: (productId: number) => Promise<any>;
|
|
26
|
+
getProducts: () => Promise<any>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @title: 更新购物车数据
|
|
30
|
+
* @description:
|
|
31
|
+
* @return {*}
|
|
32
|
+
* @Author: WangHan
|
|
33
|
+
* @Date: 2025-04-15 11:12
|
|
34
|
+
*/
|
|
35
|
+
export declare const useAppointmentBookingCart: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* @title: 获取登录状态
|
|
38
|
+
* @description:
|
|
39
|
+
* @return {*}
|
|
40
|
+
* @Author: WangHan
|
|
41
|
+
* @Date: 2025-04-15 11:14
|
|
42
|
+
*/
|
|
43
|
+
export declare const useAppointmentBookingLogin: () => {
|
|
44
|
+
isLogin: boolean;
|
|
45
|
+
openLoginModal: (params: {
|
|
46
|
+
callback: any;
|
|
47
|
+
}) => void;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @title: 获取账户
|
|
51
|
+
* @description:
|
|
52
|
+
* @return {*}
|
|
53
|
+
* @Author: WangHan
|
|
54
|
+
* @Date: 2025-04-15 11:15
|
|
55
|
+
*/
|
|
56
|
+
export declare const useAppointmentBookingAccount: () => {
|
|
57
|
+
accountLists: any;
|
|
58
|
+
getHolders: () => Promise<any>;
|
|
59
|
+
form_id: any;
|
|
60
|
+
addAccount: (val: any, type?: string) => Promise<any>;
|
|
61
|
+
checkAccount: (type: any) => any;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @title: 获取资源数据
|
|
65
|
+
* @description:
|
|
66
|
+
* @return {*}
|
|
67
|
+
* @Author: WangHan
|
|
68
|
+
* @Date: 2025-04-15 11:29
|
|
69
|
+
*/
|
|
70
|
+
export declare const useAppointmentBookingResource: () => {
|
|
71
|
+
getResourceTimeSlot: (index?: number) => Promise<void>;
|
|
72
|
+
getResourceList: () => {
|
|
73
|
+
resources: any;
|
|
74
|
+
resourceCodes: any;
|
|
75
|
+
};
|
|
76
|
+
autoSelectAllProductResources: (index?: number) => Promise<any>;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @title: 是否跳过资源选择步骤
|
|
80
|
+
* @description:
|
|
81
|
+
* @return {*}
|
|
82
|
+
* @Author: WangHan
|
|
83
|
+
* @Date: 2025-04-21 11:47
|
|
84
|
+
*/
|
|
85
|
+
export declare const useIsSkipResourceStep: () => {
|
|
86
|
+
checkSkipResourceStep: () => Promise<boolean>;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @title: 获取预约配置
|
|
90
|
+
* @description:
|
|
91
|
+
* @return {*}
|
|
92
|
+
* @Author: WangHan
|
|
93
|
+
* @Date: 2025-04-24 18:15
|
|
94
|
+
*/
|
|
95
|
+
export declare const useAppointmentBookingSetting: () => {
|
|
96
|
+
isDateSelectedFirst: boolean;
|
|
97
|
+
isFormSubject: boolean;
|
|
98
|
+
customPageId: any;
|
|
99
|
+
channel: any;
|
|
100
|
+
getLoadAllSchedule: () => void;
|
|
101
|
+
bookingSubject: any;
|
|
102
|
+
setOtherData: (key: string, val: any) => any;
|
|
103
|
+
getOtherData: (key: string) => any;
|
|
104
|
+
formName: any;
|
|
105
|
+
};
|
|
@@ -313,7 +313,7 @@ var useAppointmentBookingSetting = () => {
|
|
|
313
313
|
var _a;
|
|
314
314
|
const utils = contextUtils();
|
|
315
315
|
const { appointmentBooking } = (0, import_context.useAppointmentBookingContext)();
|
|
316
|
-
const { bookingProcess, bookingSubject, customPageId } = ((_a = appointmentBooking == null ? void 0 : appointmentBooking.otherParams) == null ? void 0 : _a.productModuleParams) || {};
|
|
316
|
+
const { bookingProcess, bookingSubject, customPageId, channel } = ((_a = appointmentBooking == null ? void 0 : appointmentBooking.otherParams) == null ? void 0 : _a.productModuleParams) || {};
|
|
317
317
|
const getLoadAllSchedule = () => {
|
|
318
318
|
const res = appointmentBooking.loadAllSchedule();
|
|
319
319
|
console.log(res, "loadAllSchedule");
|
|
@@ -333,6 +333,7 @@ var useAppointmentBookingSetting = () => {
|
|
|
333
333
|
// 主体是否是表单
|
|
334
334
|
isFormSubject: (bookingSubject == null ? void 0 : bookingSubject.type) === "form",
|
|
335
335
|
customPageId,
|
|
336
|
+
channel,
|
|
336
337
|
getLoadAllSchedule,
|
|
337
338
|
bookingSubject,
|
|
338
339
|
setOtherData,
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
4
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
5
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
6
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
7
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
8
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
9
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
10
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
11
|
+
'pisell2.event.close.title': string;
|
|
12
|
+
'pisell2.event.close.tip': string;
|
|
13
|
+
'pisell2.event.close.continue': string;
|
|
14
|
+
'pisell2.event.close.exit': string;
|
|
15
|
+
'pisell2.appointment.step': (step: number) => string;
|
|
16
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
17
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
18
|
+
'pisell2.event.select.event': string;
|
|
19
|
+
'pisell2.event.cart': string;
|
|
20
|
+
'pisell2.event.total': string;
|
|
21
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
22
|
+
'pisell2.event.continue': string;
|
|
23
|
+
'pisell2.event.details': string;
|
|
24
|
+
'pisell2.event.introduction': string;
|
|
25
|
+
'pisell2.event.schedule': string;
|
|
26
|
+
'pisell2.event.teacher': string;
|
|
27
|
+
'pisell2.event.campus': string;
|
|
28
|
+
'pisell2.event.resource': string;
|
|
29
|
+
'pisell2.event.booking.options': string;
|
|
30
|
+
'pisell2.event.add.to.cart': string;
|
|
31
|
+
'pisell2.event.description': string;
|
|
32
|
+
'pisell2.event.view.more': string;
|
|
33
|
+
'pisell2.event.view.less': string;
|
|
34
|
+
'pisell2.event.holder.modal.title': string;
|
|
35
|
+
'pisell2.event.confirm': string;
|
|
36
|
+
'pisell2.event.confirm.information': string;
|
|
37
|
+
'pisell2.event.confirm.information.tip': string;
|
|
38
|
+
'pisell2.event.confirm.information.other': string;
|
|
39
|
+
'pisell2.event.add.others': string;
|
|
40
|
+
'pisell2.event.checkout': string;
|
|
41
|
+
'pisell2.event.edit.event': string;
|
|
42
|
+
'pisell2.event.remove': string;
|
|
43
|
+
'pisell2.event.option': string;
|
|
44
|
+
'pisell2.event.order.items.error.title': string;
|
|
45
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
46
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
47
|
+
'pisell2.event.order.items.error.return': string;
|
|
48
|
+
'pisell2.event.order.items.error.back': string;
|
|
49
|
+
'pisell2.event.order.items.error.continue': string;
|
|
50
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
51
|
+
'pisell2.event.remove.title': string;
|
|
52
|
+
'pisell2.event.remove.tip': string;
|
|
53
|
+
'pisell2.event.remove.cancel': string;
|
|
54
|
+
'pisell2.event.create': string;
|
|
55
|
+
'pisell2.event.search': string;
|
|
56
|
+
'pisell2.event.empty.service': string;
|
|
57
|
+
'pisell2.event.title': (val: number) => string;
|
|
58
|
+
'pisell2.event.create.form': string;
|
|
59
|
+
'pisell2.event.empty.event': string;
|
|
60
|
+
'pisell2.event.error.holder': string;
|
|
61
|
+
'pisell2.event.price.from': string;
|
|
62
|
+
'pisell2.event.empty.holder.title': string;
|
|
63
|
+
'pisell2.event.empty.holder.tip': string;
|
|
64
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
65
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
66
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
67
|
+
'pisell2.event.event.full.title': string;
|
|
68
|
+
'pisell2.event.event.full.tip': string;
|
|
69
|
+
'pisell2.event.event.full.ok': string;
|
|
70
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
71
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
72
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
73
|
+
'pisell2.appointment.booking.empty.data': string;
|
|
74
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
75
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
76
|
+
'pisell2.appointment.add.guest': string;
|
|
77
|
+
'pisell2.appointment.edit.service': string;
|
|
78
|
+
'pisell2.appointment.remove.guest': string;
|
|
79
|
+
'pisell2.appointment.no.available.service': string;
|
|
80
|
+
'pisell2.appointment.max.guest': string;
|
|
81
|
+
'pisell2.appointment.no.available.time': string;
|
|
82
|
+
'pisell2.appointment.monday': string;
|
|
83
|
+
'pisell2.appointment.tuesday': string;
|
|
84
|
+
'pisell2.appointment.wednesday': string;
|
|
85
|
+
'pisell2.appointment.thursday': string;
|
|
86
|
+
'pisell2.appointment.friday': string;
|
|
87
|
+
'pisell2.appointment.saturday': string;
|
|
88
|
+
'pisell2.appointment.sunday': string;
|
|
89
|
+
'pisell2.appointment.any.professional': string;
|
|
90
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
91
|
+
'pisell2.appointment.deposit': string;
|
|
92
|
+
'pisell2.appointment.deposit.agreed': string;
|
|
93
|
+
'pisell2.appointment.deposit.agree.policy': string;
|
|
94
|
+
'pisell2.appointment.deposit.and': string;
|
|
95
|
+
'pisell2.appointment.deposit.amount.tip1': string;
|
|
96
|
+
'pisell2.appointment.deposit.amount.tip2': string;
|
|
97
|
+
'pisell2.appointment.deposit.close': string;
|
|
98
|
+
'pisell2.appointment.tips': string;
|
|
99
|
+
'pisell2.appointment.tips.content': string;
|
|
100
|
+
'pisell2.appointment.fill-form': string;
|
|
101
|
+
'pisell2.appointment.select.holder': (val: string) => string;
|
|
102
|
+
'pisell2.appointment.select.time': string;
|
|
103
|
+
'pisell2.appointment.unselect.time': string;
|
|
104
|
+
'pisell2.appointment.unselect.date': string;
|
|
105
|
+
'pisell2.appointment.add-guests': string;
|
|
106
|
+
'pisell2.text.apply': string;
|
|
107
|
+
'pisell2.text.goodpass': string;
|
|
108
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
109
|
+
'pisell2.text.goodpass.view-more': string;
|
|
110
|
+
'pisell2.text.goodpass.code': string;
|
|
111
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
112
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
113
|
+
'pisell2.text.goodpass.login': string;
|
|
114
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
115
|
+
};
|
|
116
|
+
'zh-CN': {
|
|
117
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
118
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
119
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
120
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
121
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
122
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
123
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
124
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
125
|
+
'pisell2.event.close.title': string;
|
|
126
|
+
'pisell2.event.close.tip': string;
|
|
127
|
+
'pisell2.event.close.continue': string;
|
|
128
|
+
'pisell2.event.close.exit': string;
|
|
129
|
+
'pisell2.appointment.step': (step: number) => string;
|
|
130
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
131
|
+
'pisell2.event.select.event': string;
|
|
132
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
133
|
+
'pisell2.event.cart': string;
|
|
134
|
+
'pisell2.event.total': string;
|
|
135
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
136
|
+
'pisell2.event.continue': string;
|
|
137
|
+
'pisell2.event.details': string;
|
|
138
|
+
'pisell2.event.introduction': string;
|
|
139
|
+
'pisell2.event.schedule': string;
|
|
140
|
+
'pisell2.event.teacher': string;
|
|
141
|
+
'pisell2.event.campus': string;
|
|
142
|
+
'pisell2.event.resource': string;
|
|
143
|
+
'pisell2.event.booking.options': string;
|
|
144
|
+
'pisell2.event.add.to.cart': string;
|
|
145
|
+
'pisell2.event.description': string;
|
|
146
|
+
'pisell2.event.view.more': string;
|
|
147
|
+
'pisell2.event.view.less': string;
|
|
148
|
+
'pisell2.event.holder.modal.title': string;
|
|
149
|
+
'pisell2.event.confirm': string;
|
|
150
|
+
'pisell2.event.confirm.information': string;
|
|
151
|
+
'pisell2.event.confirm.information.tip': string;
|
|
152
|
+
'pisell2.event.confirm.information.other': string;
|
|
153
|
+
'pisell2.event.add.others': string;
|
|
154
|
+
'pisell2.event.checkout': string;
|
|
155
|
+
'pisell2.event.edit.event': string;
|
|
156
|
+
'pisell2.event.remove': string;
|
|
157
|
+
'pisell2.event.option': string;
|
|
158
|
+
'pisell2.event.order.items.error.title': string;
|
|
159
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
160
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
161
|
+
'pisell2.event.order.items.error.return': string;
|
|
162
|
+
'pisell2.event.order.items.error.back': string;
|
|
163
|
+
'pisell2.event.order.items.error.continue': string;
|
|
164
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
165
|
+
'pisell2.event.remove.title': string;
|
|
166
|
+
'pisell2.event.remove.tip': string;
|
|
167
|
+
'pisell2.event.remove.cancel': string;
|
|
168
|
+
'pisell2.event.create': string;
|
|
169
|
+
'pisell2.event.search': string;
|
|
170
|
+
'pisell2.event.empty.service': string;
|
|
171
|
+
'pisell2.event.title': (val: number) => string;
|
|
172
|
+
'pisell2.event.create.form': string;
|
|
173
|
+
'pisell2.event.empty.event': string;
|
|
174
|
+
'pisell2.event.error.holder': string;
|
|
175
|
+
'pisell2.event.price.from': string;
|
|
176
|
+
'pisell2.event.empty.holder.title': string;
|
|
177
|
+
'pisell2.event.empty.holder.tip': string;
|
|
178
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
179
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
180
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
181
|
+
'pisell2.event.event.full.title': string;
|
|
182
|
+
'pisell2.event.event.full.tip': string;
|
|
183
|
+
'pisell2.event.event.full.ok': string;
|
|
184
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
185
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
186
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
187
|
+
'pisell2.appointment.booking.empty.data': string;
|
|
188
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
189
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
190
|
+
'pisell2.appointment.add.guest': string;
|
|
191
|
+
'pisell2.appointment.edit.service': string;
|
|
192
|
+
'pisell2.appointment.remove.guest': string;
|
|
193
|
+
'pisell2.appointment.no.available.service': string;
|
|
194
|
+
'pisell2.appointment.max.guest': string;
|
|
195
|
+
'pisell2.appointment.no.available.time': string;
|
|
196
|
+
'pisell2.appointment.monday': string;
|
|
197
|
+
'pisell2.appointment.tuesday': string;
|
|
198
|
+
'pisell2.appointment.wednesday': string;
|
|
199
|
+
'pisell2.appointment.thursday': string;
|
|
200
|
+
'pisell2.appointment.friday': string;
|
|
201
|
+
'pisell2.appointment.saturday': string;
|
|
202
|
+
'pisell2.appointment.sunday': string;
|
|
203
|
+
'pisell2.appointment.any.professional': string;
|
|
204
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
205
|
+
'pisell2.appointment.deposit': string;
|
|
206
|
+
'pisell2.appointment.deposit.agreed': string;
|
|
207
|
+
'pisell2.appointment.deposit.agree.policy': string;
|
|
208
|
+
'pisell2.appointment.deposit.and': string;
|
|
209
|
+
'pisell2.appointment.deposit.amount.tip1': string;
|
|
210
|
+
'pisell2.appointment.deposit.amount.tip2': string;
|
|
211
|
+
'pisell2.appointment.deposit.close': string;
|
|
212
|
+
'pisell2.appointment.tips': string;
|
|
213
|
+
'pisell2.appointment.tips.content': string;
|
|
214
|
+
'pisell2.appointment.fill-form': string;
|
|
215
|
+
'pisell2.appointment.select.holder': (val: string) => string;
|
|
216
|
+
'pisell2.appointment.select.time': string;
|
|
217
|
+
'pisell2.appointment.unselect.time': string;
|
|
218
|
+
'pisell2.appointment.unselect.date': string;
|
|
219
|
+
'pisell2.appointment.add-guests': string;
|
|
220
|
+
'pisell2.text.apply': string;
|
|
221
|
+
'pisell2.text.goodpass': string;
|
|
222
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
223
|
+
'pisell2.text.goodpass.view-more': string;
|
|
224
|
+
'pisell2.text.goodpass.code': string;
|
|
225
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
226
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
227
|
+
'pisell2.text.goodpass.login': string;
|
|
228
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
229
|
+
};
|
|
230
|
+
'zh-HK': {
|
|
231
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
232
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
233
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
234
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
235
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
236
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
237
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
238
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
239
|
+
'pisell2.event.close.title': string;
|
|
240
|
+
'pisell2.event.close.tip': string;
|
|
241
|
+
'pisell2.event.close.continue': string;
|
|
242
|
+
'pisell2.event.close.exit': string;
|
|
243
|
+
'pisell2.appointment.step': (step: number) => string;
|
|
244
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
245
|
+
'pisell2.event.select.event': string;
|
|
246
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
247
|
+
'pisell2.event.cart': string;
|
|
248
|
+
'pisell2.event.total': string;
|
|
249
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
250
|
+
'pisell2.event.continue': string;
|
|
251
|
+
'pisell2.event.details': string;
|
|
252
|
+
'pisell2.event.introduction': string;
|
|
253
|
+
'pisell2.event.schedule': string;
|
|
254
|
+
'pisell2.event.teacher': string;
|
|
255
|
+
'pisell2.event.campus': string;
|
|
256
|
+
'pisell2.event.resource': string;
|
|
257
|
+
'pisell2.event.booking.options': string;
|
|
258
|
+
'pisell2.event.add.to.cart': string;
|
|
259
|
+
'pisell2.event.description': string;
|
|
260
|
+
'pisell2.event.view.more': string;
|
|
261
|
+
'pisell2.event.view.less': string;
|
|
262
|
+
'pisell2.event.holder.modal.title': string;
|
|
263
|
+
'pisell2.event.confirm': string;
|
|
264
|
+
'pisell2.event.confirm.information': string;
|
|
265
|
+
'pisell2.event.confirm.information.tip': string;
|
|
266
|
+
'pisell2.event.confirm.information.other': string;
|
|
267
|
+
'pisell2.event.add.others': string;
|
|
268
|
+
'pisell2.event.checkout': string;
|
|
269
|
+
'pisell2.event.edit.event': string;
|
|
270
|
+
'pisell2.event.remove': string;
|
|
271
|
+
'pisell2.event.option': string;
|
|
272
|
+
'pisell2.event.order.items.error.title': string;
|
|
273
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
274
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
275
|
+
'pisell2.event.order.items.error.return': string;
|
|
276
|
+
'pisell2.event.order.items.error.back': string;
|
|
277
|
+
'pisell2.event.order.items.error.continue': string;
|
|
278
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
279
|
+
'pisell2.event.remove.title': string;
|
|
280
|
+
'pisell2.event.remove.tip': string;
|
|
281
|
+
'pisell2.event.remove.cancel': string;
|
|
282
|
+
'pisell2.event.create': string;
|
|
283
|
+
'pisell2.event.search': string;
|
|
284
|
+
'pisell2.event.empty.service': string;
|
|
285
|
+
'pisell2.event.title': (val: number) => string;
|
|
286
|
+
'pisell2.event.create.form': string;
|
|
287
|
+
'pisell2.event.empty.event': string;
|
|
288
|
+
'pisell2.event.error.holder': string;
|
|
289
|
+
'pisell2.event.price.from': string;
|
|
290
|
+
'pisell2.event.empty.holder.title': string;
|
|
291
|
+
'pisell2.event.empty.holder.tip': string;
|
|
292
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
293
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
294
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
295
|
+
'pisell2.event.event.full.title': string;
|
|
296
|
+
'pisell2.event.event.full.tip': string;
|
|
297
|
+
'pisell2.event.event.full.ok': string;
|
|
298
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
299
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
300
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
301
|
+
'pisell2.appointment.booking.empty.data': string;
|
|
302
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
303
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
304
|
+
'pisell2.appointment.add.guest': string;
|
|
305
|
+
'pisell2.appointment.edit.service': string;
|
|
306
|
+
'pisell2.appointment.remove.guest': string;
|
|
307
|
+
'pisell2.appointment.no.available.service': string;
|
|
308
|
+
'pisell2.appointment.max.guest': string;
|
|
309
|
+
'pisell2.appointment.no.available.time': string;
|
|
310
|
+
'pisell2.appointment.monday': string;
|
|
311
|
+
'pisell2.appointment.tuesday': string;
|
|
312
|
+
'pisell2.appointment.wednesday': string;
|
|
313
|
+
'pisell2.appointment.thursday': string;
|
|
314
|
+
'pisell2.appointment.friday': string;
|
|
315
|
+
'pisell2.appointment.saturday': string;
|
|
316
|
+
'pisell2.appointment.sunday': string;
|
|
317
|
+
'pisell2.appointment.any.professional': string;
|
|
318
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
319
|
+
'pisell2.appointment.deposit': string;
|
|
320
|
+
'pisell2.appointment.deposit.agreed': string;
|
|
321
|
+
'pisell2.appointment.deposit.agree.policy': string;
|
|
322
|
+
'pisell2.appointment.deposit.and': string;
|
|
323
|
+
'pisell2.appointment.deposit.amount.tip1': string;
|
|
324
|
+
'pisell2.appointment.deposit.amount.tip2': string;
|
|
325
|
+
'pisell2.appointment.deposit.close': string;
|
|
326
|
+
'pisell2.appointment.tips': string;
|
|
327
|
+
'pisell2.appointment.tips.content': string;
|
|
328
|
+
'pisell2.appointment.fill-form': string;
|
|
329
|
+
'pisell2.appointment.select.holder': (val: string) => string;
|
|
330
|
+
'pisell2.appointment.select.time': string;
|
|
331
|
+
'pisell2.appointment.unselect.time': string;
|
|
332
|
+
'pisell2.appointment.unselect.date': string;
|
|
333
|
+
'pisell2.appointment.add-guests': string;
|
|
334
|
+
'pisell2.text.apply': string;
|
|
335
|
+
'pisell2.text.goodpass': string;
|
|
336
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
337
|
+
'pisell2.text.goodpass.view-more': string;
|
|
338
|
+
'pisell2.text.goodpass.code': string;
|
|
339
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
340
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
341
|
+
'pisell2.text.goodpass.login': string;
|
|
342
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
export default _default;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from '../model';
|
|
1
3
|
export declare const walkInData: {
|
|
2
4
|
id: number;
|
|
3
5
|
nickname: string;
|
|
4
6
|
};
|
|
5
|
-
export declare const Provider: any, Context:
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
8
|
+
state: FormState;
|
|
9
|
+
} & {
|
|
10
|
+
dispatch: (params: {
|
|
11
|
+
type: string;
|
|
12
|
+
payload: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
}>;
|
|
@@ -238,4 +238,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
|
|
|
238
238
|
* @Author: WangHan
|
|
239
239
|
* @Date: 2024-12-24 11:32
|
|
240
240
|
*/
|
|
241
|
-
export declare const updateServicePrice: (state: any) => Promise<any
|
|
241
|
+
export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
|
|
@@ -103,7 +103,7 @@ var isBooking4Shop = (shopId, renderType) => {
|
|
|
103
103
|
if (renderType === "eventBooking") {
|
|
104
104
|
return false;
|
|
105
105
|
}
|
|
106
|
-
const booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191, 6812, 6813, 6814, 7651, 8586, 8581, 9, 2155];
|
|
106
|
+
const booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191, 6812, 6813, 6814, 7651, 8586, 8581, 9, 2155, 8030];
|
|
107
107
|
return booking4Shops.includes(shopId);
|
|
108
108
|
};
|
|
109
109
|
function generateDateRange(start, end) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
amountSymbol: string;
|
|
3
4
|
apis: {
|
|
@@ -104,4 +105,11 @@ export declare const walkInData: {
|
|
|
104
105
|
id: number;
|
|
105
106
|
nickname: string;
|
|
106
107
|
};
|
|
107
|
-
export declare const Provider: any, Context:
|
|
108
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
109
|
+
state: FormState;
|
|
110
|
+
} & {
|
|
111
|
+
dispatch: (params: {
|
|
112
|
+
type: string;
|
|
113
|
+
payload: any;
|
|
114
|
+
}) => void;
|
|
115
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
|
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -297,7 +297,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
297
297
|
amount?: string | number | undefined;
|
|
298
298
|
mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
|
|
299
299
|
order_id?: string | number | undefined;
|
|
300
|
-
eftpos?: "
|
|
300
|
+
eftpos?: "payo" | "tyro" | "windcave" | "stripe" | undefined;
|
|
301
301
|
action?: "amount" | "deviceList" | "pay" | undefined;
|
|
302
302
|
key?: number | undefined;
|
|
303
303
|
step?: number | undefined;
|