@pisell/private-materials 3.2.10 → 3.2.11

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 (416) 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 +34 -14
  7. package/build/lowcode/render/default/view.js +7 -7
  8. package/build/lowcode/view.js +7 -7
  9. package/es/components/booking/addons/model.d.ts +10 -1
  10. package/es/components/booking/addons/model.js +5 -5
  11. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  12. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  13. package/es/components/booking/components/browserSelect/index.js +1 -1
  14. package/es/components/booking/forms/model.d.ts +10 -1
  15. package/es/components/booking/forms/model.js +5 -5
  16. package/es/components/booking/info/model.d.ts +10 -1
  17. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  18. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  19. package/es/components/booking/info/service/like/index.js +1 -1
  20. package/es/components/booking/info/service2/utils.d.ts +1 -1
  21. package/es/components/booking/materiels/startTime/index.js +1 -1
  22. package/es/components/booking/model.d.ts +9 -1
  23. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  24. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  25. package/es/components/booking/notes/addNote/index.js +1 -1
  26. package/es/components/booking/notes/model.d.ts +10 -1
  27. package/es/components/booking/notes/model.js +5 -5
  28. package/es/components/booking/payments/model.d.ts +10 -1
  29. package/es/components/booking/payments/model.js +5 -5
  30. package/es/components/eftposPay/amount.d.ts +1 -1
  31. package/es/components/eftposPay/app.d.ts +1 -1
  32. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  33. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  34. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  35. package/es/components/eftposPay/device.d.ts +1 -1
  36. package/es/components/eftposPay/hooks.d.ts +1 -1
  37. package/es/components/eftposPay/index.d.ts +1 -0
  38. package/es/components/eftposPay/pay.d.ts +1 -0
  39. package/es/components/eftposPay/payo/config.d.ts +1 -0
  40. package/es/components/eftposPay/store/index.d.ts +4 -4
  41. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  42. package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +4 -0
  43. package/es/components/eventBooking/components/Provider/SelectProduct/index.js +77 -0
  44. package/es/components/eventBooking/components/Provider/SelectProduct/index.less +131 -0
  45. package/es/components/listComponent/index.js +5 -5
  46. package/es/components/parallelResourcBooking/assets/alert-circle.png +0 -0
  47. package/es/components/parallelResourcBooking/assets/calendar-heart.svg +5 -0
  48. package/es/components/parallelResourcBooking/assets/compass.svg +13 -0
  49. package/es/components/parallelResourcBooking/assets/image.svg +5 -0
  50. package/es/components/parallelResourcBooking/assets/phone.svg +5 -0
  51. package/es/components/parallelResourcBooking/assets/shopping-cart.svg +10 -0
  52. package/es/components/parallelResourcBooking/components/ErrorTip/index.d.ts +4 -0
  53. package/es/components/parallelResourcBooking/components/ErrorTip/index.js +14 -0
  54. package/es/components/parallelResourcBooking/components/ErrorTip/index.less +51 -0
  55. package/es/components/parallelResourcBooking/components/OpenCard/index.d.ts +4 -0
  56. package/es/components/parallelResourcBooking/components/OpenCard/index.js +65 -0
  57. package/es/components/parallelResourcBooking/components/OpenCard/index.less +52 -0
  58. package/es/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
  59. package/es/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.js +274 -0
  60. package/es/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  61. package/es/components/parallelResourcBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
  62. package/es/components/parallelResourcBooking/components/Provider/Cart/Item/Total.js +46 -0
  63. package/es/components/parallelResourcBooking/components/Provider/Cart/Item/index.d.ts +4 -0
  64. package/es/components/parallelResourcBooking/components/Provider/Cart/Item/index.js +63 -0
  65. package/es/components/parallelResourcBooking/components/Provider/Cart/Item/index.less +87 -0
  66. package/es/components/parallelResourcBooking/components/Provider/Cart/index.d.ts +4 -0
  67. package/es/components/parallelResourcBooking/components/Provider/Cart/index.js +30 -0
  68. package/es/components/parallelResourcBooking/components/Provider/Cart/index.less +2 -0
  69. package/es/components/parallelResourcBooking/components/Provider/Content/index.d.ts +4 -0
  70. package/es/components/parallelResourcBooking/components/Provider/Content/index.js +65 -0
  71. package/es/components/parallelResourcBooking/components/Provider/Content/index.less +31 -0
  72. package/es/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
  73. package/es/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.js +34 -0
  74. package/es/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.less +17 -0
  75. package/es/components/parallelResourcBooking/components/Provider/Event/index.d.ts +4 -0
  76. package/es/components/parallelResourcBooking/components/Provider/Event/index.js +93 -0
  77. package/es/components/parallelResourcBooking/components/Provider/Event/index.less +20 -0
  78. package/es/components/parallelResourcBooking/components/Provider/Footer/index.d.ts +4 -0
  79. package/es/components/parallelResourcBooking/components/Provider/Footer/index.js +76 -0
  80. package/es/components/parallelResourcBooking/components/Provider/Footer/index.less +64 -0
  81. package/es/components/parallelResourcBooking/components/Provider/Header/index.d.ts +4 -0
  82. package/es/components/parallelResourcBooking/components/Provider/Header/index.js +75 -0
  83. package/es/components/parallelResourcBooking/components/Provider/Header/index.less +2 -0
  84. package/es/components/parallelResourcBooking/components/Provider/Information/index.d.ts +4 -0
  85. package/es/components/parallelResourcBooking/components/Provider/Information/index.js +178 -0
  86. package/es/components/parallelResourcBooking/components/Provider/Information/index.less +92 -0
  87. package/es/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
  88. package/es/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.js +34 -0
  89. package/es/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.less +27 -0
  90. package/es/components/parallelResourcBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
  91. package/es/components/parallelResourcBooking/components/Provider/OrderProductModal/index.js +27 -0
  92. package/es/components/parallelResourcBooking/components/Provider/OrderProductModal/index.less +32 -0
  93. package/es/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
  94. package/es/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.js +31 -0
  95. package/es/components/parallelResourcBooking/components/Provider/Resource/index.d.ts +4 -0
  96. package/es/components/parallelResourcBooking/components/Provider/Resource/index.js +79 -0
  97. package/es/components/parallelResourcBooking/components/Provider/Resource/index.less +46 -0
  98. package/es/components/parallelResourcBooking/components/Provider/SelectHolderModal.d.ts +3 -0
  99. package/es/components/parallelResourcBooking/components/Provider/SelectHolderModal.js +90 -0
  100. package/es/components/parallelResourcBooking/components/Provider/SelectProduct/index.d.ts +4 -0
  101. package/es/components/parallelResourcBooking/components/Provider/SelectProduct/index.js +77 -0
  102. package/es/components/parallelResourcBooking/components/Provider/SelectProduct/index.less +131 -0
  103. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
  104. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +26 -0
  105. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +25 -0
  106. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  107. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +65 -0
  108. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +32 -0
  109. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +4 -0
  110. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +69 -0
  111. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +12 -0
  112. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -0
  113. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +152 -0
  114. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +35 -0
  115. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
  116. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +20 -0
  117. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +28 -0
  118. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
  119. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +38 -0
  120. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +87 -0
  121. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
  122. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +28 -0
  123. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +25 -0
  124. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +4 -0
  125. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +269 -0
  126. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +119 -0
  127. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  128. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +256 -0
  129. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -0
  130. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +173 -0
  131. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +4 -0
  132. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
  133. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +36 -0
  134. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +2 -0
  135. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  136. package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +70 -0
  137. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -0
  138. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +38 -0
  139. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
  140. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +33 -0
  141. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
  142. package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +30 -0
  143. package/es/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +7 -0
  144. package/es/components/parallelResourcBooking/components/bookingDetailModal/index.js +337 -0
  145. package/es/components/parallelResourcBooking/components/bookingDetailModal/index.less +82 -0
  146. package/es/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +17 -0
  147. package/es/components/parallelResourcBooking/components/bookingServiceList/index.js +52 -0
  148. package/es/components/parallelResourcBooking/components/bookingServiceList/index.less +6 -0
  149. package/es/components/parallelResourcBooking/components/eventCard/index.d.ts +14 -0
  150. package/es/components/parallelResourcBooking/components/eventCard/index.js +116 -0
  151. package/es/components/parallelResourcBooking/components/eventCard/index.less +81 -0
  152. package/es/components/parallelResourcBooking/components/productCard/index.d.ts +16 -0
  153. package/es/components/parallelResourcBooking/components/productCard/index.js +79 -0
  154. package/es/components/parallelResourcBooking/components/productCard/index.less +60 -0
  155. package/es/components/parallelResourcBooking/components/progressBar/index.d.ts +16 -0
  156. package/es/components/parallelResourcBooking/components/progressBar/index.js +93 -0
  157. package/es/components/parallelResourcBooking/components/progressBar/index.less +15 -0
  158. package/es/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +23 -0
  159. package/es/components/parallelResourcBooking/components/resourceDisplay/index.js +148 -0
  160. package/es/components/parallelResourcBooking/components/resourceDisplay/index.less +95 -0
  161. package/es/components/parallelResourcBooking/components/resourceUsability/index.d.ts +12 -0
  162. package/es/components/parallelResourcBooking/components/resourceUsability/index.js +44 -0
  163. package/es/components/parallelResourcBooking/components/resourceUsability/index.less +40 -0
  164. package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
  165. package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +37 -0
  166. package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +58 -0
  167. package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +12 -0
  168. package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +127 -0
  169. package/es/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +13 -0
  170. package/es/components/parallelResourcBooking/components/scheduleCalendar/index.js +142 -0
  171. package/es/components/parallelResourcBooking/components/scheduleCalendar/index.less +222 -0
  172. package/es/components/parallelResourcBooking/components/selectHolder/index.d.ts +22 -0
  173. package/es/components/parallelResourcBooking/components/selectHolder/index.js +118 -0
  174. package/es/components/parallelResourcBooking/components/selectHolder/index.less +70 -0
  175. package/es/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +20 -0
  176. package/es/components/parallelResourcBooking/components/timeResourceSelector/index.js +168 -0
  177. package/es/components/parallelResourcBooking/components/timeResourceSelector/index.less +74 -0
  178. package/es/components/parallelResourcBooking/index.d.ts +4 -0
  179. package/es/components/parallelResourcBooking/index.js +58 -0
  180. package/es/components/parallelResourcBooking/index.less +22 -0
  181. package/es/components/parallelResourcBooking/locales.d.ts +216 -0
  182. package/es/components/parallelResourcBooking/locales.js +251 -0
  183. package/es/components/parallelResourcBooking/mock.d.ts +627 -0
  184. package/es/components/parallelResourcBooking/mock.js +1172 -0
  185. package/es/components/parallelResourcBooking/status.d.ts +21 -0
  186. package/es/components/parallelResourcBooking/status.js +51 -0
  187. package/es/components/parallelResourcBooking/type.d.ts +17 -0
  188. package/es/components/parallelResourcBooking/type.js +1 -0
  189. package/es/components/parallelResourcBooking/utils.d.ts +45 -0
  190. package/es/components/parallelResourcBooking/utils.js +99 -0
  191. package/es/components/pay/toC/model.d.ts +9 -1
  192. package/es/components/productExtension/card/index.js +3 -3
  193. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  194. package/es/components/productExtension/fields/Forms/index.js +12 -12
  195. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  196. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  197. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  198. package/es/components/productExtension/server.js +2 -2
  199. package/es/components/ruleSetting/index.d.ts +1 -0
  200. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  201. package/es/components/schedules/calendar/index.js +4 -4
  202. package/es/components/schedules/calendar/serve.js +2 -2
  203. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  204. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  205. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  206. package/es/components/schedules/components/ResourceList/index.js +1 -1
  207. package/es/components/schedules/components/Search/index.js +5 -5
  208. package/es/components/schedules/model.d.ts +9 -1
  209. package/es/components/schedules/model.js +5 -5
  210. package/es/components/schedules/openHours/index.js +1 -1
  211. package/es/components/schedules/openHours/serve.js +2 -2
  212. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  213. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  214. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  215. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  216. package/es/components/schedules/products/serve.js +2 -2
  217. package/es/components/schedules/products/utils.js +5 -5
  218. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  219. package/es/components/schedules/resources/detail/index.js +10 -10
  220. package/es/components/schedules/resources/list/index.js +2 -2
  221. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  222. package/es/components/schedules/resources/serve.js +2 -2
  223. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  224. package/es/components/schedules/utils.js +4 -4
  225. package/es/components/selectModal/index.js +2 -2
  226. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  227. package/es/components/wallet/Detail/model.d.ts +13 -1
  228. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  229. package/es/components/wallet/PointCard/model.d.ts +13 -1
  230. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  231. package/es/components/wallet/Voucher/model.d.ts +13 -1
  232. package/es/components/wallet/model.d.ts +9 -1
  233. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  234. package/es/hooks/useComponents.js +1 -1
  235. package/lib/components/booking/addons/model.d.ts +10 -1
  236. package/lib/components/booking/forms/model.d.ts +10 -1
  237. package/lib/components/booking/info/model.d.ts +10 -1
  238. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  239. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  240. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  241. package/lib/components/booking/model.d.ts +9 -1
  242. package/lib/components/booking/notes/model.d.ts +10 -1
  243. package/lib/components/booking/payments/model.d.ts +10 -1
  244. package/lib/components/eftposPay/amount.d.ts +1 -1
  245. package/lib/components/eftposPay/app.d.ts +1 -1
  246. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  247. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  248. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  249. package/lib/components/eftposPay/device.d.ts +1 -1
  250. package/lib/components/eftposPay/hooks.d.ts +1 -1
  251. package/lib/components/eftposPay/index.d.ts +1 -0
  252. package/lib/components/eftposPay/pay.d.ts +1 -0
  253. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  254. package/lib/components/eftposPay/store/index.d.ts +4 -4
  255. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  256. package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +4 -0
  257. package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +69 -0
  258. package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +131 -0
  259. package/lib/components/parallelResourcBooking/assets/alert-circle.png +0 -0
  260. package/lib/components/parallelResourcBooking/assets/calendar-heart.svg +5 -0
  261. package/lib/components/parallelResourcBooking/assets/compass.svg +13 -0
  262. package/lib/components/parallelResourcBooking/assets/image.svg +5 -0
  263. package/lib/components/parallelResourcBooking/assets/phone.svg +5 -0
  264. package/lib/components/parallelResourcBooking/assets/shopping-cart.svg +10 -0
  265. package/lib/components/parallelResourcBooking/components/ErrorTip/index.d.ts +4 -0
  266. package/lib/components/parallelResourcBooking/components/ErrorTip/index.js +30 -0
  267. package/lib/components/parallelResourcBooking/components/ErrorTip/index.less +51 -0
  268. package/lib/components/parallelResourcBooking/components/OpenCard/index.d.ts +4 -0
  269. package/lib/components/parallelResourcBooking/components/OpenCard/index.js +90 -0
  270. package/lib/components/parallelResourcBooking/components/OpenCard/index.less +52 -0
  271. package/lib/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
  272. package/lib/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.js +158 -0
  273. package/lib/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  274. package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
  275. package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/Total.js +82 -0
  276. package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/index.d.ts +4 -0
  277. package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/index.js +92 -0
  278. package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/index.less +87 -0
  279. package/lib/components/parallelResourcBooking/components/Provider/Cart/index.d.ts +4 -0
  280. package/lib/components/parallelResourcBooking/components/Provider/Cart/index.js +59 -0
  281. package/lib/components/parallelResourcBooking/components/Provider/Cart/index.less +2 -0
  282. package/lib/components/parallelResourcBooking/components/Provider/Content/index.d.ts +4 -0
  283. package/lib/components/parallelResourcBooking/components/Provider/Content/index.js +90 -0
  284. package/lib/components/parallelResourcBooking/components/Provider/Content/index.less +31 -0
  285. package/lib/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
  286. package/lib/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.js +60 -0
  287. package/lib/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.less +17 -0
  288. package/lib/components/parallelResourcBooking/components/Provider/Event/index.d.ts +4 -0
  289. package/lib/components/parallelResourcBooking/components/Provider/Event/index.js +100 -0
  290. package/lib/components/parallelResourcBooking/components/Provider/Event/index.less +20 -0
  291. package/lib/components/parallelResourcBooking/components/Provider/Footer/index.d.ts +4 -0
  292. package/lib/components/parallelResourcBooking/components/Provider/Footer/index.js +87 -0
  293. package/lib/components/parallelResourcBooking/components/Provider/Footer/index.less +64 -0
  294. package/lib/components/parallelResourcBooking/components/Provider/Header/index.d.ts +4 -0
  295. package/lib/components/parallelResourcBooking/components/Provider/Header/index.js +80 -0
  296. package/lib/components/parallelResourcBooking/components/Provider/Header/index.less +2 -0
  297. package/lib/components/parallelResourcBooking/components/Provider/Information/index.d.ts +4 -0
  298. package/lib/components/parallelResourcBooking/components/Provider/Information/index.js +151 -0
  299. package/lib/components/parallelResourcBooking/components/Provider/Information/index.less +92 -0
  300. package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
  301. package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.js +67 -0
  302. package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.less +27 -0
  303. package/lib/components/parallelResourcBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
  304. package/lib/components/parallelResourcBooking/components/Provider/OrderProductModal/index.js +57 -0
  305. package/lib/components/parallelResourcBooking/components/Provider/OrderProductModal/index.less +32 -0
  306. package/lib/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
  307. package/lib/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.js +62 -0
  308. package/lib/components/parallelResourcBooking/components/Provider/Resource/index.d.ts +4 -0
  309. package/lib/components/parallelResourcBooking/components/Provider/Resource/index.js +90 -0
  310. package/lib/components/parallelResourcBooking/components/Provider/Resource/index.less +46 -0
  311. package/lib/components/parallelResourcBooking/components/Provider/SelectHolderModal.d.ts +3 -0
  312. package/lib/components/parallelResourcBooking/components/Provider/SelectHolderModal.js +97 -0
  313. package/lib/components/parallelResourcBooking/components/Provider/SelectProduct/index.d.ts +4 -0
  314. package/lib/components/parallelResourcBooking/components/Provider/SelectProduct/index.js +69 -0
  315. package/lib/components/parallelResourcBooking/components/Provider/SelectProduct/index.less +131 -0
  316. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
  317. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +55 -0
  318. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +25 -0
  319. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  320. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +78 -0
  321. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +32 -0
  322. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +4 -0
  323. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +86 -0
  324. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +12 -0
  325. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -0
  326. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +121 -0
  327. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +35 -0
  328. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
  329. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +37 -0
  330. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +28 -0
  331. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
  332. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +58 -0
  333. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +87 -0
  334. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
  335. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +55 -0
  336. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +25 -0
  337. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +4 -0
  338. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +196 -0
  339. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +119 -0
  340. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  341. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +198 -0
  342. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -0
  343. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +122 -0
  344. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +4 -0
  345. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
  346. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +70 -0
  347. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +2 -0
  348. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  349. package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +70 -0
  350. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -0
  351. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +75 -0
  352. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
  353. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +66 -0
  354. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
  355. package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +69 -0
  356. package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +7 -0
  357. package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.js +248 -0
  358. package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.less +82 -0
  359. package/lib/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +17 -0
  360. package/lib/components/parallelResourcBooking/components/bookingServiceList/index.js +79 -0
  361. package/lib/components/parallelResourcBooking/components/bookingServiceList/index.less +6 -0
  362. package/lib/components/parallelResourcBooking/components/eventCard/index.d.ts +14 -0
  363. package/lib/components/parallelResourcBooking/components/eventCard/index.js +124 -0
  364. package/lib/components/parallelResourcBooking/components/eventCard/index.less +81 -0
  365. package/lib/components/parallelResourcBooking/components/productCard/index.d.ts +16 -0
  366. package/lib/components/parallelResourcBooking/components/productCard/index.js +77 -0
  367. package/lib/components/parallelResourcBooking/components/productCard/index.less +60 -0
  368. package/lib/components/parallelResourcBooking/components/progressBar/index.d.ts +16 -0
  369. package/lib/components/parallelResourcBooking/components/progressBar/index.js +100 -0
  370. package/lib/components/parallelResourcBooking/components/progressBar/index.less +15 -0
  371. package/lib/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +23 -0
  372. package/lib/components/parallelResourcBooking/components/resourceDisplay/index.js +116 -0
  373. package/lib/components/parallelResourcBooking/components/resourceDisplay/index.less +95 -0
  374. package/lib/components/parallelResourcBooking/components/resourceUsability/index.d.ts +12 -0
  375. package/lib/components/parallelResourcBooking/components/resourceUsability/index.js +76 -0
  376. package/lib/components/parallelResourcBooking/components/resourceUsability/index.less +40 -0
  377. package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
  378. package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +73 -0
  379. package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +58 -0
  380. package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +12 -0
  381. package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +135 -0
  382. package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +13 -0
  383. package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.js +125 -0
  384. package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.less +222 -0
  385. package/lib/components/parallelResourcBooking/components/selectHolder/index.d.ts +22 -0
  386. package/lib/components/parallelResourcBooking/components/selectHolder/index.js +106 -0
  387. package/lib/components/parallelResourcBooking/components/selectHolder/index.less +70 -0
  388. package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +20 -0
  389. package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.js +146 -0
  390. package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.less +74 -0
  391. package/lib/components/parallelResourcBooking/index.d.ts +4 -0
  392. package/lib/components/parallelResourcBooking/index.js +78 -0
  393. package/lib/components/parallelResourcBooking/index.less +22 -0
  394. package/lib/components/parallelResourcBooking/locales.d.ts +216 -0
  395. package/lib/components/parallelResourcBooking/locales.js +239 -0
  396. package/lib/components/parallelResourcBooking/mock.d.ts +627 -0
  397. package/lib/components/parallelResourcBooking/mock.js +1352 -0
  398. package/lib/components/parallelResourcBooking/status.d.ts +21 -0
  399. package/lib/components/parallelResourcBooking/status.js +70 -0
  400. package/lib/components/parallelResourcBooking/type.d.ts +17 -0
  401. package/lib/components/parallelResourcBooking/type.js +17 -0
  402. package/lib/components/parallelResourcBooking/utils.d.ts +45 -0
  403. package/lib/components/parallelResourcBooking/utils.js +90 -0
  404. package/lib/components/pay/toC/model.d.ts +9 -1
  405. package/lib/components/ruleSetting/index.d.ts +1 -0
  406. package/lib/components/schedules/model.d.ts +9 -1
  407. package/lib/components/schedules/utils.js +1 -1
  408. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  409. package/lib/components/wallet/Detail/model.d.ts +13 -1
  410. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  411. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  412. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  413. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  414. package/lib/components/wallet/model.d.ts +9 -1
  415. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  416. package/package.json +3 -3
@@ -0,0 +1,131 @@
1
+ .select-product-container {
2
+ padding: 24px;
3
+ background: #fff;
4
+
5
+ .step-header {
6
+ margin-bottom: 24px;
7
+
8
+ .step-number {
9
+ font-size: 14px;
10
+ color: #666;
11
+ margin-bottom: 8px;
12
+ }
13
+
14
+ .step-title {
15
+ font-size: 24px;
16
+ font-weight: 500;
17
+ color: #333;
18
+ }
19
+ }
20
+
21
+ .category-section {
22
+ margin-bottom: 24px;
23
+
24
+ .category-title {
25
+ font-size: 16px;
26
+ font-weight: 500;
27
+ color: #333;
28
+ margin-bottom: 16px;
29
+ }
30
+
31
+ .product-list {
32
+ display: grid;
33
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
34
+ gap: 16px;
35
+ }
36
+ }
37
+
38
+ .product-card {
39
+ cursor: pointer;
40
+ transition: all 0.3s;
41
+
42
+ &:hover {
43
+ transform: translateY(-2px);
44
+ }
45
+
46
+ &.product-card-selected {
47
+ .pisell-card {
48
+ border-color: #1890ff;
49
+ background: rgba(24, 144, 255, 0.05);
50
+ }
51
+ }
52
+
53
+ .product-content {
54
+ text-align: center;
55
+
56
+ .product-title {
57
+ font-size: 16px;
58
+ color: #333;
59
+ margin-bottom: 8px;
60
+ }
61
+
62
+ .product-price {
63
+ font-size: 14px;
64
+ color: #666;
65
+ }
66
+ }
67
+ }
68
+
69
+ .cart-section {
70
+ background: #f5f5f5;
71
+ border-radius: 4px;
72
+ padding: 24px;
73
+
74
+ .cart-title {
75
+ font-size: 18px;
76
+ font-weight: 500;
77
+ color: #333;
78
+ margin-bottom: 16px;
79
+ }
80
+
81
+ .cart-empty {
82
+ text-align: center;
83
+ padding: 32px 0;
84
+
85
+ .cart-empty-icon {
86
+ font-size: 24px;
87
+ margin-bottom: 8px;
88
+ }
89
+
90
+ .cart-empty-text {
91
+ color: #999;
92
+ }
93
+ }
94
+
95
+ .cart-items {
96
+ .cart-item {
97
+ padding: 12px;
98
+ background: #fff;
99
+ border-radius: 4px;
100
+ margin-bottom: 8px;
101
+
102
+ &:last-child {
103
+ margin-bottom: 0;
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+
110
+ // 移动端适配
111
+ @media screen and (max-width: 768px) {
112
+ .select-product-container {
113
+ padding: 16px;
114
+
115
+ .step-header {
116
+ margin-bottom: 16px;
117
+
118
+ .step-title {
119
+ font-size: 20px;
120
+ }
121
+ }
122
+
123
+ .product-list {
124
+ grid-template-columns: 1fr !important;
125
+ }
126
+
127
+ .cart-section {
128
+ padding: 16px;
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,5 @@
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>
@@ -0,0 +1,13 @@
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>
@@ -0,0 +1,5 @@
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>
@@ -0,0 +1,5 @@
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>
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const ErrorTip: ({ text }: any) => JSX.Element;
4
+ export default ErrorTip;
@@ -0,0 +1,30 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/parallelResourcBooking/components/ErrorTip/index.tsx
20
+ var ErrorTip_exports = {};
21
+ __export(ErrorTip_exports, {
22
+ default: () => ErrorTip_default
23
+ });
24
+ module.exports = __toCommonJS(ErrorTip_exports);
25
+ var import_materials = require("@pisell/materials");
26
+ var import_index = require("./index.less");
27
+ var ErrorTip = ({ text }) => {
28
+ return /* @__PURE__ */ React.createElement("div", { className: "event-booking-error-tip" }, /* @__PURE__ */ React.createElement("div", { className: "error-icon-wrapper" }, /* @__PURE__ */ React.createElement(import_materials.Iconfont, { type: "pisell2-alert-circle", className: "icon-warning" })), /* @__PURE__ */ React.createElement("span", null, text));
29
+ };
30
+ var ErrorTip_default = ErrorTip;
@@ -0,0 +1,51 @@
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
+ }
@@ -0,0 +1,4 @@
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;
@@ -0,0 +1,90 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/parallelResourcBooking/components/OpenCard/index.tsx
30
+ var OpenCard_exports = {};
31
+ __export(OpenCard_exports, {
32
+ default: () => OpenCard_default
33
+ });
34
+ module.exports = __toCommonJS(OpenCard_exports);
35
+ var import_react = require("react");
36
+ var import_materials = require("@pisell/materials");
37
+ var import_classnames = __toESM(require("classnames"));
38
+ var import_index = require("./index.less");
39
+ var OpenCard = ({
40
+ children,
41
+ title,
42
+ className,
43
+ scrollErrorId,
44
+ initOpen = true,
45
+ extra,
46
+ isClick = true,
47
+ showArrow = true,
48
+ showBorder = false,
49
+ showHeader = true
50
+ }, ref) => {
51
+ const [isOpen, setIsOpen] = (0, import_react.useState)(true);
52
+ (0, import_react.useEffect)(() => {
53
+ if (initOpen === false) {
54
+ setIsOpen(false);
55
+ }
56
+ }, [initOpen]);
57
+ (0, import_react.useImperativeHandle)(ref, () => {
58
+ return {
59
+ open: () => setIsOpen(true)
60
+ };
61
+ });
62
+ return /* @__PURE__ */ React.createElement(
63
+ "div",
64
+ {
65
+ id: scrollErrorId,
66
+ className: (0, import_classnames.default)(
67
+ "open-card",
68
+ { open: isOpen, "open-card-border": showBorder },
69
+ className
70
+ )
71
+ },
72
+ showHeader ? /* @__PURE__ */ React.createElement(
73
+ "div",
74
+ {
75
+ className: "header",
76
+ onClick: () => isClick ? setIsOpen(!isOpen) : null
77
+ },
78
+ /* @__PURE__ */ React.createElement("div", { className: "title" }, title),
79
+ /* @__PURE__ */ React.createElement("div", { className: "right" }, extra, showArrow ? /* @__PURE__ */ React.createElement(
80
+ import_materials.Iconfont,
81
+ {
82
+ type: !isOpen ? "pisell2-chevron-up" : "pisell2-chevron-down",
83
+ className: (0, import_classnames.default)("icon")
84
+ }
85
+ ) : null)
86
+ ) : null,
87
+ children ? /* @__PURE__ */ React.createElement("div", { className: "content" }, children) : null
88
+ );
89
+ };
90
+ var OpenCard_default = (0, import_react.forwardRef)(OpenCard);
@@ -0,0 +1,52 @@
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
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const ContinueButton: () => JSX.Element;
4
+ export default ContinueButton;
@@ -0,0 +1,158 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.tsx
30
+ var ContinueButton_exports = {};
31
+ __export(ContinueButton_exports, {
32
+ default: () => ContinueButton_default
33
+ });
34
+ module.exports = __toCommonJS(ContinueButton_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_utils = require("@pisell/utils");
37
+ var import_materials = require("@pisell/materials");
38
+ var import_Sales = require("../../../../../Sales");
39
+ var import_utils2 = require("../../../../../Sales/Checkout/utils");
40
+ var import_OrderProductModal = __toESM(require("../../OrderProductModal/index"));
41
+ var import_EmptyHolderModal = __toESM(require("../../EmptyHolderModal"));
42
+ var import_index = require("./index.less");
43
+ var ContinueButton = () => {
44
+ var _a;
45
+ const { data } = (0, import_Sales.useSales)();
46
+ const { onHolderOpen } = (0, import_Sales.useHolder)();
47
+ const { checkHolder, onCloseCart, cartData, getWithoutCartItemsHolderNames } = (0, import_Sales.useCart)();
48
+ const { currentStepData, nextStep, isLastStep } = (0, import_Sales.useStep)();
49
+ const {
50
+ onCheckout,
51
+ createBooking,
52
+ onCheckBeforeBooking,
53
+ checkBeforeBooking
54
+ } = (0, import_Sales.useCheckout)();
55
+ const { openLoginModal, isLogin } = (0, import_Sales.useCustomer)();
56
+ const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
57
+ const [checkedNumber, setCheckedNumber] = (0, import_react.useState)(0);
58
+ const [openEmptyHolder, setOpenEmptyHolder] = (0, import_react.useState)(false);
59
+ const { removeSessionStorage } = (0, import_Sales.useSales)();
60
+ const handleCheckout = async () => {
61
+ var _a2;
62
+ const value = (0, import_utils2.formatValues)(data);
63
+ const result = await onCheckout(value);
64
+ if (result == null ? void 0 : result.success) {
65
+ removeSessionStorage();
66
+ } else {
67
+ (0, import_materials.PisellToast)({
68
+ content: ((_a2 = result == null ? void 0 : result.err) == null ? void 0 : _a2.message) || ""
69
+ });
70
+ }
71
+ };
72
+ const handleNextStep = async () => {
73
+ onCloseCart();
74
+ setOpenEmptyHolder(false);
75
+ if (isLastStep) {
76
+ return handleCheckout();
77
+ }
78
+ nextStep();
79
+ };
80
+ const handleHolder = () => {
81
+ const isHolder = checkHolder();
82
+ if (!isHolder) {
83
+ onHolderOpen();
84
+ return;
85
+ }
86
+ const emptyHolders = getWithoutCartItemsHolderNames();
87
+ if ((emptyHolders == null ? void 0 : emptyHolders.length) > 0) {
88
+ return setOpenEmptyHolder(true);
89
+ }
90
+ handleNextStep();
91
+ };
92
+ const handleContinue = async () => {
93
+ if (isLastStep) {
94
+ const value = (0, import_utils2.formatValues)(data);
95
+ const checkRes = await onCheckBeforeBooking(value);
96
+ if ((checkRes == null ? void 0 : checkRes.result) === false) {
97
+ setCheckedNumber(checkRes == null ? void 0 : checkRes.num);
98
+ setOpenCheckout(true);
99
+ return;
100
+ }
101
+ const emptyHolders = getWithoutCartItemsHolderNames();
102
+ if ((emptyHolders == null ? void 0 : emptyHolders.length) > 0) {
103
+ return setOpenEmptyHolder(true);
104
+ }
105
+ onCloseCart();
106
+ return handleCheckout();
107
+ }
108
+ if (!isLogin()) {
109
+ onCloseCart();
110
+ return openLoginModal({
111
+ callback: (status) => {
112
+ if (status === "success") {
113
+ handleHolder();
114
+ }
115
+ }
116
+ });
117
+ }
118
+ handleHolder();
119
+ };
120
+ const continueText = (0, import_react.useMemo)(() => {
121
+ if (isLastStep) {
122
+ return import_utils.locales.getText("pisell2.event.checkout");
123
+ } else {
124
+ return import_utils.locales.getText("pisell2.event.close.continue");
125
+ }
126
+ }, [currentStepData == null ? void 0 : currentStepData.key]);
127
+ const confirmLoading = (0, import_react.useMemo)(() => {
128
+ if (!isLastStep) return false;
129
+ return (createBooking == null ? void 0 : createBooking.loading) || (checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading);
130
+ }, [isLastStep, createBooking == null ? void 0 : createBooking.loading, checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading]);
131
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
132
+ import_materials.Button,
133
+ {
134
+ disabled: !((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length),
135
+ size: "large",
136
+ type: "primary",
137
+ onClick: () => handleContinue(),
138
+ loading: confirmLoading
139
+ },
140
+ continueText
141
+ ), /* @__PURE__ */ import_react.default.createElement(
142
+ import_OrderProductModal.default,
143
+ {
144
+ open: openCheckout,
145
+ type: "checkout",
146
+ onCancel: () => setOpenCheckout(false)
147
+ }
148
+ ), /* @__PURE__ */ import_react.default.createElement(
149
+ import_EmptyHolderModal.default,
150
+ {
151
+ open: openEmptyHolder,
152
+ lists: getWithoutCartItemsHolderNames(),
153
+ onCancel: () => setOpenEmptyHolder(false),
154
+ onOk: () => handleNextStep()
155
+ }
156
+ ));
157
+ };
158
+ var ContinueButton_default = ContinueButton;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
+ export default Total;