@pisell/private-materials 3.2.12 → 3.2.17

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 (508) 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/appointmentBooking/components/Content/index.js +78 -0
  13. package/es/components/appointmentBooking/components/Content/index.less +51 -0
  14. package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Date/index.js +168 -0
  16. package/es/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
  17. package/{lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → es/components/appointmentBooking/components/Date}/state.d.ts +0 -1
  18. package/es/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +4 -42
  19. package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.js +20 -39
  20. package/es/components/appointmentBooking/components/Header/index.js +44 -0
  21. package/es/components/appointmentBooking/components/Information/index.js +178 -0
  22. package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +75 -107
  23. package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +18 -8
  24. package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +27 -22
  25. package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Content/index.js +7 -8
  26. package/es/components/appointmentBooking/components/Resource/index.js +68 -0
  27. package/es/components/appointmentBooking/components/Resource/index.less +0 -0
  28. package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
  29. package/es/components/appointmentBooking/components/Services/index.js +205 -0
  30. package/es/components/appointmentBooking/components/Services/index.less +17 -0
  31. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  32. package/es/components/appointmentBooking/components/TimeSlicing/index.js +780 -0
  33. package/es/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
  34. package/es/components/appointmentBooking/hooks.d.ts +25 -0
  35. package/es/components/appointmentBooking/hooks.js +191 -0
  36. package/es/components/appointmentBooking/index.d.ts +3 -0
  37. package/es/components/appointmentBooking/index.js +25 -0
  38. package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/index.less +5 -4
  39. package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/locales.d.ts +3 -0
  40. package/es/components/{parallelResourceBooking → appointmentBooking}/locales.js +6 -3
  41. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  42. package/es/components/booking/components/footer/index.d.ts +0 -1
  43. package/es/components/booking/deposit/index.d.ts +0 -1
  44. package/es/components/booking/forms/single/index.d.ts +0 -1
  45. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  46. package/es/components/booking/info/header/index.d.ts +0 -1
  47. package/es/components/booking/info/index.d.ts +0 -1
  48. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  49. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  50. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  51. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  52. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  53. package/es/components/eftpos/form/index.d.ts +0 -1
  54. package/es/components/eftpos/hooks.d.ts +0 -1
  55. package/es/components/eftpos/index.d.ts +0 -1
  56. package/es/components/eftpos/pos.d.ts +0 -1
  57. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  58. package/es/components/eftposPay/amount.d.ts +1 -1
  59. package/es/components/eftposPay/app.d.ts +0 -1
  60. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  61. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  62. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  63. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  64. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  65. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  66. package/es/components/eftposPay/device.d.ts +1 -1
  67. package/es/components/eftposPay/hooks.d.ts +1 -1
  68. package/es/components/eftposPay/index.d.ts +0 -1
  69. package/es/components/eftposPay/pay.d.ts +0 -1
  70. package/es/components/eftposPay/store/index.d.ts +1 -1
  71. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  72. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  73. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  82. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  85. package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
  86. package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
  87. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  88. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  89. package/es/components/eventBooking/index.d.ts +0 -1
  90. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  91. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  92. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  93. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  95. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  96. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  97. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  98. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  99. package/es/components/productExtension/index.d.ts +0 -1
  100. package/es/components/ruleSetting/index.d.ts +0 -1
  101. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  102. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  108. package/es/components/schedules/products/index.d.ts +0 -1
  109. package/es/components/schedules/resources/index.d.ts +0 -1
  110. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  111. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  112. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  113. package/es/components/schedules/schedules/index.d.ts +0 -1
  114. package/es/components/taxSelect/index.d.ts +0 -1
  115. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  116. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  117. package/es/hooks/useEngineContext.d.ts +1 -0
  118. package/es/hooks/useEngineContext.js +7 -0
  119. package/es/index.d.ts +1 -1
  120. package/es/index.js +1 -1
  121. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  122. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  123. package/lib/components/appointmentBooking/components/Content/index.js +94 -0
  124. package/lib/components/appointmentBooking/components/Content/index.less +51 -0
  125. package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
  126. package/lib/components/appointmentBooking/components/Date/index.js +141 -0
  127. package/lib/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
  128. package/{es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → lib/components/appointmentBooking/components/Date}/state.d.ts +0 -1
  129. package/lib/components/{parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +5 -8
  130. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.js +15 -33
  131. package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Header/index.js +11 -31
  132. package/lib/components/appointmentBooking/components/Header/index.less +0 -0
  133. package/lib/components/appointmentBooking/components/Information/index.d.ts +3 -0
  134. package/lib/components/appointmentBooking/components/Information/index.js +151 -0
  135. package/lib/components/appointmentBooking/components/Information/index.less +92 -0
  136. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +24 -65
  137. package/lib/components/appointmentBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  138. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +10 -13
  139. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +18 -17
  140. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/index.js +1 -1
  141. package/lib/components/appointmentBooking/components/Provider/Content/index.d.ts +3 -0
  142. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Content/index.js +6 -6
  143. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +1 -1
  144. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Event/index.js +1 -1
  145. package/lib/components/appointmentBooking/components/Provider/Information/index.d.ts +3 -0
  146. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Information/index.js +1 -1
  147. package/lib/components/appointmentBooking/components/Provider/Information/index.less +92 -0
  148. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +1 -1
  149. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +1 -1
  150. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +1 -1
  151. package/lib/components/appointmentBooking/components/Provider/Resource/index.d.ts +3 -0
  152. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Resource/index.js +1 -1
  153. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +1 -1
  154. package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +1 -1
  155. package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  156. package/lib/components/appointmentBooking/components/Resource/index.js +99 -0
  157. package/lib/components/appointmentBooking/components/Resource/index.less +0 -0
  158. package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
  159. package/lib/components/appointmentBooking/components/Services/index.js +255 -0
  160. package/lib/components/appointmentBooking/components/Services/index.less +17 -0
  161. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  162. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +990 -0
  163. package/lib/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
  164. package/lib/components/appointmentBooking/hooks.d.ts +25 -0
  165. package/lib/components/appointmentBooking/hooks.js +154 -0
  166. package/lib/components/appointmentBooking/index.d.ts +3 -0
  167. package/lib/components/{parallelResourceBooking → appointmentBooking}/index.js +19 -32
  168. package/{es/components/parallelResourceBooking → lib/components/appointmentBooking}/index.less +5 -4
  169. package/{es/components/parallelResourceBooking → lib/components/appointmentBooking}/locales.d.ts +3 -0
  170. package/lib/components/{parallelResourceBooking → appointmentBooking}/locales.js +7 -4
  171. package/lib/components/{parallelResourceBooking → appointmentBooking}/mock.js +1 -1
  172. package/lib/components/{parallelResourceBooking → appointmentBooking}/status.js +1 -1
  173. package/lib/components/{parallelResourceBooking → appointmentBooking}/type.js +1 -1
  174. package/lib/components/{parallelResourceBooking → appointmentBooking}/utils.js +1 -1
  175. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  176. package/lib/components/booking/components/footer/index.d.ts +0 -1
  177. package/lib/components/booking/deposit/index.d.ts +0 -1
  178. package/lib/components/booking/forms/single/index.d.ts +0 -1
  179. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  180. package/lib/components/booking/info/header/index.d.ts +0 -1
  181. package/lib/components/booking/info/index.d.ts +0 -1
  182. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  183. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  184. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  185. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  186. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  187. package/lib/components/eftpos/form/index.d.ts +0 -1
  188. package/lib/components/eftpos/hooks.d.ts +0 -1
  189. package/lib/components/eftpos/index.d.ts +0 -1
  190. package/lib/components/eftpos/pos.d.ts +0 -1
  191. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  192. package/lib/components/eftposPay/amount.d.ts +1 -1
  193. package/lib/components/eftposPay/app.d.ts +0 -1
  194. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  195. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  196. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  197. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  198. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  199. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  200. package/lib/components/eftposPay/device.d.ts +1 -1
  201. package/lib/components/eftposPay/hooks.d.ts +1 -1
  202. package/lib/components/eftposPay/index.d.ts +0 -1
  203. package/lib/components/eftposPay/pay.d.ts +0 -1
  204. package/lib/components/eftposPay/store/index.d.ts +1 -1
  205. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  206. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  207. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  208. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  209. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  210. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  211. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  212. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  213. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  214. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  215. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  216. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  217. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  218. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  219. package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
  220. package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
  221. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  222. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  223. package/lib/components/eventBooking/index.d.ts +0 -1
  224. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  225. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  226. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  227. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  228. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  229. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  230. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  231. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  232. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  233. package/lib/components/productExtension/index.d.ts +0 -1
  234. package/lib/components/ruleSetting/index.d.ts +0 -1
  235. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  236. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  237. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  238. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  239. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  240. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  241. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  242. package/lib/components/schedules/products/index.d.ts +0 -1
  243. package/lib/components/schedules/resources/index.d.ts +0 -1
  244. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  245. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  246. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  247. package/lib/components/schedules/schedules/index.d.ts +0 -1
  248. package/lib/components/taxSelect/index.d.ts +0 -1
  249. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  250. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  251. package/lib/hooks/useEngineContext.d.ts +1 -0
  252. package/lib/hooks/useEngineContext.js +14 -1
  253. package/lib/index.d.ts +1 -1
  254. package/lib/index.js +3 -3
  255. package/lowcode/parallel-resource-booking/meta.ts +5 -5
  256. package/package.json +2 -2
  257. package/es/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  258. package/es/components/parallelResourceBooking/components/ErrorTip/index.js +0 -14
  259. package/es/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  260. package/es/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  261. package/es/components/parallelResourceBooking/components/OpenCard/index.js +0 -65
  262. package/es/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  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/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  266. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
  267. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  268. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  269. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
  270. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  271. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  272. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
  273. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  274. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  275. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
  276. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  277. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  278. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
  279. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  280. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  281. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
  282. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  283. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  284. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
  285. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  286. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  287. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
  288. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  289. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
  290. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  291. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  292. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -36
  293. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  294. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  295. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  296. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  297. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
  298. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  299. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -33
  300. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  301. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -30
  302. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  303. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -337
  304. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  305. package/es/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  306. package/es/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -52
  307. package/es/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  308. package/es/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  309. package/es/components/parallelResourceBooking/components/eventCard/index.js +0 -116
  310. package/es/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  311. package/es/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  312. package/es/components/parallelResourceBooking/components/productCard/index.js +0 -79
  313. package/es/components/parallelResourceBooking/components/productCard/index.less +0 -60
  314. package/es/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  315. package/es/components/parallelResourceBooking/components/progressBar/index.js +0 -93
  316. package/es/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  317. package/es/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  318. package/es/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -148
  319. package/es/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  320. package/es/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  321. package/es/components/parallelResourceBooking/components/resourceUsability/index.js +0 -44
  322. package/es/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  323. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  324. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
  325. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  326. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  327. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -127
  328. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  329. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -142
  330. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  331. package/es/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  332. package/es/components/parallelResourceBooking/components/selectHolder/index.js +0 -118
  333. package/es/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  334. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  335. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -168
  336. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  337. package/es/components/parallelResourceBooking/index.d.ts +0 -3
  338. package/es/components/parallelResourceBooking/index.js +0 -58
  339. package/lib/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  340. package/lib/components/parallelResourceBooking/components/ErrorTip/index.js +0 -30
  341. package/lib/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  342. package/lib/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  343. package/lib/components/parallelResourceBooking/components/OpenCard/index.js +0 -90
  344. package/lib/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  345. package/lib/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  346. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  347. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
  348. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  349. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  350. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
  351. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  352. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  353. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
  354. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  355. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  356. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
  357. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  358. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  359. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
  360. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  361. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  362. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
  363. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  364. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  365. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
  366. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  367. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  368. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
  369. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  370. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
  371. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  372. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  373. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -70
  374. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  375. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  376. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  377. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  378. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
  379. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  380. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -66
  381. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  382. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -69
  383. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  384. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -248
  385. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  386. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  387. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -79
  388. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  389. package/lib/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  390. package/lib/components/parallelResourceBooking/components/eventCard/index.js +0 -124
  391. package/lib/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  392. package/lib/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  393. package/lib/components/parallelResourceBooking/components/productCard/index.js +0 -77
  394. package/lib/components/parallelResourceBooking/components/productCard/index.less +0 -60
  395. package/lib/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  396. package/lib/components/parallelResourceBooking/components/progressBar/index.js +0 -100
  397. package/lib/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  398. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  399. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -116
  400. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  401. package/lib/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  402. package/lib/components/parallelResourceBooking/components/resourceUsability/index.js +0 -76
  403. package/lib/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  404. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  405. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
  406. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  407. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  408. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -135
  409. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  410. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -125
  411. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  412. package/lib/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  413. package/lib/components/parallelResourceBooking/components/selectHolder/index.js +0 -106
  414. package/lib/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  415. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  416. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -146
  417. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  418. package/lib/components/parallelResourceBooking/index.d.ts +0 -3
  419. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/alert-circle.png +0 -0
  420. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
  421. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/compass.svg +0 -0
  422. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/image.svg +0 -0
  423. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/phone.svg +0 -0
  424. /package/es/components/{parallelResourceBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
  425. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Content/index.d.ts +0 -0
  426. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -0
  427. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
  428. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -0
  429. /package/es/components/{parallelResourceBooking/components/Provider/Cart/ContinueButton → appointmentBooking/components/Header}/index.less +0 -0
  430. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Information/index.d.ts +0 -0
  431. /package/es/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Information/index.less +0 -0
  432. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -0
  433. /package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.less +0 -0
  434. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -0
  435. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -0
  436. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
  437. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/index.d.ts +0 -0
  438. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/index.js +0 -0
  439. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
  440. /package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/components/Provider/Content/index.d.ts +0 -0
  441. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
  442. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -0
  443. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +0 -0
  444. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
  445. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -0
  446. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Event/index.js +0 -0
  447. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
  448. /package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/components/Provider/Information/index.d.ts +0 -0
  449. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Information/index.js +0 -0
  450. /package/{lib/components/parallelResourceBooking → es/components/appointmentBooking}/components/Provider/Information/index.less +0 -0
  451. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -0
  452. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +0 -0
  453. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
  454. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -0
  455. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +0 -0
  456. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
  457. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -0
  458. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +0 -0
  459. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Resource/index.d.ts +0 -0
  460. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Resource/index.js +0 -0
  461. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
  462. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -0
  463. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +0 -0
  464. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
  465. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +0 -0
  466. /package/es/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
  467. /package/{lib/components/parallelResourceBooking/components/Provider → es/components/appointmentBooking/components}/Resource/index.d.ts +0 -0
  468. /package/es/components/{parallelResourceBooking → appointmentBooking}/mock.d.ts +0 -0
  469. /package/es/components/{parallelResourceBooking → appointmentBooking}/mock.js +0 -0
  470. /package/es/components/{parallelResourceBooking → appointmentBooking}/status.d.ts +0 -0
  471. /package/es/components/{parallelResourceBooking → appointmentBooking}/status.js +0 -0
  472. /package/es/components/{parallelResourceBooking → appointmentBooking}/type.d.ts +0 -0
  473. /package/es/components/{parallelResourceBooking → appointmentBooking}/type.js +0 -0
  474. /package/es/components/{parallelResourceBooking → appointmentBooking}/utils.d.ts +0 -0
  475. /package/es/components/{parallelResourceBooking → appointmentBooking}/utils.js +0 -0
  476. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/alert-circle.png +0 -0
  477. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
  478. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/compass.svg +0 -0
  479. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/image.svg +0 -0
  480. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/phone.svg +0 -0
  481. /package/lib/components/{parallelResourceBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
  482. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -0
  483. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
  484. /package/lib/components/{parallelResourceBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -0
  485. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -0
  486. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -0
  487. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -0
  488. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
  489. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/index.d.ts +0 -0
  490. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
  491. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
  492. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -0
  493. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
  494. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -0
  495. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
  496. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -0
  497. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
  498. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -0
  499. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
  500. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -0
  501. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
  502. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -0
  503. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
  504. /package/lib/components/{parallelResourceBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +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
  508. /package/lib/components/{parallelResourceBooking → appointmentBooking}/utils.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;
@@ -0,0 +1,78 @@
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 { useStep } from '../../../../Sales';
9
+ import { isMobile } from '@pisell/utils';
10
+ import CartItem from "../Provider/Cart/Item";
11
+ import Services from "../Services";
12
+ import Date from "../Date";
13
+ import Resource from "../Resource";
14
+ import TimeSlicing from "../TimeSlicing";
15
+ import "./index.less";
16
+ var Layout = function Layout() {
17
+ // const { currentStepData, isFirstStep } = useStep();
18
+ var _useState = useState({
19
+ key: 'select-service'
20
+ }),
21
+ _useState2 = _slicedToArray(_useState, 2),
22
+ currentStepData = _useState2[0],
23
+ setCurrentStepData = _useState2[1];
24
+ useEffect(function () {
25
+ window.scrollTo({
26
+ top: 0,
27
+ behavior: 'smooth'
28
+ });
29
+ }, [currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key]);
30
+ var Com = useMemo(function () {
31
+ var key = currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key;
32
+ if (!key) return null;
33
+ var components = {
34
+ // 选择服务
35
+ 'select-service': Services,
36
+ // 选择时间
37
+ 'select-date': Date,
38
+ // 选择资源
39
+ 'select-resource': Resource,
40
+ // 时间切片
41
+ 'select-time': TimeSlicing
42
+ };
43
+ var Com = components[key];
44
+ return /*#__PURE__*/React.createElement(Com, null);
45
+ }, [currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key]);
46
+
47
+ /**
48
+ * @title: 动态计算中间内容区域的高度
49
+ * @description:
50
+ * @return {*}
51
+ * @Author: WangHan
52
+ * @Date: 2025-02-18 15:36
53
+ */
54
+ useEffect(function () {
55
+ if (isMobile()) {
56
+ var _header$getBoundingCl, _footer$getBoundingCl;
57
+ var header = document.querySelector('.event-progress-bar');
58
+ var footer = document.querySelector('.pisell-section-footers-wrapper');
59
+ var content = document.querySelector('.event-content-mobile-wrap');
60
+ var headerHeight = (header === null || header === void 0 || (_header$getBoundingCl = header.getBoundingClientRect()) === null || _header$getBoundingCl === void 0 ? void 0 : _header$getBoundingCl.height) || 0;
61
+ var footerHeight = (footer === null || footer === void 0 || (_footer$getBoundingCl = footer.getBoundingClientRect()) === null || _footer$getBoundingCl === void 0 ? void 0 : _footer$getBoundingCl.height) || 0;
62
+ var windowHeight = window.innerHeight;
63
+ var contentHeight = windowHeight - headerHeight - footerHeight;
64
+ if (content && content !== null && content !== void 0 && content.style) {
65
+ content.style.height = "".concat(contentHeight, "px");
66
+ content.style.overflowY = 'auto';
67
+ }
68
+ }
69
+ }, [currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key]);
70
+ return /*#__PURE__*/React.createElement("div", {
71
+ className: "parallel-content-wrap ".concat(isMobile() ? 'parallel-content-mobile-wrap' : '')
72
+ }, /*#__PURE__*/React.createElement("div", {
73
+ className: "parallel-content-left"
74
+ }, Com), !isMobile() ? /*#__PURE__*/React.createElement("div", {
75
+ className: "parallel-content-right"
76
+ }, /*#__PURE__*/React.createElement(CartItem, null)) : null);
77
+ };
78
+ 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;
@@ -0,0 +1,168 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
6
+ 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."); }
7
+ 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); }
8
+ 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; }
9
+ 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; } }
10
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
+ import { useState, useEffect } from 'react';
12
+ import Dayjs from 'dayjs';
13
+ import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
14
+ Dayjs.extend(isSameOrBefore);
15
+ import { weekListText } from "./state";
16
+ import classNames from 'classnames';
17
+ import { CaretLeftOutlined, CaretRightOutlined } from '@ant-design/icons';
18
+ import "./index.less";
19
+ var CalendarDate = function CalendarDate(props) {
20
+ var _useState = useState(''),
21
+ _useState2 = _slicedToArray(_useState, 2),
22
+ currentDate = _useState2[0],
23
+ setCurrentDate = _useState2[1];
24
+ // 生成7天的时间列表
25
+ var _useState3 = useState([]),
26
+ _useState4 = _slicedToArray(_useState3, 2),
27
+ dateMonthList = _useState4[0],
28
+ setDateMonthList = _useState4[1];
29
+ // 切换的月份
30
+ var _useState5 = useState(function () {
31
+ return Dayjs();
32
+ }),
33
+ _useState6 = _slicedToArray(_useState5, 2),
34
+ currentMonth = _useState6[0],
35
+ setCurrentMonth = _useState6[1];
36
+
37
+ // 计算开始渲染的列
38
+ var startingColumn = 0 % 7; // 0 表示星期日
39
+ var columns = Array.from({
40
+ length: 7
41
+ }, function (_, index) {
42
+ return (index + 7 - startingColumn) % 7;
43
+ });
44
+
45
+ /**
46
+ * @title: 获取当前月日期
47
+ * @description:
48
+ * @param {*}
49
+ * @return {*}
50
+ * @Author: 严文强
51
+ * @Date: 2024-02-01 20:30
52
+ */
53
+ var getMonthData = function getMonthData(date) {
54
+ var firstDay = Dayjs("".concat(date, "-01"));
55
+ var startDay = firstDay.day(); // 获取本月1号是星期几
56
+ var daysInMonth = firstDay.daysInMonth(); // 获取本月总天数
57
+ var monthData = [];
58
+ // 填充前面的空白
59
+ for (var i = 0; i < startDay; i++) {
60
+ monthData.push({
61
+ day: -1,
62
+ // 表示前一个月的日期
63
+ date: Dayjs(firstDay).subtract(startDay - i, 'day').toDate()
64
+ });
65
+ }
66
+
67
+ // 填充本月的日期
68
+ for (var _i = 1; _i <= daysInMonth; _i++) {
69
+ monthData.push({
70
+ day: _i,
71
+ date: firstDay.date(_i).format('YYYY-MM-DD')
72
+ });
73
+ }
74
+ return monthData;
75
+ };
76
+
77
+ /**
78
+ * @title: 计算是否已经切换到当前月,如果是则禁止继续点击上一个月
79
+ * @description:
80
+ * @param {*}
81
+ * @return {*}
82
+ * @Author: 严文强
83
+ * @Date: 2024-02-01 19:27
84
+ */
85
+ var lastMonthDisable = function lastMonthDisable() {
86
+ var newCurrentMonth = currentMonth.format('YYYY-MM');
87
+ var lastDate = Dayjs(newCurrentMonth).subtract(1, 'month');
88
+ return lastDate.isBefore(Dayjs(), 'month');
89
+ };
90
+
91
+ /**
92
+ * @title: 切换上个月
93
+ * @description:
94
+ * @param {*}
95
+ * @return {*}
96
+ * @Author: 严文强
97
+ * @Date: 2024-02-01 19:15
98
+ */
99
+ var lastMonth = function lastMonth() {
100
+ var currentLastText = currentMonth.format('YYYY-MM');
101
+ var newLastMonth = Dayjs(currentLastText).subtract(1, 'month');
102
+ setCurrentMonth(newLastMonth);
103
+ setDateMonthList(getMonthData(newLastMonth.format('YYYY-MM')));
104
+ };
105
+
106
+ /**
107
+ * @title: 切换下个月
108
+ * @description:
109
+ * @param {*}
110
+ * @return {*}
111
+ * @Author: 严文强
112
+ * @Date: 2024-02-01 19:15
113
+ */
114
+ var nextMonth = function nextMonth() {
115
+ var currentMonthText = currentMonth.format('YYYY-MM');
116
+ var newNextMonth = Dayjs(currentMonthText).add(1, 'month');
117
+ setCurrentMonth(newNextMonth);
118
+ setDateMonthList(getMonthData(newNextMonth.format('YYYY-MM')));
119
+ };
120
+ useEffect(function () {
121
+ var date = '2025-04-25';
122
+ var daysText = Dayjs(date).format('YYYY-MM');
123
+ setDateMonthList(getMonthData(daysText));
124
+ }, []);
125
+ return /*#__PURE__*/React.createElement("div", {
126
+ className: 'calendar-date-box'
127
+ }, /*#__PURE__*/React.createElement("div", {
128
+ className: 'calendar-header'
129
+ }, /*#__PURE__*/React.createElement("div", {
130
+ className: classNames('calendar-last-month', _defineProperty({}, 'last-month-disabled', lastMonthDisable())),
131
+ onClick: function onClick() {
132
+ if (lastMonthDisable()) return;
133
+ lastMonth();
134
+ }
135
+ }, /*#__PURE__*/React.createElement(CaretLeftOutlined, null)), /*#__PURE__*/React.createElement("div", {
136
+ className: 'calendar-current-month'
137
+ }, currentMonth.format('MMMM YYYY')), /*#__PURE__*/React.createElement("div", {
138
+ className: 'calendar-next-month',
139
+ onClick: nextMonth
140
+ }, /*#__PURE__*/React.createElement(CaretRightOutlined, null))), /*#__PURE__*/React.createElement("div", {
141
+ className: 'calendar-content'
142
+ }, /*#__PURE__*/React.createElement("div", {
143
+ className: 'calendar-weeks'
144
+ }, columns.map(function (col) {
145
+ return /*#__PURE__*/React.createElement("div", {
146
+ key: col,
147
+ className: 'calendar-weeks-items'
148
+ }, weekListText[Number(col)]);
149
+ })), /*#__PURE__*/React.createElement("div", {
150
+ className: 'calendar-days'
151
+ }, dateMonthList.map(function (day, index) {
152
+ var date = Dayjs(day.date).format('YYYY-MM-DD');
153
+ var isCurrentMonth = Dayjs(day.date).isSame(currentMonth, 'month');
154
+ return /*#__PURE__*/React.createElement("div", {
155
+ key: index,
156
+ className: classNames('calendar-days-items', _defineProperty(_defineProperty(_defineProperty({}, 'disabledDate', day === null || day === void 0 ? void 0 : day.disabled), 'selectDate', currentDate === date), 'other-month-days', !isCurrentMonth)),
157
+ onClick: function onClick() {
158
+ console.log(day, 'wh987976');
159
+ !(day !== null && day !== void 0 && day.disabled) && setCurrentDate(date);
160
+ }
161
+ }, isCurrentMonth && /*#__PURE__*/React.createElement("div", {
162
+ className: classNames('day-text', {
163
+ // ['day-line']: !disabled,
164
+ })
165
+ }, Dayjs(day.date).format('D')));
166
+ }))));
167
+ };
168
+ export default CalendarDate;
@@ -1,34 +1,45 @@
1
- .calendar-box {
1
+ .calendar-date-box {
2
2
  display: flex;
3
3
  flex-direction: column;
4
+ gap: 32px;
5
+ user-select: none;
4
6
 
5
7
  .calendar-header {
6
8
  display: flex;
7
9
  align-items: center;
8
- justify-content: space-between;
10
+ justify-content: space-evenly;
9
11
 
10
12
  .calendar-last-month,
11
13
  .calendar-next-month {
12
14
  display: flex;
15
+ padding: 6px;
13
16
  justify-content: center;
14
17
  align-items: center;
15
- font-size: 20px;
18
+ gap: 8px;
19
+ border-radius: 8px;
20
+ border: 1px solid #d0d5dd;
21
+ cursor: pointer;
22
+ }
23
+
24
+ .last-month-disabled {
25
+ border-radius: 8px;
26
+ background: #eaecf0;
16
27
  cursor: pointer;
17
28
  }
18
29
 
19
30
  .calendar-current-month {
31
+ width: 250px;
20
32
  text-align: center;
21
33
  color: #101828;
34
+ font-size: 30px;
35
+ font-style: normal;
22
36
  font-weight: 600;
23
- flex: 1;
24
- font-size: 16px;
25
- font-weight: 600;
26
- line-height: 24px;
37
+ line-height: 38px;
38
+ /* 126.667% */
27
39
  }
28
40
  }
29
41
 
30
42
  .calendar-content {
31
- margin: 10px 0 20px;
32
43
  display: flex;
33
44
  flex-direction: column;
34
45
  gap: 16px;
@@ -52,7 +63,7 @@
52
63
  .calendar-days {
53
64
  display: grid;
54
65
  grid-template-columns: repeat(7, 1fr);
55
- gap: 12px;
66
+ gap: 8px;
56
67
  }
57
68
  }
58
69
  }
@@ -80,16 +91,18 @@
80
91
  justify-content: center;
81
92
  color: #101828;
82
93
  text-align: center;
94
+ /* Text md/Medium */
83
95
  font-size: 16px;
84
96
  font-style: normal;
85
- font-weight: 500;
97
+ font-weight: bold;
86
98
  line-height: 24px;
99
+ /* 150% */
87
100
 
88
101
  &.day-line::before {
89
102
  position: absolute;
90
103
  bottom: 12px;
91
104
  content: '';
92
- width: 24px;
105
+ width: 28px;
93
106
  height: 4px;
94
107
  flex-shrink: 0;
95
108
  border-radius: 2px;
@@ -98,10 +111,8 @@
98
111
  }
99
112
 
100
113
  &.disabledDate {
101
- // border: 1px solid #eaecf0;
102
- cursor: pointer;
103
- background: var(--Gray-100, #f2f4f7);
104
- border: none;
114
+ background: #eaecf0;
115
+ cursor: not-allowed;
105
116
  }
106
117
 
107
118
  &.disabledSelect {
@@ -109,7 +120,7 @@
109
120
  }
110
121
 
111
122
  &.selectDate {
112
- border: 2px solid var(--Primary-600, #7f56d9);
123
+ border: 2px solid #7f56d9;
113
124
  }
114
125
 
115
126
  &.other-month-days {
@@ -38,7 +38,6 @@ export declare const statusColor: {
38
38
  lots_of_space: string;
39
39
  filling_up_fast: string;
40
40
  sold_out: string;
41
- unavailable: string;
42
41
  };
43
42
  /**
44
43
  * @title: 根据预约量数据判断当前状态
@@ -61,13 +61,11 @@ export var weekListText = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
61
61
  export var statusColor = {
62
62
  call_to_book: '#444CE7',
63
63
  // 请致电预订
64
- lots_of_space: '#099250',
64
+ lots_of_space: '#079455',
65
65
  // 库存充足
66
- filling_up_fast: '#EAAA08',
66
+ filling_up_fast: '#CA8504',
67
67
  // 库存紧张
68
- sold_out: '#D92D20',
69
- // 无库存
70
- unavailable: 'rgba(68, 76, 231, 0.00)' // 不可用
68
+ sold_out: '#D92D20' // 无库存
71
69
  };
72
70
 
73
71
  /**
@@ -82,7 +80,6 @@ export var getStatus = function getStatus(dateLimit, currentDate, cutTime) {
82
80
  var status = '';
83
81
  var disabled = false;
84
82
  var dataItem = dateLimit[currentDate];
85
- console.log(currentDate);
86
83
  var startTime = Dayjs(cutTime === null || cutTime === void 0 ? void 0 : cutTime.shop_time).format('YYYY-MM-DD HH:mm');
87
84
  var startDate = Dayjs(cutTime === null || cutTime === void 0 ? void 0 : cutTime.shop_time).format('YYYY-MM-DD');
88
85
  var endTime = Dayjs(startTime).add(cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit, cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit_type);
@@ -95,29 +92,6 @@ export var getStatus = function getStatus(dateLimit, currentDate, cutTime) {
95
92
  disabled: true
96
93
  };
97
94
  }
98
-
99
- // 如果当天 大于最早的可用时间的天 禁止
100
- // if (currentDate > endDay) {
101
- // return {
102
- // status,
103
- // disabled: true,
104
- // };
105
- // }
106
-
107
- // //如果当天 等于 最早可用时间的天, 则找times里的最早开始时间是否小于 店铺的最早可用时间
108
- // if (currentDate === startDate) {
109
- // let times = dataItem.times || [];
110
-
111
- // let useable = times.find((d: any) => {
112
- // return startTime < d.start_at;
113
- // });
114
- // if (!useable) {
115
- // return {
116
- // status,
117
- // disabled: true,
118
- // };
119
- // }
120
- // }
121
95
  } catch (err) {
122
96
  return {
123
97
  status: status,
@@ -213,20 +187,8 @@ export var getCallToBookStatus = function getCallToBookStatus(currentDate, dateL
213
187
  isShowCallToBook = false;
214
188
  return isShowCallToBook;
215
189
  }
216
- // currentDate在当前日期和截止日期之间
217
- // if (cutTime?.unit_type === 'days') {
218
- // if (
219
- // Dayjs(currentDate).isBefore(
220
- // Dayjs(Dayjs().format('YYYY-MM-DD')).add(cutTime?.unit, 'days')
221
- // )
222
- // ) {
223
- // isShowCallToBook = true;
224
- // } else {
225
- // isShowCallToBook = false;
226
- // }
227
- // }
228
190
  if ((cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit_type) === 'hours' || (cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit_type) === 'minutes' || (cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit_type) === 'days') {
229
- var startTime = Dayjs().format('YYYY-MM-DD HH:mm:ss');
191
+ var startTime = Dayjs(cutTime.shop_time).format('YYYY-MM-DD HH:mm:ss');
230
192
  var endTime = Dayjs(startTime).add(cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit, cutTime === null || cutTime === void 0 ? void 0 : cutTime.unit_type).format('YYYY-MM-DD HH:mm:ss');
231
193
  if (Dayjs(currentDate).isBefore(Dayjs(endTime.split(' ')[0]))) {
232
194
  isShowCallToBook = true;
@@ -7,42 +7,29 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React from 'react';
8
8
  import { SectionFooters, Button, Badge, Image } from '@pisell/materials';
9
9
  import { useState } from 'react';
10
- import { useCart, useHolder, useSummary } from "../../../../Sales";
11
- import SelectHolderModal from "../SelectHolderModal";
12
- import ContinueButton from "../Cart/ContinueButton";
13
- import shoppingCartSvg from "../../../assets/shopping-cart.svg";
14
- import Cart from "../Cart";
15
- import Total from "../Cart/Item/Total";
10
+ import ContinueButton from "../Provider/Cart/ContinueButton";
11
+ import shoppingCartSvg from "../../assets/shopping-cart.svg";
12
+ import { useAppointmentBooking, useAppointmentBookingCart } from "../../hooks";
13
+ import Cart from "../Provider/Cart";
14
+ import Total from "../Provider/Cart/Item/Total";
16
15
  import "./index.less";
17
16
  var Footer = function Footer() {
18
17
  var _cartData$cartItems;
19
- var _useHolder = useHolder(),
20
- open = _useHolder.open;
21
- var _useCart = useCart(),
22
- onOpenCart = _useCart.onOpenCart,
23
- openCart = _useCart.openCart,
24
- onCloseCart = _useCart.onCloseCart,
25
- cartData = _useCart.cartData;
26
- var _useSummary = useSummary(),
27
- total = _useSummary.total;
28
- // 当前本地选中的holder
29
- var _useState = useState(null),
18
+ var appointmentBooking = useAppointmentBooking();
19
+ var appointmentBookingCart = useAppointmentBookingCart();
20
+ var _useState = useState(false),
30
21
  _useState2 = _slicedToArray(_useState, 2),
31
- selectedItem = _useState2[0],
32
- setSelectedItem = _useState2[1];
22
+ open = _useState2[0],
23
+ setOpen = _useState2[1];
24
+ // const { open } = useHolder();
25
+ // const { onOpenCart, openCart, onCloseCart, cartData } = useCart();
26
+ // const { total } = useSummary();
27
+ var cartData = {
28
+ cartItems: [1, 2]
29
+ };
33
30
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SectionFooters, {
34
31
  className: "section-footer-wrap",
35
- left:
36
- /*#__PURE__*/
37
- // <div className="section-footer-left">
38
- // {/* <PisellText>{locales.getText('pisell2.event.total')}: </PisellText>
39
- // <PisellText.Amount
40
- // value={total}
41
- // showCurrencySymbol={true}
42
- // className="amount"
43
- // /> */}
44
- // </div>
45
- React.createElement(Total, {
32
+ left: /*#__PURE__*/React.createElement(Total, {
46
33
  className: "section-footer-left",
47
34
  isFooter: true
48
35
  }),
@@ -53,23 +40,17 @@ var Footer = function Footer() {
53
40
  }, /*#__PURE__*/React.createElement(Button, {
54
41
  size: "large",
55
42
  onClick: function onClick() {
56
- return onOpenCart();
43
+ return setOpen(true);
57
44
  },
58
45
  className: "section-footer-btn"
59
46
  }, /*#__PURE__*/React.createElement(Image, {
60
47
  src: shoppingCartSvg,
61
48
  preview: false
62
49
  }))), /*#__PURE__*/React.createElement(ContinueButton, null))
63
- }), /*#__PURE__*/React.createElement(SelectHolderModal, {
64
- open: open,
65
- selectedItem: selectedItem,
66
- onSelect: function onSelect(e) {
67
- setSelectedItem(e);
68
- }
69
50
  }), /*#__PURE__*/React.createElement(Cart, {
70
- open: openCart,
51
+ open: open,
71
52
  onCancel: function onCancel() {
72
- return onCloseCart();
53
+ return setOpen(false);
73
54
  }
74
55
  }));
75
56
  };
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import ProgressBar from "../../../eventBooking/components/progressBar";
3
+ import { useAppointmentBooking, useAppointmentBookingStep } from "../../hooks";
4
+ import "./index.less";
5
+ var Header = function Header() {
6
+ var _currentStep$step, _currentStep$step2;
7
+ var appointmentBooking = useAppointmentBooking();
8
+ var _useAppointmentBookin = useAppointmentBookingStep(),
9
+ currentStep = _useAppointmentBookin.currentStep;
10
+
11
+ /**
12
+ * @title: 返回
13
+ * @description:
14
+ * @return {*}
15
+ * @Author: WangHan
16
+ * @Date: 2025-01-18 22:28
17
+ */
18
+ var handleBack = function handleBack() {
19
+ appointmentBooking.back();
20
+ };
21
+
22
+ /**
23
+ * @title: 关闭页面
24
+ * @description:
25
+ * @return {*}
26
+ * @Author: WangHan
27
+ * @Date: 2025-01-22 13:43
28
+ */
29
+ var handleClose = function handleClose() {
30
+ appointmentBooking.close();
31
+ };
32
+ return /*#__PURE__*/React.createElement(ProgressBar, {
33
+ title: currentStep === null || currentStep === void 0 || (_currentStep$step = currentStep.step) === null || _currentStep$step === void 0 ? void 0 : _currentStep$step.title,
34
+ description: currentStep === null || currentStep === void 0 || (_currentStep$step2 = currentStep.step) === null || _currentStep$step2 === void 0 ? void 0 : _currentStep$step2.description,
35
+ showBack: (currentStep === null || currentStep === void 0 ? void 0 : currentStep.index) > 0,
36
+ onBack: function onBack() {
37
+ return handleBack();
38
+ },
39
+ onClose: function onClose() {
40
+ return handleClose();
41
+ }
42
+ });
43
+ };
44
+ export default Header;