@pisell/private-materials 3.2.12 → 3.2.18

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 (507) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +8 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/ContinueButton/index.js +84 -107
  13. package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/Total.js +10 -10
  14. package/es/components/appointmentBooking/components/Cart/Item/index.js +73 -0
  15. package/es/components/appointmentBooking/components/Content/index.js +92 -0
  16. package/es/components/appointmentBooking/components/Content/index.less +51 -0
  17. package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
  18. package/es/components/{parallelResourceBooking/components/bookingDetailModal → appointmentBooking/components/Date}/index.js +188 -292
  19. package/es/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +28 -16
  20. package/{lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → es/components/appointmentBooking/components/Date}/state.d.ts +0 -1
  21. package/es/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +4 -42
  22. package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.js +17 -36
  23. package/es/components/appointmentBooking/components/Guest/index.d.ts +3 -0
  24. package/es/components/{parallelResourceBooking/components/Provider/Information → appointmentBooking/components/Guest}/index.js +50 -59
  25. package/es/components/appointmentBooking/components/Header/index.js +46 -0
  26. package/es/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  27. package/es/components/appointmentBooking/components/Resource/index.js +101 -0
  28. package/es/components/appointmentBooking/components/Resource/index.less +6 -0
  29. package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
  30. package/es/components/appointmentBooking/components/Services/index.js +95 -0
  31. package/es/components/appointmentBooking/components/Services/index.less +17 -0
  32. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  33. package/es/components/appointmentBooking/components/TimeSlicing/index.js +69 -0
  34. package/es/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
  35. package/es/components/appointmentBooking/context.d.ts +23 -0
  36. package/es/components/appointmentBooking/context.js +71 -0
  37. package/es/components/appointmentBooking/hooks.d.ts +23 -0
  38. package/es/components/appointmentBooking/hooks.js +248 -0
  39. package/es/components/appointmentBooking/index.d.ts +3 -0
  40. package/es/components/appointmentBooking/index.js +24 -0
  41. package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/index.less +5 -4
  42. package/es/components/{parallelResourceBooking → appointmentBooking}/locales.d.ts +15 -0
  43. package/es/components/{parallelResourceBooking → appointmentBooking}/locales.js +24 -3
  44. package/es/components/{parallelResourceBooking → appointmentBooking}/utils.d.ts +12 -0
  45. package/es/components/appointmentBooking/utils.js +169 -0
  46. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  47. package/es/components/booking/components/footer/index.d.ts +0 -1
  48. package/es/components/booking/deposit/index.d.ts +0 -1
  49. package/es/components/booking/forms/single/index.d.ts +0 -1
  50. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  51. package/es/components/booking/info/header/index.d.ts +0 -1
  52. package/es/components/booking/info/index.d.ts +0 -1
  53. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  54. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  55. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  56. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  57. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  58. package/es/components/eftpos/form/index.d.ts +0 -1
  59. package/es/components/eftpos/hooks.d.ts +0 -1
  60. package/es/components/eftpos/index.d.ts +0 -1
  61. package/es/components/eftpos/pos.d.ts +0 -1
  62. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  63. package/es/components/eftposPay/amount.d.ts +1 -1
  64. package/es/components/eftposPay/app.d.ts +0 -1
  65. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  66. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  67. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  68. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  69. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  70. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  71. package/es/components/eftposPay/device.d.ts +1 -1
  72. package/es/components/eftposPay/hooks.d.ts +1 -1
  73. package/es/components/eftposPay/index.d.ts +0 -1
  74. package/es/components/eftposPay/pay.d.ts +0 -1
  75. package/es/components/eftposPay/store/index.d.ts +1 -1
  76. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  83. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  86. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  87. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  88. package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
  89. package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
  90. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  91. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  92. package/es/components/eventBooking/index.d.ts +0 -1
  93. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  95. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  98. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  99. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  100. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  101. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  102. package/es/components/productExtension/index.d.ts +0 -1
  103. package/es/components/ruleSetting/index.d.ts +0 -1
  104. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  105. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  108. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  109. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  110. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  111. package/es/components/schedules/products/index.d.ts +0 -1
  112. package/es/components/schedules/resources/index.d.ts +0 -1
  113. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  114. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  115. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  116. package/es/components/schedules/schedules/index.d.ts +0 -1
  117. package/es/components/taxSelect/index.d.ts +0 -1
  118. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  119. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  120. package/es/hooks/useEngineContext.d.ts +1 -0
  121. package/es/hooks/useEngineContext.js +7 -0
  122. package/es/index.d.ts +1 -1
  123. package/es/index.js +1 -1
  124. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  125. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/ContinueButton/index.js +35 -74
  126. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.less +0 -0
  127. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/Total.js +7 -14
  128. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/index.js +24 -22
  129. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/index.js +1 -1
  130. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Content/index.js +39 -23
  131. package/lib/components/appointmentBooking/components/Content/index.less +51 -0
  132. package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
  133. package/lib/components/appointmentBooking/components/Date/index.js +178 -0
  134. package/lib/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +28 -16
  135. package/{es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → lib/components/appointmentBooking/components/Date}/state.d.ts +0 -1
  136. package/lib/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +5 -8
  137. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.js +12 -30
  138. package/lib/components/appointmentBooking/components/Guest/index.d.ts +3 -0
  139. package/lib/components/{parallelResourceBooking/components/Provider/Information → appointmentBooking/components/Guest}/index.js +43 -52
  140. package/lib/components/{parallelResourceBooking/components/Provider/OrderProductModal → appointmentBooking/components/Header}/index.js +23 -21
  141. package/lib/components/appointmentBooking/components/Header/index.less +0 -0
  142. package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  143. package/lib/components/appointmentBooking/components/Resource/index.js +113 -0
  144. package/lib/components/appointmentBooking/components/Resource/index.less +6 -0
  145. package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
  146. package/lib/components/appointmentBooking/components/Services/index.js +115 -0
  147. package/lib/components/appointmentBooking/components/Services/index.less +17 -0
  148. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  149. package/lib/components/{parallelResourceBooking/components/bookingServiceList → appointmentBooking/components/TimeSlicing}/index.js +30 -43
  150. package/lib/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
  151. package/lib/components/appointmentBooking/context.d.ts +23 -0
  152. package/lib/components/appointmentBooking/context.js +85 -0
  153. package/lib/components/appointmentBooking/hooks.d.ts +23 -0
  154. package/lib/components/appointmentBooking/hooks.js +178 -0
  155. package/lib/components/appointmentBooking/index.d.ts +3 -0
  156. package/lib/components/{parallelResourceBooking/components/Provider/EmptyHolderModal → appointmentBooking}/index.js +26 -24
  157. package/{es/components/parallelResourceBooking → lib/components/appointmentBooking}/index.less +5 -4
  158. package/lib/components/{parallelResourceBooking → appointmentBooking}/locales.d.ts +15 -0
  159. package/lib/components/{parallelResourceBooking → appointmentBooking}/locales.js +19 -4
  160. package/lib/components/{parallelResourceBooking → appointmentBooking}/mock.js +1 -1
  161. package/lib/components/{parallelResourceBooking → appointmentBooking}/status.js +1 -1
  162. package/lib/components/{parallelResourceBooking → appointmentBooking}/type.js +1 -1
  163. package/lib/components/{parallelResourceBooking → appointmentBooking}/utils.d.ts +12 -0
  164. package/lib/components/{parallelResourceBooking → appointmentBooking}/utils.js +63 -3
  165. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  166. package/lib/components/booking/components/footer/index.d.ts +0 -1
  167. package/lib/components/booking/deposit/index.d.ts +0 -1
  168. package/lib/components/booking/forms/single/index.d.ts +0 -1
  169. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  170. package/lib/components/booking/info/header/index.d.ts +0 -1
  171. package/lib/components/booking/info/index.d.ts +0 -1
  172. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  173. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  174. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  175. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  176. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  177. package/lib/components/eftpos/form/index.d.ts +0 -1
  178. package/lib/components/eftpos/hooks.d.ts +0 -1
  179. package/lib/components/eftpos/index.d.ts +0 -1
  180. package/lib/components/eftpos/pos.d.ts +0 -1
  181. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  182. package/lib/components/eftposPay/amount.d.ts +1 -1
  183. package/lib/components/eftposPay/app.d.ts +0 -1
  184. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  185. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  186. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  187. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  188. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  189. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  190. package/lib/components/eftposPay/device.d.ts +1 -1
  191. package/lib/components/eftposPay/hooks.d.ts +1 -1
  192. package/lib/components/eftposPay/index.d.ts +0 -1
  193. package/lib/components/eftposPay/pay.d.ts +0 -1
  194. package/lib/components/eftposPay/store/index.d.ts +1 -1
  195. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  197. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  198. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  199. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  200. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  202. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  203. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  204. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  205. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  206. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  207. package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
  208. package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
  209. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  210. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  211. package/lib/components/eventBooking/index.d.ts +0 -1
  212. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  213. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  214. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  215. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  216. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  217. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  218. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  219. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  220. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  221. package/lib/components/productExtension/index.d.ts +0 -1
  222. package/lib/components/ruleSetting/index.d.ts +0 -1
  223. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  224. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  225. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  226. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  227. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  228. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  229. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  230. package/lib/components/schedules/products/index.d.ts +0 -1
  231. package/lib/components/schedules/resources/index.d.ts +0 -1
  232. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  233. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  234. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  235. package/lib/components/schedules/schedules/index.d.ts +0 -1
  236. package/lib/components/taxSelect/index.d.ts +0 -1
  237. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  238. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  239. package/lib/hooks/useEngineContext.d.ts +1 -0
  240. package/lib/hooks/useEngineContext.js +14 -1
  241. package/lib/index.d.ts +1 -1
  242. package/lib/index.js +3 -3
  243. package/lowcode/parallel-resource-booking/meta.ts +5 -5
  244. package/package.json +2 -2
  245. package/es/components/booking/info/service2/utils.d.ts +0 -240
  246. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -4
  247. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -4
  248. package/es/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  249. package/es/components/parallelResourceBooking/components/ErrorTip/index.js +0 -14
  250. package/es/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  251. package/es/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  252. package/es/components/parallelResourceBooking/components/OpenCard/index.js +0 -65
  253. package/es/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  254. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -63
  255. package/es/components/parallelResourceBooking/components/Provider/Content/index.js +0 -65
  256. package/es/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
  257. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
  258. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -34
  259. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  260. package/es/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
  261. package/es/components/parallelResourceBooking/components/Provider/Event/index.js +0 -93
  262. package/es/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
  263. package/es/components/parallelResourceBooking/components/Provider/Header/index.js +0 -75
  264. package/es/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  265. package/es/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
  266. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
  267. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -34
  268. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  269. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
  270. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -27
  271. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
  272. package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
  273. package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -31
  274. package/es/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
  275. package/es/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -79
  276. package/es/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
  277. package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
  278. package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -90
  279. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  280. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -77
  281. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
  282. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  283. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
  284. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  285. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  286. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
  287. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  288. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  289. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
  290. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  291. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  292. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
  293. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  294. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  295. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
  296. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  297. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  298. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
  299. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  300. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  301. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
  302. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  303. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  304. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
  305. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  306. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
  307. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  308. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  309. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -36
  310. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  311. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  312. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  313. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  314. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
  315. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  316. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -33
  317. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  318. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -30
  319. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  320. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  321. package/es/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  322. package/es/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -52
  323. package/es/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  324. package/es/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  325. package/es/components/parallelResourceBooking/components/eventCard/index.js +0 -116
  326. package/es/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  327. package/es/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  328. package/es/components/parallelResourceBooking/components/productCard/index.js +0 -79
  329. package/es/components/parallelResourceBooking/components/productCard/index.less +0 -60
  330. package/es/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  331. package/es/components/parallelResourceBooking/components/progressBar/index.js +0 -93
  332. package/es/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  333. package/es/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  334. package/es/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -148
  335. package/es/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  336. package/es/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  337. package/es/components/parallelResourceBooking/components/resourceUsability/index.js +0 -44
  338. package/es/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  339. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  340. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
  341. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  342. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  343. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -127
  344. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  345. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -142
  346. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  347. package/es/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  348. package/es/components/parallelResourceBooking/components/selectHolder/index.js +0 -118
  349. package/es/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  350. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  351. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -168
  352. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  353. package/es/components/parallelResourceBooking/index.d.ts +0 -3
  354. package/es/components/parallelResourceBooking/index.js +0 -58
  355. package/es/components/parallelResourceBooking/utils.js +0 -99
  356. package/lib/components/booking/info/service2/utils.d.ts +0 -240
  357. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -4
  358. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -4
  359. package/lib/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  360. package/lib/components/parallelResourceBooking/components/ErrorTip/index.js +0 -30
  361. package/lib/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  362. package/lib/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  363. package/lib/components/parallelResourceBooking/components/OpenCard/index.js +0 -90
  364. package/lib/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  365. package/lib/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
  366. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
  367. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  368. package/lib/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
  369. package/lib/components/parallelResourceBooking/components/Provider/Event/index.js +0 -100
  370. package/lib/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
  371. package/lib/components/parallelResourceBooking/components/Provider/Header/index.js +0 -80
  372. package/lib/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  373. package/lib/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
  374. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
  375. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -67
  376. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  377. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
  378. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
  379. package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
  380. package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -62
  381. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
  382. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -90
  383. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
  384. package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
  385. package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -97
  386. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  387. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -69
  388. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
  389. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  390. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
  391. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  392. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  393. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
  394. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  395. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  396. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
  397. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  398. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  399. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
  400. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  401. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  402. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
  403. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  404. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  405. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
  406. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  407. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  408. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
  409. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  410. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  411. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
  412. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  413. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
  414. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  415. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  416. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -70
  417. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  418. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  419. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  420. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  421. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
  422. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  423. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -66
  424. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  425. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -69
  426. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  427. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -248
  428. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  429. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  430. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  431. package/lib/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  432. package/lib/components/parallelResourceBooking/components/eventCard/index.js +0 -124
  433. package/lib/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  434. package/lib/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  435. package/lib/components/parallelResourceBooking/components/productCard/index.js +0 -77
  436. package/lib/components/parallelResourceBooking/components/productCard/index.less +0 -60
  437. package/lib/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  438. package/lib/components/parallelResourceBooking/components/progressBar/index.js +0 -100
  439. package/lib/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  440. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  441. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -116
  442. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  443. package/lib/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  444. package/lib/components/parallelResourceBooking/components/resourceUsability/index.js +0 -76
  445. package/lib/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  446. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  447. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
  448. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  449. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  450. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -135
  451. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  452. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -125
  453. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  454. package/lib/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  455. package/lib/components/parallelResourceBooking/components/selectHolder/index.js +0 -106
  456. package/lib/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  457. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  458. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -146
  459. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  460. package/lib/components/parallelResourceBooking/index.d.ts +0 -3
  461. package/lib/components/parallelResourceBooking/index.js +0 -78
  462. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/alert-circle.png +0 -0
  463. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
  464. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/compass.svg +0 -0
  465. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/image.svg +0 -0
  466. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/phone.svg +0 -0
  467. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
  468. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/ContinueButton/index.d.ts +0 -0
  469. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/ContinueButton/index.less +0 -0
  470. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/Total.d.ts +0 -0
  471. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/index.d.ts +0 -0
  472. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/index.less +0 -0
  473. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/index.d.ts +0 -0
  474. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/index.js +0 -0
  475. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/index.less +0 -0
  476. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Content/index.d.ts +0 -0
  477. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -0
  478. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
  479. /package/es/components/{parallelResourceBooking/components/Provider/Information → appointmentBooking/components/Guest}/index.less +0 -0
  480. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -0
  481. /package/{lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton → es/components/appointmentBooking/components/Header}/index.less +0 -0
  482. /package/es/components/{parallelResourceBooking → appointmentBooking}/mock.d.ts +0 -0
  483. /package/es/components/{parallelResourceBooking → appointmentBooking}/mock.js +0 -0
  484. /package/es/components/{parallelResourceBooking → appointmentBooking}/status.d.ts +0 -0
  485. /package/es/components/{parallelResourceBooking → appointmentBooking}/status.js +0 -0
  486. /package/es/components/{parallelResourceBooking → appointmentBooking}/type.d.ts +0 -0
  487. /package/es/components/{parallelResourceBooking → appointmentBooking}/type.js +0 -0
  488. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/alert-circle.png +0 -0
  489. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
  490. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/compass.svg +0 -0
  491. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/image.svg +0 -0
  492. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/phone.svg +0 -0
  493. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
  494. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/ContinueButton/index.d.ts +0 -0
  495. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/Total.d.ts +0 -0
  496. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/index.d.ts +0 -0
  497. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/Item/index.less +0 -0
  498. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/index.d.ts +0 -0
  499. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Cart/index.less +0 -0
  500. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Content/index.d.ts +0 -0
  501. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -0
  502. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
  503. /package/lib/components/{parallelResourceBooking/components/Provider/Information → appointmentBooking/components/Guest}/index.less +0 -0
  504. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -0
  505. /package/lib/components/{parallelResourceBooking → appointmentBooking}/mock.d.ts +0 -0
  506. /package/lib/components/{parallelResourceBooking → appointmentBooking}/status.d.ts +0 -0
  507. /package/lib/components/{parallelResourceBooking → appointmentBooking}/type.d.ts +0 -0
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -11,34 +11,46 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import React, { useMemo, useState } from 'react';
12
12
  import { locales } from '@pisell/utils';
13
13
  import { Button, PisellToast } from '@pisell/materials';
14
- import { useCart, useHolder, useStep, useCheckout, useSales, useCustomer } from "../../../../../Sales";
15
- import { formatValues } from "../../../../../Sales/Checkout/utils";
16
- import OrderProductModal from "../../OrderProductModal/index";
17
- import EmptyHolderModal from "../../EmptyHolderModal";
14
+ // import {
15
+ // useCart,
16
+ // useHolder,
17
+ // useStep,
18
+ // useCheckout,
19
+ // useSales,
20
+ // useCustomer,
21
+ // } from '../../../../../Sales';
22
+ import { formatValues } from "../../../../Sales/Checkout/utils";
23
+ // import OrderProductModal from '../../OrderProductModal/index';
24
+ // import EmptyHolderModal from '../../EmptyHolderModal';
25
+ import useEngineContext from "../../../../../hooks/useEngineContext";
26
+ import { useAppointmentBooking, useAppointmentBookingLogin } from "../../../hooks";
27
+ import { useAppointmentBookingContext } from "../../../context";
18
28
  import "./index.less";
19
29
  var ContinueButton = function ContinueButton() {
20
- var _cartData$cartItems;
21
- var _useSales = useSales(),
22
- data = _useSales.data;
23
- var _useHolder = useHolder(),
24
- onHolderOpen = _useHolder.onHolderOpen;
25
- var _useCart = useCart(),
26
- checkHolder = _useCart.checkHolder,
27
- onCloseCart = _useCart.onCloseCart,
28
- cartData = _useCart.cartData,
29
- getWithoutCartItemsHolderNames = _useCart.getWithoutCartItemsHolderNames;
30
- var _useStep = useStep(),
31
- currentStepData = _useStep.currentStepData,
32
- nextStep = _useStep.nextStep,
33
- isLastStep = _useStep.isLastStep;
34
- var _useCheckout = useCheckout(),
35
- onCheckout = _useCheckout.onCheckout,
36
- createBooking = _useCheckout.createBooking,
37
- onCheckBeforeBooking = _useCheckout.onCheckBeforeBooking,
38
- checkBeforeBooking = _useCheckout.checkBeforeBooking;
39
- var _useCustomer = useCustomer(),
40
- openLoginModal = _useCustomer.openLoginModal,
41
- isLogin = _useCustomer.isLogin;
30
+ var context = useEngineContext();
31
+ // const { data } = useSales();
32
+ // const { onHolderOpen } = useHolder();
33
+ // const { checkHolder, onCloseCart, cartData, getWithoutCartItemsHolderNames } =
34
+ // useCart();
35
+ // const { currentStepData, nextStep, isLastStep } = useStep();
36
+ // const {
37
+ // onCheckout,
38
+ // createBooking,
39
+ // onCheckBeforeBooking,
40
+ // checkBeforeBooking,
41
+ // } = useCheckout();
42
+ // const { openLoginModal, isLogin } = useCustomer();
43
+ var utils = context.appHelper.utils || {};
44
+ var appointmentBooking = useAppointmentBooking();
45
+ var _useAppointmentBookin = useAppointmentBookingLogin(),
46
+ isLogin = _useAppointmentBookin.isLogin,
47
+ openLoginModal = _useAppointmentBookin.openLoginModal;
48
+ // const { currentStep, isLastStep } = useAppointmentBookingStep();
49
+ var _useAppointmentBookin2 = useAppointmentBookingContext(),
50
+ currentStep = _useAppointmentBookin2.currentStep,
51
+ isLastStep = _useAppointmentBookin2.isLastStep,
52
+ products = _useAppointmentBookin2.products;
53
+ // const { products } = useAppointmentBookingCart();
42
54
 
43
55
  // 下单之前是否检测失败
44
56
  var _useState = useState(false),
@@ -54,8 +66,19 @@ var ContinueButton = function ContinueButton() {
54
66
  _useState6 = _slicedToArray(_useState5, 2),
55
67
  openEmptyHolder = _useState6[0],
56
68
  setOpenEmptyHolder = _useState6[1];
57
- var _useSales2 = useSales(),
58
- removeSessionStorage = _useSales2.removeSessionStorage;
69
+ // const { removeSessionStorage } = useSales();
70
+
71
+ var data = {};
72
+ var currentStepData = {
73
+ key: 'select-event'
74
+ };
75
+ var createBooking = {
76
+ loading: false
77
+ };
78
+ var checkBeforeBooking = {
79
+ loading: false
80
+ };
81
+ var cartData = {};
59
82
 
60
83
  /**
61
84
  * @title: 下单
@@ -71,19 +94,18 @@ var ContinueButton = function ContinueButton() {
71
94
  while (1) switch (_context.prev = _context.next) {
72
95
  case 0:
73
96
  value = formatValues(data); // 如果检测成功,则直接下单
74
- _context.next = 3;
75
- return onCheckout(value);
76
- case 3:
77
- result = _context.sent;
78
- // 清空数据
97
+ // const result = await onCheckout(value);
98
+ result = {
99
+ success: true
100
+ }; // 清空数据
79
101
  if (result !== null && result !== void 0 && result.success) {
80
- removeSessionStorage();
102
+ // removeSessionStorage();
81
103
  } else {
82
104
  PisellToast({
83
105
  content: (result === null || result === void 0 || (_result$err = result.err) === null || _result$err === void 0 ? void 0 : _result$err.message) || ''
84
106
  });
85
107
  }
86
- case 5:
108
+ case 3:
87
109
  case "end":
88
110
  return _context.stop();
89
111
  }
@@ -106,18 +128,14 @@ var ContinueButton = function ContinueButton() {
106
128
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
107
129
  while (1) switch (_context2.prev = _context2.next) {
108
130
  case 0:
109
- onCloseCart();
110
- setOpenEmptyHolder(false);
111
-
112
- // 如果当前是确认信息页面,则到结算页面
113
131
  if (!isLastStep) {
114
- _context2.next = 4;
132
+ _context2.next = 2;
115
133
  break;
116
134
  }
117
135
  return _context2.abrupt("return", handleCheckout());
118
- case 4:
119
- nextStep();
120
- case 5:
136
+ case 2:
137
+ return _context2.abrupt("return", appointmentBooking.next());
138
+ case 3:
121
139
  case "end":
122
140
  return _context2.stop();
123
141
  }
@@ -136,19 +154,18 @@ var ContinueButton = function ContinueButton() {
136
154
  * @Date: 2025-02-08 14:00
137
155
  */
138
156
  var handleHolder = function handleHolder() {
139
- var isHolder = checkHolder();
140
- // 如果没有绑定holder,则打开绑定holder弹窗
141
- if (!isHolder) {
142
- onHolderOpen();
143
- return;
144
- }
145
-
146
- // 验证holder是否为空
147
- var emptyHolders = getWithoutCartItemsHolderNames();
148
- if ((emptyHolders === null || emptyHolders === void 0 ? void 0 : emptyHolders.length) > 0) {
149
- return setOpenEmptyHolder(true);
150
- }
151
- handleNextStep();
157
+ // const isHolder = checkHolder();
158
+ // // 如果没有绑定holder,则打开绑定holder弹窗
159
+ // if (!isHolder) {
160
+ // onHolderOpen();
161
+ // return;
162
+ // }
163
+ // // 验证holder是否为空
164
+ // const emptyHolders = getWithoutCartItemsHolderNames();
165
+ // if (emptyHolders?.length > 0) {
166
+ // return setOpenEmptyHolder(true);
167
+ // }
168
+ // handleNextStep();
152
169
  };
153
170
 
154
171
  /**
@@ -160,54 +177,29 @@ var ContinueButton = function ContinueButton() {
160
177
  */
161
178
  var handleContinue = /*#__PURE__*/function () {
162
179
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
163
- var value, checkRes, emptyHolders;
164
180
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
165
181
  while (1) switch (_context3.prev = _context3.next) {
166
182
  case 0:
167
183
  if (!isLastStep) {
168
- _context3.next = 14;
169
- break;
170
- }
171
- value = formatValues(data); // 检测商品是否可以下单
172
- _context3.next = 4;
173
- return onCheckBeforeBooking(value);
174
- case 4:
175
- checkRes = _context3.sent;
176
- if (!((checkRes === null || checkRes === void 0 ? void 0 : checkRes.result) === false)) {
177
- _context3.next = 9;
178
- break;
179
- }
180
- setCheckedNumber(checkRes === null || checkRes === void 0 ? void 0 : checkRes.num);
181
- setOpenCheckout(true);
182
- return _context3.abrupt("return");
183
- case 9:
184
- // 验证holder是否为空
185
- emptyHolders = getWithoutCartItemsHolderNames();
186
- if (!((emptyHolders === null || emptyHolders === void 0 ? void 0 : emptyHolders.length) > 0)) {
187
- _context3.next = 12;
184
+ _context3.next = 3;
188
185
  break;
189
186
  }
190
- return _context3.abrupt("return", setOpenEmptyHolder(true));
191
- case 12:
192
- // 关闭购物车弹窗
193
- onCloseCart();
194
- return _context3.abrupt("return", handleCheckout());
195
- case 14:
196
- if (isLogin()) {
197
- _context3.next = 17;
187
+ if (isLogin) {
188
+ _context3.next = 3;
198
189
  break;
199
190
  }
200
- onCloseCart();
201
191
  return _context3.abrupt("return", openLoginModal({
202
192
  callback: function callback(status) {
203
193
  if (status === 'success') {
204
- handleHolder();
194
+ // handleHolder();
195
+ handleNextStep();
205
196
  }
206
197
  }
207
198
  }));
208
- case 17:
209
- handleHolder();
210
- case 18:
199
+ case 3:
200
+ handleNextStep();
201
+ // handleHolder();
202
+ case 4:
211
203
  case "end":
212
204
  return _context3.stop();
213
205
  }
@@ -247,28 +239,13 @@ var ContinueButton = function ContinueButton() {
247
239
  return (createBooking === null || createBooking === void 0 ? void 0 : createBooking.loading) || (checkBeforeBooking === null || checkBeforeBooking === void 0 ? void 0 : checkBeforeBooking.loading);
248
240
  }, [isLastStep, createBooking === null || createBooking === void 0 ? void 0 : createBooking.loading, checkBeforeBooking === null || checkBeforeBooking === void 0 ? void 0 : checkBeforeBooking.loading]);
249
241
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
250
- disabled: !(cartData !== null && cartData !== void 0 && (_cartData$cartItems = cartData.cartItems) !== null && _cartData$cartItems !== void 0 && _cartData$cartItems.length),
242
+ disabled: !(products !== null && products !== void 0 && products.length),
251
243
  size: "large",
252
244
  type: "primary",
253
245
  onClick: function onClick() {
254
246
  return handleContinue();
255
247
  },
256
248
  loading: confirmLoading
257
- }, continueText), /*#__PURE__*/React.createElement(OrderProductModal, {
258
- open: openCheckout,
259
- type: "checkout",
260
- onCancel: function onCancel() {
261
- return setOpenCheckout(false);
262
- }
263
- }), /*#__PURE__*/React.createElement(EmptyHolderModal, {
264
- open: openEmptyHolder,
265
- lists: getWithoutCartItemsHolderNames(),
266
- onCancel: function onCancel() {
267
- return setOpenEmptyHolder(false);
268
- },
269
- onOk: function onOk() {
270
- return handleNextStep();
271
- }
272
- }));
249
+ }, continueText));
273
250
  };
274
251
  export default ContinueButton;
@@ -5,21 +5,21 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
5
5
  import React from 'react';
6
6
  import { locales } from '@pisell/utils';
7
7
  import { PisellText } from '@pisell/materials';
8
- import { useSummary } from "../../../../../Sales";
9
- import useEngineContext from "../../../../../../hooks/useEngineContext";
8
+ import useEngineContext from "../../../../../hooks/useEngineContext";
10
9
  import "./index.less";
11
10
  import classNames from 'classnames';
11
+ import { useAppointmentBookingContext } from "../../../context";
12
12
  var Total = function Total(_ref) {
13
- var _context$appHelper, _context$appHelper$ge, _context$appHelper2, _context$appHelper2$g;
13
+ var _context$appHelper, _context$appHelper$ge;
14
14
  var className = _ref.className,
15
15
  isFooter = _ref.isFooter;
16
- var _useSummary = useSummary(),
17
- taxTitle = _useSummary.taxTitle,
18
- totalTaxFee = _useSummary.totalTaxFee,
19
- isPriceIncludeTax = _useSummary.isPriceIncludeTax,
20
- total = _useSummary.total;
21
16
  var context = useEngineContext();
22
- console.log(taxTitle, isPriceIncludeTax, totalTaxFee, total, context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper$ge = _context$appHelper.getSymbolic) === null || _context$appHelper$ge === void 0 ? void 0 : _context$appHelper$ge.call(_context$appHelper), 'wh97978');
17
+ var _useAppointmentBookin = useAppointmentBookingContext(),
18
+ summary = _useAppointmentBookin.summary;
19
+ var taxTitle = summary.taxTitle,
20
+ totalTaxFee = summary.totalTaxFee,
21
+ isPriceIncludeTax = summary.isPriceIncludeTax,
22
+ total = summary.total;
23
23
  return /*#__PURE__*/React.createElement("div", {
24
24
  className: "event-total-wrap ".concat(className)
25
25
  }, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /*#__PURE__*/React.createElement("div", {
@@ -37,7 +37,7 @@ var Total = function Total(_ref) {
37
37
  className: "event-amount"
38
38
  }) : null), isPriceIncludeTax && Number(totalTaxFee) > 0 ? /*#__PURE__*/React.createElement("span", {
39
39
  className: "gst"
40
- }, locales.getText('pisell2.event.total.gst')("".concat(isFooter ? "".concat(taxTitle, ": ") : taxTitle), "".concat(context === null || context === void 0 || (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getSymbolic) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.call(_context$appHelper2)).concat(totalTaxFee))) : null), !isFooter ? /*#__PURE__*/React.createElement(PisellText.Amount, {
40
+ }, locales.getText('pisell2.event.total.gst')("".concat(isFooter ? "".concat(taxTitle, ": ") : taxTitle), "".concat(context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper$ge = _context$appHelper.getSymbolic) === null || _context$appHelper$ge === void 0 ? void 0 : _context$appHelper$ge.call(_context$appHelper)).concat(totalTaxFee))) : null), !isFooter ? /*#__PURE__*/React.createElement(PisellText.Amount, {
41
41
  value: total,
42
42
  showCurrencySymbol: true,
43
43
  className: "event-amount"
@@ -0,0 +1,73 @@
1
+ import React, { useMemo } from 'react';
2
+ import { isMobile, locales } from '@pisell/utils';
3
+ import ShoppingCart from "../../../../shoppingCart";
4
+ // import SelectHolderModal from '../../../../';
5
+ import ContinueButton from "../ContinueButton";
6
+ import { useAppointmentBookingAccount, useAppointmentBooking } from "../../../hooks";
7
+ import { useAppointmentBookingContext } from "../../../context";
8
+ import Total from "./Total";
9
+ import { formatHolder } from "../../../utils";
10
+ import "./index.less";
11
+ var CartItem = function CartItem() {
12
+ var appointmentBooking = useAppointmentBooking();
13
+ var appointmentBookingAccount = useAppointmentBookingAccount();
14
+ var _useAppointmentBookin = useAppointmentBookingContext(),
15
+ carts = _useAppointmentBookin.carts,
16
+ summary = _useAppointmentBookin.summary,
17
+ isLastStep = _useAppointmentBookin.isLastStep;
18
+ var accountLists = appointmentBookingAccount.accountLists;
19
+ console.log(summary, carts, 'accountLists');
20
+ var holderIds = useMemo(function () {
21
+ return accountLists.map(function (item) {
22
+ return item.id;
23
+ });
24
+ }, [accountLists]);
25
+ var holders = useMemo(function () {
26
+ return formatHolder(accountLists);
27
+ }, [accountLists]);
28
+ var handleClickCard = function handleClickCard(e, type, key) {
29
+ console.log(e, type, key, 'wh9988767');
30
+
31
+ // 更改备注
32
+ if (type === 'note') {
33
+ return appointmentBooking.updateCart(e === null || e === void 0 ? void 0 : e._id, {
34
+ products: e
35
+ });
36
+ }
37
+
38
+ // 删除购物车下某个商品
39
+ if (type === 'delete') {
40
+ // return appointmentBooking.updateCart(e?._id, { products: e });
41
+ }
42
+
43
+ // 删除购物车
44
+ if (type === 'delete_holders') {
45
+ return appointmentBooking.removeAccount(key);
46
+ }
47
+ };
48
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
49
+ className: "cart-item-wrap ".concat(isMobile() ? 'cart-mobile-item-wrap' : '')
50
+ }, /*#__PURE__*/React.createElement("div", {
51
+ className: "content"
52
+ }, /*#__PURE__*/React.createElement(ShoppingCart, {
53
+ productParams: {
54
+ products: carts,
55
+ hideAddBtn: false,
56
+ holders: holders,
57
+ disabledEdit: isLastStep
58
+ },
59
+ collapseParams: {
60
+ activeKey: holderIds,
61
+ ghost: true
62
+ },
63
+ platform: "h5",
64
+ emptyText: locales.getText('pisell2.event.empty.service'),
65
+ isOpenGroup: !!(holderIds !== null && holderIds !== void 0 && holderIds.length),
66
+ onChange: function onChange(e, type, key) {
67
+ return handleClickCard(e, type, key);
68
+ }
69
+ })), /*#__PURE__*/React.createElement("div", {
70
+ className: "event-footer"
71
+ }, /*#__PURE__*/React.createElement(Total, null), /*#__PURE__*/React.createElement(ContinueButton, null))));
72
+ };
73
+ export default CartItem;
@@ -0,0 +1,92 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ import React, { useMemo, useEffect, useState } from 'react';
8
+ import { isMobile } from '@pisell/utils';
9
+ import CartItem from "../Cart/Item";
10
+ import Header from "../Header";
11
+ import Footer from "../Footer";
12
+ import Services from "../Services";
13
+ import Date from "../Date";
14
+ import Resource from "../Resource";
15
+ import TimeSlicing from "../TimeSlicing";
16
+ import Guest from "../Guest";
17
+ import { useAppointmentBookingStep, useAppointmentBookingCart } from "../../hooks";
18
+ import { useAppointmentBookingContext } from "../../context";
19
+ import "./index.less";
20
+ var Layout = function Layout() {
21
+ var _currentStep$step2, _currentStep$step4, _currentStep$step5;
22
+ var appointmentBookingStep = useAppointmentBookingStep();
23
+ var appointmentBookingCart = useAppointmentBookingCart();
24
+ var _useAppointmentBookin = useAppointmentBookingContext(),
25
+ currentStep = _useAppointmentBookin.currentStep;
26
+ var _useState = useState({}),
27
+ _useState2 = _slicedToArray(_useState, 2),
28
+ params = _useState2[0],
29
+ setParams = _useState2[1];
30
+ useEffect(function () {
31
+ var _currentStep$step;
32
+ console.log(currentStep === null || currentStep === void 0 || (_currentStep$step = currentStep.step) === null || _currentStep$step === void 0 ? void 0 : _currentStep$step.key, 'whcurrentStep?.step?.key');
33
+ window.scrollTo({
34
+ top: 0,
35
+ behavior: 'smooth'
36
+ });
37
+ }, [currentStep === null || currentStep === void 0 || (_currentStep$step2 = currentStep.step) === null || _currentStep$step2 === void 0 ? void 0 : _currentStep$step2.key]);
38
+ var Com = useMemo(function () {
39
+ var _currentStep$step3;
40
+ var key = currentStep === null || currentStep === void 0 || (_currentStep$step3 = currentStep.step) === null || _currentStep$step3 === void 0 ? void 0 : _currentStep$step3.key;
41
+ if (!key) return null;
42
+ var components = {
43
+ // 选择服务
44
+ 'select-service': Services,
45
+ // 添加客户
46
+ 'select-guest': Guest,
47
+ // 选择时间
48
+ 'select-date': Date,
49
+ // 选择资源
50
+ 'select-resource': Resource,
51
+ // 时间切片
52
+ 'select-time': TimeSlicing
53
+ };
54
+ var Com = components[key];
55
+ return /*#__PURE__*/React.createElement(Com, {
56
+ onChange: setParams,
57
+ params: params
58
+ });
59
+ }, [currentStep === null || currentStep === void 0 || (_currentStep$step4 = currentStep.step) === null || _currentStep$step4 === void 0 ? void 0 : _currentStep$step4.key]);
60
+
61
+ /**
62
+ * @title: 动态计算中间内容区域的高度
63
+ * @description:
64
+ * @return {*}
65
+ * @Author: WangHan
66
+ * @Date: 2025-02-18 15:36
67
+ */
68
+ useEffect(function () {
69
+ if (isMobile()) {
70
+ var _header$getBoundingCl, _footer$getBoundingCl;
71
+ var header = document.querySelector('.event-progress-bar');
72
+ var footer = document.querySelector('.pisell-section-footers-wrapper');
73
+ var content = document.querySelector('.event-content-mobile-wrap');
74
+ var headerHeight = (header === null || header === void 0 || (_header$getBoundingCl = header.getBoundingClientRect()) === null || _header$getBoundingCl === void 0 ? void 0 : _header$getBoundingCl.height) || 0;
75
+ var footerHeight = (footer === null || footer === void 0 || (_footer$getBoundingCl = footer.getBoundingClientRect()) === null || _footer$getBoundingCl === void 0 ? void 0 : _footer$getBoundingCl.height) || 0;
76
+ var windowHeight = window.innerHeight;
77
+ var contentHeight = windowHeight - headerHeight - footerHeight;
78
+ if (content && content !== null && content !== void 0 && content.style) {
79
+ content.style.height = "".concat(contentHeight, "px");
80
+ content.style.overflowY = 'auto';
81
+ }
82
+ }
83
+ }, [currentStep === null || currentStep === void 0 || (_currentStep$step5 = currentStep.step) === null || _currentStep$step5 === void 0 ? void 0 : _currentStep$step5.key]);
84
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Header, null), /*#__PURE__*/React.createElement("div", {
85
+ className: "parallel-content-wrap ".concat(isMobile() ? 'parallel-content-mobile-wrap' : '')
86
+ }, /*#__PURE__*/React.createElement("div", {
87
+ className: "parallel-content-left"
88
+ }, Com), !isMobile() ? /*#__PURE__*/React.createElement("div", {
89
+ className: "parallel-content-right"
90
+ }, /*#__PURE__*/React.createElement(CartItem, null)) : null), isMobile() ? /*#__PURE__*/React.createElement(Footer, null) : null);
91
+ };
92
+ export default Layout;
@@ -0,0 +1,51 @@
1
+ .parallel-content-wrap {
2
+ width: 1000px;
3
+ display: flex;
4
+ gap: 6px;
5
+ // align-items: center;
6
+ flex: 1;
7
+
8
+ .parallel-content-left {
9
+ flex: 1;
10
+ width: 634px;
11
+ // padding: 16px 0;
12
+
13
+ .booking-tab-product {
14
+ .booking-tabs-wrap {
15
+ top: 77px !important;
16
+ }
17
+
18
+ .booking-category-list {
19
+ padding: 0;
20
+ }
21
+ }
22
+ }
23
+
24
+ .parallel-content-right {
25
+ margin-top: 16px;
26
+ width: 360px;
27
+ position: sticky;
28
+ top: 93px;
29
+ height: fit-content;
30
+ }
31
+ }
32
+
33
+ .parallel-content-mobile-wrap {
34
+ width: 100%;
35
+ flex: none;
36
+ .parallel-content-left {
37
+ width: 100%;
38
+ flex: none;
39
+ // padding: 16px 16px 0;
40
+
41
+ .booking-tab-product {
42
+ .booking-category-list {
43
+ padding: 0 20px;
44
+ }
45
+ }
46
+
47
+ .provider-information-wrap {
48
+ width: 100%;
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const CalendarDate: (props: any) => JSX.Element;
3
+ export default CalendarDate;