@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
@@ -37,6 +37,7 @@ var import_bookingTicket = require("./bookingTicket");
37
37
  var import_react = require("react");
38
38
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
39
39
  var import_dayjs = __toESM(require("dayjs"));
40
+ var import_useLogger = __toESM(require("../../../../hooks/useLogger"));
40
41
  var useProducts = (notAvailableRef) => {
41
42
  var _a;
42
43
  const bookingTicket = (0, import_bookingTicket.useBookingTicket)();
@@ -47,6 +48,7 @@ var useProducts = (notAvailableRef) => {
47
48
  const isFirstLoadRef = (0, import_react.useRef)(true);
48
49
  const isFirstLoadDataRef = (0, import_react.useRef)(true);
49
50
  const { getApp } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
51
+ const logger = (0, import_useLogger.default)();
50
52
  const app = getApp();
51
53
  const [scheduleTimePoints, setScheduleTimePoints] = (0, import_react.useState)([]);
52
54
  const scheduledTaskQueueIdRef = (0, import_react.useRef)("booking-schedule-products");
@@ -56,11 +58,29 @@ var useProducts = (notAvailableRef) => {
56
58
  setLoading(true);
57
59
  try {
58
60
  paramsRef.current = params;
61
+ logger.addLog({
62
+ title: "useProducts: getProducts 调用",
63
+ metadata: {
64
+ params
65
+ }
66
+ });
59
67
  const products2 = await bookingTicket.loadProducts(params);
68
+ logger.addLog({
69
+ title: "useProducts: getProducts 返回",
70
+ metadata: {
71
+ products: (products2 == null ? void 0 : products2.length) || 0
72
+ }
73
+ });
60
74
  setProducts(products2);
61
75
  setLoading(false);
62
76
  isFirstLoadRef.current = false;
63
77
  } catch (error) {
78
+ logger.addLog({
79
+ title: "useProducts: getProducts 错误",
80
+ metadata: {
81
+ error: error == null ? void 0 : error.message
82
+ }
83
+ });
64
84
  if ((error == null ? void 0 : error.code) === 607100 && (isFirstLoadRef.current || products.length > 0)) {
65
85
  (_a2 = notAvailableRef.current) == null ? void 0 : _a2.open();
66
86
  }
@@ -81,7 +101,21 @@ var useProducts = (notAvailableRef) => {
81
101
  }
82
102
  app2.tasksManager.addTaskFunction("getProducts", async ({ task }) => {
83
103
  console.log("定时执行 getProducts,参数:", task.payload);
104
+ logger.addLog({
105
+ title: "useProducts: 定时执行 getProducts",
106
+ metadata: {
107
+ payload: task.payload,
108
+ task
109
+ }
110
+ });
84
111
  await getProducts(task.payload);
112
+ logger.addLog({
113
+ title: "useProducts: 定时执行 getProducts 完成",
114
+ metadata: {
115
+ payload: task.payload,
116
+ task
117
+ }
118
+ });
85
119
  return { status: "success" };
86
120
  });
87
121
  if (scheduleTimePoints && scheduleTimePoints.length > 0) {
@@ -115,22 +149,47 @@ var useProducts = (notAvailableRef) => {
115
149
  module: "scheduledTasks",
116
150
  queueId: scheduledTaskQueueIdRef.current
117
151
  });
152
+ logger.addLog({
153
+ title: "useProducts: 创建定时任务",
154
+ metadata: {
155
+ tasks: tasks.length,
156
+ log: `已为 ${tasks.length} 个时间点创建定时任务`
157
+ }
158
+ });
118
159
  console.log(`已为 ${tasks.length} 个时间点创建定时任务`);
119
160
  }
120
161
  } catch (error) {
121
162
  console.error("创建定时任务失败:", error);
163
+ logger.addLog({
164
+ title: "useProducts: 创建定时任务失败",
165
+ metadata: {
166
+ error: error == null ? void 0 : error.message
167
+ }
168
+ });
122
169
  }
123
170
  return () => {
124
171
  var _a3, _b2, _c2;
125
172
  try {
126
173
  const app2 = (_c2 = (_b2 = (_a3 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a3.utils) == null ? void 0 : _b2.getApp) == null ? void 0 : _c2.call(_b2);
127
174
  if (app2 && app2.tasksManager) {
175
+ logger.addLog({
176
+ title: "useProducts: 清理定时任务",
177
+ metadata: {
178
+ queueId: scheduledTaskQueueIdRef.current
179
+ }
180
+ });
128
181
  app2.tasksManager.clearTasks({
129
182
  module: "scheduledTasks",
130
183
  queueId: scheduledTaskQueueIdRef.current
131
184
  });
132
185
  }
133
186
  } catch (error) {
187
+ logger.addLog({
188
+ title: "useProducts: 清理定时任务失败",
189
+ metadata: {
190
+ error: error == null ? void 0 : error.message
191
+ }
192
+ });
134
193
  console.error("清理定时任务失败:", error);
135
194
  }
136
195
  };
@@ -10,6 +10,7 @@ interface TicketBookingProps {
10
10
  productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
11
11
  isActive?: boolean;
12
12
  rulesHooks?: any;
13
+ businessCode?: string;
13
14
  }
14
15
  declare const _default: (props: TicketBookingProps) => JSX.Element;
15
16
  export default _default;
@@ -272,7 +272,7 @@ var ticketBooking_default = (props) => {
272
272
  });
273
273
  }
274
274
  }, [osKey]);
275
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-wrapper" }, isShowMenuBar && /* @__PURE__ */ import_react.default.createElement(import_menuBar.default, { activeNavKey, onNavChange: setActiveNavKey }), /* @__PURE__ */ import_react.default.createElement(import_IsActiveContext.IsActiveProvider, { isActive }, /* @__PURE__ */ import_react.default.createElement(import_OsKeyContext.OsKeyProvider, { osKey }, /* @__PURE__ */ import_react.default.createElement(import_miniRedux.Provider, { store: storeRef.current, key: activeNavKey }, /* @__PURE__ */ import_react.default.createElement(
275
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-wrapper" }, isShowMenuBar && /* @__PURE__ */ import_react.default.createElement(import_menuBar.default, { activeNavKey, onNavChange: setActiveNavKey }), /* @__PURE__ */ import_react.default.createElement(import_IsActiveContext.IsActiveProvider, { isActive }, /* @__PURE__ */ import_react.default.createElement(import_OsKeyContext.OsKeyProvider, { osKey, businessCode: props == null ? void 0 : props.businessCode }, /* @__PURE__ */ import_react.default.createElement(import_miniRedux.Provider, { store: storeRef.current, key: activeNavKey }, /* @__PURE__ */ import_react.default.createElement(
276
276
  import_ticketBooking.default,
277
277
  {
278
278
  onPrerenderComplete,
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;
@@ -156,7 +156,8 @@ var DEFAULT_BALANCE = {
156
156
  gift_card_balance: 0,
157
157
  point_card_balance: 0,
158
158
  voucher_count: 0,
159
- discount_card_count: 0
159
+ discount_card_count: 0,
160
+ good_pass_count: 0
160
161
  };
161
162
  var WalletList = (0, import_model.Provider)((props) => {
162
163
  var _a, _b, _c, _d, _e, _f, _g;
@@ -523,6 +524,9 @@ var WalletList = (0, import_model.Provider)((props) => {
523
524
  const cardItems = showcaseWalletPassNew.map((showCaseItem) => {
524
525
  const balanceKey = _balanceKeyMap[showCaseItem.type];
525
526
  let value = balanceKey ? balanceItem[balanceKey] || 0 : 0;
527
+ if (showCaseItem.type === "voucher") {
528
+ value += balanceItem.good_pass_count || 0;
529
+ }
526
530
  return {
527
531
  ...showCaseItem,
528
532
  value
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
2
3
  import './index.less';
3
4
  interface ModalProps extends AntModalProps {
package/lib/index.d.ts CHANGED
@@ -69,13 +69,16 @@ export { default as ContactInfoModal } from './plus/contactInfoModal';
69
69
  export { Login2, Register2, AuthModal } from './pro/Login2.0';
70
70
  export { default as WalletEditor } from './plus/walletEditor';
71
71
  export { default as WalletPassGallery } from './plus/walletPassGallery';
72
- export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
73
- export { default as SelectHolder } from './plus/selectHolder';
74
- export { default as HolderList } from './plus/selectHolder/components/HolderList';
75
72
  export { default as SettingsRegistry } from './components/systemSettings/registry';
76
73
  export { default as Selector } from './pro/Selector';
74
+ export { default as SelectHolder } from './plus/selectHolder';
75
+ export { default as HolderList } from './plus/selectHolder/components/HolderList';
76
+ export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
77
77
  export { default as WebPosLogin } from './plus/webPosLogin';
78
78
  export { default as PaymentModal } from './components/checkout/plugin';
79
79
  export { default as SKUOptionsSelection } from './plus/skuOptionsSelection';
80
80
  export { default as KioskSkuDetail } from './components/kioskSkuDetail';
81
- export { default as MyTeamLogin } from './plus/myTeamLogin';
81
+ export { default as EcoCupProject } from './components/ecocup/cupProject';
82
+ export { default as EcoCupList } from './components/ecocup/cupList';
83
+ export { default as EcoCustomerList } from './components/ecocup/customerList';
84
+ export { default as OrderList } from './plus/orderList';
package/lib/index.js CHANGED
@@ -52,6 +52,9 @@ __export(src_exports, {
52
52
  CustomerAuth: () => import_admin.CustomerAuth,
53
53
  CustomerOAuthConfig: () => import_admin.CustomerOAuthConfig,
54
54
  DeviceAuth: () => import_admin.DeviceAuth,
55
+ EcoCupList: () => import_cupList.default,
56
+ EcoCupProject: () => import_cupProject.default,
57
+ EcoCustomerList: () => import_customerList.default,
55
58
  EditBookingModal: () => import_editBookingModal.default,
56
59
  Eftpos: () => import_eftpos.default,
57
60
  EftposPay: () => import_eftposPay.default,
@@ -71,10 +74,10 @@ __export(src_exports, {
71
74
  KioskSkuDetail: () => import_kioskSkuDetail.default,
72
75
  Login: () => import_login.default,
73
76
  Login2: () => import_Login2.Login2,
74
- MyTeamLogin: () => import_myTeamLogin.default,
75
77
  NoteModal: () => import_noteModal.default,
76
78
  OAuthConfig: () => import_admin.OAuthConfig,
77
79
  OnlineShopAuth: () => import_admin.OnlineShopAuth,
80
+ OrderList: () => import_orderList.default,
78
81
  OrgAdminAuth: () => import_admin.OrgAdminAuth,
79
82
  POSOperatorAuth: () => import_admin.POSOperatorAuth,
80
83
  PaymentModal: () => import_plugin.default,
@@ -192,16 +195,19 @@ var import_contactInfoModal = __toESM(require("./plus/contactInfoModal"));
192
195
  var import_Login2 = require("./pro/Login2.0");
193
196
  var import_walletEditor = __toESM(require("./plus/walletEditor"));
194
197
  var import_walletPassGallery = __toESM(require("./plus/walletPassGallery"));
195
- var import_passDetail = __toESM(require("./plus/walletPassGallery/components/passDetail"));
196
- var import_selectHolder2 = __toESM(require("./plus/selectHolder"));
197
- var import_HolderList = __toESM(require("./plus/selectHolder/components/HolderList"));
198
198
  var import_registry = __toESM(require("./components/systemSettings/registry"));
199
199
  var import_Selector = __toESM(require("./pro/Selector"));
200
+ var import_selectHolder2 = __toESM(require("./plus/selectHolder"));
201
+ var import_HolderList = __toESM(require("./plus/selectHolder/components/HolderList"));
202
+ var import_passDetail = __toESM(require("./plus/walletPassGallery/components/passDetail"));
200
203
  var import_webPosLogin = __toESM(require("./plus/webPosLogin"));
201
204
  var import_plugin = __toESM(require("./components/checkout/plugin"));
202
205
  var import_skuOptionsSelection = __toESM(require("./plus/skuOptionsSelection"));
203
206
  var import_kioskSkuDetail = __toESM(require("./components/kioskSkuDetail"));
204
- var import_myTeamLogin = __toESM(require("./plus/myTeamLogin"));
207
+ var import_cupProject = __toESM(require("./components/ecocup/cupProject"));
208
+ var import_cupList = __toESM(require("./components/ecocup/cupList"));
209
+ var import_customerList = __toESM(require("./components/ecocup/customerList"));
210
+ var import_orderList = __toESM(require("./plus/orderList"));
205
211
  import_dayjs.default.extend(import_weekday.default);
206
212
  import_dayjs.default.extend(import_localeData.default);
207
213
  // Annotate the CommonJS export names for ESM import in node:
@@ -229,6 +235,9 @@ import_dayjs.default.extend(import_localeData.default);
229
235
  CustomerAuth,
230
236
  CustomerOAuthConfig,
231
237
  DeviceAuth,
238
+ EcoCupList,
239
+ EcoCupProject,
240
+ EcoCustomerList,
232
241
  EditBookingModal,
233
242
  Eftpos,
234
243
  EftposPay,
@@ -248,10 +257,10 @@ import_dayjs.default.extend(import_localeData.default);
248
257
  KioskSkuDetail,
249
258
  Login,
250
259
  Login2,
251
- MyTeamLogin,
252
260
  NoteModal,
253
261
  OAuthConfig,
254
262
  OnlineShopAuth,
263
+ OrderList,
255
264
  OrgAdminAuth,
256
265
  POSOperatorAuth,
257
266
  PaymentModal,
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -9,6 +9,7 @@ interface ClientSearchProps extends Omit<ComprehensiveSearchProps, 'resultDispla
9
9
  resultProps?: TableProps<ClientData>;
10
10
  hasMore?: boolean;
11
11
  onLoadMore?: () => void;
12
+ state?: any;
12
13
  }
13
14
  export declare type ClientSearchRef = {
14
15
  resetScrollPosition: () => void;
@@ -45,8 +45,16 @@ var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
45
45
  var import_useTranslationOriginal = __toESM(require("../../hooks/useTranslationOriginal"));
46
46
  var import_index = require("./index.less");
47
47
  var ClientSearch = (0, import_react.forwardRef)(
48
- ({ onRowClick, resultProps, onAddClient, hasMore, onLoadMore, ...props }, ref) => {
49
- var _a, _b, _c;
48
+ ({
49
+ onRowClick,
50
+ resultProps,
51
+ onAddClient,
52
+ hasMore,
53
+ onLoadMore,
54
+ state,
55
+ ...props
56
+ }, ref) => {
57
+ var _a, _b, _c, _d, _e, _f, _g, _h;
50
58
  const [modalVisible, setModalVisible] = (0, import_react.useState)(false);
51
59
  const comprehensiveSearchRef = (0, import_react.useRef)(null);
52
60
  const addClientRef = (0, import_react.useRef)(null);
@@ -57,6 +65,8 @@ var ClientSearch = (0, import_react.forwardRef)(
57
65
  import_locales.default,
58
66
  ((_c = (_b = (_a = context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.storage) == null ? void 0 : _c.get("umi_locale")) || "en"
59
67
  );
68
+ const appointmentSubject = ((_f = (_e = (_d = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _d.config) == null ? void 0 : _e.basic) == null ? void 0 : _f.appointment_subject) || {};
69
+ const translation = (_h = (_g = context == null ? void 0 : context.appHelper) == null ? void 0 : _g.utils) == null ? void 0 : _h.translationShop;
60
70
  const handleAdd = () => {
61
71
  setModalVisible(true);
62
72
  };
@@ -66,7 +76,7 @@ var ClientSearch = (0, import_react.forwardRef)(
66
76
  (_a2 = addClientRef.current) == null ? void 0 : _a2.reset();
67
77
  };
68
78
  const renderListHeader = () => {
69
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "client-search-list-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.name")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 110 } }, import_utils.locales.getText("pisell2.text.client-search.register-time")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 125 } }, import_utils.locales.getText("pisell2.text.client-search.membership")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.contact-info")));
79
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "client-search-list-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.name")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 110 } }, import_utils.locales.getText("pisell2.text.client-search.register-time")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 125 } }, import_utils.locales.getText("pisell2.text.client-search.membership")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.contact-info")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 200 } }, translation(appointmentSubject == null ? void 0 : appointmentSubject.form_name) || import_utils.locales.getText("pisell2.text.client-search.holder")));
70
80
  };
71
81
  const renderResults = (searchResults) => {
72
82
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, (searchResults == null ? void 0 : searchResults.length) ? renderListHeader() : null, /* @__PURE__ */ import_react.default.createElement(
@@ -111,7 +121,7 @@ var ClientSearch = (0, import_react.forwardRef)(
111
121
  {
112
122
  dataSource: searchResults,
113
123
  renderItem: (item, index) => {
114
- var _a2, _b2, _c2, _d, _e, _f, _g, _h;
124
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j;
115
125
  const membershipText = (_b2 = (_a2 = item.latest_wallet_detail) == null ? void 0 : _a2.wallet) == null ? void 0 : _b2.name;
116
126
  return /* @__PURE__ */ import_react.default.createElement(
117
127
  import_antd.List.Item,
@@ -155,7 +165,7 @@ var ClientSearch = (0, import_react.forwardRef)(
155
165
  },
156
166
  translationOriginal == null ? void 0 : translationOriginal(membershipText)
157
167
  ) : "-"),
158
- /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 180 } }, /* @__PURE__ */ import_react.default.createElement(import_clientName.default, { dataSource: (_c2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _c2.value }), ((_f = (_e = (_d = item == null ? void 0 : item.contacts_info) == null ? void 0 : _d.value) == null ? void 0 : _e.phone) == null ? void 0 : _f.phone) || "-", /* @__PURE__ */ import_react.default.createElement(
168
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 180 } }, /* @__PURE__ */ import_react.default.createElement(import_clientName.default, { dataSource: (_c2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _c2.value }), ((_f2 = (_e2 = (_d2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _d2.value) == null ? void 0 : _e2.phone) == null ? void 0 : _f2.phone) || "-", /* @__PURE__ */ import_react.default.createElement(
159
169
  "div",
160
170
  {
161
171
  style: {
@@ -164,8 +174,22 @@ var ClientSearch = (0, import_react.forwardRef)(
164
174
  whiteSpace: "nowrap"
165
175
  }
166
176
  },
167
- ((_h = (_g = item == null ? void 0 : item.contacts_info) == null ? void 0 : _g.value) == null ? void 0 : _h.email) || "-"
168
- ))
177
+ ((_h2 = (_g2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _g2.value) == null ? void 0 : _h2.email) || "-"
178
+ )),
179
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 200 } }, ((_i = item == null ? void 0 : item.form_record) == null ? void 0 : _i.length) > 0 ? (_j = item == null ? void 0 : item.form_record) == null ? void 0 : _j.map((itemForm) => {
180
+ return /* @__PURE__ */ import_react.default.createElement(
181
+ "div",
182
+ {
183
+ key: itemForm == null ? void 0 : itemForm.id,
184
+ style: {
185
+ overflow: "hidden",
186
+ textOverflow: "ellipsis",
187
+ whiteSpace: "nowrap"
188
+ }
189
+ },
190
+ (itemForm == null ? void 0 : itemForm.main_field) || "-"
191
+ );
192
+ }) : "-")
169
193
  )
170
194
  );
171
195
  }
@@ -32,6 +32,7 @@ declare const _default: {
32
32
  'pisell2.text.client-search.email': string;
33
33
  'pisell2.text.client-search.membership': string;
34
34
  'pisell2.text.client-search.contact-info': string;
35
+ 'pisell2.text.client-search.holder': string;
35
36
  };
36
37
  'zh-CN': {
37
38
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -66,6 +67,7 @@ declare const _default: {
66
67
  'pisell2.text.client-search.email': string;
67
68
  'pisell2.text.client-search.membership': string;
68
69
  'pisell2.text.client-search.contact-info': string;
70
+ 'pisell2.text.client-search.holder': string;
69
71
  };
70
72
  'zh-HK': {
71
73
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -100,6 +102,7 @@ declare const _default: {
100
102
  'pisell2.text.client-search.email': string;
101
103
  'pisell2.text.client-search.membership': string;
102
104
  'pisell2.text.client-search.contact-info': string;
105
+ 'pisell2.text.client-search.holder': string;
103
106
  };
104
107
  };
105
108
  export default _default;
@@ -55,7 +55,8 @@ var locales_default = {
55
55
  "pisell2.text.client-search.phone": "Phone Number",
56
56
  "pisell2.text.client-search.email": "Email Address",
57
57
  "pisell2.text.client-search.membership": "Membership",
58
- "pisell2.text.client-search.contact-info": "Contact info"
58
+ "pisell2.text.client-search.contact-info": "Contact info",
59
+ "pisell2.text.client-search.holder": "Holder"
59
60
  },
60
61
  "zh-CN": {
61
62
  "pisell2.text.leave-empty-for-walk-in": "如未注册游客则留空",
@@ -89,7 +90,8 @@ var locales_default = {
89
90
  "pisell2.text.client-search.phone": "电话号码",
90
91
  "pisell2.text.client-search.email": "邮箱",
91
92
  "pisell2.text.client-search.membership": "会员",
92
- "pisell2.text.client-search.contact-info": "联系信息"
93
+ "pisell2.text.client-search.contact-info": "联系信息",
94
+ "pisell2.text.client-search.holder": "持有人"
93
95
  },
94
96
  "zh-HK": {
95
97
  "pisell2.text.leave-empty-for-walk-in": "如未註冊遊客則留空",
@@ -123,6 +125,7 @@ var locales_default = {
123
125
  "pisell2.text.client-search.phone": "電話號碼",
124
126
  "pisell2.text.client-search.email": "電郵地址",
125
127
  "pisell2.text.client-search.membership": "會員",
126
- "pisell2.text.client-search.contact-info": "聯繫信息"
128
+ "pisell2.text.client-search.contact-info": "聯繫信息",
129
+ "pisell2.text.client-search.holder": "持有人"
127
130
  }
128
131
  };
@@ -1,4 +1,12 @@
1
1
  /// <reference types="react" />
2
+ export interface FormRecord {
3
+ form_id: number;
4
+ id: number;
5
+ main_field: string;
6
+ data?: {
7
+ [key: string]: any;
8
+ };
9
+ }
2
10
  export interface ClientData {
3
11
  id: number;
4
12
  display_name: string;
@@ -22,6 +30,7 @@ export interface ClientData {
22
30
  email?: string;
23
31
  };
24
32
  };
33
+ form_record: FormRecord[];
25
34
  }
26
35
  export interface ClientSearchProps {
27
36
  dataSource?: any;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface OrderBatchActionBarProps {
3
+ locales: any;
4
+ selectedKeys: React.Key[];
5
+ selectedRows: any[];
6
+ onClearSelection: () => void;
7
+ }
8
+ declare const OrderBatchActionBar: React.FC<OrderBatchActionBarProps>;
9
+ export default OrderBatchActionBar;