@pisell/private-materials 3.2.12 → 3.2.14

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 (471) 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 +14 -18
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/booking/addons/index.js +7 -5
  13. package/es/components/booking/addons/model.d.ts +1 -10
  14. package/es/components/booking/components/footer/index.d.ts +0 -1
  15. package/es/components/booking/components/footer/utils.js +1 -3
  16. package/es/components/booking/deposit/index.d.ts +0 -1
  17. package/es/components/booking/forms/footer.d.ts +7 -0
  18. package/es/components/booking/forms/footer.js +88 -0
  19. package/es/components/booking/forms/index.d.ts +1 -1
  20. package/es/components/booking/forms/index.js +25 -20
  21. package/es/components/booking/forms/index.less +7 -0
  22. package/es/components/booking/forms/model.d.ts +1 -10
  23. package/es/components/booking/forms/sendModal/index.d.ts +27 -0
  24. package/es/components/booking/forms/sendModal/index.js +82 -0
  25. package/es/components/booking/forms/sendModal/index.less +9 -0
  26. package/es/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
  27. package/es/components/{parallelResourceBooking/components/Provider/Cart/ContinueButton/index.js → booking/forms/sendModal/useSendModal.js} +50 -245
  28. package/es/components/booking/forms/serve.d.ts +9 -0
  29. package/es/components/booking/forms/serve.js +20 -0
  30. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  31. package/es/components/booking/info/header/index.d.ts +0 -1
  32. package/es/components/booking/info/index.d.ts +0 -1
  33. package/es/components/booking/info/model.d.ts +1 -10
  34. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  35. package/es/components/booking/info/service/addService/index.js +3 -3
  36. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  37. package/es/components/booking/info/service/editService/index.js +58 -48
  38. package/es/components/booking/info/service2/utils.d.ts +1 -1
  39. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  40. package/es/components/booking/info2/service/addService/index.js +3 -2
  41. package/es/components/booking/info2/service/addService/utils.js +57 -5
  42. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  43. package/es/components/booking/info2/service/editService/Resources/index.js +20 -2
  44. package/es/components/booking/info2/service/editService/index.js +4 -3
  45. package/es/components/booking/info2/service/editService/utils.d.ts +4 -2
  46. package/es/components/booking/info2/service/editService/utils.js +18 -0
  47. package/es/components/booking/locales.d.ts +39 -0
  48. package/es/components/booking/locales.js +42 -3
  49. package/es/components/booking/model.d.ts +1 -9
  50. package/es/components/booking/notes/model.d.ts +1 -10
  51. package/es/components/booking/payments/model.d.ts +1 -10
  52. package/es/components/booking/utils.d.ts +2 -2
  53. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  54. package/es/components/eftposPay/amount.d.ts +1 -1
  55. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  56. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  57. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  58. package/es/components/eftposPay/device.d.ts +1 -1
  59. package/es/components/eftposPay/hooks.d.ts +2 -2
  60. package/es/components/eftposPay/index.d.ts +0 -1
  61. package/es/components/eftposPay/pay.d.ts +0 -1
  62. package/es/components/eftposPay/payo/config.d.ts +0 -1
  63. package/es/components/eftposPay/store/index.d.ts +5 -5
  64. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  67. package/es/components/eventBooking/index.d.ts +0 -1
  68. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  69. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  70. package/es/components/pay/toC/model.d.ts +1 -9
  71. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  72. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
  73. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  74. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  75. package/es/components/productExtension/index.d.ts +0 -1
  76. package/es/components/ruleSetting/index.d.ts +0 -1
  77. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  78. package/es/components/schedules/model.d.ts +1 -9
  79. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  80. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  81. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  82. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  83. package/es/components/taxSelect/index.d.ts +0 -1
  84. package/es/components/wallet/Detail/model.d.ts +1 -13
  85. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  86. package/es/components/wallet/PointCard/model.d.ts +1 -13
  87. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  88. package/es/components/wallet/Voucher/model.d.ts +1 -13
  89. package/es/components/wallet/model.d.ts +1 -9
  90. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  91. package/es/index.d.ts +0 -1
  92. package/es/index.js +1 -2
  93. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  94. package/lib/components/booking/addons/index.js +7 -5
  95. package/lib/components/booking/addons/model.d.ts +1 -10
  96. package/lib/components/booking/components/footer/index.d.ts +0 -1
  97. package/lib/components/booking/components/footer/utils.js +1 -3
  98. package/lib/components/booking/deposit/index.d.ts +0 -1
  99. package/lib/components/booking/forms/footer.d.ts +7 -0
  100. package/lib/components/booking/forms/footer.js +81 -0
  101. package/lib/components/booking/forms/index.d.ts +1 -1
  102. package/lib/components/booking/forms/index.js +4 -2
  103. package/lib/components/booking/forms/index.less +7 -0
  104. package/lib/components/booking/forms/model.d.ts +1 -10
  105. package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
  106. package/lib/components/booking/forms/sendModal/index.js +128 -0
  107. package/lib/components/booking/forms/sendModal/index.less +9 -0
  108. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
  109. package/lib/components/booking/forms/sendModal/useSendModal.js +70 -0
  110. package/lib/components/booking/forms/serve.d.ts +9 -0
  111. package/lib/components/booking/forms/serve.js +5 -2
  112. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  113. package/lib/components/booking/info/header/index.d.ts +0 -1
  114. package/lib/components/booking/info/index.d.ts +0 -1
  115. package/lib/components/booking/info/model.d.ts +1 -10
  116. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  117. package/lib/components/booking/info/service/addService/index.js +2 -2
  118. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  119. package/lib/components/booking/info/service/editService/index.js +3 -2
  120. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  121. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  122. package/lib/components/booking/info2/service/addService/index.js +3 -2
  123. package/lib/components/booking/info2/service/addService/utils.js +36 -1
  124. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  125. package/lib/components/booking/info2/service/editService/Resources/index.js +16 -1
  126. package/lib/components/booking/info2/service/editService/index.js +3 -2
  127. package/lib/components/booking/info2/service/editService/utils.d.ts +4 -2
  128. package/lib/components/booking/info2/service/editService/utils.js +48 -0
  129. package/lib/components/booking/locales.d.ts +39 -0
  130. package/lib/components/booking/locales.js +42 -3
  131. package/lib/components/booking/model.d.ts +1 -9
  132. package/lib/components/booking/notes/model.d.ts +1 -10
  133. package/lib/components/booking/payments/model.d.ts +1 -10
  134. package/lib/components/booking/utils.d.ts +2 -2
  135. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  136. package/lib/components/eftposPay/amount.d.ts +1 -1
  137. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  138. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  139. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  140. package/lib/components/eftposPay/device.d.ts +1 -1
  141. package/lib/components/eftposPay/hooks.d.ts +2 -2
  142. package/lib/components/eftposPay/index.d.ts +0 -1
  143. package/lib/components/eftposPay/pay.d.ts +0 -1
  144. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  145. package/lib/components/eftposPay/store/index.d.ts +5 -5
  146. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  147. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  148. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  149. package/lib/components/eventBooking/index.d.ts +0 -1
  150. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  151. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  152. package/lib/components/pay/toC/model.d.ts +1 -9
  153. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  154. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
  155. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  156. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  157. package/lib/components/productExtension/index.d.ts +0 -1
  158. package/lib/components/ruleSetting/index.d.ts +0 -1
  159. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  160. package/lib/components/schedules/model.d.ts +1 -9
  161. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  162. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  163. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  164. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  165. package/lib/components/taxSelect/index.d.ts +0 -1
  166. package/lib/components/wallet/Detail/model.d.ts +1 -13
  167. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  168. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  169. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  170. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  171. package/lib/components/wallet/model.d.ts +1 -9
  172. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  173. package/lib/index.d.ts +0 -1
  174. package/lib/index.js +0 -3
  175. package/package.json +4 -4
  176. package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  177. package/es/components/eventBooking/components/Provider/SelectProduct/index.js +0 -77
  178. package/es/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
  179. package/es/components/parallelResourceBooking/assets/alert-circle.png +0 -0
  180. package/es/components/parallelResourceBooking/assets/calendar-heart.svg +0 -5
  181. package/es/components/parallelResourceBooking/assets/compass.svg +0 -13
  182. package/es/components/parallelResourceBooking/assets/image.svg +0 -5
  183. package/es/components/parallelResourceBooking/assets/phone.svg +0 -5
  184. package/es/components/parallelResourceBooking/assets/shopping-cart.svg +0 -10
  185. package/es/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  186. package/es/components/parallelResourceBooking/components/ErrorTip/index.js +0 -14
  187. package/es/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  188. package/es/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  189. package/es/components/parallelResourceBooking/components/OpenCard/index.js +0 -65
  190. package/es/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  191. package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
  192. package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  193. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  194. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/Total.js +0 -46
  195. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  196. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -63
  197. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.less +0 -87
  198. package/es/components/parallelResourceBooking/components/Provider/Cart/index.d.ts +0 -3
  199. package/es/components/parallelResourceBooking/components/Provider/Cart/index.js +0 -30
  200. package/es/components/parallelResourceBooking/components/Provider/Cart/index.less +0 -2
  201. package/es/components/parallelResourceBooking/components/Provider/Content/index.d.ts +0 -3
  202. package/es/components/parallelResourceBooking/components/Provider/Content/index.js +0 -65
  203. package/es/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
  204. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
  205. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -34
  206. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  207. package/es/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
  208. package/es/components/parallelResourceBooking/components/Provider/Event/index.js +0 -93
  209. package/es/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
  210. package/es/components/parallelResourceBooking/components/Provider/Footer/index.d.ts +0 -3
  211. package/es/components/parallelResourceBooking/components/Provider/Footer/index.js +0 -76
  212. package/es/components/parallelResourceBooking/components/Provider/Footer/index.less +0 -64
  213. package/es/components/parallelResourceBooking/components/Provider/Header/index.d.ts +0 -3
  214. package/es/components/parallelResourceBooking/components/Provider/Header/index.js +0 -75
  215. package/es/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  216. package/es/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
  217. package/es/components/parallelResourceBooking/components/Provider/Information/index.js +0 -178
  218. package/es/components/parallelResourceBooking/components/Provider/Information/index.less +0 -92
  219. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
  220. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -34
  221. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  222. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
  223. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -27
  224. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
  225. package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
  226. package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -31
  227. package/es/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
  228. package/es/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -79
  229. package/es/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
  230. package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
  231. package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -90
  232. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  233. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -77
  234. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
  235. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  236. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
  237. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  238. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  239. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
  240. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  241. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  242. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
  243. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  244. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  245. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
  246. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  247. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  248. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
  249. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  250. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  251. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
  252. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  253. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  254. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
  255. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  256. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  257. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
  258. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
  259. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  260. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -256
  261. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  262. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
  263. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  264. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  265. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -36
  266. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  267. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  268. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  269. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  270. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
  271. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  272. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -33
  273. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  274. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -30
  275. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  276. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -337
  277. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  278. package/es/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  279. package/es/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -52
  280. package/es/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  281. package/es/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  282. package/es/components/parallelResourceBooking/components/eventCard/index.js +0 -116
  283. package/es/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  284. package/es/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  285. package/es/components/parallelResourceBooking/components/productCard/index.js +0 -79
  286. package/es/components/parallelResourceBooking/components/productCard/index.less +0 -60
  287. package/es/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  288. package/es/components/parallelResourceBooking/components/progressBar/index.js +0 -93
  289. package/es/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  290. package/es/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  291. package/es/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -148
  292. package/es/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  293. package/es/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  294. package/es/components/parallelResourceBooking/components/resourceUsability/index.js +0 -44
  295. package/es/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  296. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  297. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
  298. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  299. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  300. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -127
  301. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  302. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -142
  303. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  304. package/es/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  305. package/es/components/parallelResourceBooking/components/selectHolder/index.js +0 -118
  306. package/es/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  307. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  308. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -168
  309. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  310. package/es/components/parallelResourceBooking/index.d.ts +0 -3
  311. package/es/components/parallelResourceBooking/index.js +0 -58
  312. package/es/components/parallelResourceBooking/index.less +0 -22
  313. package/es/components/parallelResourceBooking/locales.d.ts +0 -216
  314. package/es/components/parallelResourceBooking/locales.js +0 -251
  315. package/es/components/parallelResourceBooking/mock.d.ts +0 -627
  316. package/es/components/parallelResourceBooking/mock.js +0 -1172
  317. package/es/components/parallelResourceBooking/status.d.ts +0 -21
  318. package/es/components/parallelResourceBooking/status.js +0 -51
  319. package/es/components/parallelResourceBooking/type.d.ts +0 -17
  320. package/es/components/parallelResourceBooking/type.js +0 -1
  321. package/es/components/parallelResourceBooking/utils.d.ts +0 -45
  322. package/es/components/parallelResourceBooking/utils.js +0 -99
  323. package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  324. package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +0 -69
  325. package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
  326. package/lib/components/parallelResourceBooking/assets/alert-circle.png +0 -0
  327. package/lib/components/parallelResourceBooking/assets/calendar-heart.svg +0 -5
  328. package/lib/components/parallelResourceBooking/assets/compass.svg +0 -13
  329. package/lib/components/parallelResourceBooking/assets/image.svg +0 -5
  330. package/lib/components/parallelResourceBooking/assets/phone.svg +0 -5
  331. package/lib/components/parallelResourceBooking/assets/shopping-cart.svg +0 -10
  332. package/lib/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  333. package/lib/components/parallelResourceBooking/components/ErrorTip/index.js +0 -30
  334. package/lib/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  335. package/lib/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  336. package/lib/components/parallelResourceBooking/components/OpenCard/index.js +0 -90
  337. package/lib/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  338. package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
  339. package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.js +0 -158
  340. package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  341. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  342. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/Total.js +0 -82
  343. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  344. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -92
  345. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.less +0 -87
  346. package/lib/components/parallelResourceBooking/components/Provider/Cart/index.d.ts +0 -3
  347. package/lib/components/parallelResourceBooking/components/Provider/Cart/index.js +0 -59
  348. package/lib/components/parallelResourceBooking/components/Provider/Cart/index.less +0 -2
  349. package/lib/components/parallelResourceBooking/components/Provider/Content/index.d.ts +0 -3
  350. package/lib/components/parallelResourceBooking/components/Provider/Content/index.js +0 -90
  351. package/lib/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
  352. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
  353. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -60
  354. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  355. package/lib/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
  356. package/lib/components/parallelResourceBooking/components/Provider/Event/index.js +0 -100
  357. package/lib/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
  358. package/lib/components/parallelResourceBooking/components/Provider/Footer/index.d.ts +0 -3
  359. package/lib/components/parallelResourceBooking/components/Provider/Footer/index.js +0 -87
  360. package/lib/components/parallelResourceBooking/components/Provider/Footer/index.less +0 -64
  361. package/lib/components/parallelResourceBooking/components/Provider/Header/index.d.ts +0 -3
  362. package/lib/components/parallelResourceBooking/components/Provider/Header/index.js +0 -80
  363. package/lib/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  364. package/lib/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
  365. package/lib/components/parallelResourceBooking/components/Provider/Information/index.js +0 -151
  366. package/lib/components/parallelResourceBooking/components/Provider/Information/index.less +0 -92
  367. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
  368. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -67
  369. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  370. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
  371. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -57
  372. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
  373. package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
  374. package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -62
  375. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
  376. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -90
  377. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
  378. package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
  379. package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -97
  380. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  381. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -69
  382. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
  383. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  384. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
  385. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  386. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  387. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
  388. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  389. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  390. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
  391. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  392. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  393. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
  394. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  395. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  396. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
  397. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  398. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  399. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
  400. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  401. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  402. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
  403. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  404. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  405. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
  406. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
  407. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  408. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -198
  409. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  410. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
  411. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  412. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  413. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -70
  414. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  415. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  416. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  417. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  418. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
  419. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  420. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -66
  421. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  422. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -69
  423. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  424. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -248
  425. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  426. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  427. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -79
  428. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  429. package/lib/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  430. package/lib/components/parallelResourceBooking/components/eventCard/index.js +0 -124
  431. package/lib/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  432. package/lib/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  433. package/lib/components/parallelResourceBooking/components/productCard/index.js +0 -77
  434. package/lib/components/parallelResourceBooking/components/productCard/index.less +0 -60
  435. package/lib/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  436. package/lib/components/parallelResourceBooking/components/progressBar/index.js +0 -100
  437. package/lib/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  438. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  439. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -116
  440. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  441. package/lib/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  442. package/lib/components/parallelResourceBooking/components/resourceUsability/index.js +0 -76
  443. package/lib/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  444. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  445. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
  446. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  447. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  448. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -135
  449. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  450. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -125
  451. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  452. package/lib/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  453. package/lib/components/parallelResourceBooking/components/selectHolder/index.js +0 -106
  454. package/lib/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  455. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  456. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -146
  457. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  458. package/lib/components/parallelResourceBooking/index.d.ts +0 -3
  459. package/lib/components/parallelResourceBooking/index.js +0 -78
  460. package/lib/components/parallelResourceBooking/index.less +0 -22
  461. package/lib/components/parallelResourceBooking/locales.d.ts +0 -216
  462. package/lib/components/parallelResourceBooking/locales.js +0 -239
  463. package/lib/components/parallelResourceBooking/mock.d.ts +0 -627
  464. package/lib/components/parallelResourceBooking/mock.js +0 -1352
  465. package/lib/components/parallelResourceBooking/status.d.ts +0 -21
  466. package/lib/components/parallelResourceBooking/status.js +0 -70
  467. package/lib/components/parallelResourceBooking/type.d.ts +0 -17
  468. package/lib/components/parallelResourceBooking/type.js +0 -17
  469. package/lib/components/parallelResourceBooking/utils.d.ts +0 -45
  470. package/lib/components/parallelResourceBooking/utils.js +0 -90
  471. package/lowcode/parallel-resource-booking/meta.ts +0 -69
@@ -1,5 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="calendar-heart-01">
3
- <path id="Icon" d="M14 5.33333H2M10.6667 1.33333V3.33333M5.33333 1.33333V3.33333M5.2 14.6667H10.8C11.9201 14.6667 12.4802 14.6667 12.908 14.4487C13.2843 14.2569 13.5903 13.951 13.782 13.5746C14 13.1468 14 12.5868 14 11.4667V5.86666C14 4.74656 14 4.1865 13.782 3.75868C13.5903 3.38236 13.2843 3.0764 12.908 2.88465C12.4802 2.66666 11.9201 2.66666 10.8 2.66666H5.2C4.0799 2.66666 3.51984 2.66666 3.09202 2.88465C2.71569 3.0764 2.40973 3.38236 2.21799 3.75868C2 4.1865 2 4.74656 2 5.86666V11.4667C2 12.5868 2 13.1468 2.21799 13.5746C2.40973 13.951 2.71569 14.2569 3.09202 14.4487C3.51984 14.6667 4.0799 14.6667 5.2 14.6667ZM7.99817 8.22039C7.46501 7.6144 6.57593 7.45138 5.90792 8.0063C5.23991 8.56121 5.14586 9.48899 5.67045 10.1453C6.05133 10.6218 7.10618 11.5598 7.65555 12.0379C7.77465 12.1416 7.8342 12.1934 7.90398 12.214C7.96442 12.2318 8.03192 12.2318 8.09237 12.214C8.16215 12.1934 8.2217 12.1416 8.34079 12.0379C8.89017 11.5598 9.94502 10.6218 10.3259 10.1453C10.8505 9.48899 10.7679 8.55537 10.0884 8.0063C9.40893 7.45722 8.53133 7.6144 7.99817 8.22039Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
4
- </g>
5
- </svg>
@@ -1,13 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="compass-03" clip-path="url(#clip0_4360_1258)">
3
- <g id="Icon">
4
- <path d="M8.00004 14.6667C11.6819 14.6667 14.6667 11.6819 14.6667 8C14.6667 4.3181 11.6819 1.33334 8.00004 1.33334C4.31814 1.33334 1.33337 4.3181 1.33337 8C1.33337 11.6819 4.31814 14.6667 8.00004 14.6667Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M9.81478 5.51065C10.1405 5.40208 10.3033 5.3478 10.4116 5.38641C10.5059 5.42002 10.58 5.49418 10.6136 5.58842C10.6522 5.69672 10.598 5.85957 10.4894 6.18527L9.4977 9.16035C9.46678 9.25311 9.45132 9.29949 9.42497 9.33801C9.40164 9.37212 9.37216 9.4016 9.33805 9.42494C9.29953 9.45128 9.25315 9.46674 9.16039 9.49766L6.1853 10.4894C5.85961 10.5979 5.69676 10.6522 5.58846 10.6136C5.49422 10.58 5.42006 10.5058 5.38645 10.4116C5.34783 10.3033 5.40212 10.1404 5.51068 9.81474L6.50238 6.83965C6.5333 6.74689 6.54876 6.70051 6.57511 6.662C6.59844 6.62788 6.62792 6.5984 6.66203 6.57507C6.70055 6.54872 6.74693 6.53326 6.83969 6.50234L9.81478 5.51065Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
6
- </g>
7
- </g>
8
- <defs>
9
- <clipPath id="clip0_4360_1258">
10
- <rect width="16" height="16" fill="white"/>
11
- </clipPath>
12
- </defs>
13
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="image-03">
3
- <path id="Icon" d="M6.40814 31.0919L16.3029 21.1971C16.897 20.603 17.194 20.306 17.5365 20.1947C17.8377 20.0968 18.1623 20.0968 18.4635 20.1947C18.806 20.306 19.103 20.603 19.6971 21.1971L29.5259 31.0259M21 22.5L25.3029 18.1971C25.897 17.603 26.194 17.306 26.5365 17.1947C26.8377 17.0968 27.1623 17.0968 27.4635 17.1947C27.806 17.306 28.103 17.603 28.6971 18.1971L33 22.5M15 13.5C15 15.1569 13.6569 16.5 12 16.5C10.3431 16.5 9 15.1569 9 13.5C9 11.8431 10.3431 10.5 12 10.5C13.6569 10.5 15 11.8431 15 13.5ZM10.2 31.5H25.8C28.3202 31.5 29.5804 31.5 30.543 31.0095C31.3897 30.5781 32.0781 29.8897 32.5095 29.043C33 28.0804 33 26.8202 33 24.3V11.7C33 9.17976 33 7.91965 32.5095 6.95704C32.0781 6.11031 31.3897 5.4219 30.543 4.99047C29.5804 4.5 28.3202 4.5 25.8 4.5H10.2C7.67976 4.5 6.41965 4.5 5.45704 4.99047C4.61031 5.4219 3.9219 6.11031 3.49047 6.95704C3 7.91965 3 9.17976 3 11.7V24.3C3 26.8202 3 28.0804 3.49047 29.043C3.9219 29.8897 4.61031 30.5781 5.45704 31.0095C6.41965 31.5 7.67976 31.5 10.2 31.5Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- </g>
5
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="phone">
3
- <path id="Icon" d="M5.58685 5.90215C6.05085 6.86856 6.68338 7.77433 7.48443 8.57538C8.28548 9.37643 9.19124 10.009 10.1577 10.473C10.2408 10.5129 10.2823 10.5328 10.3349 10.5482C10.5218 10.6026 10.7513 10.5635 10.9096 10.4502C10.9542 10.4183 10.9923 10.3802 11.0685 10.304C11.3016 10.0709 11.4181 9.95435 11.5353 9.87816C11.9772 9.59083 12.5469 9.59083 12.9889 9.87816C13.106 9.95435 13.2226 10.0709 13.4556 10.304L13.5856 10.4339C13.9399 10.7882 14.117 10.9653 14.2132 11.1556C14.4046 11.5339 14.4046 11.9808 14.2132 12.3592C14.117 12.5494 13.9399 12.7266 13.5856 13.0809L13.4805 13.1859C13.1274 13.539 12.9508 13.7156 12.7108 13.8504C12.4445 14 12.0308 14.1076 11.7253 14.1067C11.45 14.1059 11.2619 14.0525 10.8856 13.9456C8.86333 13.3717 6.95509 12.2887 5.36311 10.6967C3.77112 9.10471 2.68814 7.19647 2.11416 5.17421C2.00735 4.79791 1.95395 4.60976 1.95313 4.33446C1.95222 4.02898 2.0598 3.61532 2.20941 3.34898C2.34424 3.10896 2.52078 2.93242 2.87386 2.57934L2.97895 2.47425C3.33325 2.11995 3.5104 1.94281 3.70065 1.84658C4.07903 1.6552 4.52587 1.6552 4.90424 1.84658C5.0945 1.94281 5.27164 2.11995 5.62594 2.47425L5.75585 2.60416C5.98892 2.83723 6.10546 2.95377 6.18165 3.07095C6.46898 3.51288 6.46898 4.0826 6.18165 4.52453C6.10546 4.64171 5.98892 4.75825 5.75585 4.99132C5.67964 5.06753 5.64154 5.10563 5.60965 5.15017C5.49631 5.30846 5.45717 5.53796 5.51165 5.72487C5.52698 5.77746 5.54694 5.81902 5.58685 5.90215Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
4
- </g>
5
- </svg>
@@ -1,10 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="shopping-cart-01" clip-path="url(#clip0_12002_1017)">
3
- <path id="Icon" d="M1.6665 1.66663H2.75497C2.95999 1.66663 3.0625 1.66663 3.14499 1.70433C3.21769 1.73755 3.27929 1.79098 3.32246 1.85825C3.37145 1.93458 3.38595 2.03606 3.41494 2.23901L3.80936 4.99996M3.80936 4.99996L4.68594 11.4428C4.79718 12.2604 4.85279 12.6692 5.04825 12.9769C5.22049 13.2481 5.46741 13.4637 5.7593 13.5978C6.09056 13.75 6.50312 13.75 7.32826 13.75H14.4598C15.2453 13.75 15.638 13.75 15.959 13.6086C16.242 13.484 16.4847 13.2832 16.6601 13.0285C16.8589 12.7396 16.9324 12.3538 17.0794 11.5823L18.1824 5.79137C18.2342 5.5198 18.26 5.38401 18.2225 5.27788C18.1897 5.18477 18.1248 5.10636 18.0395 5.05664C17.9422 4.99996 17.804 4.99996 17.5275 4.99996H3.80936ZM8.33317 17.5C8.33317 17.9602 7.96007 18.3333 7.49984 18.3333C7.0396 18.3333 6.6665 17.9602 6.6665 17.5C6.6665 17.0397 7.0396 16.6666 7.49984 16.6666C7.96007 16.6666 8.33317 17.0397 8.33317 17.5ZM14.9998 17.5C14.9998 17.9602 14.6267 18.3333 14.1665 18.3333C13.7063 18.3333 13.3332 17.9602 13.3332 17.5C13.3332 17.0397 13.7063 16.6666 14.1665 16.6666C14.6267 16.6666 14.9998 17.0397 14.9998 17.5Z" stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_12002_1017">
7
- <rect width="20" height="20" fill="white"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const ErrorTip: ({ text }: any) => JSX.Element;
3
- export default ErrorTip;
@@ -1,14 +0,0 @@
1
- import { Iconfont } from '@pisell/materials';
2
- import "./index.less";
3
- var ErrorTip = function ErrorTip(_ref) {
4
- var text = _ref.text;
5
- return /*#__PURE__*/React.createElement("div", {
6
- className: "event-booking-error-tip"
7
- }, /*#__PURE__*/React.createElement("div", {
8
- className: "error-icon-wrapper"
9
- }, /*#__PURE__*/React.createElement(Iconfont, {
10
- type: "pisell2-alert-circle",
11
- className: "icon-warning"
12
- })), /*#__PURE__*/React.createElement("span", null, text));
13
- };
14
- export default ErrorTip;
@@ -1,51 +0,0 @@
1
- .event-booking-error-tip {
2
- margin-bottom: 16px;
3
- display: flex;
4
- align-items: center;
5
- padding: 6px 16px 6px 6px;
6
- gap: 16px;
7
- align-self: stretch;
8
- border-radius: 12px;
9
- border: 1px solid var(--Error-300, #fda29b);
10
- background: var(--Error-25, #fffbfa);
11
- box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
12
- color: var(--Error-700, #b42318);
13
- font-size: 14px;
14
- font-weight: 600;
15
-
16
- .error-icon-wrapper {
17
- position: relative;
18
- width: 38px;
19
- height: 38px;
20
- display: flex;
21
- align-items: center;
22
- justify-content: center;
23
-
24
- &::before {
25
- content: '';
26
- position: absolute;
27
- width: 38px;
28
- height: 38px;
29
- border-radius: 50%;
30
- border: 2px solid var(--Error-600, #d92d20);
31
- opacity: 0.1;
32
- }
33
-
34
- &::after {
35
- content: '';
36
- position: absolute;
37
- width: 28px;
38
- height: 28px;
39
- border-radius: 50%;
40
- border: 2px solid var(--Error-600, #d92d20);
41
- opacity: 0.3;
42
- }
43
-
44
- .icon-warning {
45
- position: relative;
46
- z-index: 1;
47
- font-size: 20px;
48
- color: #ff4d4f;
49
- }
50
- }
51
- }
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
4
- export default _default;
@@ -1,65 +0,0 @@
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 { useState, useEffect, useImperativeHandle, forwardRef } from 'react';
8
- import { Iconfont } from '@pisell/materials';
9
- import classNames from 'classnames';
10
- import "./index.less";
11
- var OpenCard = function OpenCard(_ref, ref) {
12
- var children = _ref.children,
13
- title = _ref.title,
14
- className = _ref.className,
15
- scrollErrorId = _ref.scrollErrorId,
16
- _ref$initOpen = _ref.initOpen,
17
- initOpen = _ref$initOpen === void 0 ? true : _ref$initOpen,
18
- extra = _ref.extra,
19
- _ref$isClick = _ref.isClick,
20
- isClick = _ref$isClick === void 0 ? true : _ref$isClick,
21
- _ref$showArrow = _ref.showArrow,
22
- showArrow = _ref$showArrow === void 0 ? true : _ref$showArrow,
23
- _ref$showBorder = _ref.showBorder,
24
- showBorder = _ref$showBorder === void 0 ? false : _ref$showBorder,
25
- _ref$showHeader = _ref.showHeader,
26
- showHeader = _ref$showHeader === void 0 ? true : _ref$showHeader;
27
- var _useState = useState(true),
28
- _useState2 = _slicedToArray(_useState, 2),
29
- isOpen = _useState2[0],
30
- setIsOpen = _useState2[1];
31
- useEffect(function () {
32
- if (initOpen === false) {
33
- setIsOpen(false);
34
- }
35
- }, [initOpen]);
36
- useImperativeHandle(ref, function () {
37
- return {
38
- open: function open() {
39
- return setIsOpen(true);
40
- }
41
- };
42
- });
43
- return /*#__PURE__*/React.createElement("div", {
44
- id: scrollErrorId,
45
- className: classNames('open-card', {
46
- open: isOpen,
47
- 'open-card-border': showBorder
48
- }, className)
49
- }, showHeader ? /*#__PURE__*/React.createElement("div", {
50
- className: 'header',
51
- onClick: function onClick() {
52
- return isClick ? setIsOpen(!isOpen) : null;
53
- }
54
- }, /*#__PURE__*/React.createElement("div", {
55
- className: 'title'
56
- }, title), /*#__PURE__*/React.createElement("div", {
57
- className: 'right'
58
- }, extra, showArrow ? /*#__PURE__*/React.createElement(Iconfont, {
59
- type: !isOpen ? 'pisell2-chevron-up' : 'pisell2-chevron-down',
60
- className: classNames('icon')
61
- }) : null)) : null, children ? /*#__PURE__*/React.createElement("div", {
62
- className: 'content'
63
- }, children) : null);
64
- };
65
- export default /*#__PURE__*/forwardRef(OpenCard);
@@ -1,52 +0,0 @@
1
- .open-card {
2
- background: #ffffff;
3
- .header {
4
- display: flex;
5
- padding: 16px;
6
- justify-content: space-between;
7
- align-items: center;
8
- align-self: stretch;
9
- cursor: pointer;
10
-
11
- .title {
12
- flex: 1;
13
- color: var(--text-text-1, #1b1b1b);
14
- font-size: 16px;
15
- font-weight: 600;
16
- line-height: 22px;
17
- white-space: nowrap;
18
- overflow: hidden;
19
- text-overflow: ellipsis;
20
- }
21
-
22
- .right {
23
- display: flex;
24
- align-items: center;
25
- gap: 20px;
26
- height: 22px;
27
- }
28
-
29
- .icon {
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- font-size: 24px;
34
- transition: 0.2s;
35
- }
36
- }
37
-
38
- .content {
39
- overflow: hidden;
40
- height: 0px;
41
- }
42
-
43
- &.open {
44
- .content {
45
- height: auto;
46
- }
47
- }
48
- }
49
- .open-card-border {
50
- border-radius: 10px;
51
- border: 1px solid var(--Gray-300, #d0d5dd);
52
- }
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const ContinueButton: () => JSX.Element;
3
- export default ContinueButton;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
- export default Total;
@@ -1,46 +0,0 @@
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
- import React from 'react';
6
- import { locales } from '@pisell/utils';
7
- import { PisellText } from '@pisell/materials';
8
- import { useSummary } from "../../../../../Sales";
9
- import useEngineContext from "../../../../../../hooks/useEngineContext";
10
- import "./index.less";
11
- import classNames from 'classnames';
12
- var Total = function Total(_ref) {
13
- var _context$appHelper, _context$appHelper$ge, _context$appHelper2, _context$appHelper2$g;
14
- var className = _ref.className,
15
- isFooter = _ref.isFooter;
16
- var _useSummary = useSummary(),
17
- taxTitle = _useSummary.taxTitle,
18
- totalTaxFee = _useSummary.totalTaxFee,
19
- isPriceIncludeTax = _useSummary.isPriceIncludeTax,
20
- total = _useSummary.total;
21
- 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');
23
- return /*#__PURE__*/React.createElement("div", {
24
- className: "event-total-wrap ".concat(className)
25
- }, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /*#__PURE__*/React.createElement("div", {
26
- className: "gst-wrap"
27
- }, /*#__PURE__*/React.createElement("span", null, taxTitle, isFooter ? ': ' : ''), /*#__PURE__*/React.createElement(PisellText.Amount, {
28
- value: totalTaxFee,
29
- showCurrencySymbol: true
30
- })) : null, /*#__PURE__*/React.createElement("div", {
31
- className: classNames('event-total', _defineProperty({}, ['total-gst-wrap'], !isPriceIncludeTax && Number(totalTaxFee) > 0))
32
- }, /*#__PURE__*/React.createElement("div", {
33
- className: "left"
34
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, locales.getText('pisell2.event.total'), isFooter ? ': ' : ''), isFooter ? /*#__PURE__*/React.createElement(PisellText.Amount, {
35
- value: total,
36
- showCurrencySymbol: true,
37
- className: "event-amount"
38
- }) : null), isPriceIncludeTax && Number(totalTaxFee) > 0 ? /*#__PURE__*/React.createElement("span", {
39
- className: "gst"
40
- }, locales.getText('pisell2.event.total.gst')("".concat(isFooter ? "".concat(taxTitle, ": ") : taxTitle), "".concat(context === null || context === void 0 || (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getSymbolic) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.call(_context$appHelper2)).concat(totalTaxFee))) : null), !isFooter ? /*#__PURE__*/React.createElement(PisellText.Amount, {
41
- value: total,
42
- showCurrencySymbol: true,
43
- className: "event-amount"
44
- }) : null));
45
- };
46
- export default Total;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const CartItem: () => JSX.Element;
3
- export default CartItem;
@@ -1,63 +0,0 @@
1
- import React from 'react';
2
- import { isMobile, locales } from '@pisell/utils';
3
- import ShoppingCart from "../../../../../shoppingCart";
4
- import { useCart, useHolder, useSummary, useStep } from "../../../../../Sales";
5
- import SelectHolderModal from "../../SelectHolderModal";
6
- import ContinueButton from "../ContinueButton";
7
- import Total from "./Total";
8
- import "./index.less";
9
- 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;
23
- var handleClickCard = function handleClickCard(e, type, key) {
24
- if (type === 'note') {
25
- return addNoteToCartItem(e);
26
- }
27
- console.log(e, type, key, 'wh9988767');
28
- // 删除
29
- if (type === 'delete') {
30
- return deleteCartItem(e);
31
- }
32
- if (type === 'delete_holders') {
33
- return deleteCartItemByHolder(key);
34
- }
35
- };
36
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
37
- className: "cart-item-wrap ".concat(isMobile() ? 'cart-mobile-item-wrap' : '')
38
- }, /*#__PURE__*/React.createElement("div", {
39
- className: "content"
40
- }, /*#__PURE__*/React.createElement(ShoppingCart, {
41
- productParams: {
42
- products: (cartData === null || cartData === void 0 ? void 0 : cartData.cartItems) || [],
43
- hideAddBtn: false,
44
- holders: (holderData === null || holderData === void 0 ? void 0 : holderData.selectedHolderItems) || [],
45
- disabledEdit: isLastStep
46
- },
47
- collapseParams: {
48
- activeKey: selectedHolderIds,
49
- ghost: true
50
- },
51
- platform: "h5",
52
- emptyText: locales.getText('pisell2.event.empty.service'),
53
- isOpenGroup: !!(selectedHolderIds !== null && selectedHolderIds !== void 0 && selectedHolderIds.length),
54
- onChange: function onChange(e, type, key) {
55
- return handleClickCard(e, type, key);
56
- }
57
- })), /*#__PURE__*/React.createElement("div", {
58
- className: "event-footer"
59
- }, /*#__PURE__*/React.createElement(Total, null), /*#__PURE__*/React.createElement(ContinueButton, null))), /*#__PURE__*/React.createElement(SelectHolderModal, {
60
- open: open
61
- }));
62
- };
63
- export default CartItem;
@@ -1,87 +0,0 @@
1
- .cart-item-wrap {
2
- height: 100%;
3
- .content {
4
- background: #fff;
5
- padding: 20px;
6
- .pisell-lowcode__shopping-cart-content {
7
- .ant-card-body {
8
- padding: 0;
9
- }
10
- }
11
- }
12
-
13
- .event-footer {
14
- background: #fff;
15
- padding: 20px;
16
- display: flex;
17
- flex-direction: column;
18
- gap: 14px;
19
- margin-top: 6px;
20
- }
21
- }
22
-
23
- .event-total-wrap {
24
- color: var(--Text-Text_1, #1b1b1b);
25
- font-size: 20px;
26
- font-weight: 600;
27
- line-height: 28px;
28
- display: flex;
29
- flex-direction: column;
30
- align-items: start;
31
-
32
- > div {
33
- display: flex;
34
- align-items: center;
35
- justify-content: space-between;
36
- width: 100%;
37
- }
38
-
39
- .gst-wrap {
40
- font-size: 16px;
41
- font-weight: 500;
42
- line-height: 24px;
43
- }
44
-
45
- .event-total {
46
- .left {
47
- display: flex;
48
- flex-direction: column;
49
- .gst {
50
- color: var(--Gray-500, #667085);
51
- font-size: 14px;
52
- font-weight: 400;
53
- line-height: 20px;
54
- }
55
- }
56
- }
57
-
58
- .total-gst-wrap {
59
- padding: 14px 0 0;
60
- }
61
-
62
- .event-amount {
63
- color: var(--Blue-600, #1570ef);
64
- }
65
- }
66
-
67
- .cart-mobile-item-wrap {
68
- display: flex;
69
- flex-direction: column;
70
- position: relative;
71
-
72
- .content {
73
- flex: 1;
74
- overflow-y: auto;
75
- padding: 0 0 140px;
76
- }
77
- .event-footer {
78
- z-index: 10;
79
- position: fixed;
80
- bottom: 0;
81
- left: 0;
82
- right: 0;
83
- border-top: 1px solid #eaecf0;
84
- padding: 14px 24px 24px;
85
- margin-top: 0;
86
- }
87
- }
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
- export default Cart;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { PisellModal } from '@pisell/materials';
3
- import { locales } from '@pisell/utils';
4
- import CartItem from "./Item/index";
5
- import "./index.less";
6
- var Cart = function Cart(_ref) {
7
- var open = _ref.open,
8
- _onCancel = _ref.onCancel;
9
- return /*#__PURE__*/React.createElement(PisellModal, {
10
- open: open,
11
- title: locales.getText('pisell2.event.cart'),
12
- platform: 'h5',
13
- closable: true,
14
- onCancel: function onCancel() {
15
- return _onCancel();
16
- },
17
- bodyStyle: {
18
- padding: '20px'
19
- },
20
- destroyOnClose: true,
21
- className: "event-cart-modal",
22
- footer: null
23
- }, /*#__PURE__*/React.createElement("div", {
24
- style: {
25
- flex: 1,
26
- overflowY: 'auto'
27
- }
28
- }, /*#__PURE__*/React.createElement(CartItem, null)));
29
- };
30
- export default Cart;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Layout: () => JSX.Element;
3
- export default Layout;
@@ -1,65 +0,0 @@
1
- import React, { useMemo, useEffect } from 'react';
2
- import { useStep } from "../../../../Sales";
3
- import { isMobile } from '@pisell/utils';
4
- import CartItem from "../Cart/Item";
5
- import Resource from "../Resource";
6
- import Event from "../Event";
7
- import Information from "../Information";
8
- import "./index.less";
9
- var Layout = function Layout() {
10
- var _useStep = useStep(),
11
- currentStepData = _useStep.currentStepData,
12
- isFirstStep = _useStep.isFirstStep;
13
- useEffect(function () {
14
- window.scrollTo({
15
- top: 0,
16
- behavior: 'smooth'
17
- });
18
- }, [currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key]);
19
- var Com = useMemo(function () {
20
- var key = currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key;
21
- if (!key) return null;
22
- var components = {
23
- // 选择资源
24
- 'select-category': Resource,
25
- // 选择event
26
- 'select-event': Event,
27
- // 确认信息
28
- 'confirm-information': Information
29
- };
30
- var Com = components[key];
31
- return /*#__PURE__*/React.createElement(Com, null);
32
- }, [currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key]);
33
-
34
- /**
35
- * @title: 动态计算中间内容区域的高度
36
- * @description:
37
- * @return {*}
38
- * @Author: WangHan
39
- * @Date: 2025-02-18 15:36
40
- */
41
- useEffect(function () {
42
- if (isMobile()) {
43
- var _header$getBoundingCl, _footer$getBoundingCl;
44
- var header = document.querySelector('.event-progress-bar');
45
- var footer = document.querySelector('.pisell-section-footers-wrapper');
46
- var content = document.querySelector('.event-content-mobile-wrap');
47
- var headerHeight = (header === null || header === void 0 || (_header$getBoundingCl = header.getBoundingClientRect()) === null || _header$getBoundingCl === void 0 ? void 0 : _header$getBoundingCl.height) || 0;
48
- var footerHeight = (footer === null || footer === void 0 || (_footer$getBoundingCl = footer.getBoundingClientRect()) === null || _footer$getBoundingCl === void 0 ? void 0 : _footer$getBoundingCl.height) || 0;
49
- var windowHeight = window.innerHeight;
50
- var contentHeight = windowHeight - headerHeight - footerHeight;
51
- if (content && content !== null && content !== void 0 && content.style) {
52
- content.style.height = "".concat(contentHeight, "px");
53
- content.style.overflowY = 'auto';
54
- }
55
- }
56
- }, [currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key]);
57
- return /*#__PURE__*/React.createElement("div", {
58
- className: "event-content-wrap ".concat(isMobile() ? 'event-content-mobile-wrap' : '')
59
- }, /*#__PURE__*/React.createElement("div", {
60
- className: "event-content-left"
61
- }, Com), !isMobile() && !isFirstStep ? /*#__PURE__*/React.createElement("div", {
62
- className: "event-content-right"
63
- }, /*#__PURE__*/React.createElement(CartItem, null)) : null);
64
- };
65
- export default Layout;
@@ -1,31 +0,0 @@
1
- .event-content-wrap {
2
- width: 1000px;
3
- display: flex;
4
- gap: 6px;
5
- // align-items: center;
6
- flex: 1;
7
-
8
- .event-content-left {
9
- flex: 1;
10
- }
11
-
12
- .event-content-right {
13
- margin-top: 16px;
14
- width: 360px;
15
- position: sticky;
16
- top: 93px;
17
- height: fit-content;
18
- }
19
- }
20
-
21
- .event-content-mobile-wrap {
22
- width: 100%;
23
- flex: none;
24
- .event-content-left {
25
- width: 100%;
26
- flex: none;
27
- .provider-information-wrap {
28
- width: 100%;
29
- }
30
- }
31
- }
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const EmptyHolderModal: (props: any) => JSX.Element;
3
- export default EmptyHolderModal;
@@ -1,34 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { PisellModal } from '@pisell/materials';
3
- import { locales } from '@pisell/utils';
4
- import "./index.less";
5
- var EmptyHolderModal = function EmptyHolderModal(props) {
6
- var open = props.open,
7
- _onCancel = props.onCancel,
8
- _onOk = props.onOk,
9
- lists = props.lists;
10
- var content = useMemo(function () {
11
- return /*#__PURE__*/React.createElement("div", {
12
- className: "event-booking-empty-holder-describe"
13
- }, /*#__PURE__*/React.createElement("span", null, locales.getText('pisell2.event.empty.holder.tip')), /*#__PURE__*/React.createElement("ul", null, lists.map(function (item, index) {
14
- return /*#__PURE__*/React.createElement("li", {
15
- key: index
16
- }, item);
17
- })), /*#__PURE__*/React.createElement("span", null, locales.getText('pisell2.event.empty.holder.continue.tip')));
18
- }, [lists]);
19
- return /*#__PURE__*/React.createElement(PisellModal.Information, {
20
- open: open,
21
- title: locales.getText('pisell2.event.empty.holder.title'),
22
- describe: content,
23
- okText: locales.getText('pisell2.event.empty.holder.continue.anyway'),
24
- cancelText: locales.getText('pisell2.event.empty.holder.go.back'),
25
- closable: true,
26
- onCancel: function onCancel() {
27
- return _onCancel();
28
- },
29
- onOk: function onOk() {
30
- return _onOk();
31
- }
32
- });
33
- };
34
- export default EmptyHolderModal;