@pisell/private-materials 3.2.37 → 3.2.38

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.
Files changed (79) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Event/index.d.ts +30 -0
  8. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +3 -0
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +3 -0
  12. package/es/components/appointmentBooking/components/Content/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Guest/index.d.ts +3 -0
  16. package/es/components/appointmentBooking/components/Header/index.d.ts +4 -0
  17. package/es/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  18. package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
  19. package/es/components/appointmentBooking/context.d.ts +29 -0
  20. package/es/components/appointmentBooking/hooks.d.ts +76 -0
  21. package/es/components/appointmentBooking/index.d.ts +4 -0
  22. package/es/components/appointmentBooking/locales.d.ts +297 -0
  23. package/es/components/appointmentBooking/utils.d.ts +86 -0
  24. package/es/components/booking/components/footer/index.d.ts +12 -0
  25. package/es/components/booking/components/voucher/index.d.ts +3 -0
  26. package/es/components/booking/info/index.d.ts +3 -0
  27. package/es/components/booking/info2/service/addService/utils.d.ts +80 -0
  28. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  29. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  30. package/es/components/booking/info2/service/editService/index.d.ts +7 -0
  31. package/es/components/eftposPay/hooks.d.ts +1 -1
  32. package/es/components/eftposPay/store/index.d.ts +1 -1
  33. package/es/components/index.d.ts +17 -0
  34. package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  35. package/es/components/shoppingCart/status.d.ts +2 -0
  36. package/es/components/shoppingCart/type.d.ts +43 -0
  37. package/es/components/ticketBooking/data.d.ts +0 -0
  38. package/es/components/ticketBooking/index.d.ts +3 -0
  39. package/es/components/wallet/Detail/index.d.ts +42 -0
  40. package/es/components/wallet/components/WalletCard.d.ts +11 -0
  41. package/es/components/wallet/components/WalletCard.js +1 -1
  42. package/es/index.d.ts +42 -0
  43. package/lib/components/Sales/Event/index.d.ts +30 -0
  44. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +3 -0
  45. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  46. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
  47. package/lib/components/appointmentBooking/components/Cart/index.d.ts +3 -0
  48. package/lib/components/appointmentBooking/components/Content/index.d.ts +4 -0
  49. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  50. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  51. package/lib/components/appointmentBooking/components/Guest/index.d.ts +3 -0
  52. package/lib/components/appointmentBooking/components/Header/index.d.ts +4 -0
  53. package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  54. package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
  55. package/lib/components/appointmentBooking/context.d.ts +29 -0
  56. package/lib/components/appointmentBooking/hooks.d.ts +76 -0
  57. package/lib/components/appointmentBooking/index.d.ts +4 -0
  58. package/lib/components/appointmentBooking/locales.d.ts +297 -0
  59. package/lib/components/appointmentBooking/utils.d.ts +86 -0
  60. package/lib/components/booking/components/footer/index.d.ts +12 -0
  61. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  62. package/lib/components/booking/info/index.d.ts +3 -0
  63. package/lib/components/booking/info2/service/addService/utils.d.ts +80 -0
  64. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  65. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  66. package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
  67. package/lib/components/eftposPay/hooks.d.ts +1 -1
  68. package/lib/components/eftposPay/store/index.d.ts +1 -1
  69. package/lib/components/index.d.ts +17 -0
  70. package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  71. package/lib/components/shoppingCart/status.d.ts +2 -0
  72. package/lib/components/shoppingCart/type.d.ts +43 -0
  73. package/lib/components/ticketBooking/data.d.ts +0 -0
  74. package/lib/components/ticketBooking/index.d.ts +3 -0
  75. package/lib/components/wallet/Detail/index.d.ts +42 -0
  76. package/lib/components/wallet/components/WalletCard.d.ts +11 -0
  77. package/lib/components/wallet/components/WalletCard.js +1 -1
  78. package/lib/index.d.ts +42 -0
  79. package/package.json +4 -4
@@ -0,0 +1,80 @@
1
+ import dayjs from 'dayjs';
2
+ export declare const getUsableTime: (cacheItem: any) => any;
3
+ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
4
+ startDate: dayjs.Dayjs;
5
+ usableTime: any;
6
+ duration: string | number | {
7
+ type: string;
8
+ value: number;
9
+ };
10
+ locale: string;
11
+ slice: any;
12
+ selectProps: {
13
+ size: string;
14
+ };
15
+ };
16
+ /**
17
+ * @title: 灵活时长选项
18
+ * @description:
19
+ * @param {*} useMemo
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-02-23 10:10
23
+ */
24
+ export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
25
+ label: any;
26
+ value: any;
27
+ } | null;
28
+ export declare const getTimeSlices: ({ state }: any) => {
29
+ timeSlices: {
30
+ label: string;
31
+ value: string;
32
+ }[];
33
+ };
34
+ /**
35
+ * @title: 时间切片
36
+ * @description:
37
+ * @return {*}
38
+ * @Author: zhiwei.Wang
39
+ * @Date: 2024-01-09 13:37
40
+ */
41
+ export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
42
+ timeSlices: {
43
+ label: string;
44
+ value: string;
45
+ }[];
46
+ durationSlicesBasedOnTime: {
47
+ label: string;
48
+ value: number;
49
+ }[];
50
+ };
51
+ /**
52
+ * @title: 获取资源列表
53
+ * @description:
54
+ * @return {*}
55
+ * @Author: zhiwei.Wang
56
+ * @Date: 2024-01-09 13:38
57
+ */
58
+ export declare const formatResources: ({ cacheItem, resourcesOrigin }: any) => {
59
+ list: any[];
60
+ maps: any;
61
+ };
62
+ export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
63
+ /**
64
+ * @title: 设置默认容量
65
+ * @description:
66
+ * @param {any} param1
67
+ * @return {*}
68
+ * @Author: zhiwei.Wang
69
+ * @Date: 2024-09-19 20:26
70
+ */
71
+ export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
72
+ /**
73
+ * @title: 预生成服务的 extend
74
+ * @description:
75
+ * @param {any} param1
76
+ * @return {*}
77
+ * @Author: zhiwei.Wang
78
+ * @Date: 2024-06-01 13:25
79
+ */
80
+ export declare const getProductExtend: ({ cacheItem, state }: any) => any;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import '../../../info/service/addTimeModal/index.less';
3
+ declare const AddTimeModal: () => JSX.Element;
4
+ export default AddTimeModal;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from 'antd';
3
+ interface MaxLengthSelectProps<T> extends SelectProps<T> {
4
+ maxLength: number;
5
+ }
6
+ declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface EditServiceRef {
4
+ init: (cacheItem?: any) => void;
5
+ }
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -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<"tyro" | "windcave" | "payo" | "stripe">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo">;
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?: "tyro" | "windcave" | "payo" | "stripe" | undefined;
300
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | undefined;
301
301
  action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
@@ -0,0 +1,17 @@
1
+ import Login from './login';
2
+ import BookingInfo from './booking/info/index';
3
+ import Booking from './booking';
4
+ import BookingNotes from './booking/notes';
5
+ import BookingAddons from './booking/addons';
6
+ import BookingForms from './booking/forms';
7
+ import Schedules from './schedules';
8
+ import ProductExtension from './productExtension';
9
+ import RuleSetting from './ruleSetting';
10
+ import TaxSelect from './taxSelect';
11
+ import ToCPay from './pay/toC';
12
+ import Wallet from './wallet';
13
+ import WalletList from './walletList';
14
+ import WorkspaceListDetail from './workSpaceListDetail/';
15
+ import WorkspaceList from './workSpaceList';
16
+ import PisellSelectCustomerModal from './pisellSelectCustomerModal';
17
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, };
@@ -0,0 +1,3 @@
1
+ import { ProductProps } from '../../type';
2
+ declare const Product: (props: ProductProps) => JSX.Element;
3
+ export default Product;
@@ -0,0 +1,2 @@
1
+ import { shoppingCartProps } from './type';
2
+ export declare const defaultData: shoppingCartProps;
@@ -0,0 +1,43 @@
1
+ import { CollapseProps } from 'antd';
2
+ export interface productProps {
3
+ hideAddBtn?: boolean;
4
+ isShowNote?: boolean;
5
+ isShowPackageNote?: boolean;
6
+ products?: any[];
7
+ holders?: any[];
8
+ isEdit?: boolean;
9
+ disabledEdit?: boolean;
10
+ isShowChangeResource?: boolean;
11
+ isShowDelete?: boolean;
12
+ }
13
+ export interface shoppingCartProps {
14
+ isOpenGroup?: boolean;
15
+ carts?: any[];
16
+ platform?: 'shop' | 'h5';
17
+ emptyText?: string;
18
+ activeKey?: string[] | number[];
19
+ defaultActiveKey?: string[] | number[];
20
+ className?: string;
21
+ onCard?: (e: any) => void;
22
+ onChange?: (items: any, type?: string, other?: any) => void;
23
+ onAddProduct?: (e?: any) => void;
24
+ onActiveKey?: (e: any) => void;
25
+ isShowImage?: boolean;
26
+ isShowHolder?: boolean;
27
+ isShowDelete?: boolean;
28
+ collapseParams?: CollapseProps;
29
+ productParams?: productProps;
30
+ isHideClearCart?: boolean;
31
+ }
32
+ /**
33
+ * @title: 商品卡片
34
+ * @description:
35
+ * @return {*}
36
+ * @Author: WangHan
37
+ * @Date: 2024-11-29 09:52
38
+ */
39
+ export interface ProductProps {
40
+ id?: any;
41
+ lists: any[];
42
+ isAdd?: boolean;
43
+ }
File without changes
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TicketBooking: () => JSX.Element;
3
+ export default TicketBooking;
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare global {
4
+ interface Window {
5
+ PKPass?: any;
6
+ GoogleWalletPass?: any;
7
+ }
8
+ interface Navigator {
9
+ pkpass?: {
10
+ addPass(pass: any): Promise<string>;
11
+ };
12
+ googlewallet?: {
13
+ addPass(pass: any): Promise<string>;
14
+ };
15
+ }
16
+ }
17
+ interface DetailProps {
18
+ detail: {
19
+ id?: string;
20
+ tag?: string;
21
+ code?: string;
22
+ product_title?: string;
23
+ encoded?: string;
24
+ balance?: number;
25
+ expire_date?: string;
26
+ product?: any;
27
+ machinecode_config?: any;
28
+ [key: string]: any;
29
+ };
30
+ isDiscoundCard?: boolean;
31
+ showWalletBar?: boolean;
32
+ onBack?: () => void;
33
+ buttonGroupList?: any[][];
34
+ className?: string;
35
+ style?: React.CSSProperties;
36
+ addWalletCallback?: (addWallet: () => void) => void;
37
+ }
38
+ export interface WalletDetailRef {
39
+ addWalletCard: () => void;
40
+ }
41
+ declare const Detail: React.ForwardRefExoticComponent<DetailProps & React.RefAttributes<WalletDetailRef>>;
42
+ export default Detail;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { IWalletListItemProps } from '../serve';
3
+ export interface WalletCardProps {
4
+ item: IWalletListItemProps;
5
+ currentId?: string | number;
6
+ isDiscountCard?: boolean;
7
+ onClick?: () => void;
8
+ balanceTitle?: string;
9
+ }
10
+ declare const _default: React.NamedExoticComponent<WalletCardProps>;
11
+ export default _default;
@@ -56,7 +56,7 @@ var WalletCard = function WalletCard(_ref) {
56
56
  balanceTitle: balanceTitle,
57
57
  showDetail: false,
58
58
  showRedeem: false,
59
- showQrCode: false,
59
+ showQrCode: true,
60
60
  showBalance: !isDiscountCard,
61
61
  cover: product_cover,
62
62
  disabled: isDisabled,
package/es/index.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ export { default as Login } from './components/login';
2
+ export type { LoginProps } from './components/login';
3
+ export { default as BookingInfo } from './components/booking/info/index';
4
+ export { default as BookingNotes } from './components/booking/notes';
5
+ export { default as BookingAddons } from './components/booking/addons';
6
+ export { default as BookingForms } from './components/booking/forms';
7
+ export { default as BookingPayment } from './components/booking/payments';
8
+ export { default as Booking } from './components/booking';
9
+ export { default as Schedules } from './components/schedules';
10
+ export { default as BookingResources } from './components/booking/materiels/resources';
11
+ export { default as BookingStartTime } from './components/booking/materiels/startTime';
12
+ export { default as BookingDuration } from './components/booking/materiels/duration';
13
+ export { default as BookingContacts } from './components/booking/materiels/contacts';
14
+ export { VerticalClient } from './components/booking/info/clientVariant';
15
+ export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
16
+ export { default as ProductExtension } from './components/productExtension';
17
+ export { default as BookingDeposit } from './components/booking/deposit';
18
+ export { default as WorkspaceList } from './components/workSpaceList';
19
+ export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
20
+ export { default as RuleSetting } from './components/ruleSetting';
21
+ export { default as TaxSelect } from './components/taxSelect';
22
+ export { default as EftposPay } from './components/eftposPay';
23
+ export { default as ToCPay } from './components/pay/toC';
24
+ export { default as Eftpos } from './components/eftpos';
25
+ export { default as Wallet } from './components/wallet';
26
+ export { default as WalletList } from './components/walletList';
27
+ export { default as BookingDashboard } from './components/booking/dashboard';
28
+ export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
29
+ export { default as EventBooking } from './components/eventBooking';
30
+ export { default as EventCard } from './components/eventBooking/components/eventCard';
31
+ export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
32
+ export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
33
+ export { default as EventProductCard } from './components/eventBooking/components/productCard';
34
+ export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
35
+ export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
36
+ export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
37
+ export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
38
+ export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
39
+ export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
40
+ export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
41
+ export { default as ShoppingCart } from './components/shoppingCart';
42
+ export { default as AppointmentBooking } from './components/appointmentBooking';
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ interface EventData {
3
+ currentEventItem: any;
4
+ eventList: any[];
5
+ }
6
+ interface EventContextType {
7
+ eventData: EventData;
8
+ getEventList: {
9
+ run: (params: any) => void;
10
+ loading: boolean;
11
+ data?: EventData['eventList'];
12
+ };
13
+ getEventListByTitle: (title: string) => any;
14
+ selectEvent: (eventItem: any) => void;
15
+ }
16
+ interface EventProviderProps {
17
+ children: React.ReactNode;
18
+ }
19
+ export declare const EventContext: React.Context<EventContextType | undefined>;
20
+ export declare const EventProvider: React.FC<EventProviderProps>;
21
+ /**
22
+ * 使用步骤管理的Hook
23
+ * @throws {Error} 如果在StepProvider外部使用会抛出错误
24
+ * @returns {StepContextType} 步骤管理上下文
25
+ */
26
+ export declare const useEvent: () => EventContextType;
27
+ declare const _default: {
28
+ defaultState: EventData;
29
+ };
30
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const ContinueButton: () => JSX.Element;
3
+ export default ContinueButton;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
+ export default Total;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const CartItem: ({ onConfirm }: any) => JSX.Element;
4
+ export default CartItem;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
+ export default Cart;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Layout: () => JSX.Element;
4
+ export default Layout;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const CalendarDate: (props: any) => JSX.Element;
4
+ export default CalendarDate;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Footer: () => JSX.Element;
3
+ export default Footer;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Guest: () => JSX.Element;
3
+ export default Guest;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Header: () => JSX.Element;
4
+ export default Header;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Resource: () => JSX.Element;
3
+ export default Resource;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Services: () => JSX.Element;
3
+ export default Services;
@@ -0,0 +1,29 @@
1
+ import { ReactNode } from 'react';
2
+ interface AppointmentBookingContextType {
3
+ appointmentBooking: any;
4
+ times: any[];
5
+ resources: any[];
6
+ setTimes: (times: any[]) => void;
7
+ setResources: (lists: any[]) => void;
8
+ products: any;
9
+ carts: any[];
10
+ summary: any;
11
+ setProducts: (val: any) => void;
12
+ setCarts: (val: any[]) => void;
13
+ setSummary: (val: any) => void;
14
+ currentStep: any;
15
+ isLastStep?: boolean;
16
+ setIsLastStep: (val: boolean) => void;
17
+ setCurrentStep: (val: any) => void;
18
+ appHelper?: any;
19
+ symbolic?: any;
20
+ resourceOtherParams?: any;
21
+ setResourceOtherParams: (val: any) => void;
22
+ selectedTime: any;
23
+ setSelectedTime: (val: any) => void;
24
+ }
25
+ export declare const AppointmentBookingProvider: ({ children, }: {
26
+ children: ReactNode;
27
+ }) => JSX.Element;
28
+ export declare const useAppointmentBookingContext: () => AppointmentBookingContextType;
29
+ export {};
@@ -0,0 +1,76 @@
1
+ export declare const useAppointmentBooking: () => any;
2
+ export declare const useShopDiscount: () => any;
3
+ /**
4
+ * @title: 监听步骤发生变化
5
+ * @description:
6
+ * @return {*}
7
+ * @Author: WangHan
8
+ * @Date: 2025-04-15 11:11
9
+ */
10
+ export declare const useAppointmentBookingStep: () => {
11
+ getStepIndex: (type: string, skipNumber?: number) => any;
12
+ };
13
+ /**
14
+ * @title: 获取商品数据
15
+ * @description:
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-04-15 11:12
19
+ */
20
+ export declare const useAppointmentBookingProduct: () => void;
21
+ /**
22
+ * @title: 更新购物车数据
23
+ * @description:
24
+ * @return {*}
25
+ * @Author: WangHan
26
+ * @Date: 2025-04-15 11:12
27
+ */
28
+ export declare const useAppointmentBookingCart: () => void;
29
+ /**
30
+ * @title: 获取登录状态
31
+ * @description:
32
+ * @return {*}
33
+ * @Author: WangHan
34
+ * @Date: 2025-04-15 11:14
35
+ */
36
+ export declare const useAppointmentBookingLogin: () => {
37
+ isLogin: boolean;
38
+ openLoginModal: (params: {
39
+ callback: any;
40
+ }) => void;
41
+ };
42
+ /**
43
+ * @title: 获取账户
44
+ * @description:
45
+ * @return {*}
46
+ * @Author: WangHan
47
+ * @Date: 2025-04-15 11:15
48
+ */
49
+ export declare const useAppointmentBookingAccount: () => {
50
+ accountLists: any;
51
+ };
52
+ /**
53
+ * @title: 获取资源数据
54
+ * @description:
55
+ * @return {*}
56
+ * @Author: WangHan
57
+ * @Date: 2025-04-15 11:29
58
+ */
59
+ export declare const useAppointmentBookingResource: () => {
60
+ getResourceTimeSlot: (index?: number) => Promise<void>;
61
+ getResourceList: () => {
62
+ resources: any;
63
+ resourceCodes: any;
64
+ };
65
+ autoSelectAllProductResources: (index?: number) => Promise<any>;
66
+ };
67
+ /**
68
+ * @title: 是否跳过资源选择步骤
69
+ * @description:
70
+ * @return {*}
71
+ * @Author: WangHan
72
+ * @Date: 2025-04-21 11:47
73
+ */
74
+ export declare const useIsSkipResourceStep: () => {
75
+ checkSkipResourceStep: () => Promise<boolean>;
76
+ };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const AppointmentBooking: () => JSX.Element;
4
+ export default AppointmentBooking;