@pisell/private-materials 6.9.2 → 6.9.4

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 (840) hide show
  1. package/README.md +5 -1
  2. package/build/lowcode/assets-daily.json +11 -11
  3. package/build/lowcode/assets-dev.json +2 -2
  4. package/build/lowcode/assets-prod.json +11 -11
  5. package/build/lowcode/index.js +1 -1
  6. package/build/lowcode/meta.js +2 -2
  7. package/build/lowcode/preview.js +150 -164
  8. package/build/lowcode/render/default/view.css +1 -1
  9. package/build/lowcode/render/default/view.js +11 -11
  10. package/build/lowcode/view.css +1 -1
  11. package/build/lowcode/view.js +11 -11
  12. package/es/components/Sales/Cart/index.js +20 -3
  13. package/es/components/Sales/Cart/utils.d.ts +5 -0
  14. package/es/components/Sales/Cart/utils.js +16 -0
  15. package/es/components/Sales/Summary/utils.js +5 -4
  16. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/Header/index.js +12 -12
  21. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +3 -0
  22. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
  23. package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
  24. package/es/components/appointmentBooking/components/Voucher/index.js +26 -5
  25. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  26. package/es/components/appointmentBooking/hooks.d.ts +1 -1
  27. package/es/components/appointmentBooking/hooks.js +6 -13
  28. package/es/components/appointmentBooking/locales.d.ts +3 -0
  29. package/es/components/appointmentBooking/locales.js +3 -0
  30. package/es/components/appointmentBooking/utils.d.ts +23 -0
  31. package/es/components/appointmentBooking/utils.js +159 -0
  32. package/es/components/booking/addons/index.js +3 -2
  33. package/es/components/booking/addons/model.d.ts +10 -1
  34. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  35. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  36. package/es/components/booking/components/actionButtons/index.js +10 -0
  37. package/es/components/booking/components/customiseItemModal/index.js +4 -7
  38. package/es/components/booking/components/footer/amount.d.ts +1 -0
  39. package/es/components/booking/components/footer/amount.js +358 -165
  40. package/es/components/booking/components/footer/index.js +496 -170
  41. package/es/components/booking/components/footer/utils.d.ts +1 -1
  42. package/es/components/booking/components/footer/utils.js +142 -82
  43. package/es/components/booking/components/voucher/index.js +15 -6
  44. package/es/components/booking/components/voucher/index.less +4 -1
  45. package/es/components/booking/components/voucherModal/index.less +1 -0
  46. package/es/components/booking/dashboard/index.js +78 -92
  47. package/es/components/booking/dashboard/serve.d.ts +1 -0
  48. package/es/components/booking/dashboard/serve.js +22 -0
  49. package/es/components/booking/forms/footer.d.ts +1 -0
  50. package/es/components/booking/forms/model.d.ts +10 -1
  51. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  52. package/es/components/booking/forms/single/index.d.ts +1 -0
  53. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  54. package/es/components/booking/hooks/useQuotation.js +32 -10
  55. package/es/components/booking/info/client/index.js +16 -6
  56. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  57. package/es/components/booking/info/header/index.d.ts +0 -1
  58. package/es/components/booking/info/index.d.ts +0 -1
  59. package/es/components/booking/info/model.d.ts +10 -1
  60. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  61. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  62. package/es/components/booking/info/service2/Group/utils.js +2 -2
  63. package/es/components/booking/info/service2/utils.js +45 -41
  64. package/es/components/booking/info2/cartClientCard/index.js +16 -10
  65. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  66. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  67. package/es/components/booking/info2/service/editNormalService/index.js +21 -18
  68. package/es/components/booking/info2/service/editService/index.js +33 -2
  69. package/es/components/booking/info2/service/editService/utils.js +9 -5
  70. package/es/components/booking/locales.d.ts +3 -0
  71. package/es/components/booking/locales.js +6 -3
  72. package/es/components/booking/model.d.ts +9 -1
  73. package/es/components/booking/notes/model.d.ts +10 -1
  74. package/es/components/booking/payments/model.d.ts +10 -1
  75. package/es/components/booking/utils.d.ts +2 -2
  76. package/es/components/booking/utils.js +4 -4
  77. package/es/components/checkout/PaymentModal.d.ts +1 -0
  78. package/es/components/checkout/PaymentModal.js +172 -65
  79. package/es/components/checkout/components/PaymentDetailModal/index.less +426 -429
  80. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +1 -0
  81. package/es/components/checkout/components/PaymentOptionsModule/index.js +3 -2
  82. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +0 -1
  83. package/es/components/checkout/components/PaymentResultToast/index.js +2 -0
  84. package/es/components/checkout/components/WalletPassModule/index.js +1 -0
  85. package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
  86. package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
  87. package/es/components/checkout/hooks/useWalletPass.d.ts +2 -2
  88. package/es/components/checkout/hooks/useWalletPass.js +324 -198
  89. package/es/components/checkout/index.less +6 -0
  90. package/es/components/checkout/plugin.js +59 -12
  91. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
  92. package/es/components/ecocup/components/AddCustomerModal/index.js +216 -0
  93. package/es/components/ecocup/components/AddCustomerModal/index.less +9 -0
  94. package/es/components/ecocup/components/CupActionList/index.d.ts +14 -0
  95. package/es/components/ecocup/components/CupActionList/index.js +91 -0
  96. package/es/components/ecocup/components/CupActionList/index.less +102 -0
  97. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  98. package/es/components/ecocup/components/CupActionModal/hooks.js +68 -0
  99. package/es/components/ecocup/components/CupActionModal/index.d.ts +15 -0
  100. package/es/components/ecocup/components/CupActionModal/index.js +92 -0
  101. package/es/components/ecocup/components/CupActionModal/index.less +38 -0
  102. package/es/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
  103. package/es/components/ecocup/components/CupInfoCard/index.js +12 -0
  104. package/es/components/ecocup/components/CupInfoCard/index.less +11 -0
  105. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
  106. package/es/components/ecocup/components/CupStatusModal/hooks.js +68 -0
  107. package/es/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
  108. package/es/components/ecocup/components/CupStatusModal/index.js +147 -0
  109. package/es/components/ecocup/components/CupStatusModal/index.less +35 -0
  110. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  111. package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +133 -0
  112. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +17 -0
  113. package/es/components/ecocup/components/CustomerAndCupModal/index.js +227 -0
  114. package/es/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
  115. package/es/components/ecocup/components/CustomerCard/index.d.ts +7 -0
  116. package/es/components/ecocup/components/CustomerCard/index.js +34 -0
  117. package/es/components/ecocup/components/CustomerCard/index.less +50 -0
  118. package/es/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
  119. package/es/components/ecocup/components/MoreDropdown/index.js +33 -0
  120. package/es/components/ecocup/components/PageHeader/index.d.ts +6 -0
  121. package/es/components/ecocup/components/PageHeader/index.js +37 -0
  122. package/es/components/ecocup/components/PageHeader/index.less +19 -0
  123. package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
  124. package/es/components/ecocup/components/SearchBar/const.js +16 -0
  125. package/es/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
  126. package/es/components/ecocup/components/SearchBar/hooks.js +184 -0
  127. package/es/components/ecocup/components/SearchBar/index.d.ts +13 -0
  128. package/es/components/ecocup/components/SearchBar/index.js +218 -0
  129. package/es/components/ecocup/components/SearchBar/index.less +88 -0
  130. package/es/components/ecocup/cupList/const.d.ts +133 -0
  131. package/es/components/ecocup/cupList/const.js +306 -0
  132. package/es/components/ecocup/cupList/hooks/index.d.ts +4 -0
  133. package/es/components/ecocup/cupList/hooks/index.js +4 -0
  134. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +43 -0
  135. package/es/components/ecocup/cupList/hooks/useColumns.js +168 -0
  136. package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
  137. package/es/{plus/myTeamLogin/index.js → components/ecocup/cupList/hooks/useCupApi.js} +129 -259
  138. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
  139. package/es/components/ecocup/cupList/hooks/useSummary.js +40 -0
  140. package/es/components/ecocup/cupList/index.d.ts +6 -0
  141. package/es/components/ecocup/cupList/index.js +220 -0
  142. package/es/components/ecocup/cupList/index.less +113 -0
  143. package/es/components/ecocup/cupProject/const.d.ts +7 -0
  144. package/es/components/ecocup/cupProject/const.js +27 -0
  145. package/es/components/ecocup/cupProject/index.d.ts +3 -0
  146. package/es/components/ecocup/cupProject/index.js +103 -0
  147. package/es/components/ecocup/cupProject/index.less +41 -0
  148. package/es/components/ecocup/customerList/const.d.ts +44 -0
  149. package/es/components/ecocup/customerList/const.js +67 -0
  150. package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
  151. package/es/components/ecocup/customerList/hooks/index.js +3 -0
  152. package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  153. package/es/components/ecocup/customerList/hooks/useColumns.js +44 -0
  154. package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  155. package/es/components/ecocup/customerList/hooks/useCustomerApi.js +70 -0
  156. package/es/components/ecocup/customerList/index.d.ts +7 -0
  157. package/es/components/ecocup/customerList/index.js +127 -0
  158. package/es/components/ecocup/customerList/index.less +15 -0
  159. package/es/components/ecocup/hooks.d.ts +49 -0
  160. package/es/components/ecocup/hooks.js +151 -0
  161. package/es/components/ecocup/locales.d.ts +339 -0
  162. package/es/components/ecocup/locales.js +372 -0
  163. package/es/components/ecocup/types.d.ts +103 -0
  164. package/es/components/ecocup/types.js +36 -0
  165. package/es/components/ecocup/utils/scanListener.d.ts +20 -0
  166. package/es/components/ecocup/utils/scanListener.js +107 -0
  167. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  168. package/es/components/eftposPay/EFTPos.js +15 -6
  169. package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +7 -0
  170. package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.js +120 -0
  171. package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  172. package/es/components/eftposPay/aggregatePayment/index.js +3 -0
  173. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  174. package/es/components/eftposPay/aggregatePayment/service.js +69 -0
  175. package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  176. package/es/components/eftposPay/aggregatePayment/types.js +65 -0
  177. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  178. package/es/components/eftposPay/aggregatePayment/utils/logs.js +371 -0
  179. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  180. package/es/components/eftposPay/aggregatePayment/utils/payment.js +1138 -0
  181. package/es/components/eftposPay/app.js +5 -0
  182. package/es/components/eftposPay/component/fail/failCustom.js +16 -12
  183. package/es/components/eftposPay/component/fail/index.js +12 -5
  184. package/es/components/eftposPay/const.d.ts +6 -1
  185. package/es/components/eftposPay/const.js +3 -0
  186. package/es/components/eftposPay/hooks.d.ts +3 -2
  187. package/es/components/eftposPay/hooks.js +12 -0
  188. package/es/components/eftposPay/huifu/Action.d.ts +8 -0
  189. package/es/components/eftposPay/huifu/Action.js +146 -0
  190. package/es/components/eftposPay/huifu/const.d.ts +5 -0
  191. package/es/components/eftposPay/huifu/const.js +70 -0
  192. package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
  193. package/es/components/eftposPay/huifu/hooks.js +184 -0
  194. package/es/components/eftposPay/huifu/index.d.ts +5 -0
  195. package/es/components/eftposPay/huifu/index.js +196 -0
  196. package/es/components/eftposPay/huifu/index.less +180 -0
  197. package/es/components/eftposPay/huifu/types.d.ts +14 -0
  198. package/es/components/eftposPay/huifu/types.js +1 -0
  199. package/es/components/eftposPay/index.js +5 -1
  200. package/es/components/eftposPay/locales.d.ts +36 -0
  201. package/es/components/eftposPay/locales.js +42 -3
  202. package/es/components/eftposPay/manufacturer.d.ts +1 -0
  203. package/es/components/eftposPay/manufacturer.js +5 -0
  204. package/es/components/eftposPay/pay.js +6 -2
  205. package/es/components/eftposPay/store/index.d.ts +12 -5
  206. package/es/components/eftposPay/tyro/index.js +97 -4
  207. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  208. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
  209. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  210. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  211. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  212. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  213. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  214. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  215. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  216. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  217. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  218. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  219. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  220. package/es/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
  221. package/es/components/eventBooking/components/Voucher/components/Voucher.js +99 -0
  222. package/es/components/eventBooking/components/Voucher/components/index.less +124 -0
  223. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  224. package/es/components/eventBooking/components/Voucher/components/locales.js +38 -0
  225. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  226. package/es/components/eventBooking/components/Voucher/hooks.js +212 -0
  227. package/es/components/eventBooking/components/Voucher/index.d.ts +2 -0
  228. package/es/components/eventBooking/components/Voucher/index.js +266 -0
  229. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  230. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  231. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  232. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  233. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  234. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  235. package/es/components/kioskSkuDetail/index.d.ts +3 -0
  236. package/es/components/kioskSkuDetail/index.js +268 -173
  237. package/es/components/kioskSkuDetail/index.less +49 -7
  238. package/es/components/kioskSkuDetail/locales.d.ts +6 -0
  239. package/es/components/kioskSkuDetail/locales.js +9 -3
  240. package/es/components/pay/toB/components/Content/Header.d.ts +0 -1
  241. package/es/components/pay/toB/components/EFTPOS/index.js +8 -1
  242. package/es/components/pay/toB/components/MX51/index.js +2 -1
  243. package/es/components/pay/toB/paymentMethods/index.js +2 -1
  244. package/es/components/pay/toB/types/index.d.ts +9 -0
  245. package/es/components/pay/toC/PaymentList/index.d.ts +1 -1
  246. package/es/components/pay/toC/PaymentList/index.js +54 -5
  247. package/es/components/pay/toC/PaymentList/index.less +58 -1
  248. package/es/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
  249. package/es/components/pay/toC/PaymentList/payment/visa.png +0 -0
  250. package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
  251. package/es/components/pay/toC/PaymentList/serve.js +22 -0
  252. package/es/components/pay/toC/PaymentList/utils.d.ts +26 -0
  253. package/es/components/pay/toC/PaymentList/utils.js +188 -6
  254. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -3
  255. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  256. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +139 -42
  257. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  258. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  259. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  260. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  261. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  262. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  263. package/es/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
  264. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  265. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
  266. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  267. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
  268. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  269. package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
  270. package/es/components/pay/toC/index.js +68 -28
  271. package/es/components/pay/toC/locales.d.ts +6 -0
  272. package/es/components/pay/toC/locales.js +9 -3
  273. package/es/components/pay/toC/model.d.ts +10 -1
  274. package/es/components/pay/toC/serve.d.ts +18 -0
  275. package/es/components/pay/toC/serve.js +29 -1
  276. package/es/components/pay/toC/utils.d.ts +2 -2
  277. package/es/components/pay/toC/utils.js +4 -0
  278. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  279. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  280. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  281. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  282. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  283. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  284. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  285. package/es/components/productSelect/components/productGroup/index.js +1 -1
  286. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  287. package/es/components/schedules/model.d.ts +9 -1
  288. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  289. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  290. package/es/components/shoppingCart/components/Cart/Product.js +1 -1
  291. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  292. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  293. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  294. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  295. package/es/components/shoppingCart/index.d.ts +1 -0
  296. package/es/components/systemSettings/registry/components/SectionList.js +5 -1
  297. package/es/components/taxSelect/index.d.ts +0 -1
  298. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +5 -8
  299. package/es/components/ticketBooking/components/addServiceVariant/addService.js +142 -63
  300. package/es/components/ticketBooking/components/bookingDataPanel/index.js +2 -1
  301. package/es/components/ticketBooking/components/ticketBooking/index.js +18 -4
  302. package/es/components/ticketBooking/context/OsKeyContext.d.ts +3 -0
  303. package/es/components/ticketBooking/context/OsKeyContext.js +12 -2
  304. package/es/components/ticketBooking/context/index.d.ts +1 -1
  305. package/es/components/ticketBooking/context/index.js +1 -1
  306. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +1 -1
  307. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +14 -11
  308. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +69 -10
  309. package/es/components/ticketBooking/index.d.ts +1 -0
  310. package/es/components/ticketBooking/index.js +2 -1
  311. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  312. package/es/components/walletList/index.js +7 -2
  313. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  314. package/es/index.d.ts +7 -4
  315. package/es/index.js +7 -4
  316. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  317. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  318. package/es/plus/clinetSearch/index.d.ts +1 -0
  319. package/es/plus/clinetSearch/index.js +27 -5
  320. package/es/plus/clinetSearch/locales.d.ts +3 -0
  321. package/es/plus/clinetSearch/locales.js +6 -3
  322. package/es/plus/clinetSearch/types.d.ts +9 -0
  323. package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
  324. package/es/plus/orderList/components/BatchActionBar.js +861 -0
  325. package/es/plus/orderList/components/FilterList.d.ts +8 -0
  326. package/es/plus/orderList/components/FilterList.js +78 -0
  327. package/es/plus/orderList/components/HandleActions.d.ts +5 -0
  328. package/es/plus/orderList/components/HandleActions.js +24 -0
  329. package/es/plus/orderList/components/QuickFilter.d.ts +5 -0
  330. package/es/plus/orderList/components/QuickFilter.js +14 -0
  331. package/es/plus/orderList/components/Reset.d.ts +7 -0
  332. package/es/plus/orderList/components/Reset.js +23 -0
  333. package/es/plus/orderList/components/Toolbar.d.ts +6 -0
  334. package/es/plus/orderList/components/Toolbar.js +57 -0
  335. package/es/plus/orderList/config.d.ts +152 -0
  336. package/es/plus/orderList/config.js +785 -0
  337. package/es/plus/orderList/index.d.ts +9 -0
  338. package/es/plus/orderList/index.js +128 -0
  339. package/es/plus/orderList/index.less +125 -0
  340. package/es/plus/orderList/locales.d.ts +372 -0
  341. package/es/plus/orderList/locales.js +459 -0
  342. package/es/plus/orderList/serve.d.ts +42 -0
  343. package/es/plus/orderList/serve.js +351 -0
  344. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  345. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  346. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  347. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  348. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  349. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +3 -0
  350. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -1
  351. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -1
  352. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -1
  353. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -1
  354. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  355. package/es/plus/productSelect/ProductCard/index.js +12 -3
  356. package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -4
  357. package/es/plus/productSelect/ProductList/gridComponents.js +30 -10
  358. package/es/plus/productSelect/index.d.ts +3 -1
  359. package/es/plus/productSelect/index.js +85 -14
  360. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  361. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  362. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  363. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  364. package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +1 -0
  365. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  366. package/es/plus/skuOptionsSelection/components/VariantCard/index.js +1 -1
  367. package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
  368. package/es/plus/skuOptionsSelection/locales.js +3 -0
  369. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +11 -2
  370. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -0
  371. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +1 -0
  372. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +2 -0
  373. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +10 -0
  374. package/es/plus/walletPassGallery/components/passDetail/index.js +6 -5
  375. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  376. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -0
  377. package/es/plus/walletPassGallery/components/timelineSection/index.js +9 -3
  378. package/es/plus/walletPassGallery/index.js +2 -2
  379. package/es/plus/walletPassGallery/index.less +1 -1
  380. package/es/plus/walletPassGallery/serve.d.ts +8 -0
  381. package/es/plus/walletPassGallery/serve.js +78 -50
  382. package/es/plus/webPosLogin/WebPosLogin.d.ts +2 -2
  383. package/es/plus/webPosLogin/WebPosLogin.js +7 -2
  384. package/es/plus/webPosLogin/components/MediaDisplay/index.js +5 -5
  385. package/es/plus/webPosLogin/components/MediaDisplay/index.less +10 -6
  386. package/es/plus/webPosLogin/service.js +2 -1
  387. package/es/pro/Login2.0/AuthModal.js +12 -4
  388. package/es/pro/Login2.0/Login2.js +7 -0
  389. package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
  390. package/es/pro/Login2.0/index.less +15 -3
  391. package/es/pro/Login2.0/steps/CodeInput.js +37 -7
  392. package/es/pro/NumericStepper/index.d.ts +27 -1
  393. package/es/pro/NumericStepper/index.js +84 -68
  394. package/es/pro/NumericStepper/index.less +261 -136
  395. package/es/pro/Selector/Selector.js +17 -10
  396. package/es/pro/Selector/demo.d.ts +1 -0
  397. package/es/pro/Selector/hooks/usePresetItemProps.js +2 -0
  398. package/es/pro/Selector/hooks/usePresetProps.js +4 -2
  399. package/es/pro/Selector/types.d.ts +1 -0
  400. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  401. package/es/pro/keyboards/index.d.ts +2 -0
  402. package/es/pro/keyboards/index.js +1 -0
  403. package/es/pro/keyboards/locales.d.ts +24 -0
  404. package/es/pro/keyboards/locales.js +35 -0
  405. package/es/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  406. package/es/pro/keyboards/numberKeyboard/index.js +523 -0
  407. package/es/pro/keyboards/numberKeyboard/index.less +59 -0
  408. package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  409. package/es/pro/keyboards/numberKeyboard/types.js +1 -0
  410. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +2 -1
  411. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +2 -1
  412. package/es/pro/priceKeyboard/components/paymentKeyboard/index.js +6 -3
  413. package/es/pro/skuDetailModal/index.js +57 -55
  414. package/es/pro/skuDetailModal/index.less +46 -4
  415. package/es/pro/skuDetailModal/types.d.ts +7 -0
  416. package/lib/components/Sales/Cart/index.js +25 -7
  417. package/lib/components/Sales/Cart/utils.d.ts +5 -0
  418. package/lib/components/Sales/Cart/utils.js +13 -1
  419. package/lib/components/Sales/Summary/utils.js +2 -4
  420. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  421. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  422. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  423. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  424. package/lib/components/appointmentBooking/components/Header/index.js +3 -8
  425. package/lib/components/appointmentBooking/components/Services/index.js +5 -1
  426. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +3 -0
  427. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
  428. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
  429. package/lib/components/appointmentBooking/components/Voucher/index.js +37 -6
  430. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  431. package/lib/components/appointmentBooking/hooks.d.ts +1 -1
  432. package/lib/components/appointmentBooking/hooks.js +6 -11
  433. package/lib/components/appointmentBooking/locales.d.ts +3 -0
  434. package/lib/components/appointmentBooking/locales.js +3 -0
  435. package/lib/components/appointmentBooking/utils.d.ts +23 -0
  436. package/lib/components/appointmentBooking/utils.js +103 -0
  437. package/lib/components/booking/addons/index.js +3 -2
  438. package/lib/components/booking/addons/model.d.ts +10 -1
  439. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  440. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  441. package/lib/components/booking/components/actionButtons/index.js +10 -0
  442. package/lib/components/booking/components/customiseItemModal/index.js +4 -5
  443. package/lib/components/booking/components/footer/amount.d.ts +1 -0
  444. package/lib/components/booking/components/footer/amount.js +122 -25
  445. package/lib/components/booking/components/footer/index.js +243 -5
  446. package/lib/components/booking/components/footer/utils.d.ts +1 -1
  447. package/lib/components/booking/components/footer/utils.js +58 -21
  448. package/lib/components/booking/components/voucher/index.js +18 -4
  449. package/lib/components/booking/components/voucher/index.less +4 -1
  450. package/lib/components/booking/components/voucherModal/index.less +1 -0
  451. package/lib/components/booking/dashboard/index.js +38 -59
  452. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  453. package/lib/components/booking/dashboard/serve.js +8 -2
  454. package/lib/components/booking/forms/footer.d.ts +1 -0
  455. package/lib/components/booking/forms/model.d.ts +10 -1
  456. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  457. package/lib/components/booking/forms/single/index.d.ts +1 -0
  458. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  459. package/lib/components/booking/hooks/useQuotation.js +65 -21
  460. package/lib/components/booking/info/client/index.js +16 -8
  461. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  462. package/lib/components/booking/info/header/index.d.ts +0 -1
  463. package/lib/components/booking/info/index.d.ts +0 -1
  464. package/lib/components/booking/info/model.d.ts +10 -1
  465. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  466. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  467. package/lib/components/booking/info/service2/Group/utils.js +2 -2
  468. package/lib/components/booking/info/service2/utils.js +6 -2
  469. package/lib/components/booking/info2/cartClientCard/index.js +17 -11
  470. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  471. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  472. package/lib/components/booking/info2/service/editNormalService/index.js +20 -17
  473. package/lib/components/booking/info2/service/editService/index.js +48 -24
  474. package/lib/components/booking/info2/service/editService/utils.js +7 -4
  475. package/lib/components/booking/locales.d.ts +3 -0
  476. package/lib/components/booking/locales.js +6 -3
  477. package/lib/components/booking/model.d.ts +9 -1
  478. package/lib/components/booking/notes/model.d.ts +10 -1
  479. package/lib/components/booking/payments/model.d.ts +10 -1
  480. package/lib/components/booking/utils.d.ts +2 -2
  481. package/lib/components/booking/utils.js +3 -3
  482. package/lib/components/checkout/PaymentModal.d.ts +1 -0
  483. package/lib/components/checkout/PaymentModal.js +105 -31
  484. package/lib/components/checkout/components/PaymentDetailModal/index.less +426 -429
  485. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +1 -0
  486. package/lib/components/checkout/components/PaymentOptionsModule/index.js +6 -2
  487. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +0 -1
  488. package/lib/components/checkout/components/PaymentResultToast/index.js +2 -0
  489. package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
  490. package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
  491. package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
  492. package/lib/components/checkout/hooks/useWalletPass.d.ts +2 -2
  493. package/lib/components/checkout/hooks/useWalletPass.js +160 -109
  494. package/lib/components/checkout/index.less +6 -0
  495. package/lib/components/checkout/plugin.js +195 -150
  496. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
  497. package/lib/components/ecocup/components/AddCustomerModal/index.js +212 -0
  498. package/lib/components/ecocup/components/AddCustomerModal/index.less +9 -0
  499. package/lib/components/ecocup/components/CupActionList/index.d.ts +14 -0
  500. package/lib/components/ecocup/components/CupActionList/index.js +116 -0
  501. package/lib/components/ecocup/components/CupActionList/index.less +102 -0
  502. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  503. package/lib/components/ecocup/components/CupActionModal/hooks.js +55 -0
  504. package/lib/components/ecocup/components/CupActionModal/index.d.ts +15 -0
  505. package/lib/components/ecocup/components/CupActionModal/index.js +125 -0
  506. package/lib/components/ecocup/components/CupActionModal/index.less +38 -0
  507. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
  508. package/lib/components/ecocup/components/CupInfoCard/index.js +43 -0
  509. package/lib/components/ecocup/components/CupInfoCard/index.less +11 -0
  510. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
  511. package/lib/components/ecocup/components/CupStatusModal/hooks.js +55 -0
  512. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
  513. package/lib/components/ecocup/components/CupStatusModal/index.js +140 -0
  514. package/lib/components/ecocup/components/CupStatusModal/index.less +35 -0
  515. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  516. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +89 -0
  517. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +17 -0
  518. package/lib/components/ecocup/components/CustomerAndCupModal/index.js +178 -0
  519. package/lib/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
  520. package/lib/components/ecocup/components/CustomerCard/index.d.ts +7 -0
  521. package/lib/components/ecocup/components/CustomerCard/index.js +48 -0
  522. package/lib/components/ecocup/components/CustomerCard/index.less +50 -0
  523. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
  524. package/lib/components/ecocup/components/MoreDropdown/index.js +68 -0
  525. package/lib/components/ecocup/components/PageHeader/index.d.ts +6 -0
  526. package/lib/components/ecocup/components/PageHeader/index.js +59 -0
  527. package/lib/components/ecocup/components/PageHeader/index.less +19 -0
  528. package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
  529. package/lib/components/ecocup/components/SearchBar/const.js +50 -0
  530. package/lib/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
  531. package/lib/components/ecocup/components/SearchBar/hooks.js +135 -0
  532. package/lib/components/ecocup/components/SearchBar/index.d.ts +13 -0
  533. package/lib/components/ecocup/components/SearchBar/index.js +213 -0
  534. package/lib/components/ecocup/components/SearchBar/index.less +88 -0
  535. package/lib/components/ecocup/cupList/const.d.ts +133 -0
  536. package/lib/components/ecocup/cupList/const.js +326 -0
  537. package/lib/components/ecocup/cupList/hooks/index.d.ts +4 -0
  538. package/lib/components/ecocup/cupList/hooks/index.js +39 -0
  539. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +43 -0
  540. package/lib/components/ecocup/cupList/hooks/useColumns.js +202 -0
  541. package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
  542. package/lib/components/ecocup/cupList/hooks/useCupApi.js +112 -0
  543. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
  544. package/lib/components/ecocup/cupList/hooks/useSummary.js +75 -0
  545. package/lib/components/ecocup/cupList/index.d.ts +6 -0
  546. package/lib/components/ecocup/cupList/index.js +208 -0
  547. package/lib/components/ecocup/cupList/index.less +113 -0
  548. package/lib/components/ecocup/cupProject/const.d.ts +7 -0
  549. package/lib/components/ecocup/cupProject/const.js +58 -0
  550. package/lib/components/ecocup/cupProject/index.d.ts +3 -0
  551. package/lib/components/ecocup/cupProject/index.js +126 -0
  552. package/lib/components/ecocup/cupProject/index.less +41 -0
  553. package/lib/components/ecocup/customerList/const.d.ts +44 -0
  554. package/lib/components/ecocup/customerList/const.js +93 -0
  555. package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
  556. package/lib/components/ecocup/customerList/hooks/index.js +32 -0
  557. package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  558. package/lib/components/ecocup/customerList/hooks/useColumns.js +89 -0
  559. package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  560. package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +56 -0
  561. package/lib/components/ecocup/customerList/index.d.ts +7 -0
  562. package/lib/components/ecocup/customerList/index.js +138 -0
  563. package/lib/components/ecocup/customerList/index.less +15 -0
  564. package/lib/components/ecocup/hooks.d.ts +49 -0
  565. package/lib/components/ecocup/hooks.js +155 -0
  566. package/lib/components/ecocup/locales.d.ts +339 -0
  567. package/lib/components/ecocup/locales.js +389 -0
  568. package/lib/components/ecocup/types.d.ts +103 -0
  569. package/lib/components/ecocup/types.js +57 -0
  570. package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
  571. package/lib/components/ecocup/utils/scanListener.js +90 -0
  572. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  573. package/lib/components/eftposPay/EFTPos.js +11 -7
  574. package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +7 -0
  575. package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.js +133 -0
  576. package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  577. package/lib/components/eftposPay/aggregatePayment/index.js +42 -0
  578. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  579. package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
  580. package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  581. package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
  582. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  583. package/lib/components/eftposPay/aggregatePayment/utils/logs.js +294 -0
  584. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  585. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +752 -0
  586. package/lib/components/eftposPay/app.js +5 -0
  587. package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
  588. package/lib/components/eftposPay/component/fail/index.js +4 -1
  589. package/lib/components/eftposPay/const.d.ts +6 -1
  590. package/lib/components/eftposPay/const.js +3 -0
  591. package/lib/components/eftposPay/hooks.d.ts +3 -2
  592. package/lib/components/eftposPay/hooks.js +16 -0
  593. package/lib/components/eftposPay/huifu/Action.d.ts +8 -0
  594. package/lib/components/eftposPay/huifu/Action.js +174 -0
  595. package/lib/components/eftposPay/huifu/const.d.ts +5 -0
  596. package/lib/components/eftposPay/huifu/const.js +86 -0
  597. package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
  598. package/lib/components/eftposPay/huifu/hooks.js +186 -0
  599. package/lib/components/eftposPay/huifu/index.d.ts +5 -0
  600. package/lib/components/eftposPay/huifu/index.js +200 -0
  601. package/lib/components/eftposPay/huifu/index.less +180 -0
  602. package/lib/components/eftposPay/huifu/types.d.ts +14 -0
  603. package/lib/components/eftposPay/huifu/types.js +17 -0
  604. package/lib/components/eftposPay/index.js +5 -1
  605. package/lib/components/eftposPay/locales.d.ts +36 -0
  606. package/lib/components/eftposPay/locales.js +42 -3
  607. package/lib/components/eftposPay/manufacturer.d.ts +1 -0
  608. package/lib/components/eftposPay/manufacturer.js +7 -0
  609. package/lib/components/eftposPay/pay.js +3 -2
  610. package/lib/components/eftposPay/store/index.d.ts +12 -5
  611. package/lib/components/eftposPay/tyro/index.js +64 -7
  612. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  613. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
  614. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  615. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  616. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  617. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  618. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  619. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  620. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  621. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  622. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  623. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  624. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  625. package/lib/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
  626. package/lib/components/eventBooking/components/Voucher/components/Voucher.js +116 -0
  627. package/lib/components/eventBooking/components/Voucher/components/index.less +124 -0
  628. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  629. package/lib/components/eventBooking/components/Voucher/components/locales.js +59 -0
  630. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  631. package/lib/components/eventBooking/components/Voucher/hooks.js +176 -0
  632. package/lib/components/eventBooking/components/Voucher/index.d.ts +2 -0
  633. package/lib/components/eventBooking/components/Voucher/index.js +197 -0
  634. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  635. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  636. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  637. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  638. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  639. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  640. package/lib/components/kioskSkuDetail/index.d.ts +3 -0
  641. package/lib/components/kioskSkuDetail/index.js +180 -113
  642. package/lib/components/kioskSkuDetail/index.less +49 -7
  643. package/lib/components/kioskSkuDetail/locales.d.ts +6 -0
  644. package/lib/components/kioskSkuDetail/locales.js +9 -3
  645. package/lib/components/pay/toB/components/Content/Header.d.ts +0 -1
  646. package/lib/components/pay/toB/components/EFTPOS/index.js +8 -1
  647. package/lib/components/pay/toB/components/MX51/index.js +2 -1
  648. package/lib/components/pay/toB/paymentMethods/index.js +2 -1
  649. package/lib/components/pay/toB/types/index.d.ts +9 -0
  650. package/lib/components/pay/toC/PaymentList/index.d.ts +1 -1
  651. package/lib/components/pay/toC/PaymentList/index.js +36 -5
  652. package/lib/components/pay/toC/PaymentList/index.less +58 -1
  653. package/lib/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
  654. package/lib/components/pay/toC/PaymentList/payment/visa.png +0 -0
  655. package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
  656. package/lib/components/pay/toC/PaymentList/serve.js +21 -1
  657. package/lib/components/pay/toC/PaymentList/utils.d.ts +26 -0
  658. package/lib/components/pay/toC/PaymentList/utils.js +156 -7
  659. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -1
  660. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  661. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +97 -7
  662. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  663. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  664. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  665. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  666. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  667. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  668. package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +1 -1
  669. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  670. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
  671. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  672. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
  673. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  674. package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
  675. package/lib/components/pay/toC/index.js +53 -11
  676. package/lib/components/pay/toC/locales.d.ts +6 -0
  677. package/lib/components/pay/toC/locales.js +9 -3
  678. package/lib/components/pay/toC/model.d.ts +10 -1
  679. package/lib/components/pay/toC/serve.d.ts +18 -0
  680. package/lib/components/pay/toC/serve.js +6 -0
  681. package/lib/components/pay/toC/utils.d.ts +2 -2
  682. package/lib/components/pay/toC/utils.js +4 -0
  683. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  684. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  685. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  686. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  687. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  688. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  689. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  690. package/lib/components/productSelect/components/productGroup/index.js +1 -1
  691. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  692. package/lib/components/schedules/model.d.ts +9 -1
  693. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  694. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  695. package/lib/components/shoppingCart/components/Cart/Product.js +1 -1
  696. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  697. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  698. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  699. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  700. package/lib/components/shoppingCart/index.d.ts +1 -0
  701. package/lib/components/systemSettings/registry/components/SectionList.js +4 -1
  702. package/lib/components/taxSelect/index.d.ts +0 -1
  703. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +3 -7
  704. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +46 -16
  705. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +3 -2
  706. package/lib/components/ticketBooking/components/ticketBooking/index.js +20 -6
  707. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +3 -0
  708. package/lib/components/ticketBooking/context/OsKeyContext.js +13 -3
  709. package/lib/components/ticketBooking/context/index.d.ts +1 -1
  710. package/lib/components/ticketBooking/context/index.js +2 -0
  711. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +1 -1
  712. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +3 -2
  713. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +59 -0
  714. package/lib/components/ticketBooking/index.d.ts +1 -0
  715. package/lib/components/ticketBooking/index.js +1 -1
  716. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  717. package/lib/components/walletList/index.js +5 -1
  718. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  719. package/lib/index.d.ts +7 -4
  720. package/lib/index.js +15 -6
  721. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  722. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  723. package/lib/plus/clinetSearch/index.d.ts +1 -0
  724. package/lib/plus/clinetSearch/index.js +31 -7
  725. package/lib/plus/clinetSearch/locales.d.ts +3 -0
  726. package/lib/plus/clinetSearch/locales.js +6 -3
  727. package/lib/plus/clinetSearch/types.d.ts +9 -0
  728. package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
  729. package/lib/plus/orderList/components/BatchActionBar.js +584 -0
  730. package/lib/plus/orderList/components/FilterList.d.ts +8 -0
  731. package/lib/plus/orderList/components/FilterList.js +121 -0
  732. package/lib/plus/orderList/components/HandleActions.d.ts +5 -0
  733. package/lib/plus/orderList/components/HandleActions.js +52 -0
  734. package/lib/plus/orderList/components/QuickFilter.d.ts +5 -0
  735. package/lib/plus/orderList/components/QuickFilter.js +43 -0
  736. package/lib/plus/orderList/components/Reset.d.ts +7 -0
  737. package/lib/plus/orderList/components/Reset.js +58 -0
  738. package/lib/plus/orderList/components/Toolbar.d.ts +6 -0
  739. package/lib/plus/orderList/components/Toolbar.js +68 -0
  740. package/lib/plus/orderList/config.d.ts +152 -0
  741. package/lib/plus/orderList/config.js +763 -0
  742. package/lib/plus/orderList/index.d.ts +9 -0
  743. package/lib/plus/orderList/index.js +132 -0
  744. package/lib/plus/orderList/index.less +125 -0
  745. package/lib/plus/orderList/locales.d.ts +372 -0
  746. package/lib/plus/orderList/locales.js +471 -0
  747. package/lib/plus/orderList/serve.d.ts +42 -0
  748. package/lib/plus/orderList/serve.js +177 -0
  749. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  750. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  751. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  752. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  753. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  754. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -1
  755. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -1
  756. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -1
  757. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -1
  758. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  759. package/lib/plus/productSelect/ProductCard/index.js +3 -3
  760. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -4
  761. package/lib/plus/productSelect/ProductList/gridComponents.js +7 -1
  762. package/lib/plus/productSelect/index.d.ts +3 -1
  763. package/lib/plus/productSelect/index.js +56 -11
  764. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  765. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  766. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  767. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
  768. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +1 -0
  769. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  770. package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +2 -0
  771. package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
  772. package/lib/plus/skuOptionsSelection/locales.js +3 -0
  773. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +10 -0
  774. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -0
  775. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +1 -0
  776. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +2 -0
  777. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +10 -0
  778. package/lib/plus/walletPassGallery/components/passDetail/index.js +24 -6
  779. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  780. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -0
  781. package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -10
  782. package/lib/plus/walletPassGallery/index.js +2 -2
  783. package/lib/plus/walletPassGallery/index.less +1 -1
  784. package/lib/plus/walletPassGallery/serve.d.ts +8 -0
  785. package/lib/plus/walletPassGallery/serve.js +23 -8
  786. package/lib/plus/webPosLogin/WebPosLogin.d.ts +2 -2
  787. package/lib/plus/webPosLogin/WebPosLogin.js +7 -2
  788. package/lib/plus/webPosLogin/components/MediaDisplay/index.js +1 -1
  789. package/lib/plus/webPosLogin/components/MediaDisplay/index.less +10 -6
  790. package/lib/plus/webPosLogin/service.js +2 -1
  791. package/lib/pro/Login2.0/AuthModal.js +15 -7
  792. package/lib/pro/Login2.0/Login2.js +7 -0
  793. package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
  794. package/lib/pro/Login2.0/index.less +15 -3
  795. package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
  796. package/lib/pro/NumericStepper/index.d.ts +27 -1
  797. package/lib/pro/NumericStepper/index.js +73 -70
  798. package/lib/pro/NumericStepper/index.less +261 -136
  799. package/lib/pro/Selector/Selector.js +11 -4
  800. package/lib/pro/Selector/demo.d.ts +1 -0
  801. package/lib/pro/Selector/hooks/usePresetItemProps.js +2 -0
  802. package/lib/pro/Selector/hooks/usePresetProps.js +4 -2
  803. package/lib/pro/Selector/types.d.ts +1 -0
  804. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  805. package/lib/pro/keyboards/index.d.ts +2 -0
  806. package/lib/pro/keyboards/index.js +39 -0
  807. package/lib/pro/keyboards/locales.d.ts +24 -0
  808. package/lib/pro/keyboards/locales.js +47 -0
  809. package/lib/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  810. package/lib/pro/keyboards/numberKeyboard/index.js +400 -0
  811. package/lib/pro/keyboards/numberKeyboard/index.less +59 -0
  812. package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  813. package/lib/pro/keyboards/numberKeyboard/types.js +17 -0
  814. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +2 -1
  815. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +2 -1
  816. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.js +6 -3
  817. package/lib/pro/skuDetailModal/index.js +114 -64
  818. package/lib/pro/skuDetailModal/index.less +46 -4
  819. package/lib/pro/skuDetailModal/types.d.ts +7 -0
  820. package/lowcode/eco-cup-list/meta.ts +63 -0
  821. package/lowcode/eco-customer-list/meta.ts +63 -0
  822. package/lowcode/ecocup-cup-list/meta.ts +38 -0
  823. package/lowcode/ecocup-cup-project/meta.ts +35 -0
  824. package/lowcode/ecocup-customer-list/meta.ts +38 -0
  825. package/lowcode/kiosk-sku-detail/meta.ts +229 -94
  826. package/lowcode/login2/meta.ts +15 -0
  827. package/lowcode/order-list/meta.ts +87 -0
  828. package/package.json +8 -23
  829. package/es/plus/myTeamLogin/MyTeamLoginCpt.d.ts +0 -9
  830. package/es/plus/myTeamLogin/MyTeamLoginCpt.js +0 -157
  831. package/es/plus/myTeamLogin/index.d.ts +0 -11
  832. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  833. package/es/pro/pisellNumberSelector/example.js +0 -68
  834. package/lib/plus/myTeamLogin/MyTeamLoginCpt.d.ts +0 -9
  835. package/lib/plus/myTeamLogin/MyTeamLoginCpt.js +0 -156
  836. package/lib/plus/myTeamLogin/index.d.ts +0 -11
  837. package/lib/plus/myTeamLogin/index.js +0 -198
  838. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
  839. package/lib/pro/pisellNumberSelector/example.js +0 -93
  840. package/lowcode/my-team-login/meta.ts +0 -71
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SelectDate: (props: any) => JSX.Element | null;
3
+ export default SelectDate;
@@ -0,0 +1,89 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.tsx
30
+ var SelectDateOS_exports = {};
31
+ __export(SelectDateOS_exports, {
32
+ default: () => SelectDateOS_default
33
+ });
34
+ module.exports = __toCommonJS(SelectDateOS_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_hooks = require("../../../hooks");
37
+ var import_context = require("../../../context");
38
+ var import_useComponents = __toESM(require("../../../../../hooks/useComponents"));
39
+ var import_utils = require("../../../utils");
40
+ var import_hooks2 = require("../../../hooks");
41
+ var import_utils2 = require("../../../utils");
42
+ var SelectDate = (props) => {
43
+ const { onDateChange, times, currentDate } = props;
44
+ const appointmentBooking = (0, import_hooks.useAppointmentBooking)();
45
+ const { currentSelectedResources, setTimes } = (0, import_context.useAppointmentBookingContext)();
46
+ const utils = (0, import_hooks2.contextUtils)();
47
+ const [SelectDateOS] = (0, import_useComponents.default)({
48
+ components: ["SelectDateOS"]
49
+ });
50
+ const resourceCode = (0, import_react.useMemo)(() => {
51
+ const { resourceSort } = (appointmentBooking == null ? void 0 : appointmentBooking.otherParams) || {};
52
+ const resources = appointmentBooking.getResourcesList();
53
+ const { resourceCodes } = (0, import_utils.processResourceList)(resources, resourceSort);
54
+ return (resourceCodes == null ? void 0 : resourceCodes[0]) || "";
55
+ }, []);
56
+ const currentResourceName = (0, import_react.useMemo)(() => {
57
+ var _a;
58
+ const currentResource = (_a = currentSelectedResources == null ? void 0 : currentSelectedResources[0]) == null ? void 0 : _a.currentSelectedResource;
59
+ const resourceItem = (currentResource == null ? void 0 : currentResource.resourceItem) || {};
60
+ const name = (0, import_utils.getResourceTitle)(
61
+ appointmentBooking,
62
+ resourceItem == null ? void 0 : resourceItem.code,
63
+ utils,
64
+ resourceItem
65
+ );
66
+ return name;
67
+ }, [currentSelectedResources]);
68
+ const onStepChange = () => {
69
+ (0, import_utils2.clearDataByStepKey)("select-service", appointmentBooking, setTimes);
70
+ const stepLists = appointmentBooking.getStepList();
71
+ const serviceIndex = stepLists.findIndex(
72
+ (item) => (item == null ? void 0 : item.key) === "select-service"
73
+ );
74
+ appointmentBooking.gotoStep(serviceIndex);
75
+ };
76
+ return SelectDateOS ? /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(
77
+ SelectDateOS,
78
+ {
79
+ isTimeSlicing: true,
80
+ currentDate,
81
+ resourceCode,
82
+ resourceName: currentResourceName,
83
+ onDateChange,
84
+ onStepChange,
85
+ times
86
+ }
87
+ )) : null;
88
+ };
89
+ var SelectDateOS_default = SelectDate;
@@ -39,6 +39,7 @@ var import_context = require("../../context");
39
39
  var import_utils2 = require("../Resource/utils");
40
40
  var import_hooks = require("../../hooks");
41
41
  var import_utils3 = require("../../utils");
42
+ var import_SelectDateOS = __toESM(require("./components/SelectDateOS"));
42
43
  var import_index = require("./index.less");
43
44
  var TimeSlicing = (0, import_react.forwardRef)((props, ref) => {
44
45
  const [selectedResource, setSelectedResource] = (0, import_react.useState)("");
@@ -51,6 +52,7 @@ var TimeSlicing = (0, import_react.forwardRef)((props, ref) => {
51
52
  } = (0, import_context.useAppointmentBookingContext)();
52
53
  const { getResourceTimeSlot, getResourceList } = (0, import_hooks.useAppointmentBookingResource)();
53
54
  const { nextStep } = (0, import_hooks.useAppointmentBookingStep)();
55
+ const [currentDate, setCurrentDate] = (0, import_react.useState)(void 0);
54
56
  (0, import_react.useImperativeHandle)(ref, () => ({
55
57
  next: () => {
56
58
  const isUnSelectedTimes = appointmentBooking.checkCartItems("date");
@@ -85,7 +87,30 @@ var TimeSlicing = (0, import_react.forwardRef)((props, ref) => {
85
87
  setSelectedResource(e == null ? void 0 : e.start_time);
86
88
  getAutoSelect(e);
87
89
  };
88
- return (times == null ? void 0 : times.length) > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-time-slicing-wrap" }, times.map((item, index) => {
90
+ (0, import_react.useEffect)(() => {
91
+ const getCurrentDate = async () => {
92
+ var _a;
93
+ const res = await appointmentBooking.getDateRange();
94
+ const date = (_a = res == null ? void 0 : res[0]) == null ? void 0 : _a.date;
95
+ setCurrentDate(date);
96
+ };
97
+ getCurrentDate();
98
+ }, []);
99
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
100
+ import_SelectDateOS.default,
101
+ {
102
+ onDateChange: (currentData) => {
103
+ if ((times == null ? void 0 : times.length) > 0) {
104
+ appointmentBooking.deleteCartItemInfo("time");
105
+ }
106
+ setCurrentDate(currentData == null ? void 0 : currentData.date);
107
+ appointmentBooking.setDateRange([currentData]);
108
+ getResourceTimeSlot();
109
+ },
110
+ times,
111
+ currentDate
112
+ }
113
+ ), (times == null ? void 0 : times.length) > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-time-slicing-wrap" }, times.map((item, index) => {
89
114
  return /* @__PURE__ */ import_react.default.createElement(
90
115
  "div",
91
116
  {
@@ -96,11 +121,6 @@ var TimeSlicing = (0, import_react.forwardRef)((props, ref) => {
96
121
  /* @__PURE__ */ import_react.default.createElement("span", null, item == null ? void 0 : item.start_time),
97
122
  /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-chevron-right", className: `icon` })
98
123
  );
99
- })) : /* @__PURE__ */ import_react.default.createElement(
100
- import_materials.PisellEmpty,
101
- {
102
- description: import_utils.locales.getText("pisell2.appointment.unselect.time")
103
- }
104
- );
124
+ })) : null);
105
125
  });
106
126
  var TimeSlicing_default = TimeSlicing;
@@ -43,6 +43,8 @@ var import_materials = require("@pisell/materials");
43
43
  var import_hooks = require("../../hooks");
44
44
  var import_voucher = require("../../../booking/components/voucher/index.less");
45
45
  var import_index = require("./index.less");
46
+ var import_ahooks = require("ahooks");
47
+ var import_context = require("../../context");
46
48
  var ShopDiscountHooks = {
47
49
  onInited: "shopDiscount:onInited",
48
50
  onDestroy: "shopDiscount:onDestroy",
@@ -66,11 +68,17 @@ var VoucherCard = (props) => {
66
68
  const productRef = (0, import_react.useRef)(products);
67
69
  const { openLoginModal } = (0, import_hooks.useAppointmentBookingLogin)();
68
70
  const { accountLists } = (0, import_hooks.useAppointmentBookingAccount)();
71
+ const { summary } = (0, import_context.useAppointmentBookingContext)();
72
+ const { originTotal, total } = summary;
69
73
  const cart = (_b = appointmentBooking == null ? void 0 : appointmentBooking.store) == null ? void 0 : _b.cart;
70
74
  const isUserLoggedIn = (0, import_react.useMemo)(() => {
71
75
  var _a2, _b2;
72
76
  return !!((_b2 = (_a2 = utils == null ? void 0 : utils.token) == null ? void 0 : _a2.get) == null ? void 0 : _b2.call(_a2)) || false;
73
77
  }, [store]);
78
+ (0, import_react.useEffect)(() => {
79
+ const shopDiscount2 = pisellos.getModule("shopDiscount");
80
+ shopDiscount2.setOriginTotalAmount(originTotal);
81
+ }, [originTotal]);
74
82
  const availableData = (0, import_react.useMemo)(() => {
75
83
  return discountList.filter((item) => !!item.isAvailable).map((discount) => {
76
84
  return {
@@ -89,6 +97,12 @@ var VoucherCard = (props) => {
89
97
  (0, import_react.useEffect)(() => {
90
98
  shopDiscount.setProductList(products);
91
99
  }, [products]);
100
+ const { run: onCartChange } = (0, import_ahooks.useDebounceFn)(
101
+ () => {
102
+ onCartChangeFn();
103
+ },
104
+ { wait: 300 }
105
+ );
92
106
  const batchUpdateCart = (productList) => {
93
107
  var _a2;
94
108
  const items = productList.map((item) => {
@@ -106,13 +120,16 @@ var VoucherCard = (props) => {
106
120
  });
107
121
  (_a2 = appointmentBooking == null ? void 0 : appointmentBooking.batchUpdateCart) == null ? void 0 : _a2.call(appointmentBooking, items);
108
122
  };
109
- const onCartChange = () => {
110
- var _a2, _b2, _c;
123
+ const onCartChangeFn = () => {
124
+ var _a2, _b2, _c, _d;
111
125
  const products2 = cart == null ? void 0 : cart.getItems();
112
126
  (_c = shopDiscount == null ? void 0 : shopDiscount.setBookingSubject) == null ? void 0 : _c.call(
113
127
  shopDiscount,
114
128
  (_b2 = (_a2 = appointmentBooking == null ? void 0 : appointmentBooking.otherParams) == null ? void 0 : _a2.bookingSetting) == null ? void 0 : _b2.bookingSubject
115
129
  );
130
+ if (Array.isArray((_d = shopDiscount == null ? void 0 : shopDiscount.getDiscountList) == null ? void 0 : _d.call(shopDiscount)) && !(shopDiscount == null ? void 0 : shopDiscount.getDiscountList().length)) {
131
+ return;
132
+ }
116
133
  const val = shopDiscount.calcDiscount(products2);
117
134
  batchUpdateCart(val.productList);
118
135
  };
@@ -138,9 +155,18 @@ var VoucherCard = (props) => {
138
155
  }
139
156
  );
140
157
  pisellos.effects.on("appointmentBooking_cart:onAddItem", onCartChange);
141
- pisellos.effects.on("appointmentBooking_cart:onUpdateQuotationPrice", onCartChange);
142
- pisellos.effects.on("appointmentBooking_cart:onUpdateBookingDate", onCartChange);
143
- pisellos.effects.on("appointmentBooking_cart:onUpdateCartItemNums", onCartChange);
158
+ pisellos.effects.on(
159
+ "appointmentBooking_cart:onUpdateQuotationPrice",
160
+ onCartChange
161
+ );
162
+ pisellos.effects.on(
163
+ "appointmentBooking_cart:onUpdateBookingDate",
164
+ onCartChange
165
+ );
166
+ pisellos.effects.on(
167
+ "appointmentBooking_cart:onUpdateCartItemNums",
168
+ onCartChange
169
+ );
144
170
  pisellos.effects.on("appointmentBooking_cart:onRemoveItem", onCartChange);
145
171
  pisellos.effects.on(
146
172
  ShopDiscountHooks.onDiscountListChange,
@@ -157,8 +183,13 @@ var VoucherCard = (props) => {
157
183
  batchUpdateCart(val.productList);
158
184
  setCode("");
159
185
  } else {
186
+ const content = {
187
+ time_limit: import_utils.locales.getText(
188
+ "pisell2.text.goodpass.code-invalid-expired"
189
+ )
190
+ };
160
191
  (0, import_materials.PisellToast)({
161
- content: val.type === "server" ? import_utils.locales.getText("pisell2.text.goodpass.code-invalid") : import_utils.locales.getText("pisell2.text.goodpass.code-invalid-cart")
192
+ content: val.type === "server" ? import_utils.locales.getText("pisell2.text.goodpass.code-invalid") : content[val == null ? void 0 : val.unavailableReason] || import_utils.locales.getText("pisell2.text.goodpass.code-invalid-cart")
162
193
  });
163
194
  }
164
195
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DepositModal: (props: any) => JSX.Element;
3
4
  export default DepositModal;
@@ -72,7 +72,7 @@ export declare const useAppointmentBookingAccount: () => {
72
72
  export declare const useAppointmentBookingResource: () => {
73
73
  getResourceTimeSlot: (index?: number) => Promise<void>;
74
74
  getResourceList: () => {
75
- resources: any;
75
+ resources: any[];
76
76
  resourceCodes: any;
77
77
  };
78
78
  };
@@ -489,18 +489,13 @@ var useAppointmentBookingResource = () => {
489
489
  const { appointmentBooking, setResources, setTimes } = (0, import_context.useAppointmentBookingContext)();
490
490
  const { resourceSort } = (appointmentBooking == null ? void 0 : appointmentBooking.otherParams) || {};
491
491
  const getResourceList = () => {
492
- var _a;
493
492
  let resources = appointmentBooking.getResourcesList();
494
- resources = resources.map((item) => {
495
- return {
496
- ...item,
497
- resources: (0, import_utils2.sortResources)((item == null ? void 0 : item.resources) || [], resourceSort)
498
- };
499
- });
500
- const _resources = ((_a = resources == null ? void 0 : resources[0]) == null ? void 0 : _a.resources) || [];
501
- const resourceCodes = _resources.map((item) => item.code);
502
- setResources(resources || []);
503
- return { resources, resourceCodes };
493
+ const { resources: processedResources, resourceCodes } = (0, import_utils2.processResourceList)(
494
+ resources,
495
+ resourceSort
496
+ );
497
+ setResources(processedResources || []);
498
+ return { resources: processedResources, resourceCodes };
504
499
  };
505
500
  const getResourceTimeSlot = async (index) => {
506
501
  const { resourceCodes } = getResourceList();
@@ -115,6 +115,7 @@ declare const _default: {
115
115
  'pisell2.text.goodpass.enter-code': string;
116
116
  'pisell2.text.goodpass.code-invalid': string;
117
117
  'pisell2.text.goodpass.code-invalid-cart': string;
118
+ 'pisell2.text.goodpass.code-invalid-expired': string;
118
119
  'pisell2.text.goodpass.login': string;
119
120
  'pisell2.text.goodpass.login-tip': string;
120
121
  'pisell2.text.contact-info.title': string;
@@ -235,6 +236,7 @@ declare const _default: {
235
236
  'pisell2.text.goodpass.enter-code': string;
236
237
  'pisell2.text.goodpass.code-invalid': string;
237
238
  'pisell2.text.goodpass.code-invalid-cart': string;
239
+ 'pisell2.text.goodpass.code-invalid-expired': string;
238
240
  'pisell2.text.goodpass.login': string;
239
241
  'pisell2.text.goodpass.login-tip': string;
240
242
  'pisell2.text.contact-info.title': string;
@@ -355,6 +357,7 @@ declare const _default: {
355
357
  'pisell2.text.goodpass.enter-code': string;
356
358
  'pisell2.text.goodpass.code-invalid': string;
357
359
  'pisell2.text.goodpass.code-invalid-cart': string;
360
+ 'pisell2.text.goodpass.code-invalid-expired': string;
358
361
  'pisell2.text.goodpass.login': string;
359
362
  'pisell2.text.goodpass.login-tip': string;
360
363
  'pisell2.text.contact-info.title': string;
@@ -139,6 +139,7 @@ var locales_default = {
139
139
  "pisell2.text.goodpass.enter-code": "Enter Code",
140
140
  "pisell2.text.goodpass.code-invalid": "Current code is invalid",
141
141
  "pisell2.text.goodpass.code-invalid-cart": "No eligible items in the cart",
142
+ "pisell2.text.goodpass.code-invalid-expired": "Current coupon is not valid in use",
142
143
  "pisell2.text.goodpass.login": "Login",
143
144
  "pisell2.text.goodpass.login-tip": " for member benefit Or use account credit",
144
145
  "pisell2.text.contact-info.title": "Contact info"
@@ -259,6 +260,7 @@ var locales_default = {
259
260
  "pisell2.text.goodpass.enter-code": "请输入券码",
260
261
  "pisell2.text.goodpass.code-invalid": "当前券码不可用",
261
262
  "pisell2.text.goodpass.code-invalid-cart": "当前购物车中无可用商品",
263
+ "pisell2.text.goodpass.code-invalid-expired": "当前优惠券不在使用期限内",
262
264
  "pisell2.text.goodpass.login": "登录",
263
265
  "pisell2.text.goodpass.login-tip": "以获取会员福利或使用账户积分",
264
266
  "pisell2.text.contact-info.title": "联系信息"
@@ -379,6 +381,7 @@ var locales_default = {
379
381
  "pisell2.text.goodpass.enter-code": "請輸入券碼",
380
382
  "pisell2.text.goodpass.code-invalid": "當前券碼不可用",
381
383
  "pisell2.text.goodpass.code-invalid-cart": "當前購物車中無可用商品",
384
+ "pisell2.text.goodpass.code-invalid-expired": "當前優惠券不在使用期限內",
382
385
  "pisell2.text.goodpass.login": "登錄",
383
386
  "pisell2.text.goodpass.login-tip": "以獲取會員福利或使用賬戶積分",
384
387
  "pisell2.text.contact-info.title": "聯繫信息"
@@ -39,6 +39,19 @@ export declare const formatCarts: (data: any[], resources: any[], utils: any, ac
39
39
  * @Date: 2025-04-14 11:16
40
40
  */
41
41
  export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
42
+ /**
43
+ * @title: 处理资源列表并提取资源代码
44
+ * @description: 对资源列表进行排序,并提取 resourceCodes
45
+ * @param {any[]} resources - 原始资源列表
46
+ * @param {any[]} resourceSort - 资源排序配置
47
+ * @return {*} 返回处理后的资源列表和资源代码数组
48
+ * @Author: WangHan
49
+ * @Date: 2025-11-21 15:33
50
+ */
51
+ export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
52
+ resources: any[];
53
+ resourceCodes: any;
54
+ };
42
55
  export declare const getMeAccount: (val: any[]) => any;
43
56
  export declare const getCustomer: (utils: any) => any;
44
57
  export declare const formatCustomer: (val: any) => {
@@ -201,3 +214,13 @@ export declare const currentRenderLists: (resources: any[], code: any) => any;
201
214
  * @Date: 2025-05-25 23:17
202
215
  */
203
216
  export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
217
+ /**
218
+ * @title: 根据步骤key清空数据
219
+ * @param {string} key - 当前步骤的key
220
+ * @param {any} appointmentBooking - 预约预订实例
221
+ * @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
222
+ * @return {string[]} 返回需要清空的数据类型数组
223
+ * @Author: WangHan
224
+ * @Date: 2025-11-21 15:40
225
+ */
226
+ export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
@@ -23,6 +23,7 @@ __export(utils_exports, {
23
23
  checkAndGoNext: () => checkAndGoNext,
24
24
  checkAndMarkCartRenderError: () => checkAndMarkCartRenderError,
25
25
  checkHasFormStep: () => checkHasFormStep,
26
+ clearDataByStepKey: () => clearDataByStepKey,
26
27
  currentAppointmentBoard: () => currentAppointmentBoard,
27
28
  currentRenderLists: () => currentRenderLists,
28
29
  formatCarts: () => formatCarts,
@@ -42,6 +43,7 @@ __export(utils_exports, {
42
43
  getResourceTitle: () => getResourceTitle,
43
44
  hasResourceFormId: () => hasResourceFormId,
44
45
  openForm: () => openForm,
46
+ processResourceList: () => processResourceList,
45
47
  sortResources: () => sortResources,
46
48
  updateBookingFormStorage: () => updateBookingFormStorage,
47
49
  updateCartResources: () => updateCartResources,
@@ -165,6 +167,18 @@ var sortResources = (resources, resourceSort) => {
165
167
  console.log(error, "wh2222");
166
168
  }
167
169
  };
170
+ var processResourceList = (resources, resourceSort) => {
171
+ var _a;
172
+ const processedResources = resources.map((item) => {
173
+ return {
174
+ ...item,
175
+ resources: sortResources((item == null ? void 0 : item.resources) || [], resourceSort)
176
+ };
177
+ });
178
+ const _resources = ((_a = processedResources == null ? void 0 : processedResources[0]) == null ? void 0 : _a.resources) || [];
179
+ const resourceCodes = _resources.map((item) => item.code);
180
+ return { resources: processedResources, resourceCodes };
181
+ };
168
182
  var getMeAccount = (val) => {
169
183
  return val == null ? void 0 : val.find((d) => !(d == null ? void 0 : d.isGuest));
170
184
  };
@@ -487,12 +501,100 @@ var updateCartResources = (item, value, currentSelectedResources) => {
487
501
  }
488
502
  return newResource || [];
489
503
  };
504
+ var STEP_CLEAR_CONFIG = {
505
+ "select-time": ["time"],
506
+ "fill-form": ["time", "form"],
507
+ "select-resource": ["time", "form", "resource"],
508
+ "select-date": ["time", "form", "resource", "date"],
509
+ "select-service": ["time", "form", "resource", "date"]
510
+ };
511
+ var getMatchedStepKey = (key) => {
512
+ if (STEP_CLEAR_CONFIG[key]) {
513
+ return key;
514
+ }
515
+ const matchedKey = Object.keys(STEP_CLEAR_CONFIG).find(
516
+ (stepKey) => key.startsWith(stepKey)
517
+ );
518
+ return matchedKey || null;
519
+ };
520
+ var createClearActions = (appointmentBooking, setTimes) => {
521
+ return {
522
+ time: () => {
523
+ appointmentBooking.deleteCartItemInfo("time");
524
+ setTimes == null ? void 0 : setTimes([]);
525
+ },
526
+ resource: () => {
527
+ appointmentBooking.deleteCartItemInfo("resource");
528
+ },
529
+ form: () => {
530
+ appointmentBooking.deleteCartItemInfo("relationForms");
531
+ appointmentBooking.removeStep("fill-form");
532
+ },
533
+ date: () => {
534
+ var _a;
535
+ const { bookingProcess } = ((_a = appointmentBooking == null ? void 0 : appointmentBooking.otherParams) == null ? void 0 : _a.productModuleParams) || {};
536
+ if (bookingProcess !== "date_first") {
537
+ appointmentBooking.clearDateRange();
538
+ }
539
+ }
540
+ };
541
+ };
542
+ var clearServiceRelatedSteps = (appointmentBooking) => {
543
+ const stepList = (appointmentBooking == null ? void 0 : appointmentBooking.getStepList()) || [];
544
+ const stepKeysToRemove = ["select-resource_", "fill-form_"];
545
+ stepList.forEach((item) => {
546
+ if (item == null ? void 0 : item.isSkip) {
547
+ appointmentBooking.updateStep(item.key, {
548
+ key: item.key,
549
+ isSkip: false
550
+ });
551
+ }
552
+ const shouldRemove = stepKeysToRemove.some(
553
+ (prefix) => {
554
+ var _a;
555
+ return (_a = item.key) == null ? void 0 : _a.startsWith(prefix);
556
+ }
557
+ );
558
+ if (shouldRemove) {
559
+ appointmentBooking.removeStep(item.key);
560
+ }
561
+ });
562
+ };
563
+ var executeClearActions = (dataTypes, clearActions) => {
564
+ const uniqueTypes = Array.from(new Set(dataTypes));
565
+ uniqueTypes.forEach((type) => {
566
+ const action = clearActions[type];
567
+ if (action) {
568
+ action();
569
+ }
570
+ });
571
+ };
572
+ var clearDataByStepKey = (key, appointmentBooking, setTimes) => {
573
+ if (!key || !appointmentBooking) {
574
+ return;
575
+ }
576
+ if (key === "select-service") {
577
+ clearServiceRelatedSteps(appointmentBooking);
578
+ }
579
+ const stepKey = getMatchedStepKey(key);
580
+ if (!stepKey) {
581
+ return;
582
+ }
583
+ const clearDataTypes = STEP_CLEAR_CONFIG[stepKey] || [];
584
+ if (clearDataTypes.length === 0) {
585
+ return clearDataTypes;
586
+ }
587
+ const clearActions = createClearActions(appointmentBooking, setTimes);
588
+ executeClearActions(clearDataTypes, clearActions);
589
+ return clearDataTypes;
590
+ };
490
591
  // Annotate the CommonJS export names for ESM import in node:
491
592
  0 && (module.exports = {
492
593
  Toast,
493
594
  checkAndGoNext,
494
595
  checkAndMarkCartRenderError,
495
596
  checkHasFormStep,
597
+ clearDataByStepKey,
496
598
  currentAppointmentBoard,
497
599
  currentRenderLists,
498
600
  formatCarts,
@@ -512,6 +614,7 @@ var updateCartResources = (item, value, currentSelectedResources) => {
512
614
  getResourceTitle,
513
615
  hasResourceFormId,
514
616
  openForm,
617
+ processResourceList,
515
618
  sortResources,
516
619
  updateBookingFormStorage,
517
620
  updateCartResources,
@@ -68,14 +68,15 @@ var formatProducts = (values) => {
68
68
  discountway: "num",
69
69
  discount_type: "discount",
70
70
  bundle_edit: (_c = item._extend) == null ? void 0 : _c.bundle_edit,
71
- product_bundle: (0, import_utils.formatProductBundle)((_e = (_d = item._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.bundle),
71
+ product_bundle: (0, import_utils.formatProductBundle)((_e = (_d = item._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.bundle, item.is_price_include_tax),
72
72
  "product_option_item": (0, import_utils.formatProductOption)((_g = (_f = item._extend) == null ? void 0 : _f.other) == null ? void 0 : _g.option),
73
73
  "product_variant_id": ((_i = (_h = item._extend) == null ? void 0 : _h.other) == null ? void 0 : _i.product_variant_id) || 0,
74
74
  "source_product_price": (0, import_utils.getSourceProductPrice)(item),
75
75
  "main_product_selling_price": (0, import_utils.getMainProductSellingPrice)(item) ?? (0, import_utils.formatProductPrice)(item),
76
76
  "calculated_original_price": (0, import_utils.formatOriginalPrice)(item),
77
77
  "calculated_selling_price": (0, import_utils.formatSellingPrice)(item),
78
- "tax_fee": item._extend.tax_fee
78
+ "tax_fee": item._extend.tax_fee,
79
+ is_price_include_tax: item.is_price_include_tax
79
80
  };
80
81
  });
81
82
  return arr;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface TabProductProps {
3
4
  list: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -49,6 +49,7 @@ var import_useScanManager = __toESM(require("../../../ticketBooking/hooks/pisell
49
49
  var import_priceKeyboard = require("../../../../pro/priceKeyboard");
50
50
  var import_pisellos = require("../../../ticketBooking/hooks/pisellos");
51
51
  var import_useShopDiscountModule = require("../../../ticketBooking/hooks/pisellos/useShopDiscountModule");
52
+ var import_useLogger = __toESM(require("../../../../hooks/useLogger"));
52
53
  var createToastContent = (text) => /* @__PURE__ */ import_react.default.createElement("div", { className: "action-buttons-toast-content" }, text);
53
54
  var ActionButtons = ({
54
55
  state,
@@ -69,6 +70,7 @@ var ActionButtons = ({
69
70
  const bookingTicket = (0, import_pisellos.useBookingTicket)();
70
71
  const { ScheduleModule } = pisellosAllModule;
71
72
  const shopDiscount = (0, import_useShopDiscountModule.useShopDiscountModule)();
73
+ const logger = (0, import_useLogger.default)();
72
74
  const { clearAllScanListenersTaskQueue } = (0, import_useScanManager.default)();
73
75
  (0, import_react.useEffect)(() => {
74
76
  if (!bookingTicket) return;
@@ -187,6 +189,10 @@ var ActionButtons = ({
187
189
  setShowClearModal(true);
188
190
  };
189
191
  const handleClearItemsOnly = () => {
192
+ logger.addLog({
193
+ title: "ActionButtons: handleClearItemsOnly 调用",
194
+ metadata: {}
195
+ });
190
196
  clearAllScanListenersTaskQueue();
191
197
  if (!hasCartItems) {
192
198
  Toast == null ? void 0 : Toast.info(
@@ -229,6 +235,10 @@ var ActionButtons = ({
229
235
  };
230
236
  const handleClearAllAndReset = () => {
231
237
  var _a2, _b2;
238
+ logger.addLog({
239
+ title: "ActionButtons: handleClearAllAndReset 调用",
240
+ metadata: {}
241
+ });
232
242
  clearAllScanListenersTaskQueue();
233
243
  (_b2 = (_a2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _a2.bookingTicket) == null ? void 0 : _b2.clearAllCart();
234
244
  setShowClearModal(false);
@@ -36,7 +36,7 @@ var import_react = __toESM(require("react"));
36
36
  var import_antd = require("antd");
37
37
  var import_utils = require("@pisell/utils");
38
38
  var import_materials = require("@pisell/materials");
39
- var import_pisellNumberSelector = __toESM(require("../../../../pro/pisellNumberSelector"));
39
+ var import_NumericStepper = __toESM(require("../../../../pro/NumericStepper"));
40
40
  var import_pisellPriceKeyboardModal = __toESM(require("../../../../pro/pisellPriceKeyboardModal"));
41
41
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
42
42
  var import_index = require("./index.less");
@@ -244,8 +244,9 @@ var CustomiseItemModal = ({
244
244
  },
245
245
  import_utils.locales.getText("pisell2.customise-item.save")
246
246
  )))), /* @__PURE__ */ import_react.default.createElement("div", { className: "customise-item-quantity-selector-fixed" }, /* @__PURE__ */ import_react.default.createElement(
247
- import_pisellNumberSelector.default,
247
+ import_NumericStepper.default,
248
248
  {
249
+ variant: "capsule",
249
250
  value: quantity,
250
251
  min: 1,
251
252
  max: 999,
@@ -257,9 +258,7 @@ var CustomiseItemModal = ({
257
258
  } else {
258
259
  setQuantity(value);
259
260
  }
260
- },
261
- size: "middle",
262
- enablePriceAdjust: true
261
+ }
263
262
  }
264
263
  ))),
265
264
  /* @__PURE__ */ import_react.default.createElement(
@@ -1,4 +1,5 @@
1
1
  export declare const getRelationDetailsTotal: (relation_details: any) => number;
2
+ export declare const getProductDiscountProductDiscountDifference: (product: any) => any;
2
3
  export declare const getIsPriceIncludeTax: (state: any) => any;
3
4
  /**
4
5
  * 总金额