@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
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  import "./index.less";
4
3
  interface TaxSelectProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './../../index.less';
3
2
  declare const Search: () => JSX.Element;
4
3
  export default Search;
@@ -6,4 +6,5 @@ declare type IEngineContext = {
6
6
  pageContext: any;
7
7
  };
8
8
  declare const useEngineContext: () => IEngineContext;
9
+ export declare const usePisellOS: () => any;
9
10
  export default useEngineContext;
@@ -4,4 +4,11 @@ var useEngineContext = function useEngineContext() {
4
4
  var context = useContext(window.__appContext || defaultContext);
5
5
  return context || {};
6
6
  };
7
+ export var usePisellOS = function usePisellOS() {
8
+ var _context$appHelper;
9
+ var context = useContext(window.__appContext || defaultContext);
10
+ var _ref = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
11
+ pisellos = _ref.pisellos;
12
+ return pisellos;
13
+ };
7
14
  export default useEngineContext;
package/es/index.d.ts CHANGED
@@ -39,4 +39,4 @@ export { default as EventScheduleCalendar } from './components/eventBooking/comp
39
39
  export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
40
40
  export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
41
41
  export { default as ShoppingCart } from './components/shoppingCart';
42
- export { default as ParallelResourceBooking } from './components/parallelResourceBooking';
42
+ export { default as AppointmentBooking } from './components/appointmentBooking';
package/es/index.js CHANGED
@@ -43,4 +43,4 @@ export { default as EventScheduleCalendar } from "./components/eventBooking/comp
43
43
  export { default as EventBookingDetailModal } from "./components/eventBooking/components/bookingDetailModal";
44
44
  export { default as EventProgressBar } from "./components/eventBooking/components/progressBar";
45
45
  export { default as ShoppingCart } from "./components/shoppingCart";
46
- export { default as ParallelResourceBooking } from "./components/parallelResourceBooking";
46
+ export { default as AppointmentBooking } from "./components/appointmentBooking";
@@ -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;
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // src/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.tsx
29
+ // src/components/appointmentBooking/components/Cart/ContinueButton/index.tsx
30
30
  var ContinueButton_exports = {};
31
31
  __export(ContinueButton_exports, {
32
32
  default: () => ContinueButton_default
@@ -35,87 +35,63 @@ module.exports = __toCommonJS(ContinueButton_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_utils = require("@pisell/utils");
37
37
  var import_materials = require("@pisell/materials");
38
- var import_Sales = require("../../../../../Sales");
39
- var import_utils2 = require("../../../../../Sales/Checkout/utils");
40
- var import_OrderProductModal = __toESM(require("../../OrderProductModal/index"));
41
- var import_EmptyHolderModal = __toESM(require("../../EmptyHolderModal"));
38
+ var import_utils2 = require("../../../../Sales/Checkout/utils");
39
+ var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
40
+ var import_hooks = require("../../../hooks");
41
+ var import_context = require("../../../context");
42
42
  var import_index = require("./index.less");
43
43
  var ContinueButton = () => {
44
- var _a;
45
- const { data } = (0, import_Sales.useSales)();
46
- const { onHolderOpen } = (0, import_Sales.useHolder)();
47
- const { checkHolder, onCloseCart, cartData, getWithoutCartItemsHolderNames } = (0, import_Sales.useCart)();
48
- const { currentStepData, nextStep, isLastStep } = (0, import_Sales.useStep)();
49
- const {
50
- onCheckout,
51
- createBooking,
52
- onCheckBeforeBooking,
53
- checkBeforeBooking
54
- } = (0, import_Sales.useCheckout)();
55
- const { openLoginModal, isLogin } = (0, import_Sales.useCustomer)();
44
+ const context = (0, import_useEngineContext.default)();
45
+ const utils = context.appHelper.utils || {};
46
+ const appointmentBooking = (0, import_hooks.useAppointmentBooking)();
47
+ const { isLogin, openLoginModal } = (0, import_hooks.useAppointmentBookingLogin)();
48
+ const { currentStep, isLastStep, products } = (0, import_context.useAppointmentBookingContext)();
56
49
  const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
57
50
  const [checkedNumber, setCheckedNumber] = (0, import_react.useState)(0);
58
51
  const [openEmptyHolder, setOpenEmptyHolder] = (0, import_react.useState)(false);
59
- const { removeSessionStorage } = (0, import_Sales.useSales)();
52
+ const data = {};
53
+ const currentStepData = {
54
+ key: "select-event"
55
+ };
56
+ const createBooking = {
57
+ loading: false
58
+ };
59
+ const checkBeforeBooking = {
60
+ loading: false
61
+ };
62
+ const cartData = {};
60
63
  const handleCheckout = async () => {
61
- var _a2;
64
+ var _a;
62
65
  const value = (0, import_utils2.formatValues)(data);
63
- const result = await onCheckout(value);
66
+ const result = { success: true };
64
67
  if (result == null ? void 0 : result.success) {
65
- removeSessionStorage();
66
68
  } else {
67
69
  (0, import_materials.PisellToast)({
68
- content: ((_a2 = result == null ? void 0 : result.err) == null ? void 0 : _a2.message) || ""
70
+ content: ((_a = result == null ? void 0 : result.err) == null ? void 0 : _a.message) || ""
69
71
  });
70
72
  }
71
73
  };
72
74
  const handleNextStep = async () => {
73
- onCloseCart();
74
- setOpenEmptyHolder(false);
75
75
  if (isLastStep) {
76
76
  return handleCheckout();
77
77
  }
78
- nextStep();
78
+ return appointmentBooking.next();
79
79
  };
80
80
  const handleHolder = () => {
81
- const isHolder = checkHolder();
82
- if (!isHolder) {
83
- onHolderOpen();
84
- return;
85
- }
86
- const emptyHolders = getWithoutCartItemsHolderNames();
87
- if ((emptyHolders == null ? void 0 : emptyHolders.length) > 0) {
88
- return setOpenEmptyHolder(true);
89
- }
90
- handleNextStep();
91
81
  };
92
82
  const handleContinue = async () => {
93
83
  if (isLastStep) {
94
- const value = (0, import_utils2.formatValues)(data);
95
- const checkRes = await onCheckBeforeBooking(value);
96
- if ((checkRes == null ? void 0 : checkRes.result) === false) {
97
- setCheckedNumber(checkRes == null ? void 0 : checkRes.num);
98
- setOpenCheckout(true);
99
- return;
100
- }
101
- const emptyHolders = getWithoutCartItemsHolderNames();
102
- if ((emptyHolders == null ? void 0 : emptyHolders.length) > 0) {
103
- return setOpenEmptyHolder(true);
104
- }
105
- onCloseCart();
106
- return handleCheckout();
107
- }
108
- if (!isLogin()) {
109
- onCloseCart();
110
- return openLoginModal({
111
- callback: (status) => {
112
- if (status === "success") {
113
- handleHolder();
84
+ if (!isLogin) {
85
+ return openLoginModal({
86
+ callback: (status) => {
87
+ if (status === "success") {
88
+ handleNextStep();
89
+ }
114
90
  }
115
- }
116
- });
91
+ });
92
+ }
117
93
  }
118
- handleHolder();
94
+ handleNextStep();
119
95
  };
120
96
  const continueText = (0, import_react.useMemo)(() => {
121
97
  if (isLastStep) {
@@ -131,28 +107,13 @@ var ContinueButton = () => {
131
107
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
132
108
  import_materials.Button,
133
109
  {
134
- disabled: !((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length),
110
+ disabled: !(products == null ? void 0 : products.length),
135
111
  size: "large",
136
112
  type: "primary",
137
113
  onClick: () => handleContinue(),
138
114
  loading: confirmLoading
139
115
  },
140
116
  continueText
141
- ), /* @__PURE__ */ import_react.default.createElement(
142
- import_OrderProductModal.default,
143
- {
144
- open: openCheckout,
145
- type: "checkout",
146
- onCancel: () => setOpenCheckout(false)
147
- }
148
- ), /* @__PURE__ */ import_react.default.createElement(
149
- import_EmptyHolderModal.default,
150
- {
151
- open: openEmptyHolder,
152
- lists: getWithoutCartItemsHolderNames(),
153
- onCancel: () => setOpenEmptyHolder(false),
154
- onOk: () => handleNextStep()
155
- }
156
117
  ));
157
118
  };
158
119
  var ContinueButton_default = ContinueButton;
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // src/components/parallelResourceBooking/components/Provider/Cart/Item/Total.tsx
29
+ // src/components/appointmentBooking/components/Cart/Item/Total.tsx
30
30
  var Total_exports = {};
31
31
  __export(Total_exports, {
32
32
  default: () => Total_default
@@ -35,22 +35,15 @@ module.exports = __toCommonJS(Total_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_utils = require("@pisell/utils");
37
37
  var import_materials = require("@pisell/materials");
38
- var import_Sales = require("../../../../../Sales");
39
- var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngineContext"));
38
+ var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
40
39
  var import_index = require("./index.less");
41
40
  var import_classnames = __toESM(require("classnames"));
41
+ var import_context = require("../../../context");
42
42
  var Total = ({ className, isFooter }) => {
43
- var _a, _b, _c, _d, _e, _f;
44
- const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = (0, import_Sales.useSummary)();
43
+ var _a, _b, _c;
45
44
  const context = (0, import_useEngineContext.default)();
46
- console.log(
47
- taxTitle,
48
- isPriceIncludeTax,
49
- totalTaxFee,
50
- total,
51
- (_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getSymbolic) == null ? void 0 : _c.call(_b),
52
- "wh97978"
53
- );
45
+ const { summary } = (0, import_context.useAppointmentBookingContext)();
46
+ const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = summary;
54
47
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `event-total-wrap ${className}` }, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "gst-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", null, taxTitle, isFooter ? ": " : ""), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText.Amount, { value: totalTaxFee, showCurrencySymbol: true })) : null, /* @__PURE__ */ import_react.default.createElement(
55
48
  "div",
56
49
  {
@@ -67,7 +60,7 @@ var Total = ({ className, isFooter }) => {
67
60
  }
68
61
  ) : null), isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("span", { className: "gst" }, import_utils.locales.getText("pisell2.event.total.gst")(
69
62
  `${isFooter ? `${taxTitle}: ` : taxTitle}`,
70
- `${(_f = (_e = (_d = context == null ? void 0 : context.appHelper) == null ? void 0 : _d.utils) == null ? void 0 : _e.getSymbolic) == null ? void 0 : _f.call(_e)}${totalTaxFee}`
63
+ `${(_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getSymbolic) == null ? void 0 : _c.call(_b)}${totalTaxFee}`
71
64
  )) : null),
72
65
  !isFooter ? /* @__PURE__ */ import_react.default.createElement(
73
66
  import_materials.PisellText.Amount,
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // src/components/parallelResourceBooking/components/Provider/Cart/Item/index.tsx
29
+ // src/components/appointmentBooking/components/Cart/Item/index.tsx
30
30
  var Item_exports = {};
31
31
  __export(Item_exports, {
32
32
  default: () => Item_default
@@ -34,32 +34,34 @@ __export(Item_exports, {
34
34
  module.exports = __toCommonJS(Item_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_utils = require("@pisell/utils");
37
- var import_shoppingCart = __toESM(require("../../../../../shoppingCart"));
38
- var import_Sales = require("../../../../../Sales");
39
- var import_SelectHolderModal = __toESM(require("../../SelectHolderModal"));
37
+ var import_shoppingCart = __toESM(require("../../../../shoppingCart"));
40
38
  var import_ContinueButton = __toESM(require("../ContinueButton"));
39
+ var import_hooks = require("../../../hooks");
40
+ var import_context = require("../../../context");
41
41
  var import_Total = __toESM(require("./Total"));
42
+ var import_utils2 = require("../../../utils");
42
43
  var import_index = require("./index.less");
43
44
  var CartItem = () => {
44
- const { open, holderData, selectedHolderIds } = (0, import_Sales.useHolder)();
45
- const {
46
- deleteCartItem,
47
- deleteCartItemByHolder,
48
- cartData,
49
- addNoteToCartItem
50
- } = (0, import_Sales.useCart)();
51
- const { subtotal } = (0, import_Sales.useSummary)();
52
- const { isLastStep } = (0, import_Sales.useStep)();
45
+ const appointmentBooking = (0, import_hooks.useAppointmentBooking)();
46
+ const appointmentBookingAccount = (0, import_hooks.useAppointmentBookingAccount)();
47
+ const { carts, summary, isLastStep } = (0, import_context.useAppointmentBookingContext)();
48
+ const { accountLists } = appointmentBookingAccount;
49
+ console.log(summary, carts, "accountLists");
50
+ const holderIds = (0, import_react.useMemo)(() => {
51
+ return accountLists.map((item) => item.id);
52
+ }, [accountLists]);
53
+ const holders = (0, import_react.useMemo)(() => {
54
+ return (0, import_utils2.formatHolder)(accountLists);
55
+ }, [accountLists]);
53
56
  const handleClickCard = (e, type, key) => {
57
+ console.log(e, type, key, "wh9988767");
54
58
  if (type === "note") {
55
- return addNoteToCartItem(e);
59
+ return appointmentBooking.updateCart(e == null ? void 0 : e._id, { products: e });
56
60
  }
57
- console.log(e, type, key, "wh9988767");
58
61
  if (type === "delete") {
59
- return deleteCartItem(e);
60
62
  }
61
63
  if (type === "delete_holders") {
62
- return deleteCartItemByHolder(key);
64
+ return appointmentBooking.removeAccount(key);
63
65
  }
64
66
  };
65
67
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
@@ -71,22 +73,22 @@ var CartItem = () => {
71
73
  import_shoppingCart.default,
72
74
  {
73
75
  productParams: {
74
- products: (cartData == null ? void 0 : cartData.cartItems) || [],
76
+ products: carts,
75
77
  hideAddBtn: false,
76
- holders: (holderData == null ? void 0 : holderData.selectedHolderItems) || [],
78
+ holders,
77
79
  disabledEdit: isLastStep
78
80
  },
79
81
  collapseParams: {
80
- activeKey: selectedHolderIds,
82
+ activeKey: holderIds,
81
83
  ghost: true
82
84
  },
83
85
  platform: "h5",
84
86
  emptyText: import_utils.locales.getText("pisell2.event.empty.service"),
85
- isOpenGroup: !!(selectedHolderIds == null ? void 0 : selectedHolderIds.length),
87
+ isOpenGroup: !!(holderIds == null ? void 0 : holderIds.length),
86
88
  onChange: (e, type, key) => handleClickCard(e, type, key)
87
89
  }
88
90
  )),
89
91
  /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
90
- ), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open }));
92
+ ));
91
93
  };
92
94
  var Item_default = CartItem;
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // src/components/parallelResourceBooking/components/Provider/Cart/index.tsx
29
+ // src/components/appointmentBooking/components/Cart/index.tsx
30
30
  var Cart_exports = {};
31
31
  __export(Cart_exports, {
32
32
  default: () => Cart_default
@@ -26,50 +26,66 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // src/components/parallelResourceBooking/components/Provider/Content/index.tsx
29
+ // src/components/appointmentBooking/components/Content/index.tsx
30
30
  var Content_exports = {};
31
31
  __export(Content_exports, {
32
32
  default: () => Content_default
33
33
  });
34
34
  module.exports = __toCommonJS(Content_exports);
35
35
  var import_react = __toESM(require("react"));
36
- var import_Sales = require("../../../../Sales");
37
36
  var import_utils = require("@pisell/utils");
38
37
  var import_Item = __toESM(require("../Cart/Item"));
38
+ var import_Header = __toESM(require("../Header"));
39
+ var import_Footer = __toESM(require("../Footer"));
40
+ var import_Services = __toESM(require("../Services"));
41
+ var import_Date = __toESM(require("../Date"));
39
42
  var import_Resource = __toESM(require("../Resource"));
40
- var import_Event = __toESM(require("../Event"));
41
- var import_Information = __toESM(require("../Information"));
43
+ var import_TimeSlicing = __toESM(require("../TimeSlicing"));
44
+ var import_Guest = __toESM(require("../Guest"));
45
+ var import_hooks = require("../../hooks");
46
+ var import_context = require("../../context");
42
47
  var import_index = require("./index.less");
43
48
  var Layout = () => {
44
- const { currentStepData, isFirstStep } = (0, import_Sales.useStep)();
49
+ var _a, _b, _c;
50
+ const appointmentBookingStep = (0, import_hooks.useAppointmentBookingStep)();
51
+ const appointmentBookingCart = (0, import_hooks.useAppointmentBookingCart)();
52
+ const { currentStep } = (0, import_context.useAppointmentBookingContext)();
53
+ const [params, setParams] = (0, import_react.useState)({});
45
54
  (0, import_react.useEffect)(() => {
55
+ var _a2;
56
+ console.log((_a2 = currentStep == null ? void 0 : currentStep.step) == null ? void 0 : _a2.key, "whcurrentStep?.step?.key");
46
57
  window.scrollTo({
47
58
  top: 0,
48
59
  behavior: "smooth"
49
60
  });
50
- }, [currentStepData == null ? void 0 : currentStepData.key]);
61
+ }, [(_a = currentStep == null ? void 0 : currentStep.step) == null ? void 0 : _a.key]);
51
62
  const Com = (0, import_react.useMemo)(() => {
52
- const key = currentStepData == null ? void 0 : currentStepData.key;
63
+ var _a2;
64
+ const key = (_a2 = currentStep == null ? void 0 : currentStep.step) == null ? void 0 : _a2.key;
53
65
  if (!key) return null;
54
66
  const components = {
67
+ // 选择服务
68
+ "select-service": import_Services.default,
69
+ // 添加客户
70
+ "select-guest": import_Guest.default,
71
+ // 选择时间
72
+ "select-date": import_Date.default,
55
73
  // 选择资源
56
- "select-category": import_Resource.default,
57
- // 选择event
58
- "select-event": import_Event.default,
59
- // 确认信息
60
- "confirm-information": import_Information.default
74
+ "select-resource": import_Resource.default,
75
+ // 时间切片
76
+ "select-time": import_TimeSlicing.default
61
77
  };
62
78
  let Com2 = components[key];
63
- return /* @__PURE__ */ import_react.default.createElement(Com2, null);
64
- }, [currentStepData == null ? void 0 : currentStepData.key]);
79
+ return /* @__PURE__ */ import_react.default.createElement(Com2, { onChange: setParams, params });
80
+ }, [(_b = currentStep == null ? void 0 : currentStep.step) == null ? void 0 : _b.key]);
65
81
  (0, import_react.useEffect)(() => {
66
- var _a, _b;
82
+ var _a2, _b2;
67
83
  if ((0, import_utils.isMobile)()) {
68
84
  const header = document.querySelector(".event-progress-bar");
69
85
  const footer = document.querySelector(".pisell-section-footers-wrapper");
70
86
  const content = document.querySelector(".event-content-mobile-wrap");
71
- const headerHeight = ((_a = header == null ? void 0 : header.getBoundingClientRect()) == null ? void 0 : _a.height) || 0;
72
- const footerHeight = ((_b = footer == null ? void 0 : footer.getBoundingClientRect()) == null ? void 0 : _b.height) || 0;
87
+ const headerHeight = ((_a2 = header == null ? void 0 : header.getBoundingClientRect()) == null ? void 0 : _a2.height) || 0;
88
+ const footerHeight = ((_b2 = footer == null ? void 0 : footer.getBoundingClientRect()) == null ? void 0 : _b2.height) || 0;
73
89
  const windowHeight = window.innerHeight;
74
90
  const contentHeight = windowHeight - headerHeight - footerHeight;
75
91
  if (content && (content == null ? void 0 : content.style)) {
@@ -77,14 +93,14 @@ var Layout = () => {
77
93
  content.style.overflowY = "auto";
78
94
  }
79
95
  }
80
- }, [currentStepData == null ? void 0 : currentStepData.key]);
81
- return /* @__PURE__ */ import_react.default.createElement(
96
+ }, [(_c = currentStep == null ? void 0 : currentStep.step) == null ? void 0 : _c.key]);
97
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_Header.default, null), /* @__PURE__ */ import_react.default.createElement(
82
98
  "div",
83
99
  {
84
- className: `event-content-wrap ${(0, import_utils.isMobile)() ? "event-content-mobile-wrap" : ""}`
100
+ className: `parallel-content-wrap ${(0, import_utils.isMobile)() ? "parallel-content-mobile-wrap" : ""}`
85
101
  },
86
- /* @__PURE__ */ import_react.default.createElement("div", { className: "event-content-left" }, Com),
87
- !(0, import_utils.isMobile)() && !isFirstStep ? /* @__PURE__ */ import_react.default.createElement("div", { className: "event-content-right" }, /* @__PURE__ */ import_react.default.createElement(import_Item.default, null)) : null
88
- );
102
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "parallel-content-left" }, Com),
103
+ !(0, import_utils.isMobile)() ? /* @__PURE__ */ import_react.default.createElement("div", { className: "parallel-content-right" }, /* @__PURE__ */ import_react.default.createElement(import_Item.default, null)) : null
104
+ ), (0, import_utils.isMobile)() ? /* @__PURE__ */ import_react.default.createElement(import_Footer.default, null) : null);
89
105
  };
90
106
  var Content_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;