@pisell/private-materials 3.3.76 → 3.3.78

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 (356) 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 +13 -13
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/businessModel/SalesModel/Sales/index.js +37 -4
  12. package/es/components/Sales/Resource/index.js +2 -2
  13. package/es/components/Sales/Resource/serve.d.ts +7 -0
  14. package/es/components/Sales/Resource/serve.js +10 -0
  15. package/es/components/Sales/Summary/utils.d.ts +1 -1
  16. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Cart/Item/index.js +4 -2
  19. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  20. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  22. package/es/components/appointmentBooking/components/Date/index.js +24 -14
  23. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  24. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  25. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  26. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  27. package/es/components/appointmentBooking/components/Header/index.js +8 -14
  28. package/es/components/appointmentBooking/components/Services/index.js +38 -36
  29. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  30. package/es/components/appointmentBooking/components/Voucher/index.js +13 -0
  31. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  32. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +6 -7
  33. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  34. package/es/components/appointmentBooking/index.d.ts +1 -0
  35. package/es/components/appointmentBooking/index.js +14 -0
  36. package/es/components/appointmentBooking/index.less +1 -1
  37. package/es/components/appointmentBooking/locales.js +3 -3
  38. package/es/components/booking/addons/index.js +12 -3
  39. package/es/components/booking/addons/model.js +5 -0
  40. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  41. package/es/components/booking/components/TabProduct/selectProductItem/index.js +3 -1
  42. package/es/components/booking/components/TabProduct/selectProductItem/index.less +6 -0
  43. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  44. package/es/components/booking/components/browserSelect/index.js +1 -1
  45. package/es/components/booking/components/footer/amount.js +2 -1
  46. package/es/components/booking/components/footer/index.d.ts +1 -0
  47. package/es/components/booking/components/footer/index.js +9 -3
  48. package/es/components/booking/components/footer/utils.js +74 -36
  49. package/es/components/booking/components/voucher/index.d.ts +1 -0
  50. package/es/components/booking/components/voucher/index.js +110 -66
  51. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  52. package/es/components/booking/components/voucher/utils.js +15 -0
  53. package/es/components/booking/forms/footer.d.ts +1 -0
  54. package/es/components/booking/forms/model.js +5 -5
  55. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  56. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  57. package/es/components/booking/hooks/useQuotation.d.ts +1 -0
  58. package/es/components/booking/hooks/useQuotation.js +16 -1
  59. package/es/components/booking/info/client/index.js +12 -3
  60. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  61. package/es/components/booking/info/service/Lists.d.ts +1 -0
  62. package/es/components/booking/info/service/Lists.js +1 -1
  63. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  64. package/es/components/booking/info/service/addService/index.js +3 -1
  65. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  66. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  67. package/es/components/booking/info/service/like/index.js +1 -1
  68. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  69. package/es/components/booking/info/service2/utils.js +6 -2
  70. package/es/components/booking/info/utils.js +1 -1
  71. package/es/components/booking/info2/index.js +9 -4
  72. package/es/components/booking/info2/serve.d.ts +1 -1
  73. package/es/components/booking/info2/serve.js +12 -8
  74. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  75. package/es/components/booking/info2/service/addService/index.js +5 -3
  76. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  77. package/es/components/booking/info2/service/editService/index.js +5 -2
  78. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  79. package/es/components/booking/info2/utils.d.ts +1 -1
  80. package/es/components/booking/info2/utils.js +3 -2
  81. package/es/components/booking/info2/utilsByBooking.d.ts +1 -1
  82. package/es/components/booking/info2/utilsByBooking.js +5 -3
  83. package/es/components/booking/locales.d.ts +3 -0
  84. package/es/components/booking/locales.js +6 -3
  85. package/es/components/booking/materiels/startTime/index.js +1 -1
  86. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  87. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  88. package/es/components/booking/notes/model.js +5 -5
  89. package/es/components/booking/payments/model.js +5 -5
  90. package/es/components/booking/utils.d.ts +1 -0
  91. package/es/components/booking/utils.js +4 -0
  92. package/es/components/eftposPay/amount.d.ts +1 -1
  93. package/es/components/eftposPay/device.d.ts +1 -1
  94. package/es/components/eftposPay/hooks.d.ts +1 -1
  95. package/es/components/eftposPay/store/index.d.ts +3 -3
  96. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  97. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  98. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  99. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  100. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  101. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  102. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  103. package/es/components/eventBooking/components/Provider/Event/index.js +13 -4
  104. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  105. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  106. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  107. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  108. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  109. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  111. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  112. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  113. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  114. package/es/components/eventBooking/components/bookingDetailModal/index.js +19 -3
  115. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  116. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  117. package/es/components/eventBooking/index.d.ts +1 -0
  118. package/es/components/eventBooking/index.js +21 -7
  119. package/es/components/eventBooking/locales.js +3 -3
  120. package/es/components/index.d.ts +2 -1
  121. package/es/components/index.js +2 -1
  122. package/es/components/listComponent/index.js +5 -5
  123. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  124. package/es/components/pay/toC/PaymentMethods/index.js +5 -4
  125. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  126. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  127. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  128. package/es/components/productExtension/card/index.js +3 -3
  129. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  130. package/es/components/productExtension/fields/Forms/index.js +12 -12
  131. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  132. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  133. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  134. package/es/components/productExtension/server.js +2 -2
  135. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  136. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  137. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  138. package/es/components/schedules/calendar/index.js +4 -4
  139. package/es/components/schedules/calendar/serve.js +2 -2
  140. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  141. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  142. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  143. package/es/components/schedules/components/ResourceList/index.js +1 -1
  144. package/es/components/schedules/components/Search/index.js +5 -5
  145. package/es/components/schedules/model.js +5 -5
  146. package/es/components/schedules/openHours/index.js +1 -1
  147. package/es/components/schedules/openHours/serve.js +2 -2
  148. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  149. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  150. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  151. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  152. package/es/components/schedules/products/serve.js +2 -2
  153. package/es/components/schedules/products/utils.js +5 -5
  154. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  155. package/es/components/schedules/resources/detail/index.js +10 -10
  156. package/es/components/schedules/resources/list/index.js +2 -2
  157. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  158. package/es/components/schedules/resources/serve.js +2 -2
  159. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  160. package/es/components/schedules/utils.d.ts +1 -1
  161. package/es/components/schedules/utils.js +4 -4
  162. package/es/components/selectModal/index.js +2 -2
  163. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  164. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  165. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  166. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  167. package/es/components/stepController/components/Content/index.d.ts +7 -0
  168. package/es/components/stepController/components/Content/index.js +9 -0
  169. package/es/components/stepController/components/Content/index.less +8 -0
  170. package/es/components/stepController/components/Footer/index.d.ts +8 -0
  171. package/es/components/stepController/components/Footer/index.js +15 -0
  172. package/es/components/stepController/components/Footer/index.less +39 -0
  173. package/es/components/stepController/components/Header/index.d.ts +20 -0
  174. package/es/components/stepController/components/Header/index.js +97 -0
  175. package/es/components/stepController/components/Header/index.less +21 -0
  176. package/es/components/stepController/index.d.ts +5 -0
  177. package/es/components/stepController/index.js +64 -0
  178. package/es/components/stepController/index.less +11 -0
  179. package/es/components/stepController/locales.d.ts +27 -0
  180. package/es/components/stepController/locales.js +32 -0
  181. package/es/components/stepController/types.d.ts +23 -0
  182. package/es/components/stepController/types.js +1 -0
  183. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  184. package/es/components/ticketBooking/components/addServiceVariant/addService.js +46 -8
  185. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  186. package/es/components/ticketBooking/components/ticketBooking/index.js +124 -3
  187. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  188. package/es/components/ticketBooking/locales.d.ts +164 -146
  189. package/es/components/ticketBooking/locales.js +195 -147
  190. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  191. package/es/components/ticketBooking/utils/formatProductMessage.js +62 -0
  192. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  193. package/es/components/ticketBooking/utils/formatTime.js +144 -0
  194. package/es/components/ticketBooking/utils/index.d.ts +5 -1
  195. package/es/components/ticketBooking/utils/index.js +58 -6
  196. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  197. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  198. package/es/hooks/useComponents.js +1 -1
  199. package/es/hooks/useWindowSize.d.ts +5 -0
  200. package/es/hooks/useWindowSize.js +26 -0
  201. package/es/index.d.ts +1 -0
  202. package/es/index.js +2 -1
  203. package/es/utils/index.d.ts +1 -1
  204. package/lib/businessModel/SalesModel/Sales/index.js +22 -8
  205. package/lib/components/Sales/Resource/index.js +1 -1
  206. package/lib/components/Sales/Resource/serve.d.ts +7 -0
  207. package/lib/components/Sales/Resource/serve.js +9 -2
  208. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  209. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  210. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  211. package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -4
  212. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  213. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  214. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  215. package/lib/components/appointmentBooking/components/Date/index.js +12 -5
  216. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  217. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  218. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  219. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  220. package/lib/components/appointmentBooking/components/Header/index.js +2 -3
  221. package/lib/components/appointmentBooking/components/Services/index.js +19 -18
  222. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  223. package/lib/components/appointmentBooking/components/Voucher/index.js +9 -0
  224. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  225. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +0 -1
  226. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  227. package/lib/components/appointmentBooking/index.d.ts +1 -0
  228. package/lib/components/appointmentBooking/index.js +11 -0
  229. package/lib/components/appointmentBooking/index.less +1 -1
  230. package/lib/components/appointmentBooking/locales.js +3 -3
  231. package/lib/components/booking/addons/index.js +12 -2
  232. package/lib/components/booking/addons/model.js +3 -0
  233. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  234. package/lib/components/booking/components/TabProduct/selectProductItem/index.js +5 -1
  235. package/lib/components/booking/components/TabProduct/selectProductItem/index.less +6 -0
  236. package/lib/components/booking/components/footer/amount.js +2 -1
  237. package/lib/components/booking/components/footer/index.d.ts +1 -0
  238. package/lib/components/booking/components/footer/index.js +10 -5
  239. package/lib/components/booking/components/footer/utils.js +48 -12
  240. package/lib/components/booking/components/voucher/index.d.ts +1 -0
  241. package/lib/components/booking/components/voucher/index.js +111 -67
  242. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  243. package/lib/components/booking/components/voucher/utils.js +43 -0
  244. package/lib/components/booking/forms/footer.d.ts +1 -0
  245. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  246. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  247. package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
  248. package/lib/components/booking/hooks/useQuotation.js +19 -1
  249. package/lib/components/booking/info/client/index.js +10 -3
  250. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  251. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  252. package/lib/components/booking/info/service/Lists.js +1 -1
  253. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  254. package/lib/components/booking/info/service/addService/index.js +2 -0
  255. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  256. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  257. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  258. package/lib/components/booking/info/service2/utils.js +3 -1
  259. package/lib/components/booking/info/utils.js +1 -3
  260. package/lib/components/booking/info2/index.js +9 -9
  261. package/lib/components/booking/info2/serve.d.ts +1 -1
  262. package/lib/components/booking/info2/serve.js +1 -1
  263. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  264. package/lib/components/booking/info2/service/addService/index.js +4 -2
  265. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  266. package/lib/components/booking/info2/service/editService/index.js +5 -2
  267. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  268. package/lib/components/booking/info2/utils.d.ts +1 -1
  269. package/lib/components/booking/info2/utils.js +2 -2
  270. package/lib/components/booking/info2/utilsByBooking.d.ts +1 -1
  271. package/lib/components/booking/info2/utilsByBooking.js +3 -2
  272. package/lib/components/booking/locales.d.ts +3 -0
  273. package/lib/components/booking/locales.js +6 -3
  274. package/lib/components/booking/utils.d.ts +1 -0
  275. package/lib/components/booking/utils.js +6 -0
  276. package/lib/components/eftposPay/amount.d.ts +1 -1
  277. package/lib/components/eftposPay/device.d.ts +1 -1
  278. package/lib/components/eftposPay/hooks.d.ts +1 -1
  279. package/lib/components/eftposPay/store/index.d.ts +3 -3
  280. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  281. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  282. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  283. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  284. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  285. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  286. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  287. package/lib/components/eventBooking/components/Provider/Event/index.js +10 -3
  288. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  289. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  290. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  291. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  292. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  293. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  294. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  295. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  296. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  297. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  298. package/lib/components/eventBooking/components/bookingDetailModal/index.js +9 -3
  299. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  300. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  301. package/lib/components/eventBooking/index.d.ts +1 -0
  302. package/lib/components/eventBooking/index.js +11 -7
  303. package/lib/components/eventBooking/locales.js +3 -3
  304. package/lib/components/index.d.ts +2 -1
  305. package/lib/components/index.js +3 -0
  306. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  307. package/lib/components/pay/toC/PaymentMethods/index.js +10 -9
  308. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  309. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  310. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  311. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  312. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  313. package/lib/components/schedules/utils.d.ts +1 -1
  314. package/lib/components/schedules/utils.js +1 -1
  315. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  316. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  317. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  318. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  319. package/lib/components/stepController/components/Content/index.d.ts +7 -0
  320. package/lib/components/stepController/components/Content/index.js +40 -0
  321. package/lib/components/stepController/components/Content/index.less +8 -0
  322. package/lib/components/stepController/components/Footer/index.d.ts +8 -0
  323. package/lib/components/stepController/components/Footer/index.js +49 -0
  324. package/lib/components/stepController/components/Footer/index.less +39 -0
  325. package/lib/components/stepController/components/Header/index.d.ts +20 -0
  326. package/lib/components/stepController/components/Header/index.js +104 -0
  327. package/lib/components/stepController/components/Header/index.less +21 -0
  328. package/lib/components/stepController/index.d.ts +5 -0
  329. package/lib/components/stepController/index.js +89 -0
  330. package/lib/components/stepController/index.less +11 -0
  331. package/lib/components/stepController/locales.d.ts +27 -0
  332. package/lib/components/stepController/locales.js +50 -0
  333. package/lib/components/stepController/types.d.ts +23 -0
  334. package/lib/components/stepController/types.js +17 -0
  335. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  336. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +42 -5
  337. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  338. package/lib/components/ticketBooking/components/ticketBooking/index.js +124 -3
  339. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  340. package/lib/components/ticketBooking/locales.d.ts +164 -146
  341. package/lib/components/ticketBooking/locales.js +22 -4
  342. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  343. package/lib/components/ticketBooking/utils/formatProductMessage.js +84 -0
  344. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  345. package/lib/components/ticketBooking/utils/formatTime.js +139 -0
  346. package/lib/components/ticketBooking/utils/index.d.ts +5 -1
  347. package/lib/components/ticketBooking/utils/index.js +48 -5
  348. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  349. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  350. package/lib/hooks/useWindowSize.d.ts +5 -0
  351. package/lib/hooks/useWindowSize.js +51 -0
  352. package/lib/index.d.ts +1 -0
  353. package/lib/index.js +3 -0
  354. package/lib/utils/index.d.ts +1 -1
  355. package/lowcode/step-controller/meta.ts +88 -0
  356. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
4
  export default Total;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: () => JSX.Element;
3
4
  export default CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
4
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EmptyHolderModal: (props: any) => JSX.Element;
3
4
  export default EmptyHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Event: () => JSX.Element;
3
4
  export default Event;
@@ -48,6 +48,7 @@ var Event = () => {
48
48
  const { onOpenEventDetail, open } = (0, import_Sales.useEventDetail)();
49
49
  const [lists, setLists] = (0, import_react.useState)();
50
50
  const customer = (0, import_useLoginUser.default)();
51
+ const { appUtils } = (0, import_Sales.useCustomer)();
51
52
  (0, import_react.useEffect)(() => {
52
53
  var _a2;
53
54
  const eventList = (eventData == null ? void 0 : eventData.eventList) || [];
@@ -59,16 +60,22 @@ var Event = () => {
59
60
  }
60
61
  }, [eventData == null ? void 0 : eventData.eventList]);
61
62
  (0, import_react.useEffect)(() => {
62
- var _a2, _b2;
63
+ var _a2, _b2, _c, _d, _e;
63
64
  const id = (_b2 = (_a2 = data == null ? void 0 : data.resourceData) == null ? void 0 : _a2.currentResourceItem) == null ? void 0 : _b2.id;
64
65
  if (!id) return;
65
- getEventList.run({
66
+ const history = ((_c = appUtils == null ? void 0 : appUtils.getHistory) == null ? void 0 : _c.call(appUtils)) || {};
67
+ const query = (_d = history == null ? void 0 : history.location) == null ? void 0 : _d.query;
68
+ const params = {
66
69
  event_item_resource_id: id,
67
70
  skip: 1,
68
71
  num: 100,
69
72
  customer_id: customer == null ? void 0 : customer.id,
70
73
  open_quotation: 1
71
- });
74
+ };
75
+ if (query == null ? void 0 : query.ids) {
76
+ params.ids = (_e = query == null ? void 0 : query.ids) == null ? void 0 : _e.split(",");
77
+ }
78
+ getEventList.run(params);
72
79
  }, [(_b = (_a = data == null ? void 0 : data.resourceData) == null ? void 0 : _a.currentResourceItem) == null ? void 0 : _b.id, customer == null ? void 0 : customer.id]);
73
80
  const handleClick = (item) => {
74
81
  selectEvent(item);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: () => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Information: () => JSX.Element;
3
4
  export default Information;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const InformationOptionsModal: (props: any) => JSX.Element;
3
4
  export default InformationOptionsModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const OrderProductModal: (props: any) => JSX.Element;
3
4
  export default OrderProductModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
2
3
  export default RemoveOptionConfirmModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resource: () => JSX.Element;
3
4
  export default Resource;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WeekItem: (props: any) => JSX.Element;
3
4
  export default WeekItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type CalenDateWeekProps = {
3
4
  currentDate: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingOptions: (props: {
2
3
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
3
4
  }) => JSX.Element;
@@ -44,7 +44,7 @@ var import_OrderProductModal = __toESM(require("../Provider/OrderProductModal/in
44
44
  var import_index = require("./index.less");
45
45
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
46
46
  var BookingDetailModal = (props) => {
47
- var _a;
47
+ var _a, _b, _c;
48
48
  const modalContentRef = (0, import_react.useRef)(null);
49
49
  const context = (0, import_useEngineContext.default)();
50
50
  const { utils } = context.appHelper || {};
@@ -58,11 +58,17 @@ var BookingDetailModal = (props) => {
58
58
  checkBeforeSelectEventDetail
59
59
  } = (0, import_Sales.useEventDetail)();
60
60
  const { addToCart, checkBeforeAddToCart, checkBeforeAddToCartResquest } = (0, import_Sales.useCart)();
61
+ const { initData } = (0, import_Sales.useInit)();
61
62
  const [activeTab, setActiveTab] = (0, import_react.useState)("introduction");
62
63
  const [isScrolling, setIsScrolling] = (0, import_react.useState)(false);
63
64
  const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
64
65
  const isUserClickRef = (0, import_react.useRef)(false);
65
66
  const scrollTimeoutRef = (0, import_react.useRef)(null);
67
+ const buttonText = (0, import_react.useMemo)(() => {
68
+ var _a2, _b2, _c2;
69
+ const config = ((_b2 = (_a2 = initData == null ? void 0 : initData.boardSetting) == null ? void 0 : _a2.config) == null ? void 0 : _b2.product_display_setting) || {};
70
+ return ((_c2 = utils == null ? void 0 : utils.translation) == null ? void 0 : _c2.call(utils, config == null ? void 0 : config.booking_event_v2_product_detail_button)) || import_utils.locales.getText("pisell2.event.add.to.cart");
71
+ }, [(_b = (_a = initData == null ? void 0 : initData.boardSetting) == null ? void 0 : _a.config) == null ? void 0 : _b.product_display_setting]);
66
72
  const anchorOptions = (0, import_react.useMemo)(
67
73
  () => [
68
74
  {
@@ -91,7 +97,7 @@ var BookingDetailModal = (props) => {
91
97
  const images = (0, import_react.useMemo)(() => {
92
98
  var _a2;
93
99
  return ((_a2 = detail == null ? void 0 : detail.introduction) == null ? void 0 : _a2.images) || [];
94
- }, [(_a = detail == null ? void 0 : detail.introduction) == null ? void 0 : _a.images]);
100
+ }, [(_c = detail == null ? void 0 : detail.introduction) == null ? void 0 : _c.images]);
95
101
  (0, import_react.useEffect)(() => {
96
102
  if (!modalContentRef.current) return;
97
103
  let isCurrentlyScrolling = false;
@@ -283,7 +289,7 @@ var BookingDetailModal = (props) => {
283
289
  destroyOnClose: true,
284
290
  className: "booking-detail-modal",
285
291
  onCancel: onCloseEventDetail,
286
- okText: import_utils.locales.getText("pisell2.event.add.to.cart"),
292
+ okText: buttonText,
287
293
  cancelVisible: false,
288
294
  onOk: handleOk,
289
295
  width: (0, import_utils.isMobile)() ? "100%" : 600,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from '../../type';
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
3
4
  export default ScheduleTimeItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EventBooking: () => JSX.Element;
3
4
  export default EventBooking;
@@ -55,13 +55,17 @@ var Content = () => {
55
55
  getBoardSetting.run({ item_type: "event_booking_v2" });
56
56
  }, []);
57
57
  (0, import_react.useEffect)(() => {
58
- if (!form_id) return;
59
- getResourceList.run({
60
- form_id,
61
- shop_id,
62
- form_data_status: "active"
63
- });
64
- }, [form_id]);
58
+ var _a2, _b, _c;
59
+ const history = ((_a2 = utils == null ? void 0 : utils.getHistory) == null ? void 0 : _a2.call(utils)) || {};
60
+ const query = (_b = history == null ? void 0 : history.location) == null ? void 0 : _b.query;
61
+ const params = {
62
+ front_end_cache_id: (query == null ? void 0 : query.cacheId) || ""
63
+ };
64
+ if (query == null ? void 0 : query.ids) {
65
+ params.event_item_ids = (_c = query == null ? void 0 : query.ids) == null ? void 0 : _c.split(",");
66
+ }
67
+ getResourceList.run(params);
68
+ }, []);
65
69
  return /* @__PURE__ */ import_react.default.createElement(
66
70
  "div",
67
71
  {
@@ -51,7 +51,7 @@ var locales_default = {
51
51
  "pisell2.event.campus": "Campus",
52
52
  "pisell2.event.resource": "Location",
53
53
  "pisell2.event.booking.options": "Booking options",
54
- "pisell2.event.add.to.cart": "Add to cart",
54
+ "pisell2.event.add.to.cart": "Add to Cart",
55
55
  "pisell2.event.description": "Description",
56
56
  "pisell2.event.view.more": "View more",
57
57
  "pisell2.event.view.less": "View less",
@@ -124,7 +124,7 @@ var locales_default = {
124
124
  "pisell2.event.campus": "校区",
125
125
  "pisell2.event.resource": "资源",
126
126
  "pisell2.event.booking.options": "预约选项",
127
- "pisell2.event.add.to.cart": "添加到购物车",
127
+ "pisell2.event.add.to.cart": "加入购物车",
128
128
  "pisell2.event.description": "描述",
129
129
  "pisell2.event.view.more": "查看更多",
130
130
  "pisell2.event.view.less": "收起",
@@ -197,7 +197,7 @@ var locales_default = {
197
197
  "pisell2.event.campus": "校區",
198
198
  "pisell2.event.resource": "資源",
199
199
  "pisell2.event.booking.options": "預約選項",
200
- "pisell2.event.add.to.cart": "添加到購物車",
200
+ "pisell2.event.add.to.cart": "加入購物車",
201
201
  "pisell2.event.description": "描述",
202
202
  "pisell2.event.view.more": "查看更多",
203
203
  "pisell2.event.view.less": "收起",
@@ -15,4 +15,5 @@ import WorkspaceListDetail from './workSpaceListDetail/';
15
15
  import WorkspaceList from './workSpaceList';
16
16
  import PisellSelectCustomerModal from './pisellSelectCustomerModal';
17
17
  import SubTotal from './subTotal';
18
- export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, };
18
+ import StepController from './stepController';
19
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, StepController, };
@@ -39,6 +39,7 @@ __export(components_exports, {
39
39
  ProductExtension: () => import_productExtension.default,
40
40
  RuleSetting: () => import_ruleSetting.default,
41
41
  Schedules: () => import_schedules.default,
42
+ StepController: () => import_stepController.default,
42
43
  SubTotal: () => import_subTotal.default,
43
44
  TaxSelect: () => import_taxSelect.default,
44
45
  ToCPay: () => import_toC.default,
@@ -65,6 +66,7 @@ var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
65
66
  var import_workSpaceList = __toESM(require("./workSpaceList"));
66
67
  var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
67
68
  var import_subTotal = __toESM(require("./subTotal"));
69
+ var import_stepController = __toESM(require("./stepController"));
68
70
  // Annotate the CommonJS export names for ESM import in node:
69
71
  0 && (module.exports = {
70
72
  Booking,
@@ -77,6 +79,7 @@ var import_subTotal = __toESM(require("./subTotal"));
77
79
  ProductExtension,
78
80
  RuleSetting,
79
81
  Schedules,
82
+ StepController,
80
83
  SubTotal,
81
84
  TaxSelect,
82
85
  ToCPay,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
65
65
  ].includes(type);
66
66
  };
67
67
  var PaymentMethods = (props, ref) => {
68
- var _a;
68
+ var _a, _b, _c;
69
69
  const MWCreditCardRef2 = (0, import_react.useRef)(null);
70
70
  const SuperPayAliPayH5Ref2 = (0, import_react.useRef)(null);
71
71
  const StripePayRef2 = (0, import_react.useRef)(null);
@@ -83,9 +83,9 @@ var PaymentMethods = (props, ref) => {
83
83
  const context = (0, import_useEngineContext.default)();
84
84
  const { interaction } = (_a = context.appHelper) == null ? void 0 : _a.utils;
85
85
  const init = async ({ type, payGroup }) => {
86
- var _a2, _b;
86
+ var _a2, _b2;
87
87
  const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
88
- const cards = (_b = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b.length;
88
+ const cards = (_b2 = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b2.length;
89
89
  if (cards && (waitAmount <= 0 || isOfflinePayment(type))) {
90
90
  try {
91
91
  await (0, import_serve.walletPassPay)((0, import_utils.formatWalletPassParams)(payGroup));
@@ -115,10 +115,11 @@ var PaymentMethods = (props, ref) => {
115
115
  }
116
116
  await onPayByType({ type, payGroup });
117
117
  };
118
+ console.log("paymentResult isAppEnv", (_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.isAppEnv) == null ? void 0 : _c.call(_b), interaction, context);
118
119
  (0, import_react.useEffect)(() => {
119
- var _a2, _b, _c, _d;
120
- console.log("paymentResult isAppEnv", (_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2));
121
- if ((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) {
120
+ var _a2, _b2, _c2, _d;
121
+ console.log("paymentResult isAppEnv", (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b2.call(_a2));
122
+ if ((_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d.call(_c2)) {
122
123
  interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
123
124
  console.log("paymentResult", strResult);
124
125
  if (!(0, import_utils2.isJson)(strResult)) return;
@@ -134,18 +135,18 @@ var PaymentMethods = (props, ref) => {
134
135
  }
135
136
  }, []);
136
137
  const onPayByType = async ({ type, payGroup }) => {
137
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
138
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
138
139
  console.log(type, payGroup);
139
140
  if (type === "mw.apple") {
140
141
  await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
141
142
  return;
142
143
  }
143
144
  if (type === "mw.google") {
144
- await ((_b = GooglePayRef2.current) == null ? void 0 : _b.init({ payGroup }));
145
+ await ((_b2 = GooglePayRef2.current) == null ? void 0 : _b2.init({ payGroup }));
145
146
  return;
146
147
  }
147
148
  if (type === "mw.credit_card") {
148
- (_c = MWCreditCardRef2.current) == null ? void 0 : _c.init({ payGroup });
149
+ (_c2 = MWCreditCardRef2.current) == null ? void 0 : _c2.init({ payGroup });
149
150
  return;
150
151
  }
151
152
  if (type === "superpay.alipay.h5") {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface CustomerListProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PopoverProps } from 'antd';
2
3
  import { CustomerCardProps } from './CustomerCard';
3
4
  import './index.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TabProduct: (props: any) => JSX.Element;
2
3
  export default TabProduct;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type BoolConfigVal = 0 | 1;
3
4
  export interface ProductCardConfig {
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -27,8 +27,8 @@ __export(utils_exports, {
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var import_utils = require("@pisell/utils");
29
29
  var Request = class {
30
+ request = {};
30
31
  constructor() {
31
- this.request = {};
32
32
  }
33
33
  setRequest(val) {
34
34
  this.request = val;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductProps } from '../../type';
2
3
  declare const Product: (props: ProductProps) => JSX.Element;
3
4
  export default Product;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: () => JSX.Element;
3
4
  export default Cart;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
2
3
  export default useAddService;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
2
3
  export default useClearCart;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface ContentProps {
4
+ children?: React.ReactNode;
5
+ }
6
+ declare const Content: React.FC<ContentProps>;
7
+ export default Content;
@@ -0,0 +1,40 @@
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/stepController/components/Content/index.tsx
30
+ var Content_exports = {};
31
+ __export(Content_exports, {
32
+ default: () => Content_default
33
+ });
34
+ module.exports = __toCommonJS(Content_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_index = require("./index.less");
37
+ var Content = ({ children }) => {
38
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-step-controller-content" }, children);
39
+ };
40
+ var Content_default = Content;
@@ -0,0 +1,8 @@
1
+ .pisell-step-controller-content {
2
+ flex: 1;
3
+ width: 1000px;
4
+ max-width: 100%;
5
+ border-right: 1px solid var(--Gray-100, #f2f4f7);
6
+ border-left: 1px solid var(--Gray-100, #f2f4f7);
7
+ background: #fff;
8
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface FooterProps {
4
+ isMobile?: boolean;
5
+ children?: React.ReactNode;
6
+ }
7
+ declare const Footer: React.FC<FooterProps>;
8
+ export default Footer;
@@ -0,0 +1,49 @@
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/stepController/components/Footer/index.tsx
30
+ var Footer_exports = {};
31
+ __export(Footer_exports, {
32
+ default: () => Footer_default
33
+ });
34
+ module.exports = __toCommonJS(Footer_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_classnames = __toESM(require("classnames"));
37
+ var import_index = require("./index.less");
38
+ var Footer = ({ isMobile, children }) => {
39
+ return /* @__PURE__ */ import_react.default.createElement(
40
+ "div",
41
+ {
42
+ className: (0, import_classnames.default)("pisell-step-controller-footer-wrap", {
43
+ "pisell-step-controller-footer-wrap-mobile": isMobile
44
+ })
45
+ },
46
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-step-controller-footer" }, children)
47
+ );
48
+ };
49
+ var Footer_default = Footer;
@@ -0,0 +1,39 @@
1
+ .pisell-step-controller-footer-wrap {
2
+ position: sticky;
3
+ left: 0;
4
+ right: 0;
5
+ bottom: 0;
6
+ width: 100%;
7
+ background: #fff;
8
+ // box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
9
+ padding: 24px;
10
+ z-index: 100;
11
+ border-top: 1px solid var(--Gray-100, #f2f4f7);
12
+
13
+ .pisell-step-controller-footer {
14
+ width: 1000px;
15
+ margin: 0 auto;
16
+ max-width: 100%;
17
+ display: flex;
18
+ gap: 12px;
19
+ justify-content: flex-end;
20
+
21
+ .pisell-section-headers-main {
22
+ color: var(--Gray-900, #101828);
23
+ font-size: 14px;
24
+ font-weight: 400;
25
+ line-height: 20px;
26
+ justify-content: start;
27
+
28
+ .select-text {
29
+ font-size: 18px;
30
+ font-weight: 600;
31
+ line-height: 24px;
32
+ }
33
+ }
34
+ }
35
+ }
36
+
37
+ .pisell-step-controller-footer-wrap-mobile {
38
+ border-top: 1px solid #eaecf0;
39
+ }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { Step } from '../../types';
3
+ import './index.less';
4
+ export interface HeaderProps {
5
+ steps: Step[];
6
+ currentStepIndex: number;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ onBack?: (key: string) => void;
10
+ onClose?: () => void;
11
+ confirmCloseProps?: {
12
+ isConfirmClose?: boolean;
13
+ title?: string;
14
+ content?: string;
15
+ okText?: string;
16
+ cancelText?: string;
17
+ };
18
+ }
19
+ declare const Header: React.FC<HeaderProps>;
20
+ export default Header;