@pisell/private-materials 6.3.159 → 6.3.160

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 (304) 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 +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +6 -6
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +5 -5
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +43 -4
  15. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  22. package/es/components/appointmentBooking/index.d.ts +1 -0
  23. package/es/components/appointmentBooking/utils.d.ts +6 -1
  24. package/es/components/appointmentBooking/utils.js +123 -32
  25. package/es/components/booking/addons/model.d.ts +1 -10
  26. package/es/components/booking/components/footer/index.d.ts +1 -0
  27. package/es/components/booking/components/voucher/index.d.ts +1 -0
  28. package/es/components/booking/deposit/index.d.ts +1 -0
  29. package/es/components/booking/forms/model.d.ts +1 -10
  30. package/es/components/booking/hooks/useQuotation.d.ts +1 -0
  31. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  32. package/es/components/booking/info/date/index.d.ts +1 -0
  33. package/es/components/booking/info/header/index.d.ts +1 -0
  34. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  35. package/es/components/booking/info/index.d.ts +1 -0
  36. package/es/components/booking/info/model.d.ts +1 -10
  37. package/es/components/booking/info/service/Lists.d.ts +1 -0
  38. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  39. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  40. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  41. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  42. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  43. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  44. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  45. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  46. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  47. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  48. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  49. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  50. package/es/components/booking/model.d.ts +1 -9
  51. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  52. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  53. package/es/components/booking/notes/model.d.ts +1 -10
  54. package/es/components/booking/payments/model.d.ts +1 -10
  55. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
  56. package/es/components/ecocup/components/SettingModal/index.d.ts +1 -0
  57. package/es/components/ecocup/cupList/index.d.ts +1 -0
  58. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  59. package/es/components/eftposPay/amount.d.ts +2 -1
  60. package/es/components/eftposPay/app.d.ts +1 -0
  61. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  62. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  63. package/es/components/eftposPay/device.d.ts +2 -1
  64. package/es/components/eftposPay/hooks.d.ts +2 -2
  65. package/es/components/eftposPay/index.d.ts +1 -0
  66. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  67. package/es/components/eftposPay/pay.d.ts +1 -0
  68. package/es/components/eftposPay/store/index.d.ts +3 -3
  69. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  70. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  71. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  72. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  73. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  74. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  75. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  76. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  79. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  80. package/es/components/eventBooking/components/Voucher/index.d.ts +1 -0
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  82. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  84. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  85. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  86. package/es/components/eventBooking/index.d.ts +1 -0
  87. package/es/components/index.d.ts +2 -1
  88. package/es/components/index.js +2 -1
  89. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  90. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  91. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  92. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  93. package/es/components/pay/toC/model.d.ts +1 -9
  94. package/es/components/pisellCashCounting/hooks.d.ts +1 -0
  95. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  96. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  97. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  98. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  99. package/es/components/productExtension/index.d.ts +1 -0
  100. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  101. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  102. package/es/components/productStockCheckModal/index.d.ts +5 -0
  103. package/es/components/productStockCheckModal/index.js +148 -0
  104. package/es/components/productStockCheckModal/index.less +122 -0
  105. package/es/components/productStockCheckModal/locales.d.ts +63 -0
  106. package/es/components/productStockCheckModal/locales.js +62 -0
  107. package/es/components/productStockCheckModal/types.d.ts +26 -0
  108. package/es/components/productStockCheckModal/types.js +1 -0
  109. package/es/components/ruleSetting/index.d.ts +1 -0
  110. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  111. package/es/components/schedules/model.d.ts +1 -9
  112. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  113. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  114. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  115. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  116. package/es/components/schedules/products/index.d.ts +1 -0
  117. package/es/components/schedules/resources/index.d.ts +1 -0
  118. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  119. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  120. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -0
  121. package/es/components/taxSelect/index.d.ts +1 -0
  122. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  123. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  124. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  125. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  126. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  127. package/es/components/ticketBooking/index.d.ts +1 -0
  128. package/es/components/walletList/index.d.ts +1 -0
  129. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  130. package/es/hooks/useCartProductStockCheck.d.ts +10 -0
  131. package/es/hooks/useCartProductStockCheck.js +153 -0
  132. package/es/index.d.ts +1 -0
  133. package/es/index.js +1 -0
  134. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
  135. package/es/plus/orderList/config.d.ts +3 -2
  136. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +1 -0
  137. package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -0
  138. package/es/plus/pisellSalesManagement/config/booking.d.ts +1 -0
  139. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  140. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  141. package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.js +169 -8
  142. package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.less +141 -5
  143. package/es/plus/saasDevice/devicePlanning/locales.d.ts +125 -0
  144. package/es/plus/saasDevice/devicePlanning/locales.js +125 -0
  145. package/es/plus/saasLogin/utils.d.ts +5 -5
  146. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  147. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -0
  148. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  149. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  150. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  151. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  152. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  153. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  154. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  155. package/es/plus/walletPassGallery/index.d.ts +1 -0
  156. package/es/pro/Selector/demo.d.ts +1 -0
  157. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  158. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  159. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  160. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +42 -5
  161. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  162. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  163. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  164. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  165. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  166. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  167. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  168. package/lib/components/appointmentBooking/index.d.ts +1 -0
  169. package/lib/components/appointmentBooking/utils.d.ts +6 -1
  170. package/lib/components/appointmentBooking/utils.js +36 -2
  171. package/lib/components/booking/addons/model.d.ts +1 -10
  172. package/lib/components/booking/components/footer/index.d.ts +1 -0
  173. package/lib/components/booking/components/voucher/index.d.ts +1 -0
  174. package/lib/components/booking/deposit/index.d.ts +1 -0
  175. package/lib/components/booking/forms/model.d.ts +1 -10
  176. package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
  177. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  178. package/lib/components/booking/info/date/index.d.ts +1 -0
  179. package/lib/components/booking/info/header/index.d.ts +1 -0
  180. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  181. package/lib/components/booking/info/index.d.ts +1 -0
  182. package/lib/components/booking/info/model.d.ts +1 -10
  183. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  184. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  185. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  186. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  187. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  188. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  189. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  190. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  191. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  192. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  193. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  194. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  195. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  196. package/lib/components/booking/model.d.ts +1 -9
  197. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  198. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  199. package/lib/components/booking/notes/model.d.ts +1 -10
  200. package/lib/components/booking/payments/model.d.ts +1 -10
  201. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
  202. package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -0
  203. package/lib/components/ecocup/cupList/index.d.ts +1 -0
  204. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  205. package/lib/components/eftposPay/amount.d.ts +2 -1
  206. package/lib/components/eftposPay/app.d.ts +1 -0
  207. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  208. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  209. package/lib/components/eftposPay/device.d.ts +2 -1
  210. package/lib/components/eftposPay/hooks.d.ts +2 -2
  211. package/lib/components/eftposPay/index.d.ts +1 -0
  212. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  213. package/lib/components/eftposPay/pay.d.ts +1 -0
  214. package/lib/components/eftposPay/store/index.d.ts +3 -3
  215. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  216. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  217. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  218. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  219. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  220. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  221. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  222. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  223. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  224. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  225. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  226. package/lib/components/eventBooking/components/Voucher/index.d.ts +1 -0
  227. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  228. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  229. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  230. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  231. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  232. package/lib/components/eventBooking/index.d.ts +1 -0
  233. package/lib/components/index.d.ts +2 -1
  234. package/lib/components/index.js +3 -0
  235. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  236. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  237. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  238. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  239. package/lib/components/pay/toC/model.d.ts +1 -9
  240. package/lib/components/pisellCashCounting/hooks.d.ts +1 -0
  241. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  242. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  243. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  244. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  245. package/lib/components/productExtension/index.d.ts +1 -0
  246. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  247. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  248. package/lib/components/productStockCheckModal/index.d.ts +5 -0
  249. package/lib/components/productStockCheckModal/index.js +134 -0
  250. package/lib/components/productStockCheckModal/index.less +122 -0
  251. package/lib/components/productStockCheckModal/locales.d.ts +63 -0
  252. package/lib/components/productStockCheckModal/locales.js +86 -0
  253. package/lib/components/productStockCheckModal/types.d.ts +26 -0
  254. package/lib/components/productStockCheckModal/types.js +17 -0
  255. package/lib/components/ruleSetting/index.d.ts +1 -0
  256. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  257. package/lib/components/schedules/model.d.ts +1 -9
  258. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  259. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  260. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  261. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  262. package/lib/components/schedules/products/index.d.ts +1 -0
  263. package/lib/components/schedules/resources/index.d.ts +1 -0
  264. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  265. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  266. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -0
  267. package/lib/components/taxSelect/index.d.ts +1 -0
  268. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  269. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  270. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  271. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  272. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  273. package/lib/components/ticketBooking/index.d.ts +1 -0
  274. package/lib/components/walletList/index.d.ts +1 -0
  275. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  276. package/lib/hooks/useCartProductStockCheck.d.ts +10 -0
  277. package/lib/hooks/useCartProductStockCheck.js +97 -0
  278. package/lib/index.d.ts +1 -0
  279. package/lib/index.js +3 -0
  280. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
  281. package/lib/plus/orderList/config.d.ts +3 -2
  282. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +1 -0
  283. package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -0
  284. package/lib/plus/pisellSalesManagement/config/booking.d.ts +1 -0
  285. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  286. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  287. package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.js +174 -16
  288. package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.less +141 -5
  289. package/lib/plus/saasDevice/devicePlanning/locales.d.ts +125 -0
  290. package/lib/plus/saasDevice/devicePlanning/locales.js +125 -0
  291. package/lib/plus/saasLogin/utils.d.ts +5 -5
  292. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  293. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -0
  294. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  295. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  296. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  297. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  298. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  299. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  300. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  301. package/lib/plus/walletPassGallery/index.d.ts +1 -0
  302. package/lib/pro/Selector/demo.d.ts +1 -0
  303. package/lowcode/product-stock-check-modal/meta.ts +94 -0
  304. package/package.json +1 -1
@@ -81,6 +81,31 @@ var enText = {
81
81
  'pisell2.saas.device-planning.detail.delete': 'Delete',
82
82
  'pisell2.saas.device-planning.detail.save': 'Save',
83
83
  'pisell2.saas.device-planning.detail.cancel': 'Cancel',
84
+ 'pisell2.saas.device-planning.detail.report-info': 'Device Reported Info',
85
+ 'pisell2.saas.device-planning.detail.last-seen': 'Last report: ',
86
+ 'pisell2.saas.device-planning.detail.no-report-info': 'No reported info yet',
87
+ 'pisell2.saas.device-planning.detail.yes': 'Yes',
88
+ 'pisell2.saas.device-planning.detail.no': 'No',
89
+ 'pisell2.saas.device-planning.detail.report.group.software': 'Software',
90
+ 'pisell2.saas.device-planning.detail.report.group.battery': 'Battery',
91
+ 'pisell2.saas.device-planning.detail.report.group.network': 'Network',
92
+ 'pisell2.saas.device-planning.detail.report.group.hardware': 'Hardware',
93
+ 'pisell2.saas.device-planning.detail.report.group.storage': 'Storage',
94
+ 'pisell2.saas.device-planning.detail.report.field.name': 'Name',
95
+ 'pisell2.saas.device-planning.detail.report.field.type': 'Type',
96
+ 'pisell2.saas.device-planning.detail.report.field.version': 'Version',
97
+ 'pisell2.saas.device-planning.detail.report.field.level': 'Battery Level',
98
+ 'pisell2.saas.device-planning.detail.report.field.ssid': 'SSID',
99
+ 'pisell2.saas.device-planning.detail.report.field.gateway': 'Gateway',
100
+ 'pisell2.saas.device-planning.detail.report.field.internet': 'Internet',
101
+ 'pisell2.saas.device-planning.detail.report.field.local_ip': 'Local IP',
102
+ 'pisell2.saas.device-planning.detail.report.field.subnet_mask': 'Subnet Mask',
103
+ 'pisell2.saas.device-planning.detail.report.field.model': 'Model',
104
+ 'pisell2.saas.device-planning.detail.report.field.os_version': 'OS Version',
105
+ 'pisell2.saas.device-planning.detail.report.field.used': 'Used',
106
+ 'pisell2.saas.device-planning.detail.report.field.total': 'Total',
107
+ 'pisell2.saas.device-planning.detail.report.charging': 'Charging',
108
+ 'pisell2.saas.device-planning.detail.report.not-charging': 'Not Charging',
84
109
  'pisell2.saas.device-planning.edit.title': 'Edit Device',
85
110
  'pisell2.saas.device-planning.edit.online-title': 'Caution: Device is Online',
86
111
  'pisell2.saas.device-planning.edit.online-desc': 'Changes will be pushed to the actual device. Please proceed with caution.',
@@ -177,6 +202,31 @@ var zhCNText = {
177
202
  'pisell2.saas.device-planning.detail.delete': '删除',
178
203
  'pisell2.saas.device-planning.detail.save': '保存',
179
204
  'pisell2.saas.device-planning.detail.cancel': '取消',
205
+ 'pisell2.saas.device-planning.detail.report-info': '设备上报信息',
206
+ 'pisell2.saas.device-planning.detail.last-seen': '最后上报:',
207
+ 'pisell2.saas.device-planning.detail.no-report-info': '暂无上报信息',
208
+ 'pisell2.saas.device-planning.detail.yes': '是',
209
+ 'pisell2.saas.device-planning.detail.no': '否',
210
+ 'pisell2.saas.device-planning.detail.report.group.software': '软件',
211
+ 'pisell2.saas.device-planning.detail.report.group.battery': '电池',
212
+ 'pisell2.saas.device-planning.detail.report.group.network': '网络',
213
+ 'pisell2.saas.device-planning.detail.report.group.hardware': '硬件',
214
+ 'pisell2.saas.device-planning.detail.report.group.storage': '存储',
215
+ 'pisell2.saas.device-planning.detail.report.field.name': '名称',
216
+ 'pisell2.saas.device-planning.detail.report.field.type': '类型',
217
+ 'pisell2.saas.device-planning.detail.report.field.version': '版本',
218
+ 'pisell2.saas.device-planning.detail.report.field.level': '电量',
219
+ 'pisell2.saas.device-planning.detail.report.field.ssid': 'SSID',
220
+ 'pisell2.saas.device-planning.detail.report.field.gateway': '网关',
221
+ 'pisell2.saas.device-planning.detail.report.field.internet': '互联网',
222
+ 'pisell2.saas.device-planning.detail.report.field.local_ip': '本地 IP',
223
+ 'pisell2.saas.device-planning.detail.report.field.subnet_mask': '子网掩码',
224
+ 'pisell2.saas.device-planning.detail.report.field.model': '型号',
225
+ 'pisell2.saas.device-planning.detail.report.field.os_version': '系统版本',
226
+ 'pisell2.saas.device-planning.detail.report.field.used': '已用',
227
+ 'pisell2.saas.device-planning.detail.report.field.total': '总计',
228
+ 'pisell2.saas.device-planning.detail.report.charging': '充电中',
229
+ 'pisell2.saas.device-planning.detail.report.not-charging': '未充电',
180
230
  'pisell2.saas.device-planning.edit.title': '编辑设备',
181
231
  'pisell2.saas.device-planning.edit.online-title': '注意:设备已在线',
182
232
  'pisell2.saas.device-planning.edit.online-desc': '更改将推送到实际设备。请谨慎操作。',
@@ -273,6 +323,31 @@ var zhHKText = {
273
323
  'pisell2.saas.device-planning.detail.delete': '刪除',
274
324
  'pisell2.saas.device-planning.detail.save': '保存',
275
325
  'pisell2.saas.device-planning.detail.cancel': '取消',
326
+ 'pisell2.saas.device-planning.detail.report-info': '設備上報資訊',
327
+ 'pisell2.saas.device-planning.detail.last-seen': '最後上報:',
328
+ 'pisell2.saas.device-planning.detail.no-report-info': '暫無上報資訊',
329
+ 'pisell2.saas.device-planning.detail.yes': '是',
330
+ 'pisell2.saas.device-planning.detail.no': '否',
331
+ 'pisell2.saas.device-planning.detail.report.group.software': '軟件',
332
+ 'pisell2.saas.device-planning.detail.report.group.battery': '電池',
333
+ 'pisell2.saas.device-planning.detail.report.group.network': '網絡',
334
+ 'pisell2.saas.device-planning.detail.report.group.hardware': '硬件',
335
+ 'pisell2.saas.device-planning.detail.report.group.storage': '儲存',
336
+ 'pisell2.saas.device-planning.detail.report.field.name': '名稱',
337
+ 'pisell2.saas.device-planning.detail.report.field.type': '類型',
338
+ 'pisell2.saas.device-planning.detail.report.field.version': '版本',
339
+ 'pisell2.saas.device-planning.detail.report.field.level': '電量',
340
+ 'pisell2.saas.device-planning.detail.report.field.ssid': 'SSID',
341
+ 'pisell2.saas.device-planning.detail.report.field.gateway': '閘道',
342
+ 'pisell2.saas.device-planning.detail.report.field.internet': '互聯網',
343
+ 'pisell2.saas.device-planning.detail.report.field.local_ip': '本地 IP',
344
+ 'pisell2.saas.device-planning.detail.report.field.subnet_mask': '子網掩碼',
345
+ 'pisell2.saas.device-planning.detail.report.field.model': '型號',
346
+ 'pisell2.saas.device-planning.detail.report.field.os_version': '系統版本',
347
+ 'pisell2.saas.device-planning.detail.report.field.used': '已用',
348
+ 'pisell2.saas.device-planning.detail.report.field.total': '總計',
349
+ 'pisell2.saas.device-planning.detail.report.charging': '充電中',
350
+ 'pisell2.saas.device-planning.detail.report.not-charging': '未充電',
276
351
  'pisell2.saas.device-planning.edit.title': '編輯設備',
277
352
  'pisell2.saas.device-planning.edit.online-title': '注意:設備在線',
278
353
  'pisell2.saas.device-planning.edit.online-desc': '更改將推送到實際設備。請謹慎操作。',
@@ -369,6 +444,31 @@ var jaText = {
369
444
  'pisell2.saas.device-planning.detail.delete': '削除',
370
445
  'pisell2.saas.device-planning.detail.save': '保存',
371
446
  'pisell2.saas.device-planning.detail.cancel': 'キャンセル',
447
+ 'pisell2.saas.device-planning.detail.report-info': 'デバイス報告情報',
448
+ 'pisell2.saas.device-planning.detail.last-seen': '最終報告:',
449
+ 'pisell2.saas.device-planning.detail.no-report-info': '報告情報はまだありません',
450
+ 'pisell2.saas.device-planning.detail.yes': 'はい',
451
+ 'pisell2.saas.device-planning.detail.no': 'いいえ',
452
+ 'pisell2.saas.device-planning.detail.report.group.software': 'ソフトウェア',
453
+ 'pisell2.saas.device-planning.detail.report.group.battery': 'バッテリー',
454
+ 'pisell2.saas.device-planning.detail.report.group.network': 'ネットワーク',
455
+ 'pisell2.saas.device-planning.detail.report.group.hardware': 'ハードウェア',
456
+ 'pisell2.saas.device-planning.detail.report.group.storage': 'ストレージ',
457
+ 'pisell2.saas.device-planning.detail.report.field.name': '名前',
458
+ 'pisell2.saas.device-planning.detail.report.field.type': 'タイプ',
459
+ 'pisell2.saas.device-planning.detail.report.field.version': 'バージョン',
460
+ 'pisell2.saas.device-planning.detail.report.field.level': 'バッテリー残量',
461
+ 'pisell2.saas.device-planning.detail.report.field.ssid': 'SSID',
462
+ 'pisell2.saas.device-planning.detail.report.field.gateway': 'ゲートウェイ',
463
+ 'pisell2.saas.device-planning.detail.report.field.internet': 'インターネット',
464
+ 'pisell2.saas.device-planning.detail.report.field.local_ip': 'ローカル IP',
465
+ 'pisell2.saas.device-planning.detail.report.field.subnet_mask': 'サブネットマスク',
466
+ 'pisell2.saas.device-planning.detail.report.field.model': 'モデル',
467
+ 'pisell2.saas.device-planning.detail.report.field.os_version': 'OS バージョン',
468
+ 'pisell2.saas.device-planning.detail.report.field.used': '使用済み',
469
+ 'pisell2.saas.device-planning.detail.report.field.total': '合計',
470
+ 'pisell2.saas.device-planning.detail.report.charging': '充電中',
471
+ 'pisell2.saas.device-planning.detail.report.not-charging': '未充電',
372
472
  'pisell2.saas.device-planning.edit.title': 'デバイスを編集',
373
473
  'pisell2.saas.device-planning.edit.online-title': '注意:デバイスはオンラインです',
374
474
  'pisell2.saas.device-planning.edit.online-desc': '変更は実際のデバイスに反映されます。注意して操作してください。',
@@ -465,6 +565,31 @@ var ptText = {
465
565
  'pisell2.saas.device-planning.detail.delete': 'Eliminar',
466
566
  'pisell2.saas.device-planning.detail.save': 'Guardar',
467
567
  'pisell2.saas.device-planning.detail.cancel': 'Cancelar',
568
+ 'pisell2.saas.device-planning.detail.report-info': 'Informações comunicadas pelo dispositivo',
569
+ 'pisell2.saas.device-planning.detail.last-seen': 'Último relatório: ',
570
+ 'pisell2.saas.device-planning.detail.no-report-info': 'Ainda sem informações comunicadas',
571
+ 'pisell2.saas.device-planning.detail.yes': 'Sim',
572
+ 'pisell2.saas.device-planning.detail.no': 'Não',
573
+ 'pisell2.saas.device-planning.detail.report.group.software': 'Software',
574
+ 'pisell2.saas.device-planning.detail.report.group.battery': 'Bateria',
575
+ 'pisell2.saas.device-planning.detail.report.group.network': 'Rede',
576
+ 'pisell2.saas.device-planning.detail.report.group.hardware': 'Hardware',
577
+ 'pisell2.saas.device-planning.detail.report.group.storage': 'Armazenamento',
578
+ 'pisell2.saas.device-planning.detail.report.field.name': 'Nome',
579
+ 'pisell2.saas.device-planning.detail.report.field.type': 'Tipo',
580
+ 'pisell2.saas.device-planning.detail.report.field.version': 'Versão',
581
+ 'pisell2.saas.device-planning.detail.report.field.level': 'Nível da bateria',
582
+ 'pisell2.saas.device-planning.detail.report.field.ssid': 'SSID',
583
+ 'pisell2.saas.device-planning.detail.report.field.gateway': 'Gateway',
584
+ 'pisell2.saas.device-planning.detail.report.field.internet': 'Internet',
585
+ 'pisell2.saas.device-planning.detail.report.field.local_ip': 'IP local',
586
+ 'pisell2.saas.device-planning.detail.report.field.subnet_mask': 'Máscara de sub-rede',
587
+ 'pisell2.saas.device-planning.detail.report.field.model': 'Modelo',
588
+ 'pisell2.saas.device-planning.detail.report.field.os_version': 'Versão do SO',
589
+ 'pisell2.saas.device-planning.detail.report.field.used': 'Usado',
590
+ 'pisell2.saas.device-planning.detail.report.field.total': 'Total',
591
+ 'pisell2.saas.device-planning.detail.report.charging': 'A carregar',
592
+ 'pisell2.saas.device-planning.detail.report.not-charging': 'Sem carregamento',
468
593
  'pisell2.saas.device-planning.edit.title': 'Editar dispositivo',
469
594
  'pisell2.saas.device-planning.edit.online-title': 'Atenção: dispositivo online',
470
595
  'pisell2.saas.device-planning.edit.online-desc': 'As alterações serão enviadas para o dispositivo real. Prossiga com cautela.',
@@ -5,13 +5,13 @@ export declare const mergeData: (locales: any, props: SaasLoginProps) => {
5
5
  width?: number | undefined;
6
6
  height?: number | undefined;
7
7
  };
8
- logoPosition: "center" | "left" | "right";
8
+ logoPosition: "center" | "right" | "left";
9
9
  welcomeMessage: any;
10
- welcomeMessageAlign: "center" | "left" | "right";
10
+ welcomeMessageAlign: "center" | "right" | "left";
11
11
  title: any;
12
- titleAlign: "center" | "left" | "right";
12
+ titleAlign: "center" | "right" | "left";
13
13
  subtitle: any;
14
- subtitleAlign: "center" | "left" | "right";
14
+ subtitleAlign: "center" | "right" | "left";
15
15
  emailLabel: any;
16
16
  emailPlaceholder: any;
17
17
  passwordLabel: any;
@@ -19,7 +19,7 @@ export declare const mergeData: (locales: any, props: SaasLoginProps) => {
19
19
  buttonText: any;
20
20
  registerText: any;
21
21
  registerLinkText: any;
22
- registerAlign: "center" | "left" | "right";
22
+ registerAlign: "center" | "right" | "left";
23
23
  showLogo?: boolean | undefined;
24
24
  showWelcomeMessage?: boolean | undefined;
25
25
  showTitle?: boolean | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RenderItemProps } from '../../../../pro/Selector/types';
2
3
  declare const NormalCard: (props: RenderItemProps & {
3
4
  parentDataSource: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const OptionItemCard: (props: any) => JSX.Element;
3
4
  export default OptionItemCard;
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * 单规格商品卡片,点击后需要拉起弹窗展示具体的规格信息
3
3
  */
4
+ /// <reference types="react" />
4
5
  import { RenderItemProps } from '../../../../pro/Selector/types';
5
6
  import './index.less';
6
7
  declare const OptionsCard: (props: RenderItemProps & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface OptionsModalProps {
2
3
  parentDataSource: any;
3
4
  dataSource: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const VariantCard: (props: any) => JSX.Element;
3
4
  export default VariantCard;
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
3
3
  value?: string;
4
4
  onChange?: (val: string) => void;
5
5
  }
6
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
6
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
7
7
  declare const ImageUpload: React.FC<ImageUploadProps>;
8
8
  export default ImageUpload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface PassDetailProps {
3
4
  dataSource?: any | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface IPassListProps {
2
3
  dataSource: any[];
3
4
  value?: string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface TimelineSectionProps {
3
4
  code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface WalletPassGalleryProps {
3
4
  hideTitle: boolean;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectorDemo: () => JSX.Element;
2
3
  export default SelectorDemo;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -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: ({ onNext, renderContactInfo }: any) => JSX.Element;
3
4
  export default CartItem;
@@ -42,6 +42,8 @@ var import_utils2 = require("../../utils");
42
42
  var import_utils3 = require("./utils");
43
43
  var import_index = require("./index.less");
44
44
  var import_ContactInfoContent = __toESM(require("../../../../plus/contactInfoModal/ContactInfoContent"));
45
+ var import_productStockCheckModal = __toESM(require("../../../productStockCheckModal"));
46
+ var import_useCartProductStockCheck = __toESM(require("../../../../hooks/useCartProductStockCheck"));
45
47
  var import_antd = require("antd");
46
48
  var import_useLoginUser = __toESM(require("../../../../hooks/useLoginUser"));
47
49
  var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
@@ -51,11 +53,20 @@ var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
51
53
  const config = ((_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.constants) == null ? void 0 : _b.config) || {};
52
54
  const utils = (0, import_hooks.contextUtils)();
53
55
  const { pubsub } = context.appHelper.utils;
54
- const { appointmentBooking, summary, isAgreeDepositPolicy, setLoading } = (0, import_context.useAppointmentBookingContext)();
56
+ const {
57
+ appointmentBooking,
58
+ summary,
59
+ isAgreeDepositPolicy,
60
+ setLoading,
61
+ carts,
62
+ setTimes
63
+ } = (0, import_context.useAppointmentBookingContext)();
55
64
  const { isRetailTemplate, bookingSetting } = (0, import_hooks.useAppointmentBookingSetting)();
56
65
  console.log(bookingSetting, "bookingSetting");
57
66
  const [form] = import_antd.Form.useForm();
58
67
  const userInfo = (0, import_useLoginUser.default)();
68
+ const productStockCheckModalRef = (0, import_react.useRef)(null);
69
+ const { handleContinue, handleReturn, checkProductStock } = (0, import_useCartProductStockCheck.default)();
59
70
  const getContactsInfo = async () => {
60
71
  var _a2;
61
72
  let contacts_info = null;
@@ -130,7 +141,7 @@ var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
130
141
  }, [isRetailTemplate]);
131
142
  const handleForm = async (isSubmit, extraData) => {
132
143
  var _a2;
133
- const carts = await appointmentBooking.getCart();
144
+ const carts2 = await appointmentBooking.getCart();
134
145
  const key = "isRetailFormSubmit";
135
146
  const isRetailFormSubmit = appointmentBooking.getOtherData(key);
136
147
  const callback = () => {
@@ -141,7 +152,7 @@ var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
141
152
  if (isRetailFormSubmit) {
142
153
  return callback();
143
154
  }
144
- const params = (0, import_utils3.getFormParams)(carts);
155
+ const params = (0, import_utils3.getFormParams)(carts2);
145
156
  (_a2 = utils == null ? void 0 : utils.action) == null ? void 0 : _a2.call(utils, {
146
157
  type: "pisell1.goProductForm",
147
158
  data: params,
@@ -149,7 +160,7 @@ var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
149
160
  var _a3;
150
161
  if ((e == null ? void 0 : e.type) !== "close") {
151
162
  await appointmentBooking.updateCart({
152
- _id: (_a3 = carts == null ? void 0 : carts[0]) == null ? void 0 : _a3._id,
163
+ _id: (_a3 = carts2 == null ? void 0 : carts2[0]) == null ? void 0 : _a3._id,
153
164
  relationForms: e
154
165
  });
155
166
  appointmentBooking.setOtherData(key, true);
@@ -202,6 +213,10 @@ var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
202
213
  }
203
214
  }
204
215
  } catch (error) {
216
+ if (checkProductStock(productStockCheckModalRef, error == null ? void 0 : error.data, carts)) {
217
+ setLoading(false);
218
+ return;
219
+ }
205
220
  (0, import_utils2.Toast)((error == null ? void 0 : error.message) || "");
206
221
  setTimeout(() => {
207
222
  setLoading(false);
@@ -307,12 +322,34 @@ var ConfirmInformation = (0, import_react.forwardRef)((props, ref) => {
307
322
  }
308
323
  ));
309
324
  };
325
+ const handleProductStockCheck = (data, type) => {
326
+ let func = type === "continue" ? handleContinue : handleReturn;
327
+ func({
328
+ cartProducts: carts,
329
+ data,
330
+ callback: (newCart) => {
331
+ if (type === "continue") {
332
+ handleSubmit();
333
+ }
334
+ },
335
+ appointmentBooking,
336
+ setTimes,
337
+ isSkipClearData: !isRetailTemplate
338
+ });
339
+ };
310
340
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-confirm-information-wrap" }, (0, import_utils.isMobile)() ? /* @__PURE__ */ import_react.default.createElement(import_Item.default, { onNext: handleSubmit, renderContactInfo }) : showContactInfo ? renderContactInfo() : /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-confirm-information-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "image" }, /* @__PURE__ */ import_react.default.createElement(
311
341
  "img",
312
342
  {
313
343
  src: `${config == null ? void 0 : config.awsStatic}/checkout_confirm.png`,
314
344
  loading: "lazy"
315
345
  }
316
- )), /* @__PURE__ */ import_react.default.createElement("span", { className: "tips" }, import_utils.locales.getText("pisell2.appointment.tips")), /* @__PURE__ */ import_react.default.createElement("span", { className: "tips-content" }, import_utils.locales.getText("pisell2.appointment.tips.content"))));
346
+ )), /* @__PURE__ */ import_react.default.createElement("span", { className: "tips" }, import_utils.locales.getText("pisell2.appointment.tips")), /* @__PURE__ */ import_react.default.createElement("span", { className: "tips-content" }, import_utils.locales.getText("pisell2.appointment.tips.content"))), /* @__PURE__ */ import_react.default.createElement(
347
+ import_productStockCheckModal.default,
348
+ {
349
+ ref: productStockCheckModalRef,
350
+ onContinue: (data) => handleProductStockCheck(data, "continue"),
351
+ onReturn: (data) => handleProductStockCheck(data, "return")
352
+ }
353
+ ));
317
354
  });
318
355
  var ConfirmInformation_default = ConfirmInformation;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface DepositProps {
3
4
  showTitle?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectDate: (props: any) => JSX.Element | null;
2
3
  export default SelectDate;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../booking/components/voucher/index.less';
2
3
  import './index.less';
3
4
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Deposit: (props: any) => JSX.Element;
3
4
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -223,5 +223,10 @@ export declare const updateCartResources: (item: any, value?: any, currentSelect
223
223
  * @Author: WangHan
224
224
  * @Date: 2025-11-21 15:40
225
225
  */
226
- export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
226
+ export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => Promise<string[] | undefined>;
227
227
  export declare const nextStepLog: (utils: any, title: string, content?: any) => void;
228
+ /**
229
+ * @description: 跳转到某个步骤
230
+ * @return {*}
231
+ */
232
+ export declare const handleGoToStep: ({ appointmentBooking, setTimes, skipStepKey, isSkipClearData, }: any) => void;
@@ -51,6 +51,7 @@ __export(utils_exports, {
51
51
  getMultiResources: () => getMultiResources,
52
52
  getPunctuationMark: () => getPunctuationMark,
53
53
  getResourceTitle: () => getResourceTitle,
54
+ handleGoToStep: () => handleGoToStep,
54
55
  hasResourceFormId: () => hasResourceFormId,
55
56
  nextStepLog: () => nextStepLog,
56
57
  openForm: () => openForm,
@@ -513,6 +514,13 @@ var updateCartResources = (item, value, currentSelectedResources) => {
513
514
  }
514
515
  return newResource || [];
515
516
  };
517
+ var isSessionProduct = async (appointmentBooking) => {
518
+ const carts = await appointmentBooking.getCart();
519
+ return carts == null ? void 0 : carts.some((item) => {
520
+ var _a, _b;
521
+ return ((_b = (_a = item == null ? void 0 : item._productInit) == null ? void 0 : _a["schedule.ids"]) == null ? void 0 : _b.length) > 0;
522
+ });
523
+ };
516
524
  var STEP_CLEAR_CONFIG = {
517
525
  "select-time": ["time"],
518
526
  "fill-form": ["time", "form"],
@@ -581,7 +589,8 @@ var executeClearActions = (dataTypes, clearActions) => {
581
589
  }
582
590
  });
583
591
  };
584
- var clearDataByStepKey = (key, appointmentBooking, setTimes) => {
592
+ var clearDataByStepKey = async (key, appointmentBooking, setTimes) => {
593
+ var _a;
585
594
  if (!key || !appointmentBooking) {
586
595
  return;
587
596
  }
@@ -592,7 +601,16 @@ var clearDataByStepKey = (key, appointmentBooking, setTimes) => {
592
601
  if (!stepKey) {
593
602
  return;
594
603
  }
595
- const clearDataTypes = STEP_CLEAR_CONFIG[stepKey] || [];
604
+ let clearDataTypes = STEP_CLEAR_CONFIG[stepKey] || [];
605
+ const { bookingProcess } = ((_a = appointmentBooking == null ? void 0 : appointmentBooking.otherParams) == null ? void 0 : _a.productModuleParams) || {};
606
+ const isDateSelectedFirst = bookingProcess === "date_first";
607
+ if (key !== "select-date" && isDateSelectedFirst) {
608
+ clearDataTypes = clearDataTypes.filter((item) => item !== "date");
609
+ }
610
+ const isSession = await isSessionProduct(appointmentBooking);
611
+ if (isSession) {
612
+ clearDataTypes = clearDataTypes.filter((item) => item !== "time");
613
+ }
596
614
  if (clearDataTypes.length === 0) {
597
615
  return clearDataTypes;
598
616
  }
@@ -618,6 +636,21 @@ var nextStepLog = (utils, title, content = []) => {
618
636
  } catch (error) {
619
637
  }
620
638
  };
639
+ var handleGoToStep = ({
640
+ appointmentBooking,
641
+ setTimes,
642
+ skipStepKey = "select-service",
643
+ isSkipClearData = true
644
+ }) => {
645
+ if (isSkipClearData) {
646
+ clearDataByStepKey(skipStepKey, appointmentBooking, setTimes);
647
+ }
648
+ const stepLists = appointmentBooking.getStepList();
649
+ const serviceIndex = stepLists.findIndex(
650
+ (item) => (item == null ? void 0 : item.key) === skipStepKey
651
+ );
652
+ appointmentBooking.gotoStep(serviceIndex);
653
+ };
621
654
  // Annotate the CommonJS export names for ESM import in node:
622
655
  0 && (module.exports = {
623
656
  Toast,
@@ -642,6 +675,7 @@ var nextStepLog = (utils, title, content = []) => {
642
675
  getMultiResources,
643
676
  getPunctuationMark,
644
677
  getResourceTitle,
678
+ handleGoToStep,
645
679
  hasResourceFormId,
646
680
  nextStepLog,
647
681
  openForm,
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 底部
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const VoucherCard: (props: any) => JSX.Element | null;
3
4
  export default VoucherCard;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const calculateTotalPrice: (data: any) => number;
2
3
  declare const useQuotation: (state: any, dispatch: any) => {
3
4
  dom: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const header: ({ state, dispatch }: any) => JSX.Element;
3
4
  export default header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
3
  export default Lists;