@pisell/private-materials 6.7.7 → 6.7.9

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 (367) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +17 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/appointmentBooking/components/Voucher/index.js +1 -2
  12. package/es/components/booking/addons/index.js +17 -25
  13. package/es/components/booking/addons/model.d.ts +10 -1
  14. package/es/components/booking/components/footer/amount.d.ts +0 -1
  15. package/es/components/booking/components/footer/amount.js +84 -548
  16. package/es/components/booking/components/footer/index.js +56 -77
  17. package/es/components/booking/components/footer/utils.d.ts +0 -19
  18. package/es/components/booking/components/footer/utils.js +73 -194
  19. package/es/components/booking/components/voucher/index.js +7 -23
  20. package/es/components/booking/forms/model.d.ts +10 -1
  21. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  22. package/es/components/booking/hooks/useQuotation.js +1 -4
  23. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  24. package/es/components/booking/info/model.d.ts +10 -1
  25. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  26. package/es/components/booking/info/service2/utils.js +0 -1
  27. package/es/components/booking/info2/cartClientCard/index.js +6 -30
  28. package/es/components/booking/info2/index.js +1 -1
  29. package/es/components/booking/info2/service/addService/index.js +3 -2
  30. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  31. package/es/components/booking/info2/service/editNormalService/index.js +0 -6
  32. package/es/components/booking/info2/service/editService/index.js +6 -16
  33. package/es/components/booking/info2/service/editService/utils.d.ts +0 -15
  34. package/es/components/booking/info2/service/editService/utils.js +0 -66
  35. package/es/components/booking/model.d.ts +9 -1
  36. package/es/components/booking/notes/model.d.ts +10 -1
  37. package/es/components/booking/payments/model.d.ts +10 -1
  38. package/es/components/booking/utils.d.ts +0 -1
  39. package/es/components/booking/utils.js +3 -16
  40. package/es/components/checkout/PaymentModal.d.ts +5 -13
  41. package/es/components/checkout/PaymentModal.js +252 -304
  42. package/es/components/checkout/PaymentPlugin.d.ts +3 -0
  43. package/es/components/{systemSettings/registry/components/GroupModal.js → checkout/PaymentPlugin.js} +171 -132
  44. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -3
  45. package/es/components/checkout/components/AdditionalModule/index.js +12 -52
  46. package/es/components/checkout/components/AmountSummary/index.js +76 -9
  47. package/es/components/checkout/components/AmountSummary/index.less +6 -5
  48. package/es/components/checkout/components/CashPaymentModule/index.d.ts +1 -3
  49. package/es/components/checkout/components/CashPaymentModule/index.js +2 -5
  50. package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
  51. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -2
  52. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +1 -6
  53. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -1
  54. package/es/components/checkout/components/PaymentOptionsModule/index.js +1 -2
  55. package/es/components/checkout/components/PaymentOptionsModule/index.less +0 -4
  56. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -4
  57. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +8 -31
  58. package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
  59. package/es/components/checkout/components/PaymentResultToast/index.less +33 -94
  60. package/es/components/checkout/components/SearchAndClientModule/index.js +40 -39
  61. package/es/components/checkout/hooks/useWalletPass.js +1 -1
  62. package/es/components/checkout/index.less +1 -1
  63. package/es/components/checkout/locales.d.ts +0 -6
  64. package/es/components/checkout/locales.js +0 -6
  65. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +1 -0
  66. package/es/components/checkout/utils/PaymentResultToastUtils.js +1 -11
  67. package/es/components/eftposPay/hooks.d.ts +1 -1
  68. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +6 -14
  69. package/es/components/eftposPay/payo/config.js +32 -70
  70. package/es/components/eftposPay/store/index.d.ts +4 -4
  71. package/es/components/eftposPay/tyro/index.js +0 -12
  72. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  73. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  74. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  75. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  76. package/es/components/index.d.ts +1 -2
  77. package/es/components/index.js +1 -2
  78. package/es/components/list/List.js +40 -56
  79. package/es/components/list/hooks/useListState.d.ts +3 -5
  80. package/es/components/list/hooks/useListState.js +2 -17
  81. package/es/components/list/styles/header.less +3 -3
  82. package/es/components/list/utils/index.d.ts +1 -13
  83. package/es/components/list/utils/index.js +1 -43
  84. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +12 -14
  85. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
  86. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -4
  87. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +0 -2
  88. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +3 -13
  89. package/es/components/pay/toC/index.js +4 -7
  90. package/es/components/pay/toC/locales.d.ts +0 -3
  91. package/es/components/pay/toC/locales.js +3 -6
  92. package/es/components/pay/toC/model.d.ts +9 -1
  93. package/es/components/pay/toC/status.d.ts +0 -1
  94. package/es/components/pay/toC/status.js +0 -3
  95. package/es/components/schedules/model.d.ts +9 -1
  96. package/es/components/schedules/utils.d.ts +1 -1
  97. package/es/components/subTotal/index.js +1 -1
  98. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -1
  99. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +2 -33
  100. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +36 -139
  101. package/es/components/ticketBooking/components/addServiceVariant/addService.js +86 -2
  102. package/es/components/ticketBooking/components/menuBar/index.js +12 -109
  103. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  104. package/es/components/ticketBooking/components/timeBar/index.js +7 -112
  105. package/es/components/ticketBooking/components/timeBar/index.less +0 -59
  106. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +18 -29
  107. package/es/components/ticketBooking/locales.d.ts +0 -6
  108. package/es/components/ticketBooking/locales.js +3 -9
  109. package/es/components/ticketBooking/utils/index.d.ts +0 -3
  110. package/es/components/ticketBooking/utils/index.js +13 -36
  111. package/es/components/wallet/Detail/index.js +2 -34
  112. package/es/components/wallet/Detail/index.less +0 -11
  113. package/es/components/wallet/Detail/locales.d.ts +0 -6
  114. package/es/components/wallet/Detail/locales.js +2 -14
  115. package/es/components/wallet/Detail/model.d.ts +13 -1
  116. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  117. package/es/components/wallet/PointCard/model.d.ts +13 -1
  118. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  119. package/es/components/wallet/Voucher/index.js +10 -11
  120. package/es/components/wallet/Voucher/model.d.ts +13 -1
  121. package/es/components/wallet/components/WalletCard.js +1 -5
  122. package/es/components/wallet/index.js +2 -4
  123. package/es/components/wallet/model.d.ts +9 -1
  124. package/es/components/wallet/serve.d.ts +0 -7
  125. package/es/hooks/usePaymentLogger.d.ts +0 -1
  126. package/es/index.d.ts +0 -4
  127. package/es/index.js +1 -5
  128. package/es/plus/clientCard/locales.js +3 -3
  129. package/es/plus/clinetSearch/index.js +30 -28
  130. package/es/plus/clinetSearch/locales.d.ts +0 -3
  131. package/es/plus/clinetSearch/locales.js +4 -7
  132. package/es/plus/clinetSearch/types.d.ts +0 -12
  133. package/es/plus/walletPassGallery/components/footerButton/index.js +4 -2
  134. package/es/plus/walletPassGallery/components/footerButton/index.less +59 -14
  135. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  136. package/es/plus/walletPassGallery/components/passDetail/index.js +31 -84
  137. package/es/plus/walletPassGallery/components/passDetail/index.less +0 -4
  138. package/es/plus/walletPassGallery/components/recharge/index.js +8 -19
  139. package/es/plus/walletPassGallery/index.js +3 -7
  140. package/es/plus/walletPassGallery/serve.d.ts +0 -3
  141. package/es/plus/walletPassGallery/serve.js +2 -4
  142. package/es/pro/Login2.0/index.less +8 -15
  143. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  144. package/es/pro/comprehensiveSearch/locales.js +1 -1
  145. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +36 -45
  146. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  147. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +2 -4
  148. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -1
  149. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +1 -10
  150. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +0 -14
  151. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -1
  152. package/es/pro/priceKeyboard/components/shortcuts/index.js +2 -5
  153. package/es/pro/priceKeyboard/components/shortcuts/index.less +0 -4
  154. package/es/utils/index.d.ts +1 -1
  155. package/lib/components/appointmentBooking/components/Voucher/index.js +1 -2
  156. package/lib/components/booking/addons/index.js +7 -15
  157. package/lib/components/booking/addons/model.d.ts +10 -1
  158. package/lib/components/booking/components/footer/amount.d.ts +0 -1
  159. package/lib/components/booking/components/footer/amount.js +41 -293
  160. package/lib/components/booking/components/footer/index.js +11 -30
  161. package/lib/components/booking/components/footer/utils.d.ts +0 -19
  162. package/lib/components/booking/components/footer/utils.js +41 -138
  163. package/lib/components/booking/components/voucher/index.js +9 -25
  164. package/lib/components/booking/forms/model.d.ts +10 -1
  165. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  166. package/lib/components/booking/hooks/useQuotation.js +1 -2
  167. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  168. package/lib/components/booking/info/model.d.ts +10 -1
  169. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  170. package/lib/components/booking/info/service2/utils.js +0 -1
  171. package/lib/components/booking/info2/cartClientCard/index.js +5 -25
  172. package/lib/components/booking/info2/index.js +2 -7
  173. package/lib/components/booking/info2/service/addService/index.js +2 -1
  174. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  175. package/lib/components/booking/info2/service/editNormalService/index.js +0 -6
  176. package/lib/components/booking/info2/service/editService/index.js +3 -12
  177. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -15
  178. package/lib/components/booking/info2/service/editService/utils.js +3 -40
  179. package/lib/components/booking/model.d.ts +9 -1
  180. package/lib/components/booking/notes/model.d.ts +10 -1
  181. package/lib/components/booking/payments/model.d.ts +10 -1
  182. package/lib/components/booking/utils.d.ts +0 -1
  183. package/lib/components/booking/utils.js +0 -11
  184. package/lib/components/checkout/PaymentModal.d.ts +5 -13
  185. package/lib/components/checkout/PaymentModal.js +147 -190
  186. package/lib/components/checkout/PaymentPlugin.d.ts +3 -0
  187. package/lib/components/checkout/PaymentPlugin.js +181 -0
  188. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -3
  189. package/lib/components/checkout/components/AdditionalModule/index.js +11 -52
  190. package/lib/components/checkout/components/AmountSummary/index.js +46 -5
  191. package/lib/components/checkout/components/AmountSummary/index.less +6 -5
  192. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +1 -3
  193. package/lib/components/checkout/components/CashPaymentModule/index.js +2 -5
  194. package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
  195. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -2
  196. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +1 -5
  197. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -1
  198. package/lib/components/checkout/components/PaymentOptionsModule/index.js +0 -6
  199. package/lib/components/checkout/components/PaymentOptionsModule/index.less +0 -4
  200. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -4
  201. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +5 -23
  202. package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
  203. package/lib/components/checkout/components/PaymentResultToast/index.less +33 -94
  204. package/lib/components/checkout/components/SearchAndClientModule/index.js +3 -29
  205. package/lib/components/checkout/hooks/useWalletPass.js +1 -1
  206. package/lib/components/checkout/index.less +1 -1
  207. package/lib/components/checkout/locales.d.ts +0 -6
  208. package/lib/components/checkout/locales.js +0 -6
  209. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +1 -0
  210. package/lib/components/checkout/utils/PaymentResultToastUtils.js +1 -11
  211. package/lib/components/eftposPay/hooks.d.ts +1 -1
  212. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +6 -12
  213. package/lib/components/eftposPay/payo/config.js +73 -98
  214. package/lib/components/eftposPay/store/index.d.ts +4 -4
  215. package/lib/components/eftposPay/tyro/index.js +0 -12
  216. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  217. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  218. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  219. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  220. package/lib/components/index.d.ts +1 -2
  221. package/lib/components/index.js +0 -3
  222. package/lib/components/list/List.js +16 -34
  223. package/lib/components/list/hooks/useListState.d.ts +3 -5
  224. package/lib/components/list/hooks/useListState.js +1 -14
  225. package/lib/components/list/styles/header.less +3 -3
  226. package/lib/components/list/utils/index.d.ts +1 -13
  227. package/lib/components/list/utils/index.js +0 -27
  228. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +12 -14
  229. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
  230. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -4
  231. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
  232. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +3 -13
  233. package/lib/components/pay/toC/index.js +1 -4
  234. package/lib/components/pay/toC/locales.d.ts +0 -3
  235. package/lib/components/pay/toC/locales.js +3 -6
  236. package/lib/components/pay/toC/model.d.ts +9 -1
  237. package/lib/components/pay/toC/status.d.ts +0 -1
  238. package/lib/components/pay/toC/status.js +0 -5
  239. package/lib/components/schedules/model.d.ts +9 -1
  240. package/lib/components/schedules/utils.d.ts +1 -1
  241. package/lib/components/subTotal/index.js +1 -1
  242. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -1
  243. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +2 -33
  244. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +24 -84
  245. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -0
  246. package/lib/components/ticketBooking/components/menuBar/index.js +6 -42
  247. package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -2
  248. package/lib/components/ticketBooking/components/timeBar/index.js +4 -105
  249. package/lib/components/ticketBooking/components/timeBar/index.less +0 -59
  250. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +13 -17
  251. package/lib/components/ticketBooking/locales.d.ts +0 -6
  252. package/lib/components/ticketBooking/locales.js +3 -9
  253. package/lib/components/ticketBooking/utils/index.d.ts +0 -3
  254. package/lib/components/ticketBooking/utils/index.js +6 -20
  255. package/lib/components/wallet/Detail/index.js +3 -31
  256. package/lib/components/wallet/Detail/index.less +0 -11
  257. package/lib/components/wallet/Detail/locales.d.ts +0 -6
  258. package/lib/components/wallet/Detail/locales.js +2 -14
  259. package/lib/components/wallet/Detail/model.d.ts +13 -1
  260. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  261. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  262. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  263. package/lib/components/wallet/Voucher/index.js +8 -8
  264. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  265. package/lib/components/wallet/components/WalletCard.js +0 -4
  266. package/lib/components/wallet/index.js +2 -2
  267. package/lib/components/wallet/model.d.ts +9 -1
  268. package/lib/components/wallet/serve.d.ts +0 -7
  269. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  270. package/lib/index.d.ts +0 -4
  271. package/lib/index.js +0 -12
  272. package/lib/plus/clientCard/locales.js +3 -3
  273. package/lib/plus/clinetSearch/index.js +8 -17
  274. package/lib/plus/clinetSearch/locales.d.ts +0 -3
  275. package/lib/plus/clinetSearch/locales.js +4 -7
  276. package/lib/plus/clinetSearch/types.d.ts +0 -12
  277. package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
  278. package/lib/plus/walletPassGallery/components/footerButton/index.less +59 -14
  279. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  280. package/lib/plus/walletPassGallery/components/passDetail/index.js +15 -54
  281. package/lib/plus/walletPassGallery/components/passDetail/index.less +0 -4
  282. package/lib/plus/walletPassGallery/components/recharge/index.js +1 -7
  283. package/lib/plus/walletPassGallery/index.js +3 -7
  284. package/lib/plus/walletPassGallery/serve.d.ts +0 -3
  285. package/lib/plus/walletPassGallery/serve.js +2 -3
  286. package/lib/pro/Login2.0/index.less +8 -15
  287. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  288. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  289. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +43 -42
  290. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  291. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +2 -3
  292. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -1
  293. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +1 -8
  294. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +0 -14
  295. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -1
  296. package/lib/pro/priceKeyboard/components/shortcuts/index.js +2 -3
  297. package/lib/pro/priceKeyboard/components/shortcuts/index.less +0 -4
  298. package/lib/utils/index.d.ts +1 -1
  299. package/package.json +4 -4
  300. package/es/components/checkout/plugin.d.ts +0 -2
  301. package/es/components/checkout/plugin.js +0 -303
  302. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  303. package/es/components/eftposPay/payo/payment.js +0 -579
  304. package/es/components/eftposPay/utils/log/index.d.ts +0 -110
  305. package/es/components/eftposPay/utils/log/index.js +0 -371
  306. package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  307. package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  308. package/es/components/systemSettings/registry/components/ItemModal.js +0 -547
  309. package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  310. package/es/components/systemSettings/registry/components/ModuleList.js +0 -54
  311. package/es/components/systemSettings/registry/components/SectionList.d.ts +0 -4
  312. package/es/components/systemSettings/registry/components/SectionList.js +0 -174
  313. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +0 -4
  314. package/es/components/systemSettings/registry/components/SettingsTable.js +0 -765
  315. package/es/components/systemSettings/registry/components/index.d.ts +0 -4
  316. package/es/components/systemSettings/registry/components/index.js +0 -4
  317. package/es/components/systemSettings/registry/index.d.ts +0 -5
  318. package/es/components/systemSettings/registry/index.js +0 -1059
  319. package/es/components/systemSettings/registry/index.less +0 -410
  320. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  321. package/es/components/systemSettings/registry/locales.js +0 -300
  322. package/es/components/systemSettings/registry/services.d.ts +0 -77
  323. package/es/components/systemSettings/registry/services.js +0 -472
  324. package/es/components/systemSettings/registry/types.d.ts +0 -126
  325. package/es/components/systemSettings/registry/types.js +0 -1
  326. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  327. package/es/components/systemSettings/registry/utils/typeValidation.js +0 -284
  328. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  329. package/es/components/systemSettings/registry/utils/validators.js +0 -44
  330. package/es/components/wallet/utils.d.ts +0 -48
  331. package/es/components/wallet/utils.js +0 -342
  332. package/lib/components/checkout/plugin.d.ts +0 -2
  333. package/lib/components/checkout/plugin.js +0 -263
  334. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  335. package/lib/components/eftposPay/payo/payment.js +0 -357
  336. package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
  337. package/lib/components/eftposPay/utils/log/index.js +0 -294
  338. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  339. package/lib/components/systemSettings/registry/components/GroupModal.js +0 -177
  340. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  341. package/lib/components/systemSettings/registry/components/ItemModal.js +0 -508
  342. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  343. package/lib/components/systemSettings/registry/components/ModuleList.js +0 -71
  344. package/lib/components/systemSettings/registry/components/SectionList.d.ts +0 -4
  345. package/lib/components/systemSettings/registry/components/SectionList.js +0 -181
  346. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +0 -4
  347. package/lib/components/systemSettings/registry/components/SettingsTable.js +0 -575
  348. package/lib/components/systemSettings/registry/components/index.d.ts +0 -4
  349. package/lib/components/systemSettings/registry/components/index.js +0 -48
  350. package/lib/components/systemSettings/registry/index.d.ts +0 -5
  351. package/lib/components/systemSettings/registry/index.js +0 -529
  352. package/lib/components/systemSettings/registry/index.less +0 -410
  353. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  354. package/lib/components/systemSettings/registry/locales.js +0 -324
  355. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  356. package/lib/components/systemSettings/registry/services.js +0 -290
  357. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  358. package/lib/components/systemSettings/registry/types.js +0 -17
  359. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  360. package/lib/components/systemSettings/registry/utils/typeValidation.js +0 -228
  361. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  362. package/lib/components/systemSettings/registry/utils/validators.js +0 -54
  363. package/lib/components/wallet/utils.d.ts +0 -48
  364. package/lib/components/wallet/utils.js +0 -287
  365. package/lowcode/payment-modal/meta.ts +0 -135
  366. package/lowcode/settings-registry/meta.ts +0 -29
  367. package/lowcode/wallet-pass-detail/meta.ts +0 -89
@@ -32,10 +32,6 @@ var Recharge = function Recharge(_ref) {
32
32
  storage = _ref2.storage;
33
33
  var dvaStore = (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getStore) === null || _context$appHelper2$g === void 0 || (_context$appHelper2$g = _context$appHelper2$g.call(_context$appHelper2)) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.getState();
34
34
  var shop = (dvaStore === null || dvaStore === void 0 || (_dvaStore$core = dvaStore.core) === null || _dvaStore$core === void 0 || (_dvaStore$core = _dvaStore$core.core) === null || _dvaStore$core === void 0 ? void 0 : _dvaStore$core.shop) || {};
35
- var _useState3 = useState(false),
36
- _useState4 = _slicedToArray(_useState3, 2),
37
- loading = _useState4[0],
38
- setLoading = _useState4[1];
39
35
  useEffect(function () {
40
36
  if (detailData) {
41
37
  setChargeItem(((detailData === null || detailData === void 0 ? void 0 : detailData.gift_option) || [])[0]);
@@ -48,7 +44,6 @@ var Recharge = function Recharge(_ref) {
48
44
  while (1) switch (_context.prev = _context.next) {
49
45
  case 0:
50
46
  _context.prev = 0;
51
- setLoading(true);
52
47
  params = {
53
48
  voucher_id: (detailData === null || detailData === void 0 ? void 0 : detailData.id) || '',
54
49
  product_id: (detailData === null || detailData === void 0 ? void 0 : detailData.product_id) || '',
@@ -62,9 +57,9 @@ var Recharge = function Recharge(_ref) {
62
57
  currency_format: (shop === null || shop === void 0 ? void 0 : shop.currency_format) || ''
63
58
  }
64
59
  };
65
- _context.next = 5;
60
+ _context.next = 4;
66
61
  return orderRechargeProduct(params);
67
- case 5:
62
+ case 4:
68
63
  data = _context.sent;
69
64
  if (data !== null && data !== void 0 && data.order_id) {
70
65
  storage === null || storage === void 0 || (_storage$set = storage.set) === null || _storage$set === void 0 || _storage$set.call(storage, 'orderId', data.order_id);
@@ -74,28 +69,23 @@ var Recharge = function Recharge(_ref) {
74
69
  callback: function callback() {}
75
70
  });
76
71
  }
77
- _context.next = 12;
72
+ _context.next = 11;
78
73
  break;
79
- case 9:
80
- _context.prev = 9;
74
+ case 8:
75
+ _context.prev = 8;
81
76
  _context.t0 = _context["catch"](0);
82
77
  console.error(locales.getText('wallet-pass-gallery.log.rechargeOrderFailed'), _context.t0);
83
- case 12:
84
- _context.prev = 12;
85
- setLoading(false);
86
- return _context.finish(12);
87
- case 15:
78
+ case 11:
88
79
  case "end":
89
80
  return _context.stop();
90
81
  }
91
- }, _callee, null, [[0, 9, 12, 15]]);
82
+ }, _callee, null, [[0, 8]]);
92
83
  }));
93
84
  return function handleRecharge() {
94
85
  return _ref3.apply(this, arguments);
95
86
  };
96
87
  }();
97
88
  return /*#__PURE__*/React.createElement(Drawer, {
98
- destroyOnClose: true,
99
89
  title: locales.getText('wallet-pass-gallery.rechargeOptions'),
100
90
  open: open,
101
91
  zIndex: 999,
@@ -107,8 +97,7 @@ var Recharge = function Recharge(_ref) {
107
97
  block: true,
108
98
  size: "large",
109
99
  onClick: handleRecharge,
110
- disabled: !(chargeItem !== null && chargeItem !== void 0 && chargeItem.id),
111
- loading: loading
100
+ disabled: !(chargeItem !== null && chargeItem !== void 0 && chargeItem.id)
112
101
  }, locales.getText('wallet-pass-gallery.recharge'))
113
102
  }, /*#__PURE__*/React.createElement("div", {
114
103
  className: "pisell-wallet-pass-gallery_recharge"
@@ -82,8 +82,7 @@ var WalletPassGallery = function WalletPassGallery(props) {
82
82
  num: 20,
83
83
  skip: (d === null || d === void 0 ? void 0 : d.nextId) || 1,
84
84
  tags: TAGS,
85
- filter_wallet_id: walletId || undefined,
86
- "with": ['customScheduleSnapshot']
85
+ filter_wallet_id: walletId || undefined
87
86
  });
88
87
  case 3:
89
88
  res = _context.sent;
@@ -122,8 +121,7 @@ var WalletPassGallery = function WalletPassGallery(props) {
122
121
  num: 20,
123
122
  skip: (d === null || d === void 0 ? void 0 : d.nextId) || 1,
124
123
  tags: TAGS,
125
- filter_wallet_id: walletId || undefined,
126
- "with": ['customScheduleSnapshot']
124
+ filter_wallet_id: walletId || undefined
127
125
  });
128
126
  case 3:
129
127
  res = _context2.sent;
@@ -554,9 +552,7 @@ var WalletPassGallery = function WalletPassGallery(props) {
554
552
  },
555
553
  block: true
556
554
  }, locales.getText('wallet-pass-gallery.button.add'))), /*#__PURE__*/React.createElement(PisellModal, {
557
- zIndex: 997,
558
- destroyOnClose: true,
559
- platform: platform,
555
+ platform: 'h5',
560
556
  visible: !!_currentItem,
561
557
  onCancel: function onCancel() {
562
558
  return setCurrentItemId('');
@@ -17,7 +17,6 @@ export interface IWalletListParmsProps {
17
17
  skip?: number;
18
18
  filter_wallet_id?: string;
19
19
  available: 0 | 1;
20
- with?: string[];
21
20
  }
22
21
  /**
23
22
  * 钱包列表项属性接口
@@ -172,8 +171,6 @@ export declare const getAssetList: (params: IAssetListProps) => Promise<{
172
171
  */
173
172
  export declare const getDetailApi: (params: {
174
173
  id: string;
175
- order_behavior_count_customer_id: string;
176
- apiPrefix: string;
177
174
  }) => Promise<IDetailResponse>;
178
175
  /**
179
176
  * 详情响应数据结构,供组件消费
@@ -214,12 +214,10 @@ export var getDetailApi = /*#__PURE__*/function () {
214
214
  while (1) switch (_context6.prev = _context6.next) {
215
215
  case 0:
216
216
  _context6.next = 2;
217
- return request.getRequest().get("".concat(params.apiPrefix || '/h5', "/machinecode/lowcode/detail/").concat(params.id), {
217
+ return request.getRequest().get("/h5/machinecode/lowcode/detail/".concat(params.id), {
218
218
  order_behavior_count: 1,
219
219
  // 订单行为次数
220
- order_behavior_count_customer: 1,
221
- // 客户订单行为次数
222
- order_behavior_count_customer_id: params.apiPrefix === '/shop' ? params.order_behavior_count_customer_id : undefined
220
+ order_behavior_count_customer: 1 // 客户订单行为次数
223
221
  });
224
222
  case 2:
225
223
  _yield$request$getReq6 = _context6.sent;
@@ -15,14 +15,6 @@
15
15
 
16
16
  /* 默认底部内边距 */
17
17
  padding-bottom: 24px;
18
-
19
- // 加载状态优化
20
- .pisell-lowcode-btn-loading-icon {
21
- .anticon {
22
- color: #ffffff !important;
23
- }
24
- }
25
-
26
18
 
27
19
  /* 在弹窗模式下不需要额外的底部内边距,因为使用 sticky 定位 */
28
20
  .pisell-lowcode-modal-body & {
@@ -458,13 +450,6 @@
458
450
  .login-lm-drawer-popover & {
459
451
  padding-bottom: 100px;
460
452
  }
461
- // 加载状态优化
462
- .pisell-lowcode-btn-loading-icon {
463
- .anticon {
464
- color: #ffffff !important;
465
- }
466
- }
467
-
468
453
  }
469
454
 
470
455
  // 错误提示样式优化
@@ -524,6 +509,14 @@
524
509
  // }
525
510
  // }
526
511
  // }
512
+
513
+ // 加载状态优化
514
+ .pisell-lowcode-btn-loading-icon {
515
+ .anticon {
516
+ color: #ffffff !important;
517
+ }
518
+ }
519
+
527
520
  // 切换认证方式按钮
528
521
  .login2-switch-button {
529
522
  margin-top: 0;
@@ -1,14 +1,14 @@
1
1
  export default {
2
2
  en: {
3
- 'pisell2.comprehensive-search.placeholder': 'WalletPass Code / Name / Mobile / Email / Contact info',
3
+ 'pisell2.comprehensive-search.placeholder': 'WalletPass Code / Name / Mobile / Email',
4
4
  'pisell2.text.search': 'Search'
5
5
  },
6
6
  'zh-CN': {
7
- 'pisell2.comprehensive-search.placeholder': '钱包码 / 姓名 / 电话 / 电子邮箱 / 联系信息',
7
+ 'pisell2.comprehensive-search.placeholder': '钱包码 / 姓名 / 电话 / 电子邮箱',
8
8
  'pisell2.text.search': '搜索'
9
9
  },
10
10
  'zh-HK': {
11
- 'pisell2.comprehensive-search.placeholder': '錢包碼 / 姓名 / 電話 / 電子郵箱 / 聯繫信息',
11
+ 'pisell2.comprehensive-search.placeholder': '錢包碼 / 姓名 / 電話 / 電子郵箱',
12
12
  'pisell2.text.search': '搜索'
13
13
  }
14
14
  };
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  en: {
3
- 'pisell2.text.new-client': 'New Customer',
3
+ 'pisell2.text.new-client': 'New Client',
4
4
  'pisell2.comprehensive-search.empty': 'No Data'
5
5
  },
6
6
  'zh-CN': {
@@ -22,6 +22,7 @@ import { useControllableValue } from 'ahooks';
22
22
  import { merge, omit } from 'lodash';
23
23
  //@ts-ignore
24
24
  import { locales } from '@pisell/utils';
25
+ import { VirtualInput } from '@pisell/materials';
25
26
  import Shortcuts from "../shortcuts";
26
27
  import CashKeyboardSimple from "./CashKeyboardSimple";
27
28
  import { setKeyboardTheme } from "../../utils";
@@ -29,7 +30,6 @@ import "./index.less";
29
30
  import Decimal from 'decimal.js';
30
31
  import { AutoResizeText } from '@pisell/materials';
31
32
  import { formatAmountWithOptions } from '@pisell/utils';
32
- import { Iconfont } from '@pisell/materials';
33
33
  var CashKeyboardIntact = function CashKeyboardIntact(props) {
34
34
  var _mergedDisplayField$b, _mergedDisplayField$c, _mergedDisplayField$c2;
35
35
  var amountSymbol = props.amountSymbol,
@@ -46,8 +46,7 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
46
46
  doneText = props.doneText,
47
47
  resetText = props.resetText,
48
48
  disabled = props.disabled,
49
- hiddenChangeDue = props.hiddenChangeDue,
50
- shortcutsSize = props.shortcutsSize;
49
+ hiddenChangeDue = props.hiddenChangeDue;
51
50
  var _useControllableValue = useControllableValue(props),
52
51
  _useControllableValue2 = _slicedToArray(_useControllableValue, 2),
53
52
  internalValue = _useControllableValue2[0],
@@ -70,7 +69,7 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
70
69
  setKeyboardTheme(selectType);
71
70
  }, [selectType]);
72
71
 
73
- // 变体2:末尾有三个默认预设项,总数不大于7(因为支付占了 2)
72
+ // 变体2:末尾有三个默认预设项,总数不大于8
74
73
  var getDefaultPresets = function getDefaultPresets() {
75
74
  var defaultEndPresets = [{
76
75
  label: locales.getText('cash-keyboard-other'),
@@ -114,8 +113,7 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
114
113
  value: 'pay',
115
114
  style: {
116
115
  color: 'white',
117
- backgroundColor: '#7F56DA',
118
- gridColumn: 'span 2'
116
+ backgroundColor: '#7F56DA'
119
117
  },
120
118
  onClick: function onClick() {
121
119
  var _props$onEnter;
@@ -124,8 +122,8 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
124
122
  }];
125
123
  var userPresets = presets || [];
126
124
 
127
- // 计算可用的用户预设数量(总数7 - 默认3个 = 4个)
128
- var maxUserPresets = 7 - defaultEndPresets.length;
125
+ // 计算可用的用户预设数量(总数8 - 默认3个 = 5个)
126
+ var maxUserPresets = 8 - defaultEndPresets.length;
129
127
  var limitedUserPresets = userPresets.slice(0, maxUserPresets);
130
128
  return [].concat(_toConsumableArray(limitedUserPresets), defaultEndPresets);
131
129
  };
@@ -251,52 +249,46 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
251
249
  showCurrencySymbol: true
252
250
  }))))), ((_mergedDisplayField$c = mergedDisplayField.cashReceived) === null || _mergedDisplayField$c === void 0 ? void 0 : _mergedDisplayField$c.visible) && /*#__PURE__*/React.createElement("div", {
253
251
  style: _objectSpread(_objectSpread({}, getGridStyle(1)), {}, {
254
- padding: '0px 16px',
252
+ padding: '6px 16px',
255
253
  borderRadius: '8px',
256
254
  backgroundColor: 'white',
257
- boxShadow: 'inset 0 2px 4px rgba(16, 24, 40, 0.08), inset 0 -2px 4px rgba(16, 24, 40, 0.08), inset 2px 0 4px rgba(16, 24, 40, 0.08), inset -2px 0 4px rgba(16, 24, 40, 0.08)',
255
+ boxShadow: '0px 1px 2px rgba(16, 24, 40, 0.06)',
258
256
  overflow: 'hidden',
259
257
  maxWidth: 188,
260
- cursor: 'pointer',
261
- border: '1px solid #7f56da',
262
- borderBottom: '1px solid #7f56da'
258
+ cursor: 'pointer'
263
259
  }),
264
260
  onClick: function onClick() {
265
261
  setIsShowModal(true);
266
262
  }
267
- }, /*#__PURE__*/React.createElement("div", {
268
- className: "pisell-cash-keyboard-intact-container-top",
269
- style: _objectSpread(_objectSpread({}, getGridStyle(0)), {}, {
270
- overflow: 'hidden',
271
- padding: '5px 0'
272
- })
273
- }, /*#__PURE__*/React.createElement("div", {
274
- className: "pisell-cash-keyboard-intact-container-top-label"
275
- }, mergedDisplayField.cashReceived.label), /*#__PURE__*/React.createElement("div", {
276
- className: "pisell-cash-keyboard-intact-container-top-value"
277
- }, /*#__PURE__*/React.createElement(AutoResizeText, {
278
- minFontSizePx: 10,
279
- maxFontSizePx: 18,
280
- fontSizePrecisionPx: 0.5,
281
- style: {
282
- color: '#7f56da',
283
- textDecoration: 'underline',
284
- textUnderlineOffset: '3px'
285
- }
286
- }, internalValue ? formatAmountWithOptions(internalValue || '', amountSymbol, {
287
- value: internalValue,
288
- hideDecimalForWholeNumbers: false,
289
- precision: 2,
290
- showCurrencySymbol: true
291
- }) : ''), /*#__PURE__*/React.createElement(Iconfont, {
292
- type: "pisell2-edit-05",
263
+ }, /*#__PURE__*/React.createElement(VirtualInput, {
264
+ showCursor: false,
265
+ focused: true,
266
+ wrapperStyle: {
267
+ width: '100%'
268
+ },
269
+ topContent: /*#__PURE__*/React.createElement("div", {
270
+ style: {
271
+ fontSize: '14px',
272
+ color: '#667085'
273
+ }
274
+ }, mergedDisplayField.cashReceived.label),
275
+ value: internalValue ? formatAmountWithOptions(internalValue || '', amountSymbol, {
276
+ value: internalValue,
277
+ hideDecimalForWholeNumbers: false,
278
+ precision: 2,
279
+ showCurrencySymbol: true
280
+ }) : '',
281
+ height: 30,
282
+ fontSize: 20,
283
+ placeholder: placeholder,
293
284
  style: {
294
- color: '#7f56da',
295
- fontSize: '18px',
296
- marginLeft: '4px',
297
- marginTop: '4px'
285
+ fontSize: '24px',
286
+ fontWeight: 'bold',
287
+ border: 'none',
288
+ background: 'transparent',
289
+ width: '100%'
298
290
  }
299
- })))), ((_mergedDisplayField$c2 = mergedDisplayField.changeDue) === null || _mergedDisplayField$c2 === void 0 ? void 0 : _mergedDisplayField$c2.visible) && /*#__PURE__*/React.createElement("div", {
291
+ })), ((_mergedDisplayField$c2 = mergedDisplayField.changeDue) === null || _mergedDisplayField$c2 === void 0 ? void 0 : _mergedDisplayField$c2.visible) && /*#__PURE__*/React.createElement("div", {
300
292
  className: "pisell-cash-keyboard-intact-container-top",
301
293
  style: _objectSpread(_objectSpread({}, getGridStyle(2)), {}, {
302
294
  overflow: 'hidden'
@@ -322,7 +314,6 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
322
314
  hideDecimalForWholeNumbers: false,
323
315
  precision: 2
324
316
  })))))), /*#__PURE__*/React.createElement(Shortcuts, {
325
- size: shortcutsSize || 'default',
326
317
  presets: getDefaultPresets(),
327
318
  onChange: setInternalValue,
328
319
  disabled: disabled
@@ -7,7 +7,6 @@ export interface CashKeyboardProps extends CashKeyboardBaseProps {
7
7
  [key: string]: any;
8
8
  };
9
9
  variant?: 'intact' | 'simple';
10
- shortcutsSize?: 'default' | 'large';
11
10
  }
12
11
  declare const CashKeyboard: (props: CashKeyboardProps) => React.JSX.Element;
13
12
  export default CashKeyboard;
@@ -1,4 +1,4 @@
1
- var _excluded = ["variant", "value", "onChange", "shortcutsSize"];
1
+ var _excluded = ["variant", "value", "onChange"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -26,7 +26,6 @@ var CashKeyboard = function CashKeyboard(props) {
26
26
  variant = _props$variant === void 0 ? 'intact' : _props$variant,
27
27
  value = props.value,
28
28
  onChange = props.onChange,
29
- shortcutsSize = props.shortcutsSize,
30
29
  otherProps = _objectWithoutProperties(props, _excluded);
31
30
  var _useControllableValue = useControllableValue(props),
32
31
  _useControllableValue2 = _slicedToArray(_useControllableValue, 2),
@@ -37,8 +36,7 @@ var CashKeyboard = function CashKeyboard(props) {
37
36
  amountSymbol: amountSymbol,
38
37
  value: internalValue,
39
38
  placeholder: "".concat(amountSymbol, "0"),
40
- onChange: setInternalValue,
41
- shortcutsSize: shortcutsSize
39
+ onChange: setInternalValue
42
40
  }));
43
41
  }
44
42
  return /*#__PURE__*/React.createElement(CashKeyboardSimple, _extends({}, otherProps, {
@@ -94,5 +94,4 @@ export interface CashKeyboardBaseProps {
94
94
  keyboardButtonBackgroundColor?: string;
95
95
  keyboardButtonTextColor?: string;
96
96
  keyboardButtonHoverColor?: string;
97
- shortcutsSize?: 'default' | 'large';
98
97
  }
@@ -46,7 +46,6 @@ var DiscountKeyboardBase = function DiscountKeyboardBase(props) {
46
46
  originalValue = props.originalValue,
47
47
  _props$selectType = props.selectType,
48
48
  selectType = _props$selectType === void 0 ? 'light' : _props$selectType,
49
- tips = props.tips,
50
49
  resetText = props.resetText,
51
50
  doneText = props.doneText,
52
51
  onEnter = props.onEnter,
@@ -310,17 +309,9 @@ var DiscountKeyboardBase = function DiscountKeyboardBase(props) {
310
309
  value: payableAmount
311
310
  })))));
312
311
  };
313
- var renderTipsContent = function renderTipsContent() {
314
- if (tips) {
315
- return /*#__PURE__*/React.createElement("div", {
316
- className: "pisell-pro-price-keyboard-tips"
317
- }, tips);
318
- }
319
- return null;
320
- };
321
312
  return /*#__PURE__*/React.createElement("div", {
322
313
  className: "pisell-pro-price-keyboard-discount"
323
- }, renderTipsContent(), /*#__PURE__*/React.createElement(Segmented, {
314
+ }, /*#__PURE__*/React.createElement(Segmented, {
324
315
  size: "large",
325
316
  style: {
326
317
  padding: 6
@@ -7,20 +7,6 @@
7
7
  gap: 10px;
8
8
  background-color: var(--pisell-pro-price-keyboard-bg-color, #ffffff);
9
9
 
10
- .pisell-pro-price-keyboard-tips {
11
- background-color: var(
12
- --pisell-pro-price-keyboard-bg-color-gray-200,
13
- #eaecf0
14
- );
15
- color: #ffffff;
16
- font-size: 14px;
17
- font-weight: 600;
18
- height: 36px;
19
- line-height: 36px;
20
- text-align: center;
21
- border-radius: 8px;
22
- }
23
-
24
10
  .ellipsis {
25
11
  overflow: hidden;
26
12
  text-overflow: ellipsis;
@@ -12,7 +12,6 @@ export interface ShortcutsProps {
12
12
  presets?: ShortcutsItem[];
13
13
  onChange?: (val: string) => void;
14
14
  disabled?: boolean;
15
- size?: 'default' | 'large';
16
15
  }
17
16
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
18
17
  export default _default;
@@ -4,9 +4,7 @@ import "./index.less";
4
4
  var Shortcuts = /*#__PURE__*/forwardRef(function (props, ref) {
5
5
  var presets = props.presets,
6
6
  onChange = props.onChange,
7
- disabled = props.disabled,
8
- _props$size = props.size,
9
- size = _props$size === void 0 ? 'default' : _props$size;
7
+ disabled = props.disabled;
10
8
  var handleItemClick = function handleItemClick(item) {
11
9
  if (disabled || item.disabled) {
12
10
  return;
@@ -34,8 +32,7 @@ var Shortcuts = /*#__PURE__*/forwardRef(function (props, ref) {
34
32
  var itemProps = {
35
33
  key: index,
36
34
  className: classNames('pisell-virtual-keyboard-shortcut', {
37
- disabled: item.disabled,
38
- large: size === 'large'
35
+ disabled: item.disabled
39
36
  }),
40
37
  style: item.style,
41
38
  onClick: function onClick() {
@@ -28,10 +28,6 @@
28
28
  cursor: pointer;
29
29
  position: relative;
30
30
 
31
- &.large {
32
- height: 54px;
33
- }
34
-
35
31
  &.disabled {
36
32
  cursor: not-allowed;
37
33
  pointer-events: none;
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
21
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
@@ -96,7 +96,7 @@ var VoucherCard = (props) => {
96
96
  return {
97
97
  _id: item._id,
98
98
  quantity: item.num,
99
- bundle: item.bundle,
99
+ bundle: item._bundleOrigin,
100
100
  options: item._optionsOrigin,
101
101
  product: {
102
102
  ...item._productOrigin
@@ -122,7 +122,6 @@ var VoucherCard = (props) => {
122
122
  );
123
123
  pisellos.effects.on("appointmentBooking_cart:onAddItem", onCartChange);
124
124
  pisellos.effects.on("appointmentBooking_cart:onUpdateQuotationPrice", onCartChange);
125
- pisellos.effects.on("appointmentBooking_cart:onUpdateBookingDate", onCartChange);
126
125
  pisellos.effects.on("appointmentBooking_cart:onUpdateCartItemNums", onCartChange);
127
126
  pisellos.effects.on("appointmentBooking_cart:onRemoveItem", onCartChange);
128
127
  pisellos.effects.on(
@@ -51,31 +51,23 @@ var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext")
51
51
  var formatProducts = (values) => {
52
52
  let arr = [];
53
53
  arr = values.map((item) => {
54
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
55
- const bundleDiscountList = (0, import_utils.getBundleDiscountList)(((_b = (_a = item._extend) == null ? void 0 : _a.other) == null ? void 0 : _b.bundle) || []);
56
- const discount_list = [...(item == null ? void 0 : item.discount_list) || []];
57
- discount_list.push(...bundleDiscountList);
54
+ var _a, _b, _c, _d, _e, _f, _g;
58
55
  return {
59
56
  order_detail_id: item.order_detail_id || 0,
60
57
  num: item._extend.quantity,
61
58
  price: (0, import_utils.formatProductPrice)(item),
62
59
  product_id: item.id,
63
- discount_list: discount_list || [],
60
+ discount_list: (item == null ? void 0 : item.discount_list) || [],
64
61
  discount_amount: 0,
65
62
  product_discount_reason: "",
66
63
  is_charge_tax: item.is_charge_tax,
67
64
  note: "",
68
65
  discountway: "num",
69
66
  discount_type: "discount",
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),
72
- "product_option_item": (0, import_utils.formatProductOption)((_g = (_f = item._extend) == null ? void 0 : _f.other) == null ? void 0 : _g.option),
73
- "product_variant_id": ((_i = (_h = item._extend) == null ? void 0 : _h.other) == null ? void 0 : _i.product_variant_id) || 0,
74
- "source_product_price": (0, import_utils.getSourceProductPrice)(item),
75
- "main_product_selling_price": (0, import_utils.getMainProductSellingPrice)(item) ?? (0, import_utils.formatProductPrice)(item),
76
- "calculated_original_price": (0, import_utils.formatOriginalPrice)(item),
77
- "calculated_selling_price": (0, import_utils.formatSellingPrice)(item),
78
- "tax_fee": item._extend.tax_fee
67
+ bundle_edit: (_a = item._extend) == null ? void 0 : _a.bundle_edit,
68
+ product_bundle: (0, import_utils.formatProductBundle)((_c = (_b = item._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.bundle),
69
+ "product_option_item": (0, import_utils.formatProductOption)((_e = (_d = item._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.option),
70
+ "product_variant_id": ((_g = (_f = item._extend) == null ? void 0 : _f.other) == null ? void 0 : _g.product_variant_id) || 0
79
71
  };
80
72
  });
81
73
  return arr;
@@ -249,12 +241,12 @@ var Addons = (0, import_model.Provider)((props) => {
249
241
  isAddons: true,
250
242
  _key: e.key,
251
243
  _extend: {
244
+ price: _detail.price,
252
245
  other: e,
253
246
  quantity: (e == null ? void 0 : e.quantity) || 1
254
247
  },
255
248
  quantity: (e == null ? void 0 : e.quantity) || 1
256
249
  };
257
- product._extend.price = (0, import_utils2.getMainPrice)(product, _detail.price);
258
250
  let _total = (0, import_utils2.getProductTotalPrice)(product);
259
251
  product._extend.total = _total;
260
252
  product._extend.origin_total = _total;
@@ -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
+ }>;
@@ -33,5 +33,4 @@ export declare const getSumTotal: (state: any, options: {
33
33
  dueAmount: number;
34
34
  roundingAmount: number;
35
35
  originExpectAmount: number;
36
- originExpectAmountWithoutDiscount: number;
37
36
  };