@pisell/private-materials 6.2.11 → 6.2.13
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.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Cart/utils.js +17 -1
- package/es/components/Sales/Event/Detail.d.ts +1 -0
- package/es/components/Sales/Event/Detail.js +45 -11
- package/es/components/Sales/Event/serve.d.ts +10 -0
- package/es/components/Sales/Event/serve.js +25 -0
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/customSelect/index.js +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.js +8 -11
- package/es/components/booking/info/client/index.js +2 -3
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.js +9 -16
- package/es/components/booking/info/service/Lists.js +26 -36
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service2/utils.js +21 -20
- package/es/components/booking/info2/index.js +0 -1
- package/es/components/booking/info2/service/addService/utils.js +3 -6
- package/es/components/booking/info2/service/addTimeModal/index.js +0 -3
- package/es/components/booking/info2/service/editService/Resources/index.js +0 -5
- package/es/components/booking/info2/service/editService/index.js +165 -258
- package/es/components/booking/info2/service/index.js +15 -19
- package/es/components/booking/materiels/duration/index.js +2 -9
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/index.js +3 -2
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/index.js +14 -0
- package/es/components/eventBooking/index.less +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.js +41 -48
- package/es/components/shoppingCart/components/Cart/index.js +18 -21
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +157 -175
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.js +71 -78
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Cart/utils.js +10 -1
- package/lib/components/Sales/Event/Detail.d.ts +1 -0
- package/lib/components/Sales/Event/Detail.js +37 -12
- package/lib/components/Sales/Event/serve.d.ts +10 -0
- package/lib/components/Sales/Event/serve.js +7 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/customSelect/index.js +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.js +13 -16
- package/lib/components/booking/info/client/index.js +4 -5
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.js +9 -10
- package/lib/components/booking/info/service/Lists.js +23 -35
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.js +17 -17
- package/lib/components/booking/info2/service/addService/utils.js +2 -4
- package/lib/components/booking/info2/service/addTimeModal/index.js +0 -3
- package/lib/components/booking/info2/service/editService/Resources/index.js +0 -2
- package/lib/components/booking/info2/service/editService/index.js +70 -132
- package/lib/components/booking/info2/service/index.js +9 -13
- package/lib/components/booking/materiels/duration/index.js +2 -7
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/index.js +3 -2
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/index.js +11 -0
- package/lib/components/eventBooking/index.less +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.js +21 -31
- package/lib/components/shoppingCart/components/Cart/index.js +15 -18
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +127 -143
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.js +88 -95
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/package.json +3 -3
- package/es/components/Sales/Checkout/utils.d.ts +0 -40
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
- package/es/components/appointmentBooking/hooks.d.ts +0 -106
- package/es/components/appointmentBooking/index.d.ts +0 -3
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- 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/index.d.ts +0 -3
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/index.d.ts +0 -12
- 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/addTimeModal/index.d.ts +0 -3
- package/es/components/booking/locales.d.ts +0 -828
- package/es/components/booking/model.d.ts +0 -108
- package/es/components/eftposPay/const.d.ts +0 -184
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/service.d.ts +0 -32
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/store/index.d.ts +0 -355
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/es/components/productSelect/index.d.ts +0 -26
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/components/walletList/index.d.ts +0 -28
- package/es/utils/index.d.ts +0 -23
- package/lib/components/Sales/Checkout/utils.d.ts +0 -40
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
- package/lib/components/appointmentBooking/hooks.d.ts +0 -106
- package/lib/components/appointmentBooking/index.d.ts +0 -3
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- 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/index.d.ts +0 -3
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/index.d.ts +0 -12
- 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/addTimeModal/index.d.ts +0 -3
- package/lib/components/booking/locales.d.ts +0 -828
- package/lib/components/booking/model.d.ts +0 -108
- package/lib/components/eftposPay/const.d.ts +0 -184
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/service.d.ts +0 -32
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/store/index.d.ts +0 -355
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/lib/components/productSelect/index.d.ts +0 -26
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/components/walletList/index.d.ts +0 -28
- package/lib/utils/index.d.ts +0 -23
@@ -1,355 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { DeviceStatusType, StatusType, ModeType, RouteType, ClientEnum } from '../const';
|
3
|
-
import { ThunkDispatch } from './useThunkReducer';
|
4
|
-
export declare enum EActionTypes {
|
5
|
-
UPDATE_INIT = "UPDATE_INIT",
|
6
|
-
UPDATE_CUSTOM = "UPDATE_CUSTOM",
|
7
|
-
UPDATE_KEY = "UPDATE_KEY",
|
8
|
-
UPDATE_STEP_KEY = "UPDATE_STEP_KEY",
|
9
|
-
UPDATE_DEVICE = "UPDATE_DEVICE",
|
10
|
-
UPDATE_NEXT_STEP = "UPDATE_NEXT_STEP",
|
11
|
-
UPDATE_STATUS = "UPDATE_STATUS",
|
12
|
-
UPDATE_TITLE = "UPDATE_TITLE",
|
13
|
-
UPDATE_LOADING = "UPDATE_LOADING",
|
14
|
-
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
15
|
-
UPDATE_STEPS = "UPDATE_STEPS",
|
16
|
-
UPDATE_STEP_CURRENT_ITEM_CUSTOM = "UPDATE_STEP_CURRENT_ITEM_CUSTOM",
|
17
|
-
UPDATE_STEP_ITEM = "UPDATE_STEP_ITEM",
|
18
|
-
BACKUP_PRODUCTION = "BACKUP_PRODUCTION",
|
19
|
-
BACKUP_FREE = "BACKUP_FREE",
|
20
|
-
UPDATE_CLIENT = "UPDATE_CLIENT"
|
21
|
-
}
|
22
|
-
export declare type State = {
|
23
|
-
/** 支付名称 */
|
24
|
-
name: string;
|
25
|
-
/** 金额单位 */
|
26
|
-
symbol: string;
|
27
|
-
/** 支付原始金额 */
|
28
|
-
amount: string | number;
|
29
|
-
/** 模式 */
|
30
|
-
mode: ModeType;
|
31
|
-
/** 订单号 */
|
32
|
-
order_id: string | number;
|
33
|
-
/** 厂商 */
|
34
|
-
eftpos: DeviceStatusType;
|
35
|
-
action?: RouteType;
|
36
|
-
/** 用于重置页面特指 =》全部步骤 */
|
37
|
-
key: number;
|
38
|
-
/** 当前执行到哪一步了 */
|
39
|
-
step: number;
|
40
|
-
/** 标题 */
|
41
|
-
title: string;
|
42
|
-
/** 标题 */
|
43
|
-
subTitle?: string;
|
44
|
-
/** step : 常规步骤页面 ,unset 自定义页面 */
|
45
|
-
type: 'step' | 'unset';
|
46
|
-
render: boolean;
|
47
|
-
/** 网络 */
|
48
|
-
net?: boolean;
|
49
|
-
/** 上面 unset 自定义页面,这里需要指定到具体页面 */
|
50
|
-
component: string;
|
51
|
-
form?: string;
|
52
|
-
/** 页面状态 */
|
53
|
-
status: StatusType;
|
54
|
-
/** 警告文案 */
|
55
|
-
warn: string;
|
56
|
-
steps: {
|
57
|
-
/** 用于重置当前步骤 */
|
58
|
-
key: number;
|
59
|
-
title?: string;
|
60
|
-
text?: string;
|
61
|
-
warn?: string;
|
62
|
-
tip?: string;
|
63
|
-
success?: string;
|
64
|
-
fail?: string;
|
65
|
-
loading?: string;
|
66
|
-
/** 步骤状态 */
|
67
|
-
status: StatusType;
|
68
|
-
custom?: {
|
69
|
-
/** 步骤自定义 */
|
70
|
-
[key: string]: unknown;
|
71
|
-
};
|
72
|
-
}[];
|
73
|
-
/** 支付流水号 */
|
74
|
-
number?: string | number;
|
75
|
-
/** 设备信息 */
|
76
|
-
device?: {
|
77
|
-
[key: string]: unknown;
|
78
|
-
};
|
79
|
-
/** 支付信息 */
|
80
|
-
pay?: {
|
81
|
-
[key: string]: unknown;
|
82
|
-
};
|
83
|
-
custom?: {
|
84
|
-
[key: string]: unknown;
|
85
|
-
};
|
86
|
-
manual?: {
|
87
|
-
title: string;
|
88
|
-
text: string;
|
89
|
-
status?: boolean;
|
90
|
-
money?: number;
|
91
|
-
};
|
92
|
-
backup?: Omit<State, 'backup'>;
|
93
|
-
client: ClientEnum;
|
94
|
-
};
|
95
|
-
export declare type Action = {
|
96
|
-
type: EActionTypes;
|
97
|
-
payload: Partial<State>;
|
98
|
-
};
|
99
|
-
/**
|
100
|
-
* @title: 刷新 key
|
101
|
-
* @description: 用户重置组件生命周期,
|
102
|
-
* @param {number} key
|
103
|
-
* @Author: hongbing.wang
|
104
|
-
* @Date: 2024-08-19 09:56
|
105
|
-
*/
|
106
|
-
export declare const updateKey: (key: number) => {
|
107
|
-
type: EActionTypes;
|
108
|
-
payload: {
|
109
|
-
key: number;
|
110
|
-
};
|
111
|
-
};
|
112
|
-
/**
|
113
|
-
* @title: 更新设备信息
|
114
|
-
* @description: 用户选择设备将回填到此处
|
115
|
-
* @param {object} payload
|
116
|
-
* @Author: hongbing.wang
|
117
|
-
* @Date: 2024-08-19 09:57
|
118
|
-
*/
|
119
|
-
export declare const updateDevice: (payload: {
|
120
|
-
device: State['device'];
|
121
|
-
}) => {
|
122
|
-
type: EActionTypes;
|
123
|
-
payload: {
|
124
|
-
device: State['device'];
|
125
|
-
};
|
126
|
-
};
|
127
|
-
/**
|
128
|
-
* @title: 刷新 步骤key
|
129
|
-
* @description: 重置某一步生命周期
|
130
|
-
* @Author: hongbing.wang
|
131
|
-
* @Date: 2024-08-19 09:58
|
132
|
-
*/
|
133
|
-
export declare const updateStepKey: () => {
|
134
|
-
type: EActionTypes;
|
135
|
-
payload: {};
|
136
|
-
};
|
137
|
-
/**
|
138
|
-
* @title: 更新至下一步
|
139
|
-
* @description: 更新至下一步
|
140
|
-
* @param {string} warn?: 错误信息
|
141
|
-
* @Author: hongbing.wang
|
142
|
-
* @Date: 2024-08-19 09:58
|
143
|
-
*/
|
144
|
-
export declare const updateNextStep: (warn?: string) => {
|
145
|
-
type: EActionTypes;
|
146
|
-
payload: {
|
147
|
-
warn: string;
|
148
|
-
} | {
|
149
|
-
warn?: undefined;
|
150
|
-
};
|
151
|
-
};
|
152
|
-
/**
|
153
|
-
* @title: 更新自定义信息
|
154
|
-
* @description: 更新自定义信息
|
155
|
-
* @param {object} payload
|
156
|
-
* @Author: hongbing.wang
|
157
|
-
* @Date: 2024-08-19 10:03
|
158
|
-
*/
|
159
|
-
export declare const updateCustom: (payload: {
|
160
|
-
[key: string]: unknown;
|
161
|
-
}) => {
|
162
|
-
type: EActionTypes;
|
163
|
-
payload: {
|
164
|
-
[key: string]: unknown;
|
165
|
-
};
|
166
|
-
};
|
167
|
-
/**
|
168
|
-
* @title: 更新 全局状态
|
169
|
-
* @description: 更新 全局状态
|
170
|
-
* @param {string} status : 状态
|
171
|
-
* * @Author: hongbing.wang
|
172
|
-
* @Date: 2024-08-19 10:03
|
173
|
-
*/
|
174
|
-
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
175
|
-
type: EActionTypes;
|
176
|
-
payload: {
|
177
|
-
status: "success" | "loading" | "warn" | "fail" | "question";
|
178
|
-
};
|
179
|
-
};
|
180
|
-
/**
|
181
|
-
* @title: 更新自定义组件
|
182
|
-
* @description: 更新自定义组件
|
183
|
-
* @param {string} component 组件名称
|
184
|
-
* @param {boolean} render : true : 隐藏 原组件(维持原组件内状态) ;false : 卸载
|
185
|
-
* @return {*}
|
186
|
-
* @Author: hongbing.wang
|
187
|
-
* @Date: 2024-08-19 10:04
|
188
|
-
*/
|
189
|
-
export declare const updateComponent: (component: string, render?: boolean) => {
|
190
|
-
type: EActionTypes;
|
191
|
-
payload: {
|
192
|
-
readonly component: string;
|
193
|
-
readonly type: "unset";
|
194
|
-
readonly render: boolean;
|
195
|
-
} | {
|
196
|
-
readonly type: "step";
|
197
|
-
readonly render: boolean;
|
198
|
-
readonly component?: undefined;
|
199
|
-
};
|
200
|
-
};
|
201
|
-
/**
|
202
|
-
* @title: 更新步骤信息
|
203
|
-
* @description: 更新某一步骤信息
|
204
|
-
* @param {State} steps 某一步骤信息
|
205
|
-
* @Author: hongbing.wang
|
206
|
-
* @Date: 2024-08-19 10:07
|
207
|
-
*/
|
208
|
-
export declare const updateSteps: (steps: State['steps']) => {
|
209
|
-
type: EActionTypes;
|
210
|
-
payload: {
|
211
|
-
steps: {
|
212
|
-
/** 用于重置当前步骤 */
|
213
|
-
key: number;
|
214
|
-
title?: string | undefined;
|
215
|
-
text?: string | undefined;
|
216
|
-
warn?: string | undefined;
|
217
|
-
tip?: string | undefined;
|
218
|
-
success?: string | undefined;
|
219
|
-
fail?: string | undefined;
|
220
|
-
loading?: string | undefined;
|
221
|
-
/** 步骤状态 */
|
222
|
-
status: StatusType;
|
223
|
-
custom?: {
|
224
|
-
[key: string]: unknown;
|
225
|
-
} | undefined;
|
226
|
-
}[];
|
227
|
-
};
|
228
|
-
};
|
229
|
-
/**
|
230
|
-
* @title: 更新状态管理信息
|
231
|
-
* @description: 更新状态管理信息
|
232
|
-
* @param {Partial} payload
|
233
|
-
* @return {*}
|
234
|
-
* @Author: hongbing.wang
|
235
|
-
* @Date: 2024-08-19 10:08
|
236
|
-
*/
|
237
|
-
export declare const updateState: (payload: Partial<State>) => {
|
238
|
-
type: EActionTypes;
|
239
|
-
payload: Partial<State>;
|
240
|
-
};
|
241
|
-
/**
|
242
|
-
* @title: 更新当前步骤自定义信息
|
243
|
-
* @description: 更新当前步骤自定义信息
|
244
|
-
* @Author: hongbing.wang
|
245
|
-
* @Date: 2024-08-19 10:09
|
246
|
-
*/
|
247
|
-
export declare const updateCurrentCustomStemItem: (payload: NonNullable<Partial<State['steps'][number]['custom']>>) => {
|
248
|
-
type: EActionTypes;
|
249
|
-
payload: Partial<{
|
250
|
-
[key: string]: unknown;
|
251
|
-
}>;
|
252
|
-
};
|
253
|
-
/**
|
254
|
-
* @title: 更新当前步骤信息
|
255
|
-
* @description: 更新当前步骤信息
|
256
|
-
* @Author: hongbing.wang
|
257
|
-
* @Date: 2024-08-19 10:09
|
258
|
-
*/
|
259
|
-
export declare const updateCurrentStemItem: (payload: any) => {
|
260
|
-
type: EActionTypes;
|
261
|
-
payload: any;
|
262
|
-
};
|
263
|
-
/**
|
264
|
-
* @title: 更新当前步骤信息
|
265
|
-
* @description: 更新当前步骤信息
|
266
|
-
* @Author: hongbing.wang
|
267
|
-
* @Date: 2024-08-19 10:09
|
268
|
-
*/
|
269
|
-
export declare const updateClient: (payload: ClientEnum) => {
|
270
|
-
type: EActionTypes;
|
271
|
-
payload: {
|
272
|
-
client: ClientEnum;
|
273
|
-
};
|
274
|
-
};
|
275
|
-
/**
|
276
|
-
* @title: 更新备份信息
|
277
|
-
* @description: 更新备份信息
|
278
|
-
* @Author: hongbing.wang
|
279
|
-
* @Date: 2024-08-19 10:25
|
280
|
-
*/
|
281
|
-
export declare const backUpProduction: (payload: Partial<State>) => {
|
282
|
-
type: EActionTypes;
|
283
|
-
payload: Partial<State>;
|
284
|
-
};
|
285
|
-
/**
|
286
|
-
* @title: 释放备份信息
|
287
|
-
* @description: 释放备份信息
|
288
|
-
* @param {Partial} payload
|
289
|
-
* @Author: hongbing.wang
|
290
|
-
* @Date: 2024-08-19 10:27
|
291
|
-
*/
|
292
|
-
export declare const backUpFree: (payload: Partial<State>) => {
|
293
|
-
type: EActionTypes;
|
294
|
-
payload: {
|
295
|
-
name?: string | undefined;
|
296
|
-
symbol?: string | undefined;
|
297
|
-
amount?: string | number | undefined;
|
298
|
-
mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
|
299
|
-
order_id?: string | number | undefined;
|
300
|
-
eftpos?: "tyro" | "windcave" | "stripe" | "payo" | "linkly" | undefined;
|
301
|
-
action?: "amount" | "pay" | "deviceList" | undefined;
|
302
|
-
key?: number | undefined;
|
303
|
-
step?: number | undefined;
|
304
|
-
title?: string | undefined;
|
305
|
-
subTitle?: string | undefined;
|
306
|
-
type?: "unset" | "step" | undefined;
|
307
|
-
render?: boolean | undefined;
|
308
|
-
net?: boolean | undefined;
|
309
|
-
component?: string | undefined;
|
310
|
-
form?: string | undefined;
|
311
|
-
status?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
312
|
-
warn?: string | undefined;
|
313
|
-
steps?: {
|
314
|
-
/** 用于重置当前步骤 */
|
315
|
-
key: number;
|
316
|
-
title?: string | undefined;
|
317
|
-
text?: string | undefined;
|
318
|
-
warn?: string | undefined;
|
319
|
-
tip?: string | undefined;
|
320
|
-
success?: string | undefined;
|
321
|
-
fail?: string | undefined;
|
322
|
-
loading?: string | undefined;
|
323
|
-
/** 步骤状态 */
|
324
|
-
status: StatusType;
|
325
|
-
custom?: {
|
326
|
-
[key: string]: unknown;
|
327
|
-
} | undefined;
|
328
|
-
}[] | undefined;
|
329
|
-
number?: string | number | undefined;
|
330
|
-
device?: {
|
331
|
-
[key: string]: unknown;
|
332
|
-
} | undefined;
|
333
|
-
pay?: {
|
334
|
-
[key: string]: unknown;
|
335
|
-
} | undefined;
|
336
|
-
custom?: {
|
337
|
-
[key: string]: unknown;
|
338
|
-
} | undefined;
|
339
|
-
manual?: {
|
340
|
-
title: string;
|
341
|
-
text: string;
|
342
|
-
status?: boolean | undefined;
|
343
|
-
money?: number | undefined;
|
344
|
-
} | undefined;
|
345
|
-
backup?: Omit<State, "backup"> | undefined;
|
346
|
-
client?: ClientEnum | undefined;
|
347
|
-
};
|
348
|
-
};
|
349
|
-
export declare function reducers(state: State, action: Action): State;
|
350
|
-
export declare const Provider: ({ children, state: providerState, }: {
|
351
|
-
children: ReactNode;
|
352
|
-
state?: State | undefined;
|
353
|
-
}) => JSX.Element;
|
354
|
-
export declare function useContextData(): State;
|
355
|
-
export declare function useDispatch(): ThunkDispatch<State, Action>;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface PaymentMethodsRef {
|
3
|
-
onPay: (props: any) => void;
|
4
|
-
}
|
5
|
-
interface PaymentMethodsProps {
|
6
|
-
payCallback: (props: any) => void;
|
7
|
-
}
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
9
|
-
export default _default;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ProductCardConfig } from './components/productGroup';
|
3
|
-
import type { ProductSelectToken } from './theme/token';
|
4
|
-
import './index.less';
|
5
|
-
interface ProductSelectProps {
|
6
|
-
dataSource: any[];
|
7
|
-
showSearch?: boolean;
|
8
|
-
showTab?: boolean;
|
9
|
-
layout?: {
|
10
|
-
grid: boolean;
|
11
|
-
config: string;
|
12
|
-
};
|
13
|
-
onChange: (value: any) => void;
|
14
|
-
value?: number;
|
15
|
-
loading?: boolean;
|
16
|
-
scrollDom?: string;
|
17
|
-
/** 某些设置了固定头部的情况 */
|
18
|
-
offsetDom?: string;
|
19
|
-
style?: React.CSSProperties;
|
20
|
-
emptyDescription?: string;
|
21
|
-
token?: Partial<ProductSelectToken>;
|
22
|
-
selectedItems?: Array<any>;
|
23
|
-
productListSetting?: Partial<ProductCardConfig>;
|
24
|
-
}
|
25
|
-
declare const index: ({ dataSource, showSearch, scrollDom, style, token: customToken, onChange, selectedItems, productListSetting, ...rest }: ProductSelectProps) => JSX.Element;
|
26
|
-
export default index;
|
@@ -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;
|
package/es/utils/index.d.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
2
|
-
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
3
|
-
declare class Request {
|
4
|
-
private request;
|
5
|
-
constructor();
|
6
|
-
setRequest(val: any): void;
|
7
|
-
withCustomToast(config?: any): any;
|
8
|
-
getRequest(): {
|
9
|
-
get: (url: string, params: any, config?: any) => Promise<any>;
|
10
|
-
post: (url: string, params: any, config?: any) => Promise<any>;
|
11
|
-
put: RType;
|
12
|
-
remove: RType;
|
13
|
-
custom: RType;
|
14
|
-
};
|
15
|
-
}
|
16
|
-
export declare const request: Request;
|
17
|
-
declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
18
|
-
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
19
|
-
export declare const saveConfirm: () => Promise<{
|
20
|
-
destroy: () => void;
|
21
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
22
|
-
}>;
|
23
|
-
export { modal };
|
@@ -1,40 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @title: 套餐单规格信息
|
3
|
-
* @description:
|
4
|
-
* @param {any} option
|
5
|
-
* @return {*}
|
6
|
-
* @Author: zhiwei.Wang
|
7
|
-
* @Date: 2024-02-19 09:26
|
8
|
-
*/
|
9
|
-
export declare const formatProductOption: (option: any) => any;
|
10
|
-
/**
|
11
|
-
* @title: 套餐信息
|
12
|
-
* @description:
|
13
|
-
* @param {any} bundle
|
14
|
-
* @return {*}
|
15
|
-
* @Author: zhiwei.Wang
|
16
|
-
* @Date: 2024-02-19 09:26
|
17
|
-
*/
|
18
|
-
export declare const formatProductBundle: (bundle: any) => any;
|
19
|
-
/**
|
20
|
-
* @title: 格式化下单接口数据
|
21
|
-
* @description:
|
22
|
-
* @param {any} state saledModel数据源
|
23
|
-
* @param {boolean} excludeDisabled 是否需要排除购物车中失效商品
|
24
|
-
* @Author: xiangfeng.xue
|
25
|
-
* @Date: 2025-01-21 17:57
|
26
|
-
*/
|
27
|
-
export declare const formatValues: (params: {
|
28
|
-
state: any;
|
29
|
-
platform: 'h5' | 'pc';
|
30
|
-
excludeDisabled?: boolean;
|
31
|
-
extra?: Record<string, any>;
|
32
|
-
}) => any;
|
33
|
-
/**
|
34
|
-
* @title: 获取拉开表单弹窗参数
|
35
|
-
* @param state
|
36
|
-
*/
|
37
|
-
export declare const getFormParams: (state: any) => {
|
38
|
-
product_id: any;
|
39
|
-
appointment_type: string;
|
40
|
-
};
|
@@ -1,56 +0,0 @@
|
|
1
|
-
interface CheckLoginParams {
|
2
|
-
isLogin: boolean;
|
3
|
-
openLoginModal: (params: {
|
4
|
-
callback: (status: string) => void;
|
5
|
-
}) => void;
|
6
|
-
isFormSubject: boolean;
|
7
|
-
utils: any;
|
8
|
-
accountLists: any[];
|
9
|
-
appointmentBooking: any;
|
10
|
-
getHolders: () => void;
|
11
|
-
}
|
12
|
-
export declare const checkLogin: ({ isLogin, openLoginModal, isFormSubject, utils, accountLists, appointmentBooking, getHolders, }: CheckLoginParams) => Promise<boolean>;
|
13
|
-
interface CheckHolderParams {
|
14
|
-
isFormSubject: boolean;
|
15
|
-
checkAccount: (type: string) => boolean;
|
16
|
-
carts: any[];
|
17
|
-
}
|
18
|
-
export declare const checkHolder: ({ isFormSubject, checkAccount, carts }: CheckHolderParams) => false | any[];
|
19
|
-
interface CheckResourceParams {
|
20
|
-
carts: any[];
|
21
|
-
resources: any[];
|
22
|
-
}
|
23
|
-
/**
|
24
|
-
* @title: 检测资源数据
|
25
|
-
* @description:
|
26
|
-
* @param {CheckResourceParams} param1
|
27
|
-
* @return {*}
|
28
|
-
* @Author: WangHan
|
29
|
-
* @Date: 2025-04-29 18:02
|
30
|
-
*/
|
31
|
-
export declare const checkResource: ({ carts, resources }: CheckResourceParams) => false | any[];
|
32
|
-
interface CheckResourceParams {
|
33
|
-
carts: any[];
|
34
|
-
}
|
35
|
-
export declare type StepKey = 'select-resource' | 'fill-form' | 'select-time' | 'confirm-information' | 'select-service' | 'select-date' | 'select-guest';
|
36
|
-
interface AddHolderParams {
|
37
|
-
res: any;
|
38
|
-
bookingSubject: any;
|
39
|
-
accountLists: any[];
|
40
|
-
cartItem: any;
|
41
|
-
getHolders: () => void;
|
42
|
-
appointmentBooking: any;
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* @title: 添加holder
|
46
|
-
* @description:
|
47
|
-
* @param {any} res
|
48
|
-
* @param {any} bookingSubject
|
49
|
-
* @param {any} accountLists
|
50
|
-
* @param {any} e
|
51
|
-
* @return {*}
|
52
|
-
* @Author: WangHan
|
53
|
-
* @Date: 2025-05-10 18:25
|
54
|
-
*/
|
55
|
-
export declare const handleAddHolder: ({ res, bookingSubject, accountLists, cartItem, getHolders, appointmentBooking }: AddHolderParams) => Promise<any>;
|
56
|
-
export {};
|
@@ -1,106 +0,0 @@
|
|
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
|
-
updateStep: (key: string, step: any) => void;
|
17
|
-
nextStep: () => any;
|
18
|
-
};
|
19
|
-
/**
|
20
|
-
* @title: 获取商品数据
|
21
|
-
* @description:
|
22
|
-
* @return {*}
|
23
|
-
* @Author: WangHan
|
24
|
-
* @Date: 2025-04-15 11:12
|
25
|
-
*/
|
26
|
-
export declare const useAppointmentBookingProduct: () => {
|
27
|
-
checkProductType: (productId: number) => Promise<any>;
|
28
|
-
getProducts: () => Promise<any>;
|
29
|
-
};
|
30
|
-
/**
|
31
|
-
* @title: 更新购物车数据
|
32
|
-
* @description:
|
33
|
-
* @return {*}
|
34
|
-
* @Author: WangHan
|
35
|
-
* @Date: 2025-04-15 11:12
|
36
|
-
*/
|
37
|
-
export declare const useAppointmentBookingCart: () => void;
|
38
|
-
/**
|
39
|
-
* @title: 获取登录状态
|
40
|
-
* @description:
|
41
|
-
* @return {*}
|
42
|
-
* @Author: WangHan
|
43
|
-
* @Date: 2025-04-15 11:14
|
44
|
-
*/
|
45
|
-
export declare const useAppointmentBookingLogin: () => {
|
46
|
-
isLogin: boolean;
|
47
|
-
openLoginModal: (params: {
|
48
|
-
callback: any;
|
49
|
-
}) => void;
|
50
|
-
};
|
51
|
-
/**
|
52
|
-
* @title: 获取账户
|
53
|
-
* @description:
|
54
|
-
* @return {*}
|
55
|
-
* @Author: WangHan
|
56
|
-
* @Date: 2025-04-15 11:15
|
57
|
-
*/
|
58
|
-
export declare const useAppointmentBookingAccount: () => {
|
59
|
-
accountLists: any;
|
60
|
-
getHolders: () => Promise<any>;
|
61
|
-
form_id: any;
|
62
|
-
addAccount: (val: any, type?: string) => Promise<any>;
|
63
|
-
checkAccount: (type: any) => any;
|
64
|
-
};
|
65
|
-
/**
|
66
|
-
* @title: 获取资源数据
|
67
|
-
* @description:
|
68
|
-
* @return {*}
|
69
|
-
* @Author: WangHan
|
70
|
-
* @Date: 2025-04-15 11:29
|
71
|
-
*/
|
72
|
-
export declare const useAppointmentBookingResource: () => {
|
73
|
-
getResourceTimeSlot: (index?: number) => Promise<void>;
|
74
|
-
getResourceList: () => {
|
75
|
-
resources: any;
|
76
|
-
resourceCodes: any;
|
77
|
-
};
|
78
|
-
};
|
79
|
-
/**
|
80
|
-
* @title: 是否跳过资源选择步骤
|
81
|
-
* @description:
|
82
|
-
* @return {*}
|
83
|
-
* @Author: WangHan
|
84
|
-
* @Date: 2025-04-21 11:47
|
85
|
-
*/
|
86
|
-
export declare const useIsSkipResourceStep: () => {
|
87
|
-
checkSkipResourceStep: () => Promise<boolean>;
|
88
|
-
};
|
89
|
-
/**
|
90
|
-
* @title: 获取预约配置
|
91
|
-
* @description:
|
92
|
-
* @return {*}
|
93
|
-
* @Author: WangHan
|
94
|
-
* @Date: 2025-04-24 18:15
|
95
|
-
*/
|
96
|
-
export declare const useAppointmentBookingSetting: () => {
|
97
|
-
isDateSelectedFirst: boolean;
|
98
|
-
isFormSubject: boolean;
|
99
|
-
isRetailTemplate: any;
|
100
|
-
customPageId: any;
|
101
|
-
channel: any;
|
102
|
-
bookingSubject: any;
|
103
|
-
setOtherData: (key: string, val: any) => any;
|
104
|
-
getOtherData: (key: string) => any;
|
105
|
-
formName: any;
|
106
|
-
};
|