@pisell/private-materials 3.2.11 → 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/{lib/components/parallelResourcBooking/components/Provider → es/components/appointmentBooking/components}/Content/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Content/index.js +78 -0
  14. package/es/components/appointmentBooking/components/Content/index.less +51 -0
  15. package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
  16. package/es/components/appointmentBooking/components/Date/index.js +168 -0
  17. package/es/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
  18. package/{lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → es/components/appointmentBooking/components/Date}/state.d.ts +0 -1
  19. package/es/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +4 -42
  20. package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -1
  21. package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.js +20 -39
  22. package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -1
  23. package/es/components/appointmentBooking/components/Header/index.js +44 -0
  24. package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Information/index.d.ts +0 -1
  25. package/es/components/appointmentBooking/components/Information/index.js +178 -0
  26. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  27. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +75 -107
  28. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -1
  29. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +18 -8
  30. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -1
  31. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +27 -22
  32. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/index.d.ts +0 -1
  33. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.d.ts +0 -1
  34. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.js +7 -8
  35. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  36. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -1
  37. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Information/index.d.ts +0 -1
  38. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  39. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -1
  40. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  41. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Resource/index.d.ts +0 -1
  42. package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -1
  43. package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Resource/index.d.ts +0 -1
  44. package/es/components/appointmentBooking/components/Resource/index.js +68 -0
  45. package/es/components/appointmentBooking/components/Resource/index.less +0 -0
  46. package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
  47. package/es/components/appointmentBooking/components/Services/index.js +205 -0
  48. package/es/components/appointmentBooking/components/Services/index.less +17 -0
  49. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  50. package/es/components/appointmentBooking/components/TimeSlicing/index.js +780 -0
  51. package/es/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
  52. package/es/components/appointmentBooking/hooks.d.ts +25 -0
  53. package/es/components/appointmentBooking/hooks.js +191 -0
  54. package/es/components/appointmentBooking/index.d.ts +3 -0
  55. package/es/components/appointmentBooking/index.js +25 -0
  56. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/index.less +5 -4
  57. package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/locales.d.ts +3 -0
  58. package/es/components/{parallelResourcBooking → appointmentBooking}/locales.js +6 -3
  59. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  60. package/es/components/booking/components/footer/index.d.ts +0 -1
  61. package/es/components/booking/deposit/index.d.ts +0 -1
  62. package/es/components/booking/forms/single/index.d.ts +0 -1
  63. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  64. package/es/components/booking/info/header/index.d.ts +0 -1
  65. package/es/components/booking/info/index.d.ts +0 -1
  66. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  67. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  68. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  69. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  70. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  71. package/es/components/eftpos/form/index.d.ts +0 -1
  72. package/es/components/eftpos/hooks.d.ts +0 -1
  73. package/es/components/eftpos/index.d.ts +0 -1
  74. package/es/components/eftpos/pos.d.ts +0 -1
  75. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  76. package/es/components/eftposPay/amount.d.ts +1 -1
  77. package/es/components/eftposPay/app.d.ts +0 -1
  78. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  79. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  80. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  81. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  82. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  83. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  84. package/es/components/eftposPay/device.d.ts +1 -1
  85. package/es/components/eftposPay/hooks.d.ts +1 -1
  86. package/es/components/eftposPay/index.d.ts +0 -1
  87. package/es/components/eftposPay/pay.d.ts +0 -1
  88. package/es/components/eftposPay/store/index.d.ts +1 -1
  89. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  90. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  91. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  92. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  93. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  94. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  95. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  96. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  97. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  100. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  101. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  102. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  103. package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
  104. package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
  105. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  106. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  107. package/es/components/eventBooking/index.d.ts +0 -1
  108. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  109. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  110. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  111. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  112. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  113. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  114. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  115. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  116. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  117. package/es/components/productExtension/index.d.ts +0 -1
  118. package/es/components/ruleSetting/index.d.ts +0 -1
  119. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  120. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  121. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  122. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  123. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  124. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  125. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  126. package/es/components/schedules/products/index.d.ts +0 -1
  127. package/es/components/schedules/resources/index.d.ts +0 -1
  128. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  129. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  130. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  131. package/es/components/schedules/schedules/index.d.ts +0 -1
  132. package/es/components/taxSelect/index.d.ts +0 -1
  133. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  134. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  135. package/es/hooks/useEngineContext.d.ts +1 -0
  136. package/es/hooks/useEngineContext.js +7 -0
  137. package/es/index.d.ts +1 -0
  138. package/es/index.js +2 -1
  139. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  140. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  141. package/lib/components/appointmentBooking/components/Content/index.js +94 -0
  142. package/lib/components/appointmentBooking/components/Content/index.less +51 -0
  143. package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
  144. package/lib/components/appointmentBooking/components/Date/index.js +141 -0
  145. package/lib/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
  146. package/{es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → lib/components/appointmentBooking/components/Date}/state.d.ts +0 -1
  147. package/lib/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +5 -8
  148. package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -1
  149. package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.js +15 -33
  150. package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -1
  151. package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.js +11 -31
  152. package/lib/components/appointmentBooking/components/Header/index.less +0 -0
  153. package/lib/components/appointmentBooking/components/Information/index.d.ts +3 -0
  154. package/lib/components/appointmentBooking/components/Information/index.js +151 -0
  155. package/lib/components/appointmentBooking/components/Information/index.less +92 -0
  156. package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  157. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +24 -65
  158. package/lib/components/appointmentBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  159. package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -1
  160. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +10 -13
  161. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -1
  162. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +18 -17
  163. package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/index.d.ts +0 -1
  164. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.js +1 -1
  165. package/lib/components/appointmentBooking/components/Provider/Content/index.d.ts +3 -0
  166. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.js +6 -6
  167. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  168. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +1 -1
  169. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -1
  170. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.js +1 -1
  171. package/lib/components/appointmentBooking/components/Provider/Information/index.d.ts +3 -0
  172. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Information/index.js +1 -1
  173. package/lib/components/appointmentBooking/components/Provider/Information/index.less +92 -0
  174. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  175. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +1 -1
  176. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -1
  177. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +1 -1
  178. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  179. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +1 -1
  180. package/lib/components/appointmentBooking/components/Provider/Resource/index.d.ts +3 -0
  181. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.js +1 -1
  182. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -1
  183. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +1 -1
  184. package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +1 -1
  185. package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
  186. package/lib/components/appointmentBooking/components/Resource/index.js +99 -0
  187. package/lib/components/appointmentBooking/components/Resource/index.less +0 -0
  188. package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
  189. package/lib/components/appointmentBooking/components/Services/index.js +255 -0
  190. package/lib/components/appointmentBooking/components/Services/index.less +17 -0
  191. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  192. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +990 -0
  193. package/lib/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
  194. package/lib/components/appointmentBooking/hooks.d.ts +25 -0
  195. package/lib/components/appointmentBooking/hooks.js +154 -0
  196. package/lib/components/appointmentBooking/index.d.ts +3 -0
  197. package/lib/components/{parallelResourcBooking → appointmentBooking}/index.js +19 -32
  198. package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/index.less +5 -4
  199. package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/locales.d.ts +3 -0
  200. package/lib/components/{parallelResourcBooking → appointmentBooking}/locales.js +7 -4
  201. package/lib/components/{parallelResourcBooking → appointmentBooking}/mock.js +1 -1
  202. package/lib/components/{parallelResourcBooking → appointmentBooking}/status.js +1 -1
  203. package/lib/components/{parallelResourcBooking → appointmentBooking}/type.js +1 -1
  204. package/lib/components/{parallelResourcBooking → appointmentBooking}/utils.js +1 -1
  205. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  206. package/lib/components/booking/components/footer/index.d.ts +0 -1
  207. package/lib/components/booking/deposit/index.d.ts +0 -1
  208. package/lib/components/booking/forms/single/index.d.ts +0 -1
  209. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  210. package/lib/components/booking/info/header/index.d.ts +0 -1
  211. package/lib/components/booking/info/index.d.ts +0 -1
  212. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  213. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  214. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  215. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  216. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  217. package/lib/components/eftpos/form/index.d.ts +0 -1
  218. package/lib/components/eftpos/hooks.d.ts +0 -1
  219. package/lib/components/eftpos/index.d.ts +0 -1
  220. package/lib/components/eftpos/pos.d.ts +0 -1
  221. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  222. package/lib/components/eftposPay/amount.d.ts +1 -1
  223. package/lib/components/eftposPay/app.d.ts +0 -1
  224. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  225. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  226. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  227. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  228. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  229. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  230. package/lib/components/eftposPay/device.d.ts +1 -1
  231. package/lib/components/eftposPay/hooks.d.ts +1 -1
  232. package/lib/components/eftposPay/index.d.ts +0 -1
  233. package/lib/components/eftposPay/pay.d.ts +0 -1
  234. package/lib/components/eftposPay/store/index.d.ts +1 -1
  235. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  236. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  237. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  238. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  239. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  240. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  241. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  242. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  243. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  244. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  245. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  246. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  247. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  248. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  249. package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
  250. package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
  251. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  253. package/lib/components/eventBooking/index.d.ts +0 -1
  254. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  255. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  256. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  257. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  258. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  259. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  260. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  261. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  262. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  263. package/lib/components/productExtension/index.d.ts +0 -1
  264. package/lib/components/ruleSetting/index.d.ts +0 -1
  265. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  266. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  267. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  268. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  269. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  270. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  271. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  272. package/lib/components/schedules/products/index.d.ts +0 -1
  273. package/lib/components/schedules/resources/index.d.ts +0 -1
  274. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  275. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  276. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  277. package/lib/components/schedules/schedules/index.d.ts +0 -1
  278. package/lib/components/taxSelect/index.d.ts +0 -1
  279. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  280. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  281. package/lib/hooks/useEngineContext.d.ts +1 -0
  282. package/lib/hooks/useEngineContext.js +14 -1
  283. package/lib/index.d.ts +1 -0
  284. package/lib/index.js +3 -0
  285. package/lowcode/parallel-resource-booking/meta.ts +69 -0
  286. package/package.json +2 -2
  287. package/es/components/parallelResourcBooking/components/ErrorTip/index.d.ts +0 -4
  288. package/es/components/parallelResourcBooking/components/ErrorTip/index.js +0 -14
  289. package/es/components/parallelResourcBooking/components/ErrorTip/index.less +0 -51
  290. package/es/components/parallelResourcBooking/components/OpenCard/index.d.ts +0 -4
  291. package/es/components/parallelResourcBooking/components/OpenCard/index.js +0 -65
  292. package/es/components/parallelResourcBooking/components/OpenCard/index.less +0 -52
  293. package/es/components/parallelResourcBooking/components/Provider/Header/index.js +0 -75
  294. package/es/components/parallelResourcBooking/components/Provider/Header/index.less +0 -2
  295. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
  296. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
  297. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  298. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  299. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
  300. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  301. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
  302. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
  303. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  304. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
  305. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
  306. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  307. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
  308. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
  309. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  310. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
  311. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
  312. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  313. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
  314. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
  315. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  316. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  317. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
  318. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  319. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
  320. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  321. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  322. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +0 -36
  323. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  324. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  325. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  326. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
  327. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
  328. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
  329. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +0 -33
  330. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
  331. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +0 -30
  332. package/es/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +0 -7
  333. package/es/components/parallelResourcBooking/components/bookingDetailModal/index.js +0 -337
  334. package/es/components/parallelResourcBooking/components/bookingDetailModal/index.less +0 -82
  335. package/es/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +0 -17
  336. package/es/components/parallelResourcBooking/components/bookingServiceList/index.js +0 -52
  337. package/es/components/parallelResourcBooking/components/bookingServiceList/index.less +0 -6
  338. package/es/components/parallelResourcBooking/components/eventCard/index.d.ts +0 -14
  339. package/es/components/parallelResourcBooking/components/eventCard/index.js +0 -116
  340. package/es/components/parallelResourcBooking/components/eventCard/index.less +0 -81
  341. package/es/components/parallelResourcBooking/components/productCard/index.d.ts +0 -16
  342. package/es/components/parallelResourcBooking/components/productCard/index.js +0 -79
  343. package/es/components/parallelResourcBooking/components/productCard/index.less +0 -60
  344. package/es/components/parallelResourcBooking/components/progressBar/index.d.ts +0 -16
  345. package/es/components/parallelResourcBooking/components/progressBar/index.js +0 -93
  346. package/es/components/parallelResourcBooking/components/progressBar/index.less +0 -15
  347. package/es/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +0 -23
  348. package/es/components/parallelResourcBooking/components/resourceDisplay/index.js +0 -148
  349. package/es/components/parallelResourcBooking/components/resourceDisplay/index.less +0 -95
  350. package/es/components/parallelResourcBooking/components/resourceUsability/index.d.ts +0 -12
  351. package/es/components/parallelResourcBooking/components/resourceUsability/index.js +0 -44
  352. package/es/components/parallelResourcBooking/components/resourceUsability/index.less +0 -40
  353. package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
  354. package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
  355. package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  356. package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
  357. package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +0 -127
  358. package/es/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +0 -13
  359. package/es/components/parallelResourcBooking/components/scheduleCalendar/index.js +0 -142
  360. package/es/components/parallelResourcBooking/components/scheduleCalendar/index.less +0 -222
  361. package/es/components/parallelResourcBooking/components/selectHolder/index.d.ts +0 -22
  362. package/es/components/parallelResourcBooking/components/selectHolder/index.js +0 -118
  363. package/es/components/parallelResourcBooking/components/selectHolder/index.less +0 -70
  364. package/es/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +0 -20
  365. package/es/components/parallelResourcBooking/components/timeResourceSelector/index.js +0 -168
  366. package/es/components/parallelResourcBooking/components/timeResourceSelector/index.less +0 -74
  367. package/es/components/parallelResourcBooking/index.d.ts +0 -4
  368. package/es/components/parallelResourcBooking/index.js +0 -58
  369. package/lib/components/parallelResourcBooking/components/ErrorTip/index.d.ts +0 -4
  370. package/lib/components/parallelResourcBooking/components/ErrorTip/index.js +0 -30
  371. package/lib/components/parallelResourcBooking/components/ErrorTip/index.less +0 -51
  372. package/lib/components/parallelResourcBooking/components/OpenCard/index.d.ts +0 -4
  373. package/lib/components/parallelResourcBooking/components/OpenCard/index.js +0 -90
  374. package/lib/components/parallelResourcBooking/components/OpenCard/index.less +0 -52
  375. package/lib/components/parallelResourcBooking/components/Provider/Header/index.less +0 -2
  376. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
  377. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
  378. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  379. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  380. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
  381. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  382. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
  383. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
  384. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  385. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
  386. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
  387. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  388. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
  389. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
  390. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  391. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
  392. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
  393. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  394. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
  395. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
  396. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  397. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  398. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
  399. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  400. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
  401. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  402. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  403. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +0 -70
  404. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  405. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  406. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  407. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
  408. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
  409. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
  410. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +0 -66
  411. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
  412. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +0 -69
  413. package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +0 -7
  414. package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.js +0 -248
  415. package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.less +0 -82
  416. package/lib/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +0 -17
  417. package/lib/components/parallelResourcBooking/components/bookingServiceList/index.js +0 -79
  418. package/lib/components/parallelResourcBooking/components/bookingServiceList/index.less +0 -6
  419. package/lib/components/parallelResourcBooking/components/eventCard/index.d.ts +0 -14
  420. package/lib/components/parallelResourcBooking/components/eventCard/index.js +0 -124
  421. package/lib/components/parallelResourcBooking/components/eventCard/index.less +0 -81
  422. package/lib/components/parallelResourcBooking/components/productCard/index.d.ts +0 -16
  423. package/lib/components/parallelResourcBooking/components/productCard/index.js +0 -77
  424. package/lib/components/parallelResourcBooking/components/productCard/index.less +0 -60
  425. package/lib/components/parallelResourcBooking/components/progressBar/index.d.ts +0 -16
  426. package/lib/components/parallelResourcBooking/components/progressBar/index.js +0 -100
  427. package/lib/components/parallelResourcBooking/components/progressBar/index.less +0 -15
  428. package/lib/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +0 -23
  429. package/lib/components/parallelResourcBooking/components/resourceDisplay/index.js +0 -116
  430. package/lib/components/parallelResourcBooking/components/resourceDisplay/index.less +0 -95
  431. package/lib/components/parallelResourcBooking/components/resourceUsability/index.d.ts +0 -12
  432. package/lib/components/parallelResourcBooking/components/resourceUsability/index.js +0 -76
  433. package/lib/components/parallelResourcBooking/components/resourceUsability/index.less +0 -40
  434. package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
  435. package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
  436. package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  437. package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
  438. package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +0 -135
  439. package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +0 -13
  440. package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.js +0 -125
  441. package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.less +0 -222
  442. package/lib/components/parallelResourcBooking/components/selectHolder/index.d.ts +0 -22
  443. package/lib/components/parallelResourcBooking/components/selectHolder/index.js +0 -106
  444. package/lib/components/parallelResourcBooking/components/selectHolder/index.less +0 -70
  445. package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +0 -20
  446. package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.js +0 -146
  447. package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.less +0 -74
  448. package/lib/components/parallelResourcBooking/index.d.ts +0 -4
  449. /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/alert-circle.png +0 -0
  450. /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
  451. /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/compass.svg +0 -0
  452. /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/image.svg +0 -0
  453. /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/phone.svg +0 -0
  454. /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
  455. /package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
  456. /package/es/components/{parallelResourcBooking/components/Provider/Cart/ContinueButton → appointmentBooking/components/Header}/index.less +0 -0
  457. /package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Information/index.less +0 -0
  458. /package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.less +0 -0
  459. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
  460. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.js +0 -0
  461. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
  462. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
  463. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +0 -0
  464. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
  465. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.js +0 -0
  466. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
  467. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Information/index.js +0 -0
  468. /package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Information/index.less +0 -0
  469. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +0 -0
  470. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
  471. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +0 -0
  472. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
  473. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +0 -0
  474. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.js +0 -0
  475. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
  476. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +0 -0
  477. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
  478. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +0 -0
  479. /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
  480. /package/es/components/{parallelResourcBooking → appointmentBooking}/mock.d.ts +0 -0
  481. /package/es/components/{parallelResourcBooking → appointmentBooking}/mock.js +0 -0
  482. /package/es/components/{parallelResourcBooking → appointmentBooking}/status.d.ts +0 -0
  483. /package/es/components/{parallelResourcBooking → appointmentBooking}/status.js +0 -0
  484. /package/es/components/{parallelResourcBooking → appointmentBooking}/type.d.ts +0 -0
  485. /package/es/components/{parallelResourcBooking → appointmentBooking}/type.js +0 -0
  486. /package/es/components/{parallelResourcBooking → appointmentBooking}/utils.d.ts +0 -0
  487. /package/es/components/{parallelResourcBooking → appointmentBooking}/utils.js +0 -0
  488. /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/alert-circle.png +0 -0
  489. /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
  490. /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/compass.svg +0 -0
  491. /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/image.svg +0 -0
  492. /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/phone.svg +0 -0
  493. /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
  494. /package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
  495. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
  496. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
  497. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
  498. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
  499. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
  500. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
  501. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
  502. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
  503. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
  504. /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
  505. /package/lib/components/{parallelResourcBooking → appointmentBooking}/mock.d.ts +0 -0
  506. /package/lib/components/{parallelResourcBooking → appointmentBooking}/status.d.ts +0 -0
  507. /package/lib/components/{parallelResourcBooking → appointmentBooking}/type.d.ts +0 -0
  508. /package/lib/components/{parallelResourcBooking → appointmentBooking}/utils.d.ts +0 -0
@@ -0,0 +1,178 @@
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, { useState } from 'react';
8
+ import { Dropdown } from 'antd';
9
+ import { Button, Iconfont, PisellCard, PisellAvatar } from '@pisell/materials';
10
+ import { locales, isMobile } from '@pisell/utils';
11
+ import { useCart, useHolder, useStep } from "../../../Sales";
12
+ import SelectHolderModal from "../Provider/SelectHolderModal";
13
+ import InformationOptionsModal from "../Provider/InformationOptionsModal/index";
14
+ import RemoveOptionConfirmModal from "../Provider/RemoveOptionConfirmModal";
15
+ import "./index.less";
16
+ var Information = function Information() {
17
+ var _useHolder = useHolder(),
18
+ onHolderOpen = _useHolder.onHolderOpen,
19
+ open = _useHolder.open;
20
+ var _useCart = useCart(),
21
+ cartDataHolderList = _useCart.cartDataHolderList;
22
+ var _useHolder2 = useHolder(),
23
+ selectHolder = _useHolder2.selectHolder,
24
+ deleteHolderById = _useHolder2.deleteHolderById;
25
+ var _useStep = useStep(),
26
+ prevStep = _useStep.prevStep;
27
+ var _useState = useState(false),
28
+ _useState2 = _slicedToArray(_useState, 2),
29
+ openOption = _useState2[0],
30
+ setOpenOption = _useState2[1];
31
+ // 编辑哪个holder
32
+ var _useState3 = useState(null),
33
+ _useState4 = _slicedToArray(_useState3, 2),
34
+ holderItem = _useState4[0],
35
+ setHolderItem = _useState4[1];
36
+ // 移除确认
37
+ var _useState5 = useState(false),
38
+ _useState6 = _slicedToArray(_useState5, 2),
39
+ removeOpen = _useState6[0],
40
+ setRemoveOpen = _useState6[1];
41
+
42
+ /**
43
+ * @title: 选项
44
+ * @description:
45
+ * @return {*}
46
+ * @Author: WangHan
47
+ * @Date: 2025-01-19 10:44
48
+ */
49
+ var options = [{
50
+ key: 'edit',
51
+ label: /*#__PURE__*/React.createElement("span", {
52
+ className: "dropdown-menu-item"
53
+ }, locales.getText('pisell2.event.edit.event'))
54
+ }, {
55
+ key: 'remove',
56
+ label: /*#__PURE__*/React.createElement("span", {
57
+ className: 'dropdown-menu-item dropdown-menu-remove-item'
58
+ }, locales.getText('pisell2.event.remove'))
59
+ }];
60
+
61
+ /**
62
+ * @title: 点击item触发
63
+ * @description:
64
+ * @param {string} key
65
+ * @return {*}
66
+ * @Author: WangHan
67
+ * @Date: 2025-01-18 16:14
68
+ */
69
+ var handleClick = function handleClick(_ref, item) {
70
+ var key = _ref.key;
71
+ // 编辑holder
72
+ if (key === 'edit') {
73
+ selectHolder(item || holderItem, 'createCartItem');
74
+ prevStep();
75
+ return;
76
+ }
77
+
78
+ // 移除holder
79
+ setRemoveOpen(true);
80
+ };
81
+
82
+ /**
83
+ * @title: 渲染options
84
+ * @description:
85
+ * @param {any} item
86
+ * @return {*}
87
+ * @Author: WangHan
88
+ * @Date: 2025-01-19 11:44
89
+ */
90
+ var renderOptionButton = function renderOptionButton(item) {
91
+ if (isMobile()) {
92
+ return /*#__PURE__*/React.createElement(Button, {
93
+ size: "large",
94
+ onClick: function onClick() {
95
+ setHolderItem(item);
96
+ setOpenOption(true);
97
+ }
98
+ }, locales.getText('pisell2.event.option'));
99
+ }
100
+ return /*#__PURE__*/React.createElement(Dropdown, {
101
+ menu: {
102
+ items: options,
103
+ onClick: function onClick(e) {
104
+ setHolderItem(item);
105
+ handleClick(e, item);
106
+ }
107
+ },
108
+ placement: "bottomRight",
109
+ overlayClassName: "provider-information-custom-dropdown-menu"
110
+ }, /*#__PURE__*/React.createElement(Button, null, locales.getText('pisell2.event.option')));
111
+ };
112
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
113
+ className: "provider-information-wrap"
114
+ }, /*#__PURE__*/React.createElement("span", {
115
+ className: "title"
116
+ }, locales.getText('pisell2.event.confirm.information.tip')), cartDataHolderList === null || cartDataHolderList === void 0 ? void 0 : cartDataHolderList.map(function (item) {
117
+ var _item$children;
118
+ return /*#__PURE__*/React.createElement(PisellCard, {
119
+ key: item.id,
120
+ padding: 20,
121
+ className: "information-card",
122
+ isClickable: false
123
+ }, /*#__PURE__*/React.createElement("div", {
124
+ className: "information-header"
125
+ }, /*#__PURE__*/React.createElement("div", {
126
+ className: "information-left"
127
+ }, /*#__PURE__*/React.createElement(PisellAvatar, {
128
+ src: item.avatar,
129
+ size: "md"
130
+ }), /*#__PURE__*/React.createElement("div", {
131
+ className: "information-title"
132
+ }, /*#__PURE__*/React.createElement("span", null, item.name), /*#__PURE__*/React.createElement("span", {
133
+ className: "subtitle"
134
+ }, "".concat(locales.getText('pisell2.event.title')((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length))))), renderOptionButton(item)), item.children.map(function (child) {
135
+ return /*#__PURE__*/React.createElement("div", {
136
+ className: "child-wrap"
137
+ }, child.name);
138
+ }));
139
+ }), /*#__PURE__*/React.createElement("span", {
140
+ className: "add-tip"
141
+ }, locales.getText('pisell2.event.confirm.information.other')), /*#__PURE__*/React.createElement(Button, {
142
+ size: "large",
143
+ style: {
144
+ width: 'max-content'
145
+ },
146
+ onClick: function onClick() {
147
+ onHolderOpen();
148
+ },
149
+ className: "provider-information-add-button"
150
+ }, /*#__PURE__*/React.createElement(Iconfont, {
151
+ type: "pisell2-plus",
152
+ style: {
153
+ fontSize: '20px'
154
+ }
155
+ }), locales.getText('pisell2.event.add.others'))), /*#__PURE__*/React.createElement(SelectHolderModal, {
156
+ open: open,
157
+ type: "create"
158
+ }), /*#__PURE__*/React.createElement(InformationOptionsModal, {
159
+ options: options,
160
+ open: openOption,
161
+ holderItem: holderItem,
162
+ onCancel: function onCancel() {
163
+ return setOpenOption(false);
164
+ },
165
+ onClick: handleClick
166
+ }), /*#__PURE__*/React.createElement(RemoveOptionConfirmModal, {
167
+ removeOpen: removeOpen,
168
+ onCancel: function onCancel() {
169
+ return setRemoveOpen(false);
170
+ },
171
+ onOk: function onOk() {
172
+ deleteHolderById(holderItem.id);
173
+ setRemoveOpen(false);
174
+ setOpenOption(false);
175
+ }
176
+ }));
177
+ };
178
+ export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContinueButton: () => JSX.Element;
4
3
  export default ContinueButton;
@@ -11,34 +11,41 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import React, { useMemo, useState } from 'react';
12
12
  import { locales } from '@pisell/utils';
13
13
  import { Button, PisellToast } from '@pisell/materials';
14
- import { useCart, useHolder, useStep, useCheckout, useSales, useCustomer } from "../../../../../Sales";
14
+ // import {
15
+ // useCart,
16
+ // useHolder,
17
+ // useStep,
18
+ // useCheckout,
19
+ // useSales,
20
+ // useCustomer,
21
+ // } from '../../../../../Sales';
15
22
  import { formatValues } from "../../../../../Sales/Checkout/utils";
16
- import OrderProductModal from "../../OrderProductModal/index";
17
- import EmptyHolderModal from "../../EmptyHolderModal";
23
+ import useEngineContext from "../../../../../../hooks/useEngineContext";
24
+ import { useAppointmentBooking, useAppointmentBookingStep, useAppointmentBookingLogin } from "../../../../hooks";
18
25
  import "./index.less";
19
26
  var ContinueButton = function ContinueButton() {
20
27
  var _cartData$cartItems;
21
- var _useSales = useSales(),
22
- data = _useSales.data;
23
- var _useHolder = useHolder(),
24
- onHolderOpen = _useHolder.onHolderOpen;
25
- var _useCart = useCart(),
26
- checkHolder = _useCart.checkHolder,
27
- onCloseCart = _useCart.onCloseCart,
28
- cartData = _useCart.cartData,
29
- getWithoutCartItemsHolderNames = _useCart.getWithoutCartItemsHolderNames;
30
- var _useStep = useStep(),
31
- currentStepData = _useStep.currentStepData,
32
- nextStep = _useStep.nextStep,
33
- isLastStep = _useStep.isLastStep;
34
- var _useCheckout = useCheckout(),
35
- onCheckout = _useCheckout.onCheckout,
36
- createBooking = _useCheckout.createBooking,
37
- onCheckBeforeBooking = _useCheckout.onCheckBeforeBooking,
38
- checkBeforeBooking = _useCheckout.checkBeforeBooking;
39
- var _useCustomer = useCustomer(),
40
- openLoginModal = _useCustomer.openLoginModal,
41
- isLogin = _useCustomer.isLogin;
28
+ var context = useEngineContext();
29
+ // const { data } = useSales();
30
+ // const { onHolderOpen } = useHolder();
31
+ // const { checkHolder, onCloseCart, cartData, getWithoutCartItemsHolderNames } =
32
+ // useCart();
33
+ // const { currentStepData, nextStep, isLastStep } = useStep();
34
+ // const {
35
+ // onCheckout,
36
+ // createBooking,
37
+ // onCheckBeforeBooking,
38
+ // checkBeforeBooking,
39
+ // } = useCheckout();
40
+ // const { openLoginModal, isLogin } = useCustomer();
41
+ var utils = context.appHelper.utils || {};
42
+ var appointmentBooking = useAppointmentBooking();
43
+ var _useAppointmentBookin = useAppointmentBookingLogin(),
44
+ isLogin = _useAppointmentBookin.isLogin,
45
+ openLoginModal = _useAppointmentBookin.openLoginModal;
46
+ var _useAppointmentBookin2 = useAppointmentBookingStep(),
47
+ currentStep = _useAppointmentBookin2.currentStep,
48
+ isLastStep = _useAppointmentBookin2.isLastStep;
42
49
 
43
50
  // 下单之前是否检测失败
44
51
  var _useState = useState(false),
@@ -54,8 +61,19 @@ var ContinueButton = function ContinueButton() {
54
61
  _useState6 = _slicedToArray(_useState5, 2),
55
62
  openEmptyHolder = _useState6[0],
56
63
  setOpenEmptyHolder = _useState6[1];
57
- var _useSales2 = useSales(),
58
- removeSessionStorage = _useSales2.removeSessionStorage;
64
+ // const { removeSessionStorage } = useSales();
65
+
66
+ var data = {};
67
+ var currentStepData = {
68
+ key: 'select-event'
69
+ };
70
+ var createBooking = {
71
+ loading: false
72
+ };
73
+ var checkBeforeBooking = {
74
+ loading: false
75
+ };
76
+ var cartData = {};
59
77
 
60
78
  /**
61
79
  * @title: 下单
@@ -71,19 +89,18 @@ var ContinueButton = function ContinueButton() {
71
89
  while (1) switch (_context.prev = _context.next) {
72
90
  case 0:
73
91
  value = formatValues(data); // 如果检测成功,则直接下单
74
- _context.next = 3;
75
- return onCheckout(value);
76
- case 3:
77
- result = _context.sent;
78
- // 清空数据
92
+ // const result = await onCheckout(value);
93
+ result = {
94
+ success: true
95
+ }; // 清空数据
79
96
  if (result !== null && result !== void 0 && result.success) {
80
- removeSessionStorage();
97
+ // removeSessionStorage();
81
98
  } else {
82
99
  PisellToast({
83
100
  content: (result === null || result === void 0 || (_result$err = result.err) === null || _result$err === void 0 ? void 0 : _result$err.message) || ''
84
101
  });
85
102
  }
86
- case 5:
103
+ case 3:
87
104
  case "end":
88
105
  return _context.stop();
89
106
  }
@@ -106,18 +123,14 @@ var ContinueButton = function ContinueButton() {
106
123
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
107
124
  while (1) switch (_context2.prev = _context2.next) {
108
125
  case 0:
109
- onCloseCart();
110
- setOpenEmptyHolder(false);
111
-
112
- // 如果当前是确认信息页面,则到结算页面
113
126
  if (!isLastStep) {
114
- _context2.next = 4;
127
+ _context2.next = 2;
115
128
  break;
116
129
  }
117
130
  return _context2.abrupt("return", handleCheckout());
118
- case 4:
119
- nextStep();
120
- case 5:
131
+ case 2:
132
+ return _context2.abrupt("return", appointmentBooking.next());
133
+ case 3:
121
134
  case "end":
122
135
  return _context2.stop();
123
136
  }
@@ -136,19 +149,18 @@ var ContinueButton = function ContinueButton() {
136
149
  * @Date: 2025-02-08 14:00
137
150
  */
138
151
  var handleHolder = function handleHolder() {
139
- var isHolder = checkHolder();
140
- // 如果没有绑定holder,则打开绑定holder弹窗
141
- if (!isHolder) {
142
- onHolderOpen();
143
- return;
144
- }
145
-
146
- // 验证holder是否为空
147
- var emptyHolders = getWithoutCartItemsHolderNames();
148
- if ((emptyHolders === null || emptyHolders === void 0 ? void 0 : emptyHolders.length) > 0) {
149
- return setOpenEmptyHolder(true);
150
- }
151
- handleNextStep();
152
+ // const isHolder = checkHolder();
153
+ // // 如果没有绑定holder,则打开绑定holder弹窗
154
+ // if (!isHolder) {
155
+ // onHolderOpen();
156
+ // return;
157
+ // }
158
+ // // 验证holder是否为空
159
+ // const emptyHolders = getWithoutCartItemsHolderNames();
160
+ // if (emptyHolders?.length > 0) {
161
+ // return setOpenEmptyHolder(true);
162
+ // }
163
+ // handleNextStep();
152
164
  };
153
165
 
154
166
  /**
@@ -160,54 +172,25 @@ var ContinueButton = function ContinueButton() {
160
172
  */
161
173
  var handleContinue = /*#__PURE__*/function () {
162
174
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
163
- var value, checkRes, emptyHolders;
164
175
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
165
176
  while (1) switch (_context3.prev = _context3.next) {
166
177
  case 0:
167
- if (!isLastStep) {
168
- _context3.next = 14;
169
- break;
170
- }
171
- value = formatValues(data); // 检测商品是否可以下单
172
- _context3.next = 4;
173
- return onCheckBeforeBooking(value);
174
- case 4:
175
- checkRes = _context3.sent;
176
- if (!((checkRes === null || checkRes === void 0 ? void 0 : checkRes.result) === false)) {
177
- _context3.next = 9;
178
+ if (isLogin) {
179
+ _context3.next = 2;
178
180
  break;
179
181
  }
180
- setCheckedNumber(checkRes === null || checkRes === void 0 ? void 0 : checkRes.num);
181
- setOpenCheckout(true);
182
- return _context3.abrupt("return");
183
- case 9:
184
- // 验证holder是否为空
185
- emptyHolders = getWithoutCartItemsHolderNames();
186
- if (!((emptyHolders === null || emptyHolders === void 0 ? void 0 : emptyHolders.length) > 0)) {
187
- _context3.next = 12;
188
- break;
189
- }
190
- return _context3.abrupt("return", setOpenEmptyHolder(true));
191
- case 12:
192
- // 关闭购物车弹窗
193
- onCloseCart();
194
- return _context3.abrupt("return", handleCheckout());
195
- case 14:
196
- if (isLogin()) {
197
- _context3.next = 17;
198
- break;
199
- }
200
- onCloseCart();
201
182
  return _context3.abrupt("return", openLoginModal({
202
183
  callback: function callback(status) {
203
184
  if (status === 'success') {
204
- handleHolder();
185
+ // handleHolder();
186
+ handleNextStep();
205
187
  }
206
188
  }
207
189
  }));
208
- case 17:
209
- handleHolder();
210
- case 18:
190
+ case 2:
191
+ handleNextStep();
192
+ // handleHolder();
193
+ case 3:
211
194
  case "end":
212
195
  return _context3.stop();
213
196
  }
@@ -254,21 +237,6 @@ var ContinueButton = function ContinueButton() {
254
237
  return handleContinue();
255
238
  },
256
239
  loading: confirmLoading
257
- }, continueText), /*#__PURE__*/React.createElement(OrderProductModal, {
258
- open: openCheckout,
259
- type: "checkout",
260
- onCancel: function onCancel() {
261
- return setOpenCheckout(false);
262
- }
263
- }), /*#__PURE__*/React.createElement(EmptyHolderModal, {
264
- open: openEmptyHolder,
265
- lists: getWithoutCartItemsHolderNames(),
266
- onCancel: function onCancel() {
267
- return setOpenEmptyHolder(false);
268
- },
269
- onOk: function onOk() {
270
- return handleNextStep();
271
- }
272
- }));
240
+ }, continueText));
273
241
  };
274
242
  export default ContinueButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -5,21 +5,31 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
5
5
  import React from 'react';
6
6
  import { locales } from '@pisell/utils';
7
7
  import { PisellText } from '@pisell/materials';
8
- import { useSummary } from "../../../../../Sales";
8
+ // import { useCart, useHolder, useSummary, useStep } from '../../../../../Sales';
9
9
  import useEngineContext from "../../../../../../hooks/useEngineContext";
10
+ import { useAppointmentBooking } from "../../../../hooks";
10
11
  import "./index.less";
11
12
  import classNames from 'classnames';
12
13
  var Total = function Total(_ref) {
13
- var _context$appHelper, _context$appHelper$ge, _context$appHelper2, _context$appHelper2$g;
14
+ var _context$appHelper, _context$appHelper2, _context$appHelper2$g;
14
15
  var className = _ref.className,
15
16
  isFooter = _ref.isFooter;
16
- var _useSummary = useSummary(),
17
- taxTitle = _useSummary.taxTitle,
18
- totalTaxFee = _useSummary.totalTaxFee,
19
- isPriceIncludeTax = _useSummary.isPriceIncludeTax,
20
- total = _useSummary.total;
17
+ // const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = useSummary();
21
18
  var context = useEngineContext();
22
- console.log(taxTitle, isPriceIncludeTax, totalTaxFee, total, context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper$ge = _context$appHelper.getSymbolic) === null || _context$appHelper$ge === void 0 ? void 0 : _context$appHelper$ge.call(_context$appHelper), 'wh97978');
19
+ var appointmentBooking = useAppointmentBooking();
20
+ // console.log(
21
+ // taxTitle,
22
+ // isPriceIncludeTax,
23
+ // totalTaxFee,
24
+ // total,
25
+ // context?.appHelper?.utils?.getSymbolic?.(),
26
+ // 'wh97978'
27
+ // );
28
+ var taxTitle = 'GST';
29
+ var totalTaxFee = 0;
30
+ var isPriceIncludeTax = true;
31
+ var total = 0;
32
+ console.log(context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils, 'wh978976');
23
33
  return /*#__PURE__*/React.createElement("div", {
24
34
  className: "event-total-wrap ".concat(className)
25
35
  }, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /*#__PURE__*/React.createElement("div", {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,36 +1,43 @@
1
1
  import React from 'react';
2
2
  import { isMobile, locales } from '@pisell/utils';
3
3
  import ShoppingCart from "../../../../../shoppingCart";
4
- import { useCart, useHolder, useSummary, useStep } from "../../../../../Sales";
5
- import SelectHolderModal from "../../SelectHolderModal";
4
+ // import { useCart, useHolder, useSummary, useStep } from '../../../../../Sales';
5
+
6
6
  import ContinueButton from "../ContinueButton";
7
+ import { useAppointmentBookingCart, useAppointmentBookingAccount, useAppointmentBookingStep } from "../../../../hooks";
7
8
  import Total from "./Total";
8
9
  import "./index.less";
9
10
  var CartItem = function CartItem() {
10
- var _useHolder = useHolder(),
11
- open = _useHolder.open,
12
- holderData = _useHolder.holderData,
13
- selectedHolderIds = _useHolder.selectedHolderIds;
14
- var _useCart = useCart(),
15
- deleteCartItem = _useCart.deleteCartItem,
16
- deleteCartItemByHolder = _useCart.deleteCartItemByHolder,
17
- cartData = _useCart.cartData,
18
- addNoteToCartItem = _useCart.addNoteToCartItem;
19
- var _useSummary = useSummary(),
20
- subtotal = _useSummary.subtotal;
21
- var _useStep = useStep(),
22
- isLastStep = _useStep.isLastStep;
11
+ // const { open, holderData, selectedHolderIds } = useHolder();
12
+ // const {
13
+ // deleteCartItem,
14
+ // deleteCartItemByHolder,
15
+ // cartData,
16
+ // addNoteToCartItem,
17
+ // } = useCart();
18
+ // const { subtotal } = useSummary();
19
+ // const { isLastStep } = useStep();
20
+ var open = false;
21
+ var holderData = {};
22
+ var selectedHolderIds = [];
23
+ var cartData = {};
24
+ var appointmentBookingCart = useAppointmentBookingCart();
25
+ var appointmentBookingAccount = useAppointmentBookingAccount();
26
+ var appointmentBookingStep = useAppointmentBookingStep();
27
+ var products = appointmentBookingCart.products;
28
+ var isLastStep = appointmentBookingStep.isLastStep;
29
+ console.log(appointmentBookingCart, appointmentBookingAccount, 'whappointmentBookingCart');
23
30
  var handleClickCard = function handleClickCard(e, type, key) {
24
31
  if (type === 'note') {
25
- return addNoteToCartItem(e);
32
+ // return addNoteToCartItem(e);
26
33
  }
27
34
  console.log(e, type, key, 'wh9988767');
28
35
  // 删除
29
36
  if (type === 'delete') {
30
- return deleteCartItem(e);
37
+ // return deleteCartItem(e);
31
38
  }
32
39
  if (type === 'delete_holders') {
33
- return deleteCartItemByHolder(key);
40
+ // return deleteCartItemByHolder(key);
34
41
  }
35
42
  };
36
43
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -39,7 +46,7 @@ var CartItem = function CartItem() {
39
46
  className: "content"
40
47
  }, /*#__PURE__*/React.createElement(ShoppingCart, {
41
48
  productParams: {
42
- products: (cartData === null || cartData === void 0 ? void 0 : cartData.cartItems) || [],
49
+ products: products,
43
50
  hideAddBtn: false,
44
51
  holders: (holderData === null || holderData === void 0 ? void 0 : holderData.selectedHolderItems) || [],
45
52
  disabledEdit: isLastStep
@@ -56,8 +63,6 @@ var CartItem = function CartItem() {
56
63
  }
57
64
  })), /*#__PURE__*/React.createElement("div", {
58
65
  className: "event-footer"
59
- }, /*#__PURE__*/React.createElement(Total, null), /*#__PURE__*/React.createElement(ContinueButton, null))), /*#__PURE__*/React.createElement(SelectHolderModal, {
60
- open: open
61
- }));
66
+ }, /*#__PURE__*/React.createElement(Total, null), /*#__PURE__*/React.createElement(ContinueButton, null))));
62
67
  };
63
68
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,15 +1,16 @@
1
1
  import React, { useMemo, useEffect } from 'react';
2
- import { useStep } from "../../../../Sales";
2
+ // import { useStep } from '../../../../Sales';
3
3
  import { isMobile } from '@pisell/utils';
4
- import CartItem from "../Cart/Item";
5
4
  import Resource from "../Resource";
6
5
  import Event from "../Event";
7
6
  import Information from "../Information";
8
7
  import "./index.less";
9
8
  var Layout = function Layout() {
10
- var _useStep = useStep(),
11
- currentStepData = _useStep.currentStepData,
12
- isFirstStep = _useStep.isFirstStep;
9
+ // const { currentStepData, isFirstStep } = useStep();
10
+ var currentStepData = {
11
+ key: 'select-event'
12
+ };
13
+ var isFirstStep = false;
13
14
  useEffect(function () {
14
15
  window.scrollTo({
15
16
  top: 0,
@@ -58,8 +59,6 @@ var Layout = function Layout() {
58
59
  className: "event-content-wrap ".concat(isMobile() ? 'event-content-mobile-wrap' : '')
59
60
  }, /*#__PURE__*/React.createElement("div", {
60
61
  className: "event-content-left"
61
- }, Com), !isMobile() && !isFirstStep ? /*#__PURE__*/React.createElement("div", {
62
- className: "event-content-right"
63
- }, /*#__PURE__*/React.createElement(CartItem, null)) : null);
62
+ }, "content"));
64
63
  };
65
64
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;