@pisell/private-materials 3.3.67 → 3.3.68

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 (387) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +5 -5
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  16. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  21. package/es/components/appointmentBooking/index.js +14 -0
  22. package/es/components/appointmentBooking/index.less +1 -1
  23. package/es/components/booking/addons/index.js +3 -1
  24. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  25. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  26. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  27. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  28. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  29. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  30. package/es/components/booking/deposit/index.d.ts +0 -1
  31. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  32. package/es/components/booking/forms/single/index.d.ts +0 -1
  33. package/es/components/booking/forms/table/index.d.ts +0 -1
  34. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  35. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  36. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  37. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  38. package/es/components/booking/info/date/index.d.ts +0 -1
  39. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  40. package/es/components/booking/info/header/index.d.ts +0 -1
  41. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  42. package/es/components/booking/info/index.d.ts +0 -1
  43. package/es/components/booking/info/notes/index.d.ts +0 -1
  44. package/es/components/booking/info/service/Lists.d.ts +0 -1
  45. package/es/components/booking/info/service/Lists.js +1 -1
  46. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  47. package/es/components/booking/info/service/addService/index.js +3 -1
  48. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  49. package/es/components/booking/info/service/like/index.d.ts +0 -1
  50. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  51. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  52. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  53. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  54. package/es/components/booking/info2/service/addService/index.js +3 -1
  55. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  56. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  57. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  58. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  59. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  60. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  61. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  62. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  63. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  64. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  65. package/es/components/booking/utils.d.ts +1 -0
  66. package/es/components/booking/utils.js +4 -0
  67. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  68. package/es/components/eftpos/form/index.d.ts +0 -1
  69. package/es/components/eftpos/group/index.d.ts +0 -1
  70. package/es/components/eftpos/hooks.d.ts +0 -1
  71. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  72. package/es/components/eftpos/icon/device.d.ts +0 -1
  73. package/es/components/eftpos/index.d.ts +0 -1
  74. package/es/components/eftpos/pos.d.ts +0 -1
  75. package/es/components/eftpos/receipt/index.d.ts +0 -1
  76. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  77. package/es/components/eftposPay/amount.d.ts +1 -2
  78. package/es/components/eftposPay/app.d.ts +0 -1
  79. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  80. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  81. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  82. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  83. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  84. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  85. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  86. package/es/components/eftposPay/device.d.ts +1 -2
  87. package/es/components/eftposPay/hooks.d.ts +1 -1
  88. package/es/components/eftposPay/payo/config.d.ts +0 -1
  89. package/es/components/eftposPay/store/index.d.ts +3 -3
  90. package/es/components/eftposPay/tip.d.ts +0 -1
  91. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  92. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  93. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  94. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  95. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  96. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  97. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  100. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  103. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  105. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  106. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  112. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  113. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  114. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  115. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  116. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  117. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  119. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  120. package/es/components/eventBooking/index.d.ts +0 -1
  121. package/es/components/login/index.d.ts +0 -1
  122. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  123. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  124. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  125. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  126. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  127. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  130. package/es/components/pay/toC/PaymentMethods/index.js +5 -4
  131. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  132. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  133. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  134. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  135. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  136. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  137. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  138. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  139. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  140. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  141. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  142. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  143. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  144. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  145. package/es/components/productExtension/index.d.ts +0 -1
  146. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  147. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  148. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  149. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  150. package/es/components/schedules/calendar/index.d.ts +0 -1
  151. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  152. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  153. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  154. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  155. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  156. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  157. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  158. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  159. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  160. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  161. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  162. package/es/components/schedules/products/index.d.ts +0 -1
  163. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  164. package/es/components/schedules/products/list/index.d.ts +0 -1
  165. package/es/components/schedules/resources/index.d.ts +0 -1
  166. package/es/components/schedules/resources/list/index.d.ts +0 -1
  167. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  168. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  169. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  170. package/es/components/schedules/schedules/index.d.ts +0 -1
  171. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  172. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  173. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  174. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  175. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  176. package/es/components/shoppingCart/index.d.ts +0 -1
  177. package/es/components/taxSelect/index.d.ts +0 -1
  178. package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -2
  179. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  180. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  181. package/es/components/ticketBooking/components/ticketBooking/index.js +120 -1
  182. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  183. package/es/components/ticketBooking/index.d.ts +0 -1
  184. package/es/components/ticketBooking/locales.d.ts +164 -146
  185. package/es/components/ticketBooking/locales.js +195 -147
  186. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  187. package/es/components/ticketBooking/utils/formatProductMessage.js +62 -0
  188. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  189. package/es/components/ticketBooking/utils/formatTime.js +144 -0
  190. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  191. package/es/components/walletList/index.js +55 -7
  192. package/es/components/walletList/locales.d.ts +18 -0
  193. package/es/components/walletList/locales.js +17 -0
  194. package/es/components/walletList/serve.d.ts +8 -0
  195. package/es/components/walletList/serve.js +38 -0
  196. package/es/components/walletList/status.d.ts +38 -0
  197. package/es/components/walletList/status.js +47 -0
  198. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  199. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  200. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  201. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  202. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  203. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  204. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  205. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  206. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  207. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  208. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  209. package/lib/components/appointmentBooking/index.js +11 -0
  210. package/lib/components/appointmentBooking/index.less +1 -1
  211. package/lib/components/booking/addons/index.js +2 -0
  212. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  213. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  214. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  215. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  216. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  217. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  218. package/lib/components/booking/deposit/index.d.ts +0 -1
  219. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  220. package/lib/components/booking/forms/single/index.d.ts +0 -1
  221. package/lib/components/booking/forms/table/index.d.ts +0 -1
  222. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  223. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  224. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  225. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  226. package/lib/components/booking/info/date/index.d.ts +0 -1
  227. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  228. package/lib/components/booking/info/header/index.d.ts +0 -1
  229. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  230. package/lib/components/booking/info/index.d.ts +0 -1
  231. package/lib/components/booking/info/notes/index.d.ts +0 -1
  232. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  233. package/lib/components/booking/info/service/Lists.js +1 -1
  234. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  235. package/lib/components/booking/info/service/addService/index.js +2 -0
  236. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  237. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  238. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  239. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  240. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  241. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  242. package/lib/components/booking/info2/service/addService/index.js +2 -0
  243. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  244. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  245. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  246. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  247. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  248. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  249. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  250. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  251. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  252. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  253. package/lib/components/booking/utils.d.ts +1 -0
  254. package/lib/components/booking/utils.js +6 -0
  255. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  256. package/lib/components/eftpos/form/index.d.ts +0 -1
  257. package/lib/components/eftpos/group/index.d.ts +0 -1
  258. package/lib/components/eftpos/hooks.d.ts +0 -1
  259. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  260. package/lib/components/eftpos/icon/device.d.ts +0 -1
  261. package/lib/components/eftpos/index.d.ts +0 -1
  262. package/lib/components/eftpos/pos.d.ts +0 -1
  263. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  264. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  265. package/lib/components/eftposPay/amount.d.ts +1 -2
  266. package/lib/components/eftposPay/app.d.ts +0 -1
  267. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  268. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  269. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  270. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  271. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  272. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  273. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  274. package/lib/components/eftposPay/device.d.ts +1 -2
  275. package/lib/components/eftposPay/hooks.d.ts +1 -1
  276. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  277. package/lib/components/eftposPay/store/index.d.ts +3 -3
  278. package/lib/components/eftposPay/tip.d.ts +0 -1
  279. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  280. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  281. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  282. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  283. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  284. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  285. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  286. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  287. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  288. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  289. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  290. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  291. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  292. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  293. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  294. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  295. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  296. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  297. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  298. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  299. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  300. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  301. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  302. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  303. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  304. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  305. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  306. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  307. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  308. package/lib/components/eventBooking/index.d.ts +0 -1
  309. package/lib/components/login/index.d.ts +0 -1
  310. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  311. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  312. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  313. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  314. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  315. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  316. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  317. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  318. package/lib/components/pay/toC/PaymentMethods/index.js +10 -9
  319. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  320. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  321. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  322. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  323. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  324. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  325. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  326. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  327. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  328. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  329. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  330. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  331. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  332. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  333. package/lib/components/productExtension/index.d.ts +0 -1
  334. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  335. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  336. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  337. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  338. package/lib/components/schedules/calendar/index.d.ts +0 -1
  339. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  340. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  341. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  342. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  343. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  344. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  345. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  346. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  347. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  348. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  349. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  350. package/lib/components/schedules/products/index.d.ts +0 -1
  351. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  352. package/lib/components/schedules/products/list/index.d.ts +0 -1
  353. package/lib/components/schedules/resources/index.d.ts +0 -1
  354. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  355. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  356. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  357. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  358. package/lib/components/schedules/schedules/index.d.ts +0 -1
  359. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  360. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  361. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  362. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  363. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  364. package/lib/components/shoppingCart/index.d.ts +0 -1
  365. package/lib/components/taxSelect/index.d.ts +0 -1
  366. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +3 -1
  367. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  368. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  369. package/lib/components/ticketBooking/components/ticketBooking/index.js +120 -1
  370. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  371. package/lib/components/ticketBooking/index.d.ts +0 -1
  372. package/lib/components/ticketBooking/locales.d.ts +164 -146
  373. package/lib/components/ticketBooking/locales.js +22 -4
  374. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  375. package/lib/components/ticketBooking/utils/formatProductMessage.js +84 -0
  376. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  377. package/lib/components/ticketBooking/utils/formatTime.js +139 -0
  378. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  379. package/lib/components/walletList/index.js +42 -14
  380. package/lib/components/walletList/locales.d.ts +18 -0
  381. package/lib/components/walletList/locales.js +41 -0
  382. package/lib/components/walletList/serve.d.ts +8 -0
  383. package/lib/components/walletList/serve.js +15 -2
  384. package/lib/components/walletList/status.d.ts +38 -0
  385. package/lib/components/walletList/status.js +66 -0
  386. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  387. package/package.json +3 -3
@@ -21,9 +21,11 @@ import { Provider, Context } from "./model";
21
21
  import { WalletCard, Carousel } from '@pisell/materials';
22
22
  import { LeftOutlined, RightOutlined } from '@ant-design/icons';
23
23
  import useEngineContext from "./../../hooks/useEngineContext";
24
- import { getWalletList, getWalletBalance } from "./serve";
25
- import { locales } from '@pisell/utils';
24
+ import { getWalletList, getWalletBalance, getWalletShopList } from "./serve";
25
+ import { locales, getUniqueId } from '@pisell/utils';
26
26
  import { request } from "./../../utils";
27
+ import { defaultWalletGuideConfig } from "./status";
28
+ import localeTexts from "./locales";
27
29
  import "./index.less";
28
30
  import classNames from 'classnames';
29
31
  // 导入所有类型
@@ -120,7 +122,7 @@ var DEFAULT_WALLET_CARD = {
120
122
  original: 'Level',
121
123
  'zh-CN': 'Level',
122
124
  'zh-HK': 'Level',
123
- 'en': 'Level'
125
+ en: 'Level'
124
126
  },
125
127
  metadata: {
126
128
  barcodetype: 'barCode',
@@ -150,7 +152,7 @@ var WalletList = Provider(function (props) {
150
152
  constants = _ref.constants,
151
153
  utils = _ref.utils;
152
154
  var dvaStore = utils === null || utils === void 0 || (_utils$getStore = utils.getStore) === null || _utils$getStore === void 0 || (_utils$getStore = _utils$getStore.call(utils)) === null || _utils$getStore === void 0 ? void 0 : _utils$getStore.getState();
153
- locales.init({}, (dvaStore === null || dvaStore === void 0 || (_dvaStore$core = dvaStore.core) === null || _dvaStore$core === void 0 ? void 0 : _dvaStore$core.translateLocale) || 'en');
155
+ locales.init(localeTexts, (dvaStore === null || dvaStore === void 0 || (_dvaStore$core = dvaStore.core) === null || _dvaStore$core === void 0 ? void 0 : _dvaStore$core.translateLocale) || 'en');
154
156
  // 添加组件挂载状态引用
155
157
  var isMountedRef = useRef(true);
156
158
  var carouselRef = useRef(null);
@@ -164,9 +166,15 @@ var WalletList = Provider(function (props) {
164
166
  _useState2 = _slicedToArray(_useState, 2),
165
167
  currentIndex = _useState2[0],
166
168
  setCurrentIndex = _useState2[1];
169
+ // 店铺wallet pass列表
170
+ var _useState3 = useState([]),
171
+ _useState4 = _slicedToArray(_useState3, 2),
172
+ walletShopList = _useState4[0],
173
+ setWalletShopList = _useState4[1];
167
174
 
168
175
  // 添加一个请求ID引用,用于去重
169
176
  var requestIdRef = useRef('');
177
+ var pubsub = utils === null || utils === void 0 ? void 0 : utils.pubsub;
170
178
 
171
179
  //获取登录状态
172
180
  var isUserLoggedIn = useMemo(function () {
@@ -188,6 +196,27 @@ var WalletList = Provider(function (props) {
188
196
  request.setRequest(utils.request);
189
197
  }
190
198
  }, [utils === null || utils === void 0 ? void 0 : utils.request]);
199
+ useEffect(function () {
200
+ if (isUserLoggedIn) {
201
+ // 获取店铺wallet pass列表
202
+ getWalletShopList({
203
+ skip: 1,
204
+ num: 50
205
+ }).then(function (res) {
206
+ pubsub.publish('wallet:shopList', res);
207
+ });
208
+
209
+ // 订阅
210
+ var subscription = pubsub.subscribe('wallet:shopList', function (res) {
211
+ setWalletShopList((res === null || res === void 0 ? void 0 : res.list) || []);
212
+ });
213
+
214
+ // 卸载时取消订阅
215
+ return function () {
216
+ subscription.unsubscribe();
217
+ };
218
+ }
219
+ }, [isUserLoggedIn]);
191
220
 
192
221
  // 组件挂载时执行一次请求
193
222
  useEffect(function () {
@@ -433,7 +462,7 @@ var WalletList = Provider(function (props) {
433
462
  return _context3.abrupt("return");
434
463
  case 24:
435
464
  // 如果获取到有效数据,保存到 localStorage
436
- if (walletListData && walletListData.length > 0) {
465
+ if (walletListData) {
437
466
  try {
438
467
  saveToLocalStorage(STORAGE_KEY, walletListData);
439
468
  } catch (e) {
@@ -710,10 +739,24 @@ var WalletList = Provider(function (props) {
710
739
  })));
711
740
  }, []);
712
741
 
742
+ /**
743
+ * @title: 是否显示引导页
744
+ * @description:
745
+ * @param {*} useMemo
746
+ * @return {*}
747
+ * @Author: WangHan
748
+ * @Date: 2025-06-09 13:16
749
+ */
750
+ var isShowGuide = useMemo(function () {
751
+ var _globalState$walletGu;
752
+ if ((globalState === null || globalState === void 0 || (_globalState$walletGu = globalState.walletGuideConfig) === null || _globalState$walletGu === void 0 ? void 0 : _globalState$walletGu.show) === 0) return false;
753
+ return (walletShopList === null || walletShopList === void 0 ? void 0 : walletShopList.length) > 0 && !(list !== null && list !== void 0 && list.length);
754
+ }, [walletShopList, list, globalState === null || globalState === void 0 ? void 0 : globalState.walletGuideConfig]);
755
+
713
756
  // 确保renderContent总是返回JSX,避免返回null
714
757
  var renderContent = function renderContent() {
715
758
  // 如果列表为空,不显示任何内容
716
- if (list.length === 0) {
759
+ if (list.length === 0 && !isShowGuide) {
717
760
  return null;
718
761
  }
719
762
 
@@ -722,7 +765,12 @@ var WalletList = Provider(function (props) {
722
765
  className: "pisell-wallet-list-container"
723
766
  }, /*#__PURE__*/React.createElement("div", {
724
767
  className: "wallet-content"
725
- }, /*#__PURE__*/React.createElement(Carousel, _extends({
768
+ }, isShowGuide ? /*#__PURE__*/React.createElement(WalletCard, _extends({
769
+ key: getUniqueId(),
770
+ isGuide: true
771
+ }, globalState, {
772
+ walletGuideConfig: (globalState === null || globalState === void 0 ? void 0 : globalState.walletGuideConfig) || defaultWalletGuideConfig()
773
+ })) : /*#__PURE__*/React.createElement(Carousel, _extends({
726
774
  ref: carouselRef
727
775
  }, carouselProps), list.map(function (item) {
728
776
  return renderWalletCard(item);
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.guide.title': string;
4
+ 'page.wallet.guide.subtitle': string;
5
+ 'page.wallet.guide.button': string;
6
+ };
7
+ 'zh-CN': {
8
+ 'page.wallet.guide.title': string;
9
+ 'page.wallet.guide.subtitle': string;
10
+ 'page.wallet.guide.button': string;
11
+ };
12
+ 'zh-HK': {
13
+ 'page.wallet.guide.title': string;
14
+ 'page.wallet.guide.subtitle': string;
15
+ 'page.wallet.guide.button': string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export default {
2
+ "en": {
3
+ 'page.wallet.guide.title': 'Activate Now!',
4
+ 'page.wallet.guide.subtitle': 'Unlock membership benefits now',
5
+ 'page.wallet.guide.button': 'Get Your Reward'
6
+ },
7
+ 'zh-CN': {
8
+ 'page.wallet.guide.title': '待解锁权益',
9
+ 'page.wallet.guide.subtitle': '成为专属会员,即可享受更多权益',
10
+ 'page.wallet.guide.button': '点击获取'
11
+ },
12
+ 'zh-HK': {
13
+ 'page.wallet.guide.title': '待解鎖權益',
14
+ 'page.wallet.guide.subtitle': '成為專屬會員,即可享受更多權益',
15
+ 'page.wallet.guide.button': '點擊獲取'
16
+ }
17
+ };
@@ -10,3 +10,11 @@ export declare const getWalletList: () => Promise<WalletPass[]>;
10
10
  * @returns
11
11
  */
12
12
  export declare const getWalletBalance: () => Promise<WalletBalance | null>;
13
+ /**
14
+ * @title: 获取钱包店铺列表
15
+ * @description:
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-06-09 11:12
19
+ */
20
+ export declare const getWalletShopList: (params: any) => Promise<any>;
@@ -66,4 +66,42 @@ export var getWalletBalance = /*#__PURE__*/function () {
66
66
  return function getWalletBalance() {
67
67
  return _ref2.apply(this, arguments);
68
68
  };
69
+ }();
70
+
71
+ /**
72
+ * @title: 获取钱包店铺列表
73
+ * @description:
74
+ * @return {*}
75
+ * @Author: WangHan
76
+ * @Date: 2025-06-09 11:12
77
+ */
78
+ export var getWalletShopList = /*#__PURE__*/function () {
79
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) {
80
+ var _yield$request$getReq3, data;
81
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
82
+ while (1) switch (_context3.prev = _context3.next) {
83
+ case 0:
84
+ _context3.prev = 0;
85
+ _context3.next = 3;
86
+ return request.getRequest().get('/h5/wallet/shop/list', params || {}, {
87
+ abort: true,
88
+ useCache: true
89
+ });
90
+ case 3:
91
+ _yield$request$getReq3 = _context3.sent;
92
+ data = _yield$request$getReq3.data;
93
+ return _context3.abrupt("return", data || null);
94
+ case 8:
95
+ _context3.prev = 8;
96
+ _context3.t0 = _context3["catch"](0);
97
+ return _context3.abrupt("return", null);
98
+ case 11:
99
+ case "end":
100
+ return _context3.stop();
101
+ }
102
+ }, _callee3, null, [[0, 8]]);
103
+ }));
104
+ return function getWalletShopList(_x) {
105
+ return _ref3.apply(this, arguments);
106
+ };
69
107
  }();
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @title: 默认引导页配置
3
+ * @description:
4
+ * @param {any} locales
5
+ * @return {any}
6
+ * @Author: WangHan
7
+ * @Date: 2025-06-09 14:22
8
+ */
9
+ export declare const defaultWalletGuideConfig: () => {
10
+ show: number;
11
+ align: string;
12
+ backgroundColor: string;
13
+ backgroundImage: string;
14
+ backgroundImageAlt: string;
15
+ buttonColor: string;
16
+ buttonBorderColor: string;
17
+ titleConfig: {
18
+ size: number;
19
+ color: string;
20
+ weight: number;
21
+ style: string;
22
+ text: any;
23
+ };
24
+ subtitleConfig: {
25
+ size: number;
26
+ color: string;
27
+ weight: number;
28
+ style: string;
29
+ text: any;
30
+ };
31
+ buttonConfig: {
32
+ size: number;
33
+ color: string;
34
+ weight: number;
35
+ style: string;
36
+ text: any;
37
+ };
38
+ };
@@ -0,0 +1,47 @@
1
+ import { locales } from '@pisell/utils';
2
+
3
+ /**
4
+ * @title: 默认引导页配置
5
+ * @description:
6
+ * @param {any} locales
7
+ * @return {any}
8
+ * @Author: WangHan
9
+ * @Date: 2025-06-09 14:22
10
+ */
11
+ export var defaultWalletGuideConfig = function defaultWalletGuideConfig() {
12
+ return {
13
+ show: 1,
14
+ //文字居中
15
+ align: 'center',
16
+ //背景颜色
17
+ backgroundColor: '',
18
+ backgroundImage: '',
19
+ backgroundImageAlt: '',
20
+ buttonColor: 'rgba(127,86,217,1)',
21
+ buttonBorderColor: 'rgba(127,86,217,1)',
22
+ // 标题配置
23
+ titleConfig: {
24
+ size: 18,
25
+ color: 'rgba(255,255,255,1)',
26
+ weight: 600,
27
+ style: 'normal',
28
+ text: locales.getText('page.wallet.guide.title')
29
+ },
30
+ // 副标题配置
31
+ subtitleConfig: {
32
+ size: 14,
33
+ color: 'rgba(208,213,221,1)',
34
+ weight: 400,
35
+ style: 'normal',
36
+ text: locales.getText('page.wallet.guide.subtitle')
37
+ },
38
+ // 按钮配置
39
+ buttonConfig: {
40
+ size: 14,
41
+ color: 'rgba(255,255,255,1)',
42
+ weight: 600,
43
+ style: 'normal',
44
+ text: locales.getText('page.wallet.guide.button')
45
+ }
46
+ };
47
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,5 +1,5 @@
1
1
  .appointment-cart-item-wrap {
2
- height: calc(100vh - 100px);
2
+ height: calc(var(--vh, 1vh) * 100 - 100px);
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
 
@@ -39,7 +39,7 @@
39
39
  flex-direction: column;
40
40
  align-items: start;
41
41
 
42
- >div {
42
+ > div {
43
43
  display: flex;
44
44
  align-items: center;
45
45
  justify-content: space-between;
@@ -105,4 +105,4 @@
105
105
  flex: none;
106
106
  z-index: 10;
107
107
  }
108
- }
108
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -107,7 +107,7 @@
107
107
  margin-top: 0;
108
108
 
109
109
  .appointment-cart-item-wrap {
110
- height: calc(100vh - 16px) !important;
110
+ height: calc(var(--vh, 1vh) * 100 - 16px) !important;
111
111
  }
112
112
  }
113
113
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: () => JSX.Element;
4
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const GuestOptionsModal: (props: any) => JSX.Element;
4
3
  export default GuestOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: (props: any) => JSX.Element;
4
3
  export default Deposit;
@@ -58,6 +58,17 @@ var AppointmentBooking = () => {
58
58
  }
59
59
  });
60
60
  }, []);
61
+ (0, import_react.useEffect)(() => {
62
+ const setRealVH = () => {
63
+ const vh = window.innerHeight * 0.01;
64
+ document.documentElement.style.setProperty("--vh", `${vh}px`);
65
+ };
66
+ setRealVH();
67
+ window.addEventListener("resize", setRealVH);
68
+ return () => {
69
+ window.removeEventListener("resize", setRealVH);
70
+ };
71
+ }, []);
61
72
  return /* @__PURE__ */ import_react.default.createElement(
62
73
  "div",
63
74
  {
@@ -3,7 +3,7 @@
3
3
  flex-direction: column;
4
4
  align-items: center;
5
5
  background: #ffffff;
6
- height: 100vh;
6
+ height: calc(var(--vh, 1vh) * 100);
7
7
  overflow-y: auto;
8
8
 
9
9
  .pisell-section-headers {
@@ -214,6 +214,7 @@ var Addons = (0, import_model.Provider)((props) => {
214
214
  let _list = [...state.addons.value];
215
215
  const isSession = (0, import_utils2.isSessionProduct)(item);
216
216
  const isEject = (0, import_utils2.getIsEject)(item, type);
217
+ const isOnlySession = (0, import_utils2.getIsOnlySession)(item);
217
218
  state.action({
218
219
  type: "pisell1.handleOpenProductModal",
219
220
  data: {
@@ -226,6 +227,7 @@ var Addons = (0, import_model.Provider)((props) => {
226
227
  package: true,
227
228
  number: true
228
229
  },
230
+ isOnlySession,
229
231
  is_eject: isEject ? 1 : 0,
230
232
  isOS: isSession
231
233
  },
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface TabProductProps {
4
3
  list: any[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
3
2
  export default FormItemChildrenWrap;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: (props: any) => JSX.Element;
3
2
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
3
2
  export default useIsLowSpeedNetwork;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
4
3
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const header: ({ state, dispatch }: any) => JSX.Element;
4
3
  export default header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InfoProps } from './main';
3
2
  declare const APP: (props: InfoProps) => JSX.Element;
4
3
  export default APP;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -87,7 +87,7 @@ var Lists = ({ onEdit, onChange, onAction, isParallelResource }) => {
87
87
  isShowChangeHolder,
88
88
  isShowChangeResource: true,
89
89
  isShowAddHolderButton: true,
90
- isShowEditProduct: true
90
+ isShowEditProduct: !state.isBookingCreatePage
91
91
  };
92
92
  }, [
93
93
  state == null ? void 0 : state.bookingId,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -229,6 +229,7 @@ var Info = (props) => {
229
229
  (item, type) => {
230
230
  const isSession = (0, import_utils2.isSessionProduct)(item);
231
231
  let isEject = (0, import_utils2.getIsEject)(item, type);
232
+ const isOnlySession = (0, import_utils2.getIsOnlySession)(item);
232
233
  if (isDay) {
233
234
  isEject = type === "detail" || item.bundle_group_count > 0 || item.option_group_count > 0 || item.is_variant > 0;
234
235
  }
@@ -244,6 +245,7 @@ var Info = (props) => {
244
245
  package: true
245
246
  },
246
247
  is_eject: isEject ? 1 : 0,
248
+ isOnlySession,
247
249
  customer_id: customerId,
248
250
  isOS: isSession
249
251
  },
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingList: ({ items }: {
3
2
  items: any[];
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Like: ({ status, onChange, className, style, }: {
4
3
  style?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -190,6 +190,7 @@ var Info = (props) => {
190
190
  var _a2, _b2;
191
191
  const isSession = (0, import_utils3.isSessionProduct)(item);
192
192
  const isEject = (0, import_utils3.getIsEject)(item, type);
193
+ const isOnlySession = (0, import_utils3.getIsOnlySession)(item);
193
194
  let lock = false;
194
195
  state.action({
195
196
  type: "pisell1.handleOpenProductModal",
@@ -204,6 +205,7 @@ var Info = (props) => {
204
205
  number: (0, import_utils5.isNormalProductByDurationSchedule)(item)
205
206
  },
206
207
  is_eject: isEject ? 1 : 0,
208
+ isOnlySession,
207
209
  isOS: isSession,
208
210
  customer_id: (_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id
209
211
  },