@pisell/private-materials 6.3.131 → 6.3.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +6 -6
  6. package/build/lowcode/view.js +6 -6
  7. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  8. package/es/components/booking/utils.d.ts +2 -2
  9. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +1 -1
  10. package/es/components/eftposPay/hooks.d.ts +2 -2
  11. package/es/components/eftposPay/store/index.d.ts +5 -5
  12. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  13. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  14. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  15. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  16. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  17. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  18. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  19. package/es/components/venueBooking/components/Cart/index.js +7 -7
  20. package/es/components/venueBooking/components/Checkout/index.js +2 -12
  21. package/es/components/venueBooking/components/Content/index.js +10 -9
  22. package/es/components/venueBooking/components/Footer/index.js +2 -8
  23. package/es/components/venueBooking/components/Header/index.js +38 -17
  24. package/es/components/venueBooking/components/VenueSelection/components/CourtFilter.js +1 -17
  25. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.js +63 -26
  26. package/es/components/venueBooking/components/VenueSelection/index.js +2 -6
  27. package/es/components/venueBooking/context.js +95 -44
  28. package/es/components/venueBooking/hooks.d.ts +1 -0
  29. package/es/components/venueBooking/hooks.js +8 -2
  30. package/es/components/venueBooking/index.js +30 -2
  31. package/es/components/venueBooking/locales.d.ts +20 -0
  32. package/es/components/venueBooking/locales.js +25 -5
  33. package/es/components/venueBooking/utils.d.ts +8 -0
  34. package/es/components/venueBooking/utils.js +12 -2
  35. package/es/hooks/usePaymentLogger.d.ts +1 -0
  36. package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  37. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  38. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  39. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  40. package/lib/components/booking/utils.d.ts +2 -2
  41. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +1 -1
  42. package/lib/components/eftposPay/hooks.d.ts +2 -2
  43. package/lib/components/eftposPay/store/index.d.ts +5 -5
  44. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  45. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  46. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  47. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  48. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  49. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  50. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  51. package/lib/components/venueBooking/components/Cart/index.js +3 -8
  52. package/lib/components/venueBooking/components/Checkout/index.js +1 -5
  53. package/lib/components/venueBooking/components/Content/index.js +20 -15
  54. package/lib/components/venueBooking/components/Footer/index.js +1 -9
  55. package/lib/components/venueBooking/components/Header/index.js +12 -6
  56. package/lib/components/venueBooking/components/VenueSelection/components/CourtFilter.js +1 -10
  57. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.js +29 -10
  58. package/lib/components/venueBooking/components/VenueSelection/index.js +2 -3
  59. package/lib/components/venueBooking/context.js +52 -25
  60. package/lib/components/venueBooking/hooks.d.ts +1 -0
  61. package/lib/components/venueBooking/hooks.js +6 -1
  62. package/lib/components/venueBooking/index.js +19 -1
  63. package/lib/components/venueBooking/locales.d.ts +20 -0
  64. package/lib/components/venueBooking/locales.js +25 -5
  65. package/lib/components/venueBooking/utils.d.ts +8 -0
  66. package/lib/components/venueBooking/utils.js +3 -2
  67. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  68. package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  69. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  70. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  71. package/package.json +18 -18
  72. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  73. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  74. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -4
  75. package/es/components/appointmentBooking/hooks.d.ts +0 -107
  76. package/es/components/appointmentBooking/utils.d.ts +0 -227
  77. package/es/components/booking/components/footer/utils.d.ts +0 -47
  78. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  79. package/es/components/booking/components/voucher/index.d.ts +0 -4
  80. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  81. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  82. package/es/components/booking/info/service2/utils.d.ts +0 -248
  83. package/es/components/booking/info2/index.d.ts +0 -12
  84. package/es/components/booking/info2/service/addService/index.d.ts +0 -12
  85. package/es/components/booking/locales.d.ts +0 -1489
  86. package/es/components/booking/model.d.ts +0 -120
  87. package/es/components/eftposPay/amount.d.ts +0 -21
  88. package/es/components/eftposPay/app.d.ts +0 -11
  89. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
  90. package/es/components/eftposPay/component/fail/index.d.ts +0 -4
  91. package/es/components/eftposPay/component/fail/network.d.ts +0 -9
  92. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
  93. package/es/components/eftposPay/component/manual/index.d.ts +0 -10
  94. package/es/components/eftposPay/component/signature/index.d.ts +0 -9
  95. package/es/components/eftposPay/device.d.ts +0 -24
  96. package/es/components/eftposPay/index.d.ts +0 -5
  97. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  98. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  99. package/es/components/eftposPay/linkly/index.d.ts +0 -3
  100. package/es/components/eftposPay/pay.d.ts +0 -21
  101. package/es/components/eftposPay/payo/config.d.ts +0 -13
  102. package/es/components/eftposPay/payo/hooks.d.ts +0 -10
  103. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  104. package/es/components/eftposPay/tip.d.ts +0 -10
  105. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  106. package/es/components/eftposPay/utils/payLog.d.ts +0 -81
  107. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  108. package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
  109. package/es/components/kioskSkuDetail/index.d.ts +0 -39
  110. package/es/components/kioskSkuDetail/locales.d.ts +0 -48
  111. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  112. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  113. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  114. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  115. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  116. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  117. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  118. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  119. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  120. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  121. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  122. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  123. package/es/components/pay/toC/index.d.ts +0 -3
  124. package/es/components/pay/toC/locales.d.ts +0 -631
  125. package/es/components/pay/toC/payGroup.d.ts +0 -59
  126. package/es/components/pay/toC/serve.d.ts +0 -87
  127. package/es/components/pay/toC/utils.d.ts +0 -65
  128. package/es/components/ruleSetting/locales.d.ts +0 -78
  129. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
  130. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
  131. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
  132. package/es/components/ticketBooking/index.d.ts +0 -8
  133. package/es/components/venueBooking/components/Cart/index.d.ts +0 -28
  134. package/es/components/venueBooking/components/Footer/index.d.ts +0 -8
  135. package/es/index.d.ts +0 -87
  136. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  137. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
  138. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
  139. package/es/plus/skuOptionsSelection/index.d.ts +0 -5
  140. package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
  141. package/es/plus/skuOptionsSelection/types.d.ts +0 -458
  142. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  143. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  144. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  145. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  146. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  147. package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
  148. package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
  149. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  150. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  151. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -4
  152. package/lib/components/appointmentBooking/hooks.d.ts +0 -107
  153. package/lib/components/appointmentBooking/utils.d.ts +0 -227
  154. package/lib/components/booking/components/footer/utils.d.ts +0 -47
  155. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  156. package/lib/components/booking/components/voucher/index.d.ts +0 -4
  157. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  158. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  159. package/lib/components/booking/info/service2/utils.d.ts +0 -248
  160. package/lib/components/booking/info2/index.d.ts +0 -12
  161. package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
  162. package/lib/components/booking/locales.d.ts +0 -1489
  163. package/lib/components/booking/model.d.ts +0 -120
  164. package/lib/components/eftposPay/amount.d.ts +0 -21
  165. package/lib/components/eftposPay/app.d.ts +0 -11
  166. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
  167. package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
  168. package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
  169. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
  170. package/lib/components/eftposPay/component/manual/index.d.ts +0 -10
  171. package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
  172. package/lib/components/eftposPay/device.d.ts +0 -24
  173. package/lib/components/eftposPay/index.d.ts +0 -5
  174. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  175. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  176. package/lib/components/eftposPay/linkly/index.d.ts +0 -3
  177. package/lib/components/eftposPay/pay.d.ts +0 -21
  178. package/lib/components/eftposPay/payo/config.d.ts +0 -13
  179. package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
  180. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  181. package/lib/components/eftposPay/tip.d.ts +0 -10
  182. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  183. package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
  184. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  185. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
  186. package/lib/components/kioskSkuDetail/index.d.ts +0 -39
  187. package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
  188. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  189. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  190. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  191. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  192. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  193. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  194. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  195. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  196. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  197. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  198. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  199. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  200. package/lib/components/pay/toC/index.d.ts +0 -3
  201. package/lib/components/pay/toC/locales.d.ts +0 -631
  202. package/lib/components/pay/toC/payGroup.d.ts +0 -59
  203. package/lib/components/pay/toC/serve.d.ts +0 -87
  204. package/lib/components/pay/toC/utils.d.ts +0 -65
  205. package/lib/components/ruleSetting/locales.d.ts +0 -78
  206. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
  207. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
  208. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
  209. package/lib/components/ticketBooking/index.d.ts +0 -8
  210. package/lib/components/venueBooking/components/Cart/index.d.ts +0 -28
  211. package/lib/components/venueBooking/components/Footer/index.d.ts +0 -8
  212. package/lib/index.d.ts +0 -87
  213. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  214. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
  215. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
  216. package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
  217. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
  218. package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
  219. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  220. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  221. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  222. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  223. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  224. package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
  225. package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
@@ -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
- import React from '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) => React.JSX.Element;
9
- export default ReloadResourceModal;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const VoucherCard: (props: any) => React.JSX.Element | null;
4
- export default VoucherCard;
@@ -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) => Promise<any> | never[];
@@ -1,12 +0,0 @@
1
- import '../info/index.less';
2
- export interface InfoProps {
3
- style: any;
4
- globalState: any;
5
- callback: any;
6
- setGlobalState: any;
7
- modules: any;
8
- slot: any;
9
- setState: any;
10
- }
11
- declare const Info: any;
12
- export default Info;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { PisellDrawerProps } from '../../../components/drawer';
3
- import '../../../info/service/addService/index.less';
4
- interface AddServiceProps {
5
- onEdit: any;
6
- dispatch?: any;
7
- state?: any;
8
- drawerProps?: PisellDrawerProps;
9
- renderMode?: 'current' | 'drawer';
10
- }
11
- declare const Info: (props: AddServiceProps) => React.JSX.Element;
12
- export default Info;