@pisell/private-materials 6.3.31 → 6.3.32
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/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/utils.d.ts +41 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/info2/service/contactInfoMode/index.js +1 -0
- package/es/components/booking/locales.d.ts +840 -0
- package/es/components/booking/model.d.ts +120 -0
- 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/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- 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/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/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/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/index.d.ts +22 -0
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- 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/ruleSetting/locales.d.ts +48 -0
- package/es/components/schedules/calendar/calendarItem.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/resources/relationProduct/index.d.ts +0 -1
- 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.d.ts +9 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/plus/clientName/index.d.ts +4 -0
- package/es/plus/clientName/type.d.ts +13 -0
- package/es/plus/clientName/utils.d.ts +2 -0
- package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/index.d.ts +6 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
- package/es/plus/contactInfoModal/index.d.ts +40 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/index.d.ts +32 -0
- package/es/pro/Login2.0/Login2.js +7 -7
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
- package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
- package/es/pro/Login2.0/steps/SetPassword.d.ts +19 -0
- package/es/pro/Login2.0/steps/SetPassword.js +7 -7
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/Login2.0/steps/index.d.ts +19 -0
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/utils.d.ts +41 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.js +8 -1
- package/lib/components/booking/locales.d.ts +840 -0
- package/lib/components/booking/model.d.ts +120 -0
- 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/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- 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/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/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/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/index.d.ts +22 -0
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- 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/ruleSetting/locales.d.ts +48 -0
- package/lib/components/schedules/calendar/calendarItem.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/resources/relationProduct/index.d.ts +0 -1
- 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.d.ts +9 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/plus/clientName/index.d.ts +4 -0
- package/lib/plus/clientName/type.d.ts +13 -0
- package/lib/plus/clientName/utils.d.ts +2 -0
- package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/index.d.ts +6 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
- package/lib/plus/contactInfoModal/index.d.ts +40 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/index.d.ts +32 -0
- package/lib/pro/Login2.0/Login2.js +7 -7
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
- package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +19 -0
- package/lib/pro/Login2.0/steps/SetPassword.js +7 -7
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/Login2.0/steps/index.d.ts +19 -0
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/package.json +3 -3
|
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
|
30
30
|
* @return {*}
|
|
31
31
|
* @Author: xiangfeng.xue
|
|
32
32
|
*/
|
|
33
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00"
|
|
33
|
+
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
|
|
34
34
|
/**
|
|
35
35
|
* 计算所有价格明细
|
|
36
36
|
* @param items - 购物车商品数组
|
|
@@ -0,0 +1,107 @@
|
|
|
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
|
+
bookingSetting: any;
|
|
107
|
+
};
|
|
@@ -0,0 +1,363 @@
|
|
|
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.unuse.date': string;
|
|
106
|
+
'pisell2.appointment.add-guests': string;
|
|
107
|
+
'pisell2.appointment.policy': string;
|
|
108
|
+
'pisell2.appointment.policy.confirm': string;
|
|
109
|
+
'pisell2.appointment.resource.tip': (val: string) => string;
|
|
110
|
+
'pisell2.text.apply': string;
|
|
111
|
+
'pisell2.text.goodpass': string;
|
|
112
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
113
|
+
'pisell2.text.goodpass.view-more': string;
|
|
114
|
+
'pisell2.text.goodpass.code': string;
|
|
115
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
116
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
117
|
+
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
118
|
+
'pisell2.text.goodpass.login': string;
|
|
119
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
120
|
+
'pisell2.text.contact-info.title': string;
|
|
121
|
+
};
|
|
122
|
+
'zh-CN': {
|
|
123
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
124
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
125
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
126
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
127
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
128
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
129
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
130
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
131
|
+
'pisell2.event.close.title': string;
|
|
132
|
+
'pisell2.event.close.tip': string;
|
|
133
|
+
'pisell2.event.close.continue': string;
|
|
134
|
+
'pisell2.event.close.exit': string;
|
|
135
|
+
'pisell2.appointment.step': (step: number) => string;
|
|
136
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
137
|
+
'pisell2.event.select.event': string;
|
|
138
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
139
|
+
'pisell2.event.cart': string;
|
|
140
|
+
'pisell2.event.total': string;
|
|
141
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
142
|
+
'pisell2.event.continue': string;
|
|
143
|
+
'pisell2.event.details': string;
|
|
144
|
+
'pisell2.event.introduction': string;
|
|
145
|
+
'pisell2.event.schedule': string;
|
|
146
|
+
'pisell2.event.teacher': string;
|
|
147
|
+
'pisell2.event.campus': string;
|
|
148
|
+
'pisell2.event.resource': string;
|
|
149
|
+
'pisell2.event.booking.options': string;
|
|
150
|
+
'pisell2.event.add.to.cart': string;
|
|
151
|
+
'pisell2.event.description': string;
|
|
152
|
+
'pisell2.event.view.more': string;
|
|
153
|
+
'pisell2.event.view.less': string;
|
|
154
|
+
'pisell2.event.holder.modal.title': string;
|
|
155
|
+
'pisell2.event.confirm': string;
|
|
156
|
+
'pisell2.event.confirm.information': string;
|
|
157
|
+
'pisell2.event.confirm.information.tip': string;
|
|
158
|
+
'pisell2.event.confirm.information.other': string;
|
|
159
|
+
'pisell2.event.add.others': string;
|
|
160
|
+
'pisell2.event.checkout': string;
|
|
161
|
+
'pisell2.event.edit.event': string;
|
|
162
|
+
'pisell2.event.remove': string;
|
|
163
|
+
'pisell2.event.option': string;
|
|
164
|
+
'pisell2.event.order.items.error.title': string;
|
|
165
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
166
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
167
|
+
'pisell2.event.order.items.error.return': string;
|
|
168
|
+
'pisell2.event.order.items.error.back': string;
|
|
169
|
+
'pisell2.event.order.items.error.continue': string;
|
|
170
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
171
|
+
'pisell2.event.remove.title': string;
|
|
172
|
+
'pisell2.event.remove.tip': string;
|
|
173
|
+
'pisell2.event.remove.cancel': string;
|
|
174
|
+
'pisell2.event.create': string;
|
|
175
|
+
'pisell2.event.search': string;
|
|
176
|
+
'pisell2.event.empty.service': string;
|
|
177
|
+
'pisell2.event.title': (val: number) => string;
|
|
178
|
+
'pisell2.event.create.form': string;
|
|
179
|
+
'pisell2.event.empty.event': string;
|
|
180
|
+
'pisell2.event.error.holder': string;
|
|
181
|
+
'pisell2.event.price.from': string;
|
|
182
|
+
'pisell2.event.empty.holder.title': string;
|
|
183
|
+
'pisell2.event.empty.holder.tip': string;
|
|
184
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
185
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
186
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
187
|
+
'pisell2.event.event.full.title': string;
|
|
188
|
+
'pisell2.event.event.full.tip': string;
|
|
189
|
+
'pisell2.event.event.full.ok': string;
|
|
190
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
191
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
192
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
193
|
+
'pisell2.appointment.booking.empty.data': string;
|
|
194
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
195
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
196
|
+
'pisell2.appointment.add.guest': string;
|
|
197
|
+
'pisell2.appointment.edit.service': string;
|
|
198
|
+
'pisell2.appointment.remove.guest': string;
|
|
199
|
+
'pisell2.appointment.no.available.service': string;
|
|
200
|
+
'pisell2.appointment.max.guest': string;
|
|
201
|
+
'pisell2.appointment.no.available.time': string;
|
|
202
|
+
'pisell2.appointment.monday': string;
|
|
203
|
+
'pisell2.appointment.tuesday': string;
|
|
204
|
+
'pisell2.appointment.wednesday': string;
|
|
205
|
+
'pisell2.appointment.thursday': string;
|
|
206
|
+
'pisell2.appointment.friday': string;
|
|
207
|
+
'pisell2.appointment.saturday': string;
|
|
208
|
+
'pisell2.appointment.sunday': string;
|
|
209
|
+
'pisell2.appointment.any.professional': string;
|
|
210
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
211
|
+
'pisell2.appointment.deposit': string;
|
|
212
|
+
'pisell2.appointment.deposit.agreed': string;
|
|
213
|
+
'pisell2.appointment.deposit.agree.policy': string;
|
|
214
|
+
'pisell2.appointment.deposit.and': string;
|
|
215
|
+
'pisell2.appointment.deposit.amount.tip1': string;
|
|
216
|
+
'pisell2.appointment.deposit.amount.tip2': string;
|
|
217
|
+
'pisell2.appointment.deposit.close': string;
|
|
218
|
+
'pisell2.appointment.tips': string;
|
|
219
|
+
'pisell2.appointment.tips.content': string;
|
|
220
|
+
'pisell2.appointment.fill-form': string;
|
|
221
|
+
'pisell2.appointment.select.holder': (val: string) => string;
|
|
222
|
+
'pisell2.appointment.select.time': string;
|
|
223
|
+
'pisell2.appointment.unselect.time': string;
|
|
224
|
+
'pisell2.appointment.unselect.date': string;
|
|
225
|
+
'pisell2.appointment.unuse.date': string;
|
|
226
|
+
'pisell2.appointment.add-guests': string;
|
|
227
|
+
'pisell2.appointment.policy': string;
|
|
228
|
+
'pisell2.appointment.policy.confirm': string;
|
|
229
|
+
'pisell2.appointment.resource.tip': (val: string) => string;
|
|
230
|
+
'pisell2.text.apply': string;
|
|
231
|
+
'pisell2.text.goodpass': string;
|
|
232
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
233
|
+
'pisell2.text.goodpass.view-more': string;
|
|
234
|
+
'pisell2.text.goodpass.code': string;
|
|
235
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
236
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
237
|
+
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
238
|
+
'pisell2.text.goodpass.login': string;
|
|
239
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
240
|
+
'pisell2.text.contact-info.title': string;
|
|
241
|
+
};
|
|
242
|
+
'zh-HK': {
|
|
243
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
244
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
245
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
246
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
247
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
248
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
249
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
250
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
251
|
+
'pisell2.event.close.title': string;
|
|
252
|
+
'pisell2.event.close.tip': string;
|
|
253
|
+
'pisell2.event.close.continue': string;
|
|
254
|
+
'pisell2.event.close.exit': string;
|
|
255
|
+
'pisell2.appointment.step': (step: number) => string;
|
|
256
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
257
|
+
'pisell2.event.select.event': string;
|
|
258
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
259
|
+
'pisell2.event.cart': string;
|
|
260
|
+
'pisell2.event.total': string;
|
|
261
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
262
|
+
'pisell2.event.continue': string;
|
|
263
|
+
'pisell2.event.details': string;
|
|
264
|
+
'pisell2.event.introduction': string;
|
|
265
|
+
'pisell2.event.schedule': string;
|
|
266
|
+
'pisell2.event.teacher': string;
|
|
267
|
+
'pisell2.event.campus': string;
|
|
268
|
+
'pisell2.event.resource': string;
|
|
269
|
+
'pisell2.event.booking.options': string;
|
|
270
|
+
'pisell2.event.add.to.cart': string;
|
|
271
|
+
'pisell2.event.description': string;
|
|
272
|
+
'pisell2.event.view.more': string;
|
|
273
|
+
'pisell2.event.view.less': string;
|
|
274
|
+
'pisell2.event.holder.modal.title': string;
|
|
275
|
+
'pisell2.event.confirm': string;
|
|
276
|
+
'pisell2.event.confirm.information': string;
|
|
277
|
+
'pisell2.event.confirm.information.tip': string;
|
|
278
|
+
'pisell2.event.confirm.information.other': string;
|
|
279
|
+
'pisell2.event.add.others': string;
|
|
280
|
+
'pisell2.event.checkout': string;
|
|
281
|
+
'pisell2.event.edit.event': string;
|
|
282
|
+
'pisell2.event.remove': string;
|
|
283
|
+
'pisell2.event.option': string;
|
|
284
|
+
'pisell2.event.order.items.error.title': string;
|
|
285
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
286
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
287
|
+
'pisell2.event.order.items.error.return': string;
|
|
288
|
+
'pisell2.event.order.items.error.back': string;
|
|
289
|
+
'pisell2.event.order.items.error.continue': string;
|
|
290
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
291
|
+
'pisell2.event.remove.title': string;
|
|
292
|
+
'pisell2.event.remove.tip': string;
|
|
293
|
+
'pisell2.event.remove.cancel': string;
|
|
294
|
+
'pisell2.event.create': string;
|
|
295
|
+
'pisell2.event.search': string;
|
|
296
|
+
'pisell2.event.empty.service': string;
|
|
297
|
+
'pisell2.event.title': (val: number) => string;
|
|
298
|
+
'pisell2.event.create.form': string;
|
|
299
|
+
'pisell2.event.empty.event': string;
|
|
300
|
+
'pisell2.event.error.holder': string;
|
|
301
|
+
'pisell2.event.price.from': string;
|
|
302
|
+
'pisell2.event.empty.holder.title': string;
|
|
303
|
+
'pisell2.event.empty.holder.tip': string;
|
|
304
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
305
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
306
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
307
|
+
'pisell2.event.event.full.title': string;
|
|
308
|
+
'pisell2.event.event.full.tip': string;
|
|
309
|
+
'pisell2.event.event.full.ok': string;
|
|
310
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
311
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
312
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
313
|
+
'pisell2.appointment.booking.empty.data': string;
|
|
314
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
315
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
316
|
+
'pisell2.appointment.add.guest': string;
|
|
317
|
+
'pisell2.appointment.edit.service': string;
|
|
318
|
+
'pisell2.appointment.remove.guest': string;
|
|
319
|
+
'pisell2.appointment.no.available.service': string;
|
|
320
|
+
'pisell2.appointment.max.guest': string;
|
|
321
|
+
'pisell2.appointment.no.available.time': string;
|
|
322
|
+
'pisell2.appointment.monday': string;
|
|
323
|
+
'pisell2.appointment.tuesday': string;
|
|
324
|
+
'pisell2.appointment.wednesday': string;
|
|
325
|
+
'pisell2.appointment.thursday': string;
|
|
326
|
+
'pisell2.appointment.friday': string;
|
|
327
|
+
'pisell2.appointment.saturday': string;
|
|
328
|
+
'pisell2.appointment.sunday': string;
|
|
329
|
+
'pisell2.appointment.any.professional': string;
|
|
330
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
331
|
+
'pisell2.appointment.deposit': string;
|
|
332
|
+
'pisell2.appointment.deposit.agreed': string;
|
|
333
|
+
'pisell2.appointment.deposit.agree.policy': string;
|
|
334
|
+
'pisell2.appointment.deposit.and': string;
|
|
335
|
+
'pisell2.appointment.deposit.amount.tip1': string;
|
|
336
|
+
'pisell2.appointment.deposit.amount.tip2': string;
|
|
337
|
+
'pisell2.appointment.deposit.close': string;
|
|
338
|
+
'pisell2.appointment.tips': string;
|
|
339
|
+
'pisell2.appointment.tips.content': string;
|
|
340
|
+
'pisell2.appointment.fill-form': string;
|
|
341
|
+
'pisell2.appointment.select.holder': (val: string) => string;
|
|
342
|
+
'pisell2.appointment.select.time': string;
|
|
343
|
+
'pisell2.appointment.unselect.time': string;
|
|
344
|
+
'pisell2.appointment.unselect.date': string;
|
|
345
|
+
'pisell2.appointment.unuse.date': string;
|
|
346
|
+
'pisell2.appointment.add-guests': string;
|
|
347
|
+
'pisell2.appointment.policy': string;
|
|
348
|
+
'pisell2.appointment.policy.confirm': string;
|
|
349
|
+
'pisell2.appointment.resource.tip': (val: string) => string;
|
|
350
|
+
'pisell2.text.apply': string;
|
|
351
|
+
'pisell2.text.goodpass': string;
|
|
352
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
353
|
+
'pisell2.text.goodpass.view-more': string;
|
|
354
|
+
'pisell2.text.goodpass.code': string;
|
|
355
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
356
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
357
|
+
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
358
|
+
'pisell2.text.goodpass.login': string;
|
|
359
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
360
|
+
'pisell2.text.contact-info.title': string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
export interface ResourceItem {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
24
|
+
* @description:
|
|
25
|
+
* @param {object} resource
|
|
26
|
+
* @return {*}
|
|
27
|
+
* @Author: jinglin.tan
|
|
28
|
+
*/
|
|
29
|
+
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
30
|
+
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
31
|
+
/**
|
|
32
|
+
* @title: 格式化商品单价
|
|
33
|
+
* @description:
|
|
34
|
+
* @param {any} item
|
|
35
|
+
* @return {*}
|
|
36
|
+
* @Author: WangHan
|
|
37
|
+
* @Date: 2024-12-23 12:05
|
|
38
|
+
*/
|
|
39
|
+
export declare const formatProductPrice: (item: any) => number;
|
|
40
|
+
export declare const formatValues: (state: any) => any;
|
|
41
|
+
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormState } from '../../../model';
|
|
2
|
+
interface useClientFnParams {
|
|
3
|
+
state: any;
|
|
4
|
+
setGlobalState: (val: any) => void;
|
|
5
|
+
modalRef: any;
|
|
6
|
+
onRemoveClient?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const useClientFn: (_params: useClientFnParams) => {
|
|
9
|
+
setClient: (client: Partial<FormState['client']>) => void;
|
|
10
|
+
isWalkIn: boolean;
|
|
11
|
+
handleSelectClient: (value: any) => Promise<unknown>;
|
|
12
|
+
menuChange: (e: any) => void;
|
|
13
|
+
handleViewClient: () => void;
|
|
14
|
+
menus: {
|
|
15
|
+
key: string;
|
|
16
|
+
label: any;
|
|
17
|
+
}[];
|
|
18
|
+
handleCreateItem: (cb?: () => void) => void;
|
|
19
|
+
getClients: ({ customer_id, customer_ids, ...resetParams }: {
|
|
20
|
+
customer_id?: number | undefined;
|
|
21
|
+
skip?: number | undefined;
|
|
22
|
+
search?: string | undefined;
|
|
23
|
+
with?: string[] | undefined;
|
|
24
|
+
relation_form_id?: number | undefined;
|
|
25
|
+
num?: number | undefined;
|
|
26
|
+
customer_ids?: string[] | undefined;
|
|
27
|
+
}, returnResult?: boolean) => Promise<any>;
|
|
28
|
+
params: {
|
|
29
|
+
skip: number;
|
|
30
|
+
num: number;
|
|
31
|
+
total: number;
|
|
32
|
+
search: string;
|
|
33
|
+
with: string[];
|
|
34
|
+
relation_form_id: any;
|
|
35
|
+
};
|
|
36
|
+
searchChange: (search: string) => void;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
loadMore: JSX.Element | null;
|
|
39
|
+
handleOpenClientModal: (val?: string) => void;
|
|
40
|
+
getNickname: (item: any) => any;
|
|
41
|
+
franchiseeLoading: number;
|
|
42
|
+
};
|
|
43
|
+
export default useClientFn;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface VerticalClientProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
}
|
|
7
|
+
declare const VerticalClient: React.ForwardRefExoticComponent<VerticalClientProps & React.RefAttributes<unknown>>;
|
|
8
|
+
export default VerticalClient;
|