@pisell/private-materials 6.3.147 → 6.3.150

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 (246) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +153 -145
  7. package/build/lowcode/render/default/view.js +10 -10
  8. package/build/lowcode/view.js +10 -10
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  18. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/hooks.js +27 -20
  20. package/es/components/appointmentBooking/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/index.js +6 -3
  22. package/es/components/booking/addons/model.d.ts +1 -10
  23. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  24. package/es/components/booking/deposit/index.d.ts +1 -0
  25. package/es/components/booking/forms/footer.d.ts +0 -1
  26. package/es/components/booking/forms/model.d.ts +1 -10
  27. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  28. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  29. package/es/components/booking/info/date/index.d.ts +1 -0
  30. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  31. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  32. package/es/components/booking/info/index.d.ts +1 -0
  33. package/es/components/booking/info/model.d.ts +1 -10
  34. package/es/components/booking/info/service/Lists.d.ts +1 -0
  35. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  36. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  37. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  38. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  39. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  40. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  41. package/es/components/booking/model.d.ts +1 -9
  42. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  43. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  44. package/es/components/booking/notes/model.d.ts +1 -10
  45. package/es/components/booking/payments/model.d.ts +1 -10
  46. package/es/components/booking/utils.d.ts +2 -2
  47. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  48. package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
  49. package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  50. package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  51. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  52. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  53. package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
  54. package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
  55. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  56. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  57. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  58. package/es/components/eftposPay/amount.d.ts +1 -0
  59. package/es/components/eftposPay/app.d.ts +1 -0
  60. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  61. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  62. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  63. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  64. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  65. package/es/components/eftposPay/device.d.ts +1 -0
  66. package/es/components/eftposPay/index.d.ts +1 -0
  67. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  68. package/es/components/eftposPay/pay.d.ts +1 -0
  69. package/es/components/eftposPay/payo/config.d.ts +1 -0
  70. package/es/components/eftposPay/tip.d.ts +1 -0
  71. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  72. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  73. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  83. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  86. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  87. package/es/components/eventBooking/index.d.ts +1 -0
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  89. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  90. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  91. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  92. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  93. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  94. package/es/components/pay/toC/model.d.ts +1 -9
  95. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  96. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  97. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  98. package/es/components/productExtension/index.d.ts +1 -0
  99. package/es/components/ruleSetting/index.d.ts +1 -0
  100. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  101. package/es/components/schedules/model.d.ts +1 -9
  102. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  104. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  105. package/es/components/taxSelect/index.d.ts +1 -0
  106. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  107. package/es/components/venueBooking/context.js +17 -12
  108. package/es/components/venueBooking/index.js +50 -12
  109. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  110. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  111. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  112. package/es/plus/orderList/components/Reset.d.ts +0 -1
  113. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  114. package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
  115. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  116. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  117. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
  118. package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -1
  119. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  120. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  121. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  122. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  123. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  124. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  125. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  126. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  127. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  128. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  129. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  130. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  131. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  132. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  133. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  134. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  135. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  136. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  137. package/lib/components/appointmentBooking/hooks.js +8 -1
  138. package/lib/components/appointmentBooking/index.d.ts +1 -0
  139. package/lib/components/appointmentBooking/index.js +2 -1
  140. package/lib/components/booking/addons/model.d.ts +1 -10
  141. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  142. package/lib/components/booking/deposit/index.d.ts +1 -0
  143. package/lib/components/booking/forms/footer.d.ts +0 -1
  144. package/lib/components/booking/forms/model.d.ts +1 -10
  145. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  146. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  147. package/lib/components/booking/info/date/index.d.ts +1 -0
  148. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  149. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  150. package/lib/components/booking/info/index.d.ts +1 -0
  151. package/lib/components/booking/info/model.d.ts +1 -10
  152. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  153. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  154. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  155. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  156. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  157. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  158. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  159. package/lib/components/booking/model.d.ts +1 -9
  160. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  161. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  162. package/lib/components/booking/notes/model.d.ts +1 -10
  163. package/lib/components/booking/payments/model.d.ts +1 -10
  164. package/lib/components/booking/utils.d.ts +2 -2
  165. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  166. package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
  167. package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  168. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  169. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  170. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  171. package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
  172. package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
  173. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  174. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  175. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  176. package/lib/components/eftposPay/amount.d.ts +1 -0
  177. package/lib/components/eftposPay/app.d.ts +1 -0
  178. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  179. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  180. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  181. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  182. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  183. package/lib/components/eftposPay/device.d.ts +1 -0
  184. package/lib/components/eftposPay/index.d.ts +1 -0
  185. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  186. package/lib/components/eftposPay/pay.d.ts +1 -0
  187. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  188. package/lib/components/eftposPay/tip.d.ts +1 -0
  189. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  190. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  191. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  192. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  193. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  194. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  195. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  197. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  198. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  199. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  200. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  202. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  203. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  204. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  205. package/lib/components/eventBooking/index.d.ts +1 -0
  206. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  207. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  208. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  209. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  210. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  211. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  212. package/lib/components/pay/toC/model.d.ts +1 -9
  213. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  214. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  215. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  216. package/lib/components/productExtension/index.d.ts +1 -0
  217. package/lib/components/ruleSetting/index.d.ts +1 -0
  218. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  219. package/lib/components/schedules/model.d.ts +1 -9
  220. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  221. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  222. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  223. package/lib/components/taxSelect/index.d.ts +1 -0
  224. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  225. package/lib/components/venueBooking/context.js +4 -2
  226. package/lib/components/venueBooking/index.js +51 -7
  227. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  228. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  229. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  230. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  231. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  232. package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
  233. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  234. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  235. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
  236. package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -1
  237. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  238. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  239. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  240. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  241. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  242. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  243. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  244. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  245. package/package.json +1 -1
  246. package/build/lowcode.zip +0 -0
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: ({ onNext, renderContactInfo }: any) => JSX.Element;
3
4
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DepositProps {
4
3
  showTitle?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const GuestOptionsModal: (props: any) => JSX.Element;
4
3
  export default GuestOptionsModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectDate: (props: any) => JSX.Element | null;
2
3
  export default SelectDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DepositModal: (props: any) => JSX.Element;
4
3
  export default DepositModal;
@@ -896,18 +896,25 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
896
896
  // 设置时间切片
897
897
  var getResourceTimeSlot = /*#__PURE__*/function () {
898
898
  var _ref25 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(index) {
899
- var _getResourceList, resourceCodes, code, data;
899
+ var _appointmentBooking$o4, _basic$service_time;
900
+ var _getResourceList, resourceCodes, split, _ref26, basic, serviceTime, code, data;
900
901
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
901
902
  while (1) switch (_context12.prev = _context12.next) {
902
903
  case 0:
903
- _getResourceList = getResourceList(), resourceCodes = _getResourceList.resourceCodes;
904
+ _getResourceList = getResourceList(), resourceCodes = _getResourceList.resourceCodes; // 切片间隔, 默认10分钟
905
+ split = 10;
906
+ _ref26 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o4 = appointmentBooking.otherParams) === null || _appointmentBooking$o4 === void 0 ? void 0 : _appointmentBooking$o4.appointmentBoard) || {}, basic = _ref26.basic;
907
+ serviceTime = basic === null || basic === void 0 || (_basic$service_time = basic.service_time) === null || _basic$service_time === void 0 ? void 0 : _basic$service_time.value;
908
+ if (serviceTime) {
909
+ split = serviceTime;
910
+ }
904
911
  code = resourceCodes === null || resourceCodes === void 0 ? void 0 : resourceCodes[index || 0];
905
- _context12.next = 4;
906
- return appointmentBooking.getTimeSlotByAllResources(code);
907
- case 4:
912
+ _context12.next = 8;
913
+ return appointmentBooking.getTimeSlotByAllResources(code, split);
914
+ case 8:
908
915
  data = _context12.sent;
909
916
  setTimes(data || []);
910
- case 6:
917
+ case 10:
911
918
  case "end":
912
919
  return _context12.stop();
913
920
  }
@@ -931,8 +938,8 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
931
938
  * @Date: 2025-04-21 11:47
932
939
  */
933
940
  export var useIsSkipResourceStep = function useIsSkipResourceStep() {
934
- var _ref26 = useAppointmentBookingContext(),
935
- currentStepParams = _ref26.currentStepParams;
941
+ var _ref27 = useAppointmentBookingContext(),
942
+ currentStepParams = _ref27.currentStepParams;
936
943
  var _useAppointmentBookin5 = useAppointmentBookingResource(),
937
944
  getResourceList = _useAppointmentBookin5.getResourceList;
938
945
  var _useAppointmentBookin6 = useAppointmentBookingSetting(),
@@ -941,7 +948,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
941
948
  var _useAppointmentBookin7 = useAppointmentBookingStep(),
942
949
  nextStep = _useAppointmentBookin7.nextStep;
943
950
  var checkSkipResourceStep = /*#__PURE__*/function () {
944
- var _ref27 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
951
+ var _ref28 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
945
952
  var _getResourceList2, resources, accountLists, _currentAppointmentBo, isSystem, isSkip, form_code, renderLists, _isSkip;
946
953
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
947
954
  while (1) switch (_context13.prev = _context13.next) {
@@ -997,7 +1004,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
997
1004
  }, _callee13, null, [[0, 22]]);
998
1005
  }));
999
1006
  return function checkSkipResourceStep() {
1000
- return _ref27.apply(this, arguments);
1007
+ return _ref28.apply(this, arguments);
1001
1008
  };
1002
1009
  }();
1003
1010
  return {
@@ -1013,15 +1020,15 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
1013
1020
  * @Date: 2025-04-24 18:15
1014
1021
  */
1015
1022
  export var useAppointmentBookingSetting = function useAppointmentBookingSetting() {
1016
- var _appointmentBooking$o4, _appointmentBooking$o5, _appointmentBooking$o6;
1023
+ var _appointmentBooking$o5, _appointmentBooking$o6, _appointmentBooking$o7;
1017
1024
  var utils = contextUtils();
1018
- var _ref28 = useAppointmentBookingContext(),
1019
- appointmentBooking = _ref28.appointmentBooking;
1020
- var _ref29 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o4 = appointmentBooking.otherParams) === null || _appointmentBooking$o4 === void 0 ? void 0 : _appointmentBooking$o4.productModuleParams) || {},
1021
- bookingProcess = _ref29.bookingProcess,
1022
- bookingSubject = _ref29.bookingSubject,
1023
- customPageId = _ref29.customPageId,
1024
- channel = _ref29.channel;
1025
+ var _ref29 = useAppointmentBookingContext(),
1026
+ appointmentBooking = _ref29.appointmentBooking;
1027
+ var _ref30 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o5 = appointmentBooking.otherParams) === null || _appointmentBooking$o5 === void 0 ? void 0 : _appointmentBooking$o5.productModuleParams) || {},
1028
+ bookingProcess = _ref30.bookingProcess,
1029
+ bookingSubject = _ref30.bookingSubject,
1030
+ customPageId = _ref30.customPageId,
1031
+ channel = _ref30.channel;
1025
1032
 
1026
1033
  // 设置缓存
1027
1034
  var setOtherData = function setOtherData(key, val) {
@@ -1041,13 +1048,13 @@ export var useAppointmentBookingSetting = function useAppointmentBookingSetting(
1041
1048
  // 主体是否是表单
1042
1049
  isFormSubject: (bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.type) === 'form',
1043
1050
  // 是否是零售模版
1044
- isRetailTemplate: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o5 = appointmentBooking.otherParams) === null || _appointmentBooking$o5 === void 0 ? void 0 : _appointmentBooking$o5.isRetailTemplate) || false,
1051
+ isRetailTemplate: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o6 = appointmentBooking.otherParams) === null || _appointmentBooking$o6 === void 0 ? void 0 : _appointmentBooking$o6.isRetailTemplate) || false,
1045
1052
  customPageId: customPageId,
1046
1053
  channel: channel,
1047
1054
  bookingSubject: bookingSubject,
1048
1055
  setOtherData: setOtherData,
1049
1056
  getOtherData: getOtherData,
1050
1057
  formName: formName,
1051
- bookingSetting: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o6 = appointmentBooking.otherParams) === null || _appointmentBooking$o6 === void 0 ? void 0 : _appointmentBooking$o6.bookingSetting) || {}
1058
+ bookingSetting: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o7 = appointmentBooking.otherParams) === null || _appointmentBooking$o7 === void 0 ? void 0 : _appointmentBooking$o7.bookingSetting) || {}
1052
1059
  };
1053
1060
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -1,5 +1,5 @@
1
- import React, { useEffect } from 'react';
2
- import { isMobile, locales } from '@pisell/utils';
1
+ import React, { useEffect, useMemo } from 'react';
2
+ import { isIpad, isMobile, locales } from '@pisell/utils';
3
3
  import useEngineContext from "../../hooks/useEngineContext";
4
4
  import { AppointmentBookingProvider } from "./context";
5
5
  import Content from "./components/Content";
@@ -13,6 +13,9 @@ var AppointmentBooking = function AppointmentBooking() {
13
13
  locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
14
14
  var utils = contextUtils();
15
15
  var appointmentBooking = useAppointmentBooking();
16
+ var isMobileLayout = useMemo(function () {
17
+ return isMobile() && !isIpad();
18
+ }, []);
16
19
  useEffect(function () {
17
20
  var _appointmentBooking$o;
18
21
  var _ref = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o = appointmentBooking.otherParams) === null || _appointmentBooking$o === void 0 ? void 0 : _appointmentBooking$o.productModuleParams) || {},
@@ -58,7 +61,7 @@ var AppointmentBooking = function AppointmentBooking() {
58
61
  };
59
62
  }, []);
60
63
  return /*#__PURE__*/React.createElement("div", {
61
- className: "parallel-booking-wrap ".concat(isMobile() ? 'parallel-booking-mobile-wrap' : '')
64
+ className: "parallel-booking-wrap ".concat(isMobileLayout ? 'parallel-booking-mobile-wrap' : '')
62
65
  }, /*#__PURE__*/React.createElement(AppointmentBookingProvider, null, /*#__PURE__*/React.createElement(Content, null)));
63
66
  };
64
67
  export default AppointmentBooking;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  modal: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FooterProps {
3
2
  state: any;
4
3
  reload: () => void;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
4
3
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  interface AddServiceProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/addTimeModal/index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -166,10 +166,10 @@ export declare const getProductTotalPrice: (item: any) => number;
166
166
  export declare const getDuration: (duration: number | {
167
167
  type: string;
168
168
  value: number;
169
- }) => number | "flexible" | {
169
+ }) => number | {
170
170
  type: string;
171
171
  value: number;
172
- };
172
+ } | "flexible";
173
173
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
174
174
  export declare const getIsEdit: (state: any) => boolean;
175
175
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ECupActionType, ICup, ICustomer } from '../../types';
3
2
  import './index.less';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICustomer, ICup, ECupActionType } from '../../types';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ECupScanStatus, ICup } from '../../types';
3
2
  import './index.less';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICup, ICustomer } from '../../types';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface MoreDropdownProps {
3
2
  locales: any;
4
3
  onClick?: (key: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SearchBarProps {
4
3
  scanListenerKey: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  interface IProps {
4
3
  onClickAction: (type: string, record: any) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  export declare const useSummary: (locales: any, staticsData: any, isPartner?: boolean) => () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.css';
2
3
  /**
3
4
  * @title: 自定义组件设置
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 取消签名确认页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps, PosProps } from './const';
2
3
  import './device.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
3
  export default Linkly;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './tip.less';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 按钮操作区
3
4
  * @description: 仅包含签名
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;