@pisell/private-materials 6.3.141 → 6.3.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/scanOrder/components/Content/index.js +21 -14
- package/es/components/scanOrder/components/Menu/index.d.ts +1 -0
- package/es/components/scanOrder/components/Menu/index.js +2 -1
- package/es/components/scanOrder/locales.d.ts +5 -0
- package/es/components/scanOrder/locales.js +5 -0
- package/lib/components/scanOrder/components/Content/index.js +4 -0
- package/lib/components/scanOrder/components/Menu/index.d.ts +1 -0
- package/lib/components/scanOrder/components/Menu/index.js +2 -2
- package/lib/components/scanOrder/locales.d.ts +5 -0
- package/lib/components/scanOrder/locales.js +5 -0
- package/package.json +1 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/utils.d.ts +0 -227
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- 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/locales.d.ts +0 -1489
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/eftposPay/amount.d.ts +0 -21
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/network.d.ts +0 -9
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/component/manual/index.d.ts +0 -9
- package/es/components/eftposPay/component/signature/index.d.ts +0 -9
- package/es/components/eftposPay/device.d.ts +0 -23
- package/es/components/eftposPay/index.d.ts +0 -4
- 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/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/eftposPay/tip.d.ts +0 -10
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/utils/payLog.d.ts +0 -81
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/kioskSkuDetail/index.d.ts +0 -39
- package/es/components/kioskSkuDetail/locales.d.ts +0 -48
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -631
- package/es/components/pay/toC/payGroup.d.ts +0 -59
- package/es/components/pay/toC/serve.d.ts +0 -87
- package/es/components/pay/toC/utils.d.ts +0 -65
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/systemSettings/registry/services.d.ts +0 -99
- package/es/components/systemSettings/registry/types.d.ts +0 -143
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/index.d.ts +0 -87
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/es/plus/skuOptionsSelection/types.d.ts +0 -458
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/utils.d.ts +0 -227
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- 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/locales.d.ts +0 -1489
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/eftposPay/amount.d.ts +0 -21
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
- package/lib/components/eftposPay/device.d.ts +0 -23
- package/lib/components/eftposPay/index.d.ts +0 -4
- 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/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/eftposPay/tip.d.ts +0 -10
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/kioskSkuDetail/index.d.ts +0 -39
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -631
- package/lib/components/pay/toC/payGroup.d.ts +0 -59
- package/lib/components/pay/toC/serve.d.ts +0 -87
- package/lib/components/pay/toC/utils.d.ts +0 -65
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/systemSettings/registry/services.d.ts +0 -99
- package/lib/components/systemSettings/registry/types.d.ts +0 -143
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/index.d.ts +0 -87
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 格式化holder表数据
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} data
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2025-05-07 21:22
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatHolder: (data: any[]) => any[];
|
|
10
|
-
export declare const formatGuest: (data: any[], products: any) => any[];
|
|
11
|
-
/**
|
|
12
|
-
* @title: 格式化购物车中资源上挂接的表单数据
|
|
13
|
-
* @description:
|
|
14
|
-
* @param {any} data
|
|
15
|
-
* @param {any} resources
|
|
16
|
-
* @return {*}
|
|
17
|
-
* @Author: WangHan
|
|
18
|
-
* @Date: 2025-05-06 22:22
|
|
19
|
-
*/
|
|
20
|
-
export declare const formatCartsResources: (carts: any[], resources: any[], setPolicyIds: any) => any[];
|
|
21
|
-
/**
|
|
22
|
-
* @title: 格式化购物车数据
|
|
23
|
-
* @description:
|
|
24
|
-
* @param {any} data
|
|
25
|
-
* @param {any} resources
|
|
26
|
-
* @param {any} accountLists
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: WangHan
|
|
29
|
-
* @Date: 2025-05-07 21:22
|
|
30
|
-
*/
|
|
31
|
-
export declare const formatCarts: (data: any[], resources: any[], utils: any, accountLists?: any) => any[];
|
|
32
|
-
/**
|
|
33
|
-
* @title: 对资源进行排序
|
|
34
|
-
* @description:
|
|
35
|
-
* @param {any} currentResourcesMap
|
|
36
|
-
* @param {any} resourceSort
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: WangHan
|
|
39
|
-
* @Date: 2025-04-14 11:16
|
|
40
|
-
*/
|
|
41
|
-
export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* @title: 处理资源列表并提取资源代码
|
|
44
|
-
* @description: 对资源列表进行排序,并提取 resourceCodes
|
|
45
|
-
* @param {any[]} resources - 原始资源列表
|
|
46
|
-
* @param {any[]} resourceSort - 资源排序配置
|
|
47
|
-
* @return {*} 返回处理后的资源列表和资源代码数组
|
|
48
|
-
* @Author: WangHan
|
|
49
|
-
* @Date: 2025-11-21 15:33
|
|
50
|
-
*/
|
|
51
|
-
export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
|
|
52
|
-
resources: any[];
|
|
53
|
-
resourceCodes: any;
|
|
54
|
-
};
|
|
55
|
-
export declare const getMeAccount: (val: any[]) => any;
|
|
56
|
-
export declare const getCustomer: (utils: any) => any;
|
|
57
|
-
export declare const formatCustomer: (val: any) => {
|
|
58
|
-
id: any;
|
|
59
|
-
username: string;
|
|
60
|
-
};
|
|
61
|
-
export declare const formatCurrentUser: (utils: any) => {
|
|
62
|
-
id: any;
|
|
63
|
-
username: string;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @title: 定金合并的标点符号
|
|
67
|
-
* @description:
|
|
68
|
-
* @return {*}
|
|
69
|
-
* @Author: WangHan
|
|
70
|
-
* @Date: 2025-04-21 17:52
|
|
71
|
-
*/
|
|
72
|
-
export declare const getPunctuationMark: (index: number, totalLength: number, isEn: boolean) => any;
|
|
73
|
-
/**
|
|
74
|
-
* @title: 判断当前选中的资源中是否有 resource_form_id 表单id,如果有表单则下一步是选择表单
|
|
75
|
-
* @description:
|
|
76
|
-
* @param {any} array
|
|
77
|
-
* @param {any} resources
|
|
78
|
-
* @return {*}
|
|
79
|
-
* @Author: WangHan
|
|
80
|
-
* @Date: 2025-04-25 19:05
|
|
81
|
-
*/
|
|
82
|
-
export declare const hasResourceFormId: (array: any[]) => boolean | undefined;
|
|
83
|
-
export declare const formatForms: (array: any[]) => ({
|
|
84
|
-
form_id: any;
|
|
85
|
-
policy_id: any;
|
|
86
|
-
id: any;
|
|
87
|
-
cart_id: any;
|
|
88
|
-
} | null)[];
|
|
89
|
-
/**
|
|
90
|
-
* @title: 打开表单
|
|
91
|
-
* @description:
|
|
92
|
-
* @param {string} title
|
|
93
|
-
* @param {any} callback
|
|
94
|
-
* @return {*}
|
|
95
|
-
* @Author: WangHan
|
|
96
|
-
* @Date: 2025-04-26 15:26
|
|
97
|
-
*/
|
|
98
|
-
export declare const openForm: ({ form_id, title, callback, utils }: any) => void;
|
|
99
|
-
/**
|
|
100
|
-
* @title: 更新数组
|
|
101
|
-
* @description:
|
|
102
|
-
* @return {*}
|
|
103
|
-
* @Author: WangHan
|
|
104
|
-
* @Date: 2025-04-26 18:13
|
|
105
|
-
*/
|
|
106
|
-
export declare function updateLists<T extends Record<string, any>>(list: T[], key: string, value: any, newData: Partial<T>): T[];
|
|
107
|
-
/**
|
|
108
|
-
* @title: 更新表单存储
|
|
109
|
-
* @description:
|
|
110
|
-
* @param {any} bookingForm
|
|
111
|
-
* @param {number} id
|
|
112
|
-
* @param {any} newData
|
|
113
|
-
* @return {*}
|
|
114
|
-
* @Author: WangHan
|
|
115
|
-
* @Date: 2025-04-27 17:27
|
|
116
|
-
*/
|
|
117
|
-
export declare const updateBookingFormStorage: (bookingForm: any, id: number | string, newData: any) => any;
|
|
118
|
-
export declare const Toast: (text: string) => void;
|
|
119
|
-
/**
|
|
120
|
-
* @title: 添加或移除表单步骤
|
|
121
|
-
* @description:
|
|
122
|
-
* @param {any} param1
|
|
123
|
-
* @return {*}
|
|
124
|
-
* @Author: WangHan
|
|
125
|
-
* @Date: 2025-05-06 21:51
|
|
126
|
-
*/
|
|
127
|
-
export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => void;
|
|
128
|
-
export declare const getCartCurrentResourceData: (cart: any, currentKey: any, resources: any[]) => any;
|
|
129
|
-
/**
|
|
130
|
-
* @title: 获取购物车资源列表
|
|
131
|
-
* @description:
|
|
132
|
-
* @return {*}
|
|
133
|
-
* @Author: WangHan
|
|
134
|
-
* @Date: 2025-05-25 13:56
|
|
135
|
-
*/
|
|
136
|
-
export declare const getMultiResources: (cart: any, currentSelectedResource: any, currentKey: string) => any[];
|
|
137
|
-
export declare const getCurrentBoard: (appointmentBooking: any, code: string) => any;
|
|
138
|
-
/**
|
|
139
|
-
* @title:
|
|
140
|
-
* @description: 根据资源code获取资源标题
|
|
141
|
-
* @param {any} appointmentBooking
|
|
142
|
-
* @param {string} code
|
|
143
|
-
* @return {*}
|
|
144
|
-
* @Author: WangHan
|
|
145
|
-
* @Date: 2025-05-24 18:51
|
|
146
|
-
*/
|
|
147
|
-
export declare const getResourceTitle: (appointmentBooking: any, code: string, utils: any, originResource: any) => string;
|
|
148
|
-
/**
|
|
149
|
-
* @title: 监测购物车中是否有没有选择资源的
|
|
150
|
-
* @description:
|
|
151
|
-
* @param {any} carts
|
|
152
|
-
* @return {*}
|
|
153
|
-
* @Author: WangHan
|
|
154
|
-
* @Date: 2025-05-24 18:47
|
|
155
|
-
*/
|
|
156
|
-
export declare const checkAndMarkCartRenderError: (carts: any, appointmentBooking?: any, utils?: any) => {
|
|
157
|
-
hasError: boolean;
|
|
158
|
-
updatedCartList: any;
|
|
159
|
-
} | {
|
|
160
|
-
hasError?: undefined;
|
|
161
|
-
updatedCartList?: undefined;
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* @title: 查表表单步骤插入到哪个步骤的后面的key
|
|
165
|
-
* @description:
|
|
166
|
-
* @param {string} currentKey
|
|
167
|
-
* @param {any} stepList
|
|
168
|
-
* @return {*}
|
|
169
|
-
* @Author: WangHan
|
|
170
|
-
* @Date: 2025-05-24 19:05
|
|
171
|
-
*/
|
|
172
|
-
export declare const getFormInsertBeforeKey: (currentKey: string, stepList: any[]) => any;
|
|
173
|
-
/**
|
|
174
|
-
* @title: 监测holder数据
|
|
175
|
-
* @description:
|
|
176
|
-
* @param {any} isFormSubject
|
|
177
|
-
* @param {any} checkAccount
|
|
178
|
-
* @param {any} carts
|
|
179
|
-
* @return {*}
|
|
180
|
-
* @Author: WangHan
|
|
181
|
-
* @Date: 2025-05-24 22:46
|
|
182
|
-
*/
|
|
183
|
-
export declare const checkAndGoNext: (isFormSubject: any, checkAccount: any, carts: any[]) => {
|
|
184
|
-
hasError: boolean;
|
|
185
|
-
updatedCartList: any[];
|
|
186
|
-
};
|
|
187
|
-
export declare const currentAppointmentBoard: (currentKey: string, resources: any[], appointmentBooking: any) => {
|
|
188
|
-
isRequired: boolean;
|
|
189
|
-
isSystem: boolean;
|
|
190
|
-
isSkip: boolean;
|
|
191
|
-
form_id: number;
|
|
192
|
-
form_code: any;
|
|
193
|
-
cart_id: string;
|
|
194
|
-
resource_form_id: string;
|
|
195
|
-
policy_id: string;
|
|
196
|
-
} | {
|
|
197
|
-
isRequired?: undefined;
|
|
198
|
-
isSystem?: undefined;
|
|
199
|
-
isSkip?: undefined;
|
|
200
|
-
form_id?: undefined;
|
|
201
|
-
form_code?: undefined;
|
|
202
|
-
cart_id?: undefined;
|
|
203
|
-
resource_form_id?: undefined;
|
|
204
|
-
policy_id?: undefined;
|
|
205
|
-
};
|
|
206
|
-
export declare const currentRenderLists: (resources: any[], code: any) => any;
|
|
207
|
-
/**
|
|
208
|
-
* @title: 更新购物车
|
|
209
|
-
* @description:
|
|
210
|
-
* @param {any} carts
|
|
211
|
-
* @param {any} value
|
|
212
|
-
* @return {*}
|
|
213
|
-
* @Author: WangHan
|
|
214
|
-
* @Date: 2025-05-25 23:17
|
|
215
|
-
*/
|
|
216
|
-
export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
|
|
217
|
-
/**
|
|
218
|
-
* @title: 根据步骤key清空数据
|
|
219
|
-
* @param {string} key - 当前步骤的key
|
|
220
|
-
* @param {any} appointmentBooking - 预约预订实例
|
|
221
|
-
* @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
|
|
222
|
-
* @return {string[]} 返回需要清空的数据类型数组
|
|
223
|
-
* @Author: WangHan
|
|
224
|
-
* @Date: 2025-11-21 15:40
|
|
225
|
-
*/
|
|
226
|
-
export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
|
|
227
|
-
export declare const nextStepLog: (utils: any, title: string, content?: any) => void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ChannelAuthSettingProps } from '../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare const Onlineshopauth: React.FC<ChannelAuthSettingProps>;
|
|
5
|
-
export default Onlineshopauth;
|
|
6
|
-
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from '../types';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ChannelAuthSettingProps } from './types';
|
|
3
|
-
import './ChannelAuthSetting.less';
|
|
4
|
-
declare const ChannelAuthSetting: React.FC<ChannelAuthSettingProps>;
|
|
5
|
-
export default ChannelAuthSetting;
|
|
6
|
-
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from './types';
|
|
@@ -1,47 +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
|
-
* 获取子商品折扣信息
|
|
21
|
-
* @param item
|
|
22
|
-
*/
|
|
23
|
-
export declare const getBundleDiscountList: (bundle: any[]) => any[];
|
|
24
|
-
export interface ResourceItem {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
29
|
-
* @description:
|
|
30
|
-
* @param {object} resource
|
|
31
|
-
* @return {*}
|
|
32
|
-
* @Author: jinglin.tan
|
|
33
|
-
*/
|
|
34
|
-
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
35
|
-
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
36
|
-
/**
|
|
37
|
-
* @title: 格式化商品单价
|
|
38
|
-
* @description:
|
|
39
|
-
* @param {any} item
|
|
40
|
-
* @return {*}
|
|
41
|
-
* @Author: WangHan
|
|
42
|
-
* @Date: 2024-12-23 12:05
|
|
43
|
-
*/
|
|
44
|
-
export declare const formatProductPrice: (item: any) => number;
|
|
45
|
-
export declare const getMainProductSellingPrice: (item: any) => number | undefined;
|
|
46
|
-
export declare const formatValues: (state: any) => any;
|
|
47
|
-
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface IProps {
|
|
4
|
-
modal: any;
|
|
5
|
-
onReload: () => Promise<any>;
|
|
6
|
-
onCancel: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const ReloadResourceModal: ({ modal, onReload, onCancel }: IProps) => JSX.Element;
|
|
9
|
-
export default ReloadResourceModal;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface EditServiceRef {
|
|
4
|
-
init: (cacheItem?: any, open?: boolean, openEditProduct?: boolean) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
-
export default _default;
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const formatActiveKey: (lists: any[], platform: string, isEdit: boolean) => any[];
|
|
3
|
-
/**
|
|
4
|
-
* @title: 获取资源名称
|
|
5
|
-
* @description:
|
|
6
|
-
* @param {any} id
|
|
7
|
-
* @param {any} state
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: WangHan
|
|
10
|
-
* @Date: 2024-11-29 18:02
|
|
11
|
-
*/
|
|
12
|
-
export declare const getResourceItem: (id: any, state: any) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @title: 错误提示
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {any} service
|
|
17
|
-
* @param {any} resourceItem
|
|
18
|
-
* @return {*}
|
|
19
|
-
* @Author: WangHan
|
|
20
|
-
* @Date: 2024-11-29 18:41
|
|
21
|
-
*/
|
|
22
|
-
export declare const getErrorMessage: (service: any, resourceItem: any, isDay?: boolean) => any;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 格式化主体列表
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {any} lists
|
|
27
|
-
* @param {boolean} isOpenGroup
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: WangHan
|
|
30
|
-
* @Date: 2024-12-04 11:27
|
|
31
|
-
*/
|
|
32
|
-
export declare const formatHolderLists: (lists: any) => any;
|
|
33
|
-
export declare const isBookingProduct: (extension_type: any, bol?: boolean) => boolean | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* @title: 是否是预约商品
|
|
36
|
-
* @description:
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: WangHan
|
|
39
|
-
* @Date: 2024-12-06 11:24
|
|
40
|
-
*/
|
|
41
|
-
export declare const isDayBookingProduct: (item: any, state: any) => boolean | undefined;
|
|
42
|
-
export declare const handleChangeHolder: (products: any[], currentItem: any, other: any) => any[];
|
|
43
|
-
/**
|
|
44
|
-
* @title: 更新商品数据
|
|
45
|
-
* @description:
|
|
46
|
-
* @param {any} state
|
|
47
|
-
* @param currentItem
|
|
48
|
-
* @param {string} type
|
|
49
|
-
* @param {any} other
|
|
50
|
-
* @param actions
|
|
51
|
-
* @return {*}
|
|
52
|
-
* @Author: WangHan
|
|
53
|
-
* @Date: 2025-01-03 15:00
|
|
54
|
-
*/
|
|
55
|
-
export declare const updateServices: (state: any, currentItem: any, type?: string, other?: any, actions?: any) => any;
|
|
56
|
-
export declare const formItems: (items: any[]) => any[];
|
|
57
|
-
export declare const getIsSubjectRequire: (state: any) => boolean;
|
|
58
|
-
export declare const isNormalProductByDurationSchedule: (item: any) => boolean;
|
|
59
|
-
export declare const isAllNormalProduct: (items: any[]) => boolean;
|
|
60
|
-
export declare const isAllNormalProductByState: (state: any) => boolean;
|
|
61
|
-
/**
|
|
62
|
-
* @title: 格式化商品数据
|
|
63
|
-
* @description:
|
|
64
|
-
* @param {any} lists
|
|
65
|
-
* @return {*}
|
|
66
|
-
* @Author: WangHan
|
|
67
|
-
* @Date: 2024-11-29 17:36
|
|
68
|
-
*/
|
|
69
|
-
export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => {
|
|
70
|
-
_origin: any;
|
|
71
|
-
id: any;
|
|
72
|
-
_id: any;
|
|
73
|
-
name: any;
|
|
74
|
-
price: any;
|
|
75
|
-
totalDifference: any;
|
|
76
|
-
total: number;
|
|
77
|
-
origin_total: number;
|
|
78
|
-
num: any;
|
|
79
|
-
image: any;
|
|
80
|
-
isShowNote: boolean;
|
|
81
|
-
note: any;
|
|
82
|
-
like_status: any;
|
|
83
|
-
bundle: any;
|
|
84
|
-
options: any;
|
|
85
|
-
errorMessage: string;
|
|
86
|
-
product_option_string: any;
|
|
87
|
-
discount_reason: any;
|
|
88
|
-
resource_id: any;
|
|
89
|
-
relation_form_name: any;
|
|
90
|
-
holder_title: any;
|
|
91
|
-
start_date: any;
|
|
92
|
-
end_date: any;
|
|
93
|
-
holder_id: any;
|
|
94
|
-
isNormalProduct: boolean;
|
|
95
|
-
locale: any;
|
|
96
|
-
symbol: any;
|
|
97
|
-
relation_products: any;
|
|
98
|
-
items: any[];
|
|
99
|
-
}[];
|
|
100
|
-
/**
|
|
101
|
-
* @title: 禁用日期
|
|
102
|
-
* @description:
|
|
103
|
-
* @param {any} current
|
|
104
|
-
* @param {string} position
|
|
105
|
-
* @param {any} startDate
|
|
106
|
-
* @return {*}
|
|
107
|
-
* @Author: WangHan
|
|
108
|
-
* @Date: 2024-12-03 17:51
|
|
109
|
-
*/
|
|
110
|
-
export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
|
|
111
|
-
/**
|
|
112
|
-
* @title: 是否是跨日预约
|
|
113
|
-
* @description:
|
|
114
|
-
* @param {any} state
|
|
115
|
-
* @return {*}
|
|
116
|
-
* @Author: WangHan
|
|
117
|
-
* @Date: 2024-12-04 09:49
|
|
118
|
-
*/
|
|
119
|
-
export declare const isDayBooking: (state: any) => boolean;
|
|
120
|
-
export declare const isDaysBooking: (state: any) => boolean;
|
|
121
|
-
export declare const isEventBooking: (state: any) => boolean;
|
|
122
|
-
export declare const isAppointmentProduct: (item: any) => boolean;
|
|
123
|
-
/**
|
|
124
|
-
* @title: 是否是terminal上的跨日预约
|
|
125
|
-
* @description:
|
|
126
|
-
* @param {any} state
|
|
127
|
-
* @return {*}
|
|
128
|
-
* @Author: WangHan
|
|
129
|
-
* @Date: 2024-12-04 15:31
|
|
130
|
-
*/
|
|
131
|
-
export declare const isTerminalDayBooking: (state: any) => any;
|
|
132
|
-
export declare const formatDayDate: (_extend: any) => any;
|
|
133
|
-
/**
|
|
134
|
-
* @title: 根据营业日时间格式化时间
|
|
135
|
-
* @description:
|
|
136
|
-
* @param {any} state
|
|
137
|
-
* @return {*}
|
|
138
|
-
* @Author: WangHan
|
|
139
|
-
* @Date: 2024-12-04 12:07
|
|
140
|
-
*/
|
|
141
|
-
export declare const formatDayTime: ({ startDate, endDate }: any) => {
|
|
142
|
-
startDateTime: dayjs.Dayjs;
|
|
143
|
-
endDateTime: dayjs.Dayjs;
|
|
144
|
-
};
|
|
145
|
-
export declare const formatDateTime: (start_date: any, end_date: any) => {
|
|
146
|
-
value: dayjs.Dayjs;
|
|
147
|
-
end_date: dayjs.Dayjs;
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* @title: 初始化日期
|
|
151
|
-
* @description:
|
|
152
|
-
* @return {*}
|
|
153
|
-
* @Author: WangHan
|
|
154
|
-
* @Date: 2024-12-06 17:24
|
|
155
|
-
*/
|
|
156
|
-
export declare const initDate: () => {
|
|
157
|
-
value: dayjs.Dayjs;
|
|
158
|
-
end_date: dayjs.Dayjs;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* @title: 是否有预约商品
|
|
162
|
-
* @description:
|
|
163
|
-
* @return {*}
|
|
164
|
-
* @Author: WangHan
|
|
165
|
-
* @Date: 2024-12-12 15:47
|
|
166
|
-
*/
|
|
167
|
-
export declare const isHasDayAppointmentProduct: (state: any) => boolean;
|
|
168
|
-
/**
|
|
169
|
-
* @title: 过滤出如果是预约商品,则只获取跨日的预约商品
|
|
170
|
-
* @description:
|
|
171
|
-
* @param {any} lists
|
|
172
|
-
* @return {*}
|
|
173
|
-
* @Author: WangHan
|
|
174
|
-
* @Date: 2024-12-13 16:44
|
|
175
|
-
*/
|
|
176
|
-
export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
|
|
177
|
-
/**
|
|
178
|
-
* @title: 格式化表单数据
|
|
179
|
-
* @description:
|
|
180
|
-
* @param {any} state
|
|
181
|
-
* @return {*}
|
|
182
|
-
* @Author: WangHan
|
|
183
|
-
* @Date: 2024-12-30 22:19
|
|
184
|
-
*/
|
|
185
|
-
export declare const getPets: (state: any) => any;
|
|
186
|
-
/**
|
|
187
|
-
* @title: 得出预约商品
|
|
188
|
-
* @description:
|
|
189
|
-
* @param {any} state
|
|
190
|
-
* @return {*}
|
|
191
|
-
* @Author: WangHan
|
|
192
|
-
* @Date: 2024-12-30 22:26
|
|
193
|
-
*/
|
|
194
|
-
export declare const getAppointmentService: (state: any) => any;
|
|
195
|
-
/**
|
|
196
|
-
* @title: 判断是否打开删除宠物弹窗
|
|
197
|
-
* @description:
|
|
198
|
-
* @param {any} state
|
|
199
|
-
* @param {any} newVal
|
|
200
|
-
* @return {*}
|
|
201
|
-
* @Author: WangHan
|
|
202
|
-
* @Date: 2024-12-16 16:12
|
|
203
|
-
*/
|
|
204
|
-
export declare const isOpenDeletePet: (state: any, newVal: any) => {
|
|
205
|
-
ids: any;
|
|
206
|
-
lists: any;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* @title: 当前选中的表单id
|
|
210
|
-
* @description:
|
|
211
|
-
* @param {any} state
|
|
212
|
-
* @return {*}
|
|
213
|
-
* @Author: WangHan
|
|
214
|
-
* @Date: 2024-12-17 14:40
|
|
215
|
-
*/
|
|
216
|
-
export declare const holderId: (state: any) => number;
|
|
217
|
-
/**
|
|
218
|
-
* @title: 更新套餐的价格
|
|
219
|
-
* @description:
|
|
220
|
-
* @param {any} currentValue
|
|
221
|
-
* @param {any} newBundleData
|
|
222
|
-
* @return {*}
|
|
223
|
-
* @Author: WangHan
|
|
224
|
-
* @Date: 2024-12-31 15:16
|
|
225
|
-
*/
|
|
226
|
-
export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
|
|
227
|
-
/**
|
|
228
|
-
* @title: 更新预约商品报价单
|
|
229
|
-
* @description:
|
|
230
|
-
* @param {any} state
|
|
231
|
-
* @param {any} cacheItem
|
|
232
|
-
* @return {*}
|
|
233
|
-
* @Author: WangHan
|
|
234
|
-
* @Date: 2024-12-25 16:41
|
|
235
|
-
*/
|
|
236
|
-
export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
|
|
237
|
-
multiDayPrices: any;
|
|
238
|
-
price: number;
|
|
239
|
-
}>;
|
|
240
|
-
/**
|
|
241
|
-
* @title: 更新普通商品报价单价格
|
|
242
|
-
* @description:
|
|
243
|
-
* @param {any} state
|
|
244
|
-
* @return {*}
|
|
245
|
-
* @Author: WangHan
|
|
246
|
-
* @Date: 2024-12-24 11:32
|
|
247
|
-
*/
|
|
248
|
-
export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PisellDrawerProps } from '../../../components/drawer';
|
|
2
|
-
import '../../../info/service/addService/index.less';
|
|
3
|
-
interface AddServiceProps {
|
|
4
|
-
onEdit: any;
|
|
5
|
-
dispatch?: any;
|
|
6
|
-
state?: any;
|
|
7
|
-
drawerProps?: PisellDrawerProps;
|
|
8
|
-
renderMode?: 'current' | 'drawer';
|
|
9
|
-
}
|
|
10
|
-
declare const Info: (props: AddServiceProps) => JSX.Element;
|
|
11
|
-
export default Info;
|