@pisell/private-materials 6.7.7 → 6.7.8

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 (345) 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/components/footer/amount.d.ts +0 -1
  14. package/es/components/booking/components/footer/amount.js +84 -548
  15. package/es/components/booking/components/footer/index.js +56 -77
  16. package/es/components/booking/components/footer/utils.d.ts +0 -19
  17. package/es/components/booking/components/footer/utils.js +73 -194
  18. package/es/components/booking/components/voucher/index.js +7 -23
  19. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  20. package/es/components/booking/hooks/useQuotation.js +1 -4
  21. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  22. package/es/components/booking/info/service2/utils.js +0 -1
  23. package/es/components/booking/info2/cartClientCard/index.js +6 -30
  24. package/es/components/booking/info2/index.js +1 -1
  25. package/es/components/booking/info2/service/addService/index.js +3 -2
  26. package/es/components/booking/info2/service/editNormalService/index.js +0 -6
  27. package/es/components/booking/info2/service/editService/index.js +6 -16
  28. package/es/components/booking/info2/service/editService/utils.d.ts +0 -15
  29. package/es/components/booking/info2/service/editService/utils.js +0 -66
  30. package/es/components/booking/utils.d.ts +0 -1
  31. package/es/components/booking/utils.js +3 -16
  32. package/es/components/checkout/PaymentModal.d.ts +5 -13
  33. package/es/components/checkout/PaymentModal.js +252 -304
  34. package/es/components/checkout/PaymentPlugin.d.ts +3 -0
  35. package/es/components/{systemSettings/registry/components/GroupModal.js → checkout/PaymentPlugin.js} +171 -132
  36. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -3
  37. package/es/components/checkout/components/AdditionalModule/index.js +12 -52
  38. package/es/components/checkout/components/AmountSummary/index.js +76 -9
  39. package/es/components/checkout/components/AmountSummary/index.less +6 -5
  40. package/es/components/checkout/components/CashPaymentModule/index.d.ts +1 -3
  41. package/es/components/checkout/components/CashPaymentModule/index.js +2 -5
  42. package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
  43. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -2
  44. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +1 -6
  45. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -1
  46. package/es/components/checkout/components/PaymentOptionsModule/index.js +1 -2
  47. package/es/components/checkout/components/PaymentOptionsModule/index.less +0 -4
  48. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -4
  49. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +8 -31
  50. package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
  51. package/es/components/checkout/components/PaymentResultToast/index.less +33 -94
  52. package/es/components/checkout/components/SearchAndClientModule/index.js +40 -39
  53. package/es/components/checkout/index.less +1 -1
  54. package/es/components/checkout/locales.d.ts +0 -6
  55. package/es/components/checkout/locales.js +0 -6
  56. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +1 -0
  57. package/es/components/checkout/utils/PaymentResultToastUtils.js +1 -11
  58. package/es/components/eftpos/hooks.d.ts +0 -1
  59. package/es/components/eftposPay/hooks.d.ts +1 -1
  60. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +6 -14
  61. package/es/components/eftposPay/payo/config.js +32 -70
  62. package/es/components/eftposPay/store/index.d.ts +4 -4
  63. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  64. package/es/components/eftposPay/tyro/index.js +0 -12
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  69. package/es/components/index.d.ts +1 -2
  70. package/es/components/index.js +1 -2
  71. package/es/components/list/List.js +40 -56
  72. package/es/components/list/hooks/useListState.d.ts +3 -5
  73. package/es/components/list/hooks/useListState.js +2 -17
  74. package/es/components/list/styles/header.less +3 -3
  75. package/es/components/list/utils/index.d.ts +1 -13
  76. package/es/components/list/utils/index.js +1 -43
  77. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +12 -14
  78. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  79. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  80. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  81. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
  82. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -4
  83. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +0 -2
  84. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +3 -13
  85. package/es/components/pay/toC/index.js +4 -7
  86. package/es/components/pay/toC/locales.d.ts +0 -3
  87. package/es/components/pay/toC/locales.js +3 -6
  88. package/es/components/pay/toC/status.d.ts +0 -1
  89. package/es/components/pay/toC/status.js +0 -3
  90. package/es/components/schedules/utils.d.ts +1 -1
  91. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  92. package/es/components/subTotal/index.js +1 -1
  93. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -1
  94. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +2 -33
  95. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +36 -139
  96. package/es/components/ticketBooking/components/addServiceVariant/addService.js +86 -2
  97. package/es/components/ticketBooking/components/menuBar/index.js +12 -109
  98. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  99. package/es/components/ticketBooking/components/timeBar/index.js +7 -112
  100. package/es/components/ticketBooking/components/timeBar/index.less +0 -59
  101. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +18 -29
  102. package/es/components/ticketBooking/locales.d.ts +0 -6
  103. package/es/components/ticketBooking/locales.js +3 -9
  104. package/es/components/ticketBooking/utils/index.d.ts +0 -3
  105. package/es/components/ticketBooking/utils/index.js +13 -36
  106. package/es/components/wallet/Detail/index.js +2 -34
  107. package/es/components/wallet/Detail/index.less +0 -11
  108. package/es/components/wallet/Detail/locales.d.ts +0 -6
  109. package/es/components/wallet/Detail/locales.js +2 -14
  110. package/es/components/wallet/Voucher/index.js +10 -11
  111. package/es/components/wallet/components/WalletCard.js +1 -5
  112. package/es/components/wallet/index.js +2 -4
  113. package/es/components/wallet/serve.d.ts +0 -7
  114. package/es/hooks/usePaymentLogger.d.ts +0 -1
  115. package/es/index.d.ts +0 -4
  116. package/es/index.js +1 -5
  117. package/es/plus/clientCard/locales.js +3 -3
  118. package/es/plus/clinetSearch/index.js +30 -28
  119. package/es/plus/clinetSearch/locales.d.ts +0 -3
  120. package/es/plus/clinetSearch/locales.js +4 -7
  121. package/es/plus/clinetSearch/types.d.ts +0 -12
  122. package/es/plus/walletPassGallery/components/footerButton/index.js +4 -2
  123. package/es/plus/walletPassGallery/components/footerButton/index.less +59 -14
  124. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  125. package/es/plus/walletPassGallery/components/passDetail/index.js +31 -84
  126. package/es/plus/walletPassGallery/components/passDetail/index.less +0 -4
  127. package/es/plus/walletPassGallery/components/recharge/index.js +8 -19
  128. package/es/plus/walletPassGallery/index.js +3 -7
  129. package/es/plus/walletPassGallery/serve.d.ts +0 -3
  130. package/es/plus/walletPassGallery/serve.js +2 -4
  131. package/es/pro/Login2.0/index.less +8 -15
  132. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  133. package/es/pro/comprehensiveSearch/locales.js +1 -1
  134. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +36 -45
  135. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  136. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +2 -4
  137. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -1
  138. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +1 -10
  139. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +0 -14
  140. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -1
  141. package/es/pro/priceKeyboard/components/shortcuts/index.js +2 -5
  142. package/es/pro/priceKeyboard/components/shortcuts/index.less +0 -4
  143. package/es/utils/index.d.ts +1 -1
  144. package/lib/components/appointmentBooking/components/Voucher/index.js +1 -2
  145. package/lib/components/booking/addons/index.js +7 -15
  146. package/lib/components/booking/components/footer/amount.d.ts +0 -1
  147. package/lib/components/booking/components/footer/amount.js +41 -293
  148. package/lib/components/booking/components/footer/index.js +11 -30
  149. package/lib/components/booking/components/footer/utils.d.ts +0 -19
  150. package/lib/components/booking/components/footer/utils.js +41 -138
  151. package/lib/components/booking/components/voucher/index.js +9 -25
  152. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  153. package/lib/components/booking/hooks/useQuotation.js +1 -2
  154. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  155. package/lib/components/booking/info/service2/utils.js +0 -1
  156. package/lib/components/booking/info2/cartClientCard/index.js +5 -25
  157. package/lib/components/booking/info2/index.js +2 -7
  158. package/lib/components/booking/info2/service/addService/index.js +2 -1
  159. package/lib/components/booking/info2/service/editNormalService/index.js +0 -6
  160. package/lib/components/booking/info2/service/editService/index.js +3 -12
  161. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -15
  162. package/lib/components/booking/info2/service/editService/utils.js +3 -40
  163. package/lib/components/booking/utils.d.ts +0 -1
  164. package/lib/components/booking/utils.js +0 -11
  165. package/lib/components/checkout/PaymentModal.d.ts +5 -13
  166. package/lib/components/checkout/PaymentModal.js +147 -190
  167. package/lib/components/checkout/PaymentPlugin.d.ts +3 -0
  168. package/lib/components/checkout/PaymentPlugin.js +181 -0
  169. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -3
  170. package/lib/components/checkout/components/AdditionalModule/index.js +11 -52
  171. package/lib/components/checkout/components/AmountSummary/index.js +46 -5
  172. package/lib/components/checkout/components/AmountSummary/index.less +6 -5
  173. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +1 -3
  174. package/lib/components/checkout/components/CashPaymentModule/index.js +2 -5
  175. package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
  176. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -2
  177. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +1 -5
  178. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -1
  179. package/lib/components/checkout/components/PaymentOptionsModule/index.js +0 -6
  180. package/lib/components/checkout/components/PaymentOptionsModule/index.less +0 -4
  181. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -4
  182. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +5 -23
  183. package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
  184. package/lib/components/checkout/components/PaymentResultToast/index.less +33 -94
  185. package/lib/components/checkout/components/SearchAndClientModule/index.js +3 -29
  186. package/lib/components/checkout/index.less +1 -1
  187. package/lib/components/checkout/locales.d.ts +0 -6
  188. package/lib/components/checkout/locales.js +0 -6
  189. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +1 -0
  190. package/lib/components/checkout/utils/PaymentResultToastUtils.js +1 -11
  191. package/lib/components/eftpos/hooks.d.ts +0 -1
  192. package/lib/components/eftposPay/hooks.d.ts +1 -1
  193. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +6 -12
  194. package/lib/components/eftposPay/payo/config.js +73 -98
  195. package/lib/components/eftposPay/store/index.d.ts +4 -4
  196. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  197. package/lib/components/eftposPay/tyro/index.js +0 -12
  198. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  199. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  200. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  202. package/lib/components/index.d.ts +1 -2
  203. package/lib/components/index.js +0 -3
  204. package/lib/components/list/List.js +16 -34
  205. package/lib/components/list/hooks/useListState.d.ts +3 -5
  206. package/lib/components/list/hooks/useListState.js +1 -14
  207. package/lib/components/list/styles/header.less +3 -3
  208. package/lib/components/list/utils/index.d.ts +1 -13
  209. package/lib/components/list/utils/index.js +0 -27
  210. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +12 -14
  211. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  212. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  213. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  214. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
  215. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -4
  216. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
  217. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +3 -13
  218. package/lib/components/pay/toC/index.js +1 -4
  219. package/lib/components/pay/toC/locales.d.ts +0 -3
  220. package/lib/components/pay/toC/locales.js +3 -6
  221. package/lib/components/pay/toC/status.d.ts +0 -1
  222. package/lib/components/pay/toC/status.js +0 -5
  223. package/lib/components/schedules/utils.d.ts +1 -1
  224. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  225. package/lib/components/subTotal/index.js +1 -1
  226. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -1
  227. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +2 -33
  228. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +24 -84
  229. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -0
  230. package/lib/components/ticketBooking/components/menuBar/index.js +6 -42
  231. package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -2
  232. package/lib/components/ticketBooking/components/timeBar/index.js +4 -105
  233. package/lib/components/ticketBooking/components/timeBar/index.less +0 -59
  234. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +13 -17
  235. package/lib/components/ticketBooking/locales.d.ts +0 -6
  236. package/lib/components/ticketBooking/locales.js +3 -9
  237. package/lib/components/ticketBooking/utils/index.d.ts +0 -3
  238. package/lib/components/ticketBooking/utils/index.js +6 -20
  239. package/lib/components/wallet/Detail/index.js +3 -31
  240. package/lib/components/wallet/Detail/index.less +0 -11
  241. package/lib/components/wallet/Detail/locales.d.ts +0 -6
  242. package/lib/components/wallet/Detail/locales.js +2 -14
  243. package/lib/components/wallet/Voucher/index.js +8 -8
  244. package/lib/components/wallet/components/WalletCard.js +0 -4
  245. package/lib/components/wallet/index.js +2 -2
  246. package/lib/components/wallet/serve.d.ts +0 -7
  247. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  248. package/lib/index.d.ts +0 -4
  249. package/lib/index.js +0 -12
  250. package/lib/plus/clientCard/locales.js +3 -3
  251. package/lib/plus/clinetSearch/index.js +8 -17
  252. package/lib/plus/clinetSearch/locales.d.ts +0 -3
  253. package/lib/plus/clinetSearch/locales.js +4 -7
  254. package/lib/plus/clinetSearch/types.d.ts +0 -12
  255. package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
  256. package/lib/plus/walletPassGallery/components/footerButton/index.less +59 -14
  257. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  258. package/lib/plus/walletPassGallery/components/passDetail/index.js +15 -54
  259. package/lib/plus/walletPassGallery/components/passDetail/index.less +0 -4
  260. package/lib/plus/walletPassGallery/components/recharge/index.js +1 -7
  261. package/lib/plus/walletPassGallery/index.js +3 -7
  262. package/lib/plus/walletPassGallery/serve.d.ts +0 -3
  263. package/lib/plus/walletPassGallery/serve.js +2 -3
  264. package/lib/pro/Login2.0/index.less +8 -15
  265. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  266. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  267. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +43 -42
  268. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  269. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +2 -3
  270. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -1
  271. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +1 -8
  272. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +0 -14
  273. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -1
  274. package/lib/pro/priceKeyboard/components/shortcuts/index.js +2 -3
  275. package/lib/pro/priceKeyboard/components/shortcuts/index.less +0 -4
  276. package/lib/utils/index.d.ts +1 -1
  277. package/package.json +4 -4
  278. package/es/components/checkout/plugin.d.ts +0 -2
  279. package/es/components/checkout/plugin.js +0 -303
  280. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  281. package/es/components/eftposPay/payo/payment.js +0 -579
  282. package/es/components/eftposPay/utils/log/index.d.ts +0 -110
  283. package/es/components/eftposPay/utils/log/index.js +0 -371
  284. package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  285. package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  286. package/es/components/systemSettings/registry/components/ItemModal.js +0 -547
  287. package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  288. package/es/components/systemSettings/registry/components/ModuleList.js +0 -54
  289. package/es/components/systemSettings/registry/components/SectionList.d.ts +0 -4
  290. package/es/components/systemSettings/registry/components/SectionList.js +0 -174
  291. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +0 -4
  292. package/es/components/systemSettings/registry/components/SettingsTable.js +0 -765
  293. package/es/components/systemSettings/registry/components/index.d.ts +0 -4
  294. package/es/components/systemSettings/registry/components/index.js +0 -4
  295. package/es/components/systemSettings/registry/index.d.ts +0 -5
  296. package/es/components/systemSettings/registry/index.js +0 -1059
  297. package/es/components/systemSettings/registry/index.less +0 -410
  298. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  299. package/es/components/systemSettings/registry/locales.js +0 -300
  300. package/es/components/systemSettings/registry/services.d.ts +0 -77
  301. package/es/components/systemSettings/registry/services.js +0 -472
  302. package/es/components/systemSettings/registry/types.d.ts +0 -126
  303. package/es/components/systemSettings/registry/types.js +0 -1
  304. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  305. package/es/components/systemSettings/registry/utils/typeValidation.js +0 -284
  306. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  307. package/es/components/systemSettings/registry/utils/validators.js +0 -44
  308. package/es/components/wallet/utils.d.ts +0 -48
  309. package/es/components/wallet/utils.js +0 -342
  310. package/lib/components/checkout/plugin.d.ts +0 -2
  311. package/lib/components/checkout/plugin.js +0 -263
  312. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  313. package/lib/components/eftposPay/payo/payment.js +0 -357
  314. package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
  315. package/lib/components/eftposPay/utils/log/index.js +0 -294
  316. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  317. package/lib/components/systemSettings/registry/components/GroupModal.js +0 -177
  318. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  319. package/lib/components/systemSettings/registry/components/ItemModal.js +0 -508
  320. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
  321. package/lib/components/systemSettings/registry/components/ModuleList.js +0 -71
  322. package/lib/components/systemSettings/registry/components/SectionList.d.ts +0 -4
  323. package/lib/components/systemSettings/registry/components/SectionList.js +0 -181
  324. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +0 -4
  325. package/lib/components/systemSettings/registry/components/SettingsTable.js +0 -575
  326. package/lib/components/systemSettings/registry/components/index.d.ts +0 -4
  327. package/lib/components/systemSettings/registry/components/index.js +0 -48
  328. package/lib/components/systemSettings/registry/index.d.ts +0 -5
  329. package/lib/components/systemSettings/registry/index.js +0 -529
  330. package/lib/components/systemSettings/registry/index.less +0 -410
  331. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  332. package/lib/components/systemSettings/registry/locales.js +0 -324
  333. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  334. package/lib/components/systemSettings/registry/services.js +0 -290
  335. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  336. package/lib/components/systemSettings/registry/types.js +0 -17
  337. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  338. package/lib/components/systemSettings/registry/utils/typeValidation.js +0 -228
  339. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  340. package/lib/components/systemSettings/registry/utils/validators.js +0 -54
  341. package/lib/components/wallet/utils.d.ts +0 -48
  342. package/lib/components/wallet/utils.js +0 -287
  343. package/lowcode/payment-modal/meta.ts +0 -135
  344. package/lowcode/settings-registry/meta.ts +0 -29
  345. package/lowcode/wallet-pass-detail/meta.ts +0 -89
@@ -66,7 +66,7 @@ var ClientSearch = (0, import_react.forwardRef)(
66
66
  (_a2 = addClientRef.current) == null ? void 0 : _a2.reset();
67
67
  };
68
68
  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")));
69
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "client-search-list-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 110 } }, 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: 120 } }, import_utils.locales.getText("pisell2.text.client-search.phone")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 135 } }, import_utils.locales.getText("pisell2.text.client-search.email")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 120 } }, import_utils.locales.getText("pisell2.text.client-search.membership")));
70
70
  };
71
71
  const renderResults = (searchResults) => {
72
72
  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 +111,7 @@ var ClientSearch = (0, import_react.forwardRef)(
111
111
  {
112
112
  dataSource: searchResults,
113
113
  renderItem: (item, index) => {
114
- var _a2, _b2, _c2, _d, _e, _f, _g, _h;
114
+ var _a2, _b2;
115
115
  const membershipText = (_b2 = (_a2 = item.latest_wallet_detail) == null ? void 0 : _a2.wallet) == null ? void 0 : _b2.name;
116
116
  return /* @__PURE__ */ import_react.default.createElement(
117
117
  import_antd.List.Item,
@@ -126,7 +126,10 @@ var ClientSearch = (0, import_react.forwardRef)(
126
126
  onClick: () => onRowClick == null ? void 0 : onRowClick(item, index || 0),
127
127
  style: { cursor: "pointer" }
128
128
  },
129
- /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 180 } }, /* @__PURE__ */ import_react.default.createElement(import_clientName.default, { dataSource: item }), /* @__PURE__ */ import_react.default.createElement("div", null, item.phone || "-"), /* @__PURE__ */ import_react.default.createElement(
129
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 110 } }, /* @__PURE__ */ import_react.default.createElement(import_clientName.default, { dataSource: item })),
130
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 110 } }, (0, import_dayjs.default)(item.created_at).format("YYYY-MM-DD") || "-"),
131
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 120 } }, item.phone || "-"),
132
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 135 } }, /* @__PURE__ */ import_react.default.createElement(
130
133
  "div",
131
134
  {
132
135
  style: {
@@ -137,8 +140,7 @@ var ClientSearch = (0, import_react.forwardRef)(
137
140
  },
138
141
  item.email || "-"
139
142
  )),
140
- /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 110 } }, (0, import_dayjs.default)(item.created_at).format("YYYY-MM-DD") || "-"),
141
- /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 125 } }, membershipText && (translationOriginal == null ? void 0 : translationOriginal(membershipText)) ? /* @__PURE__ */ import_react.default.createElement(
143
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 120 } }, membershipText && (translationOriginal == null ? void 0 : translationOriginal(membershipText)) ? /* @__PURE__ */ import_react.default.createElement(
142
144
  import_antd.Tag,
143
145
  {
144
146
  color: "gold",
@@ -154,18 +156,7 @@ var ClientSearch = (0, import_react.forwardRef)(
154
156
  }
155
157
  },
156
158
  translationOriginal == null ? void 0 : translationOriginal(membershipText)
157
- ) : "-"),
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(
159
- "div",
160
- {
161
- style: {
162
- overflow: "hidden",
163
- textOverflow: "ellipsis",
164
- whiteSpace: "nowrap"
165
- }
166
- },
167
- ((_h = (_g = item == null ? void 0 : item.contacts_info) == null ? void 0 : _g.value) == null ? void 0 : _h.email) || "-"
168
- ))
159
+ ) : "-")
169
160
  )
170
161
  );
171
162
  }
@@ -31,7 +31,6 @@ declare const _default: {
31
31
  'pisell2.text.client-search.phone': string;
32
32
  'pisell2.text.client-search.email': string;
33
33
  'pisell2.text.client-search.membership': string;
34
- 'pisell2.text.client-search.contact-info': string;
35
34
  };
36
35
  'zh-CN': {
37
36
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -65,7 +64,6 @@ declare const _default: {
65
64
  'pisell2.text.client-search.phone': string;
66
65
  'pisell2.text.client-search.email': string;
67
66
  'pisell2.text.client-search.membership': string;
68
- 'pisell2.text.client-search.contact-info': string;
69
67
  };
70
68
  'zh-HK': {
71
69
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -99,7 +97,6 @@ declare const _default: {
99
97
  'pisell2.text.client-search.phone': string;
100
98
  'pisell2.text.client-search.email': string;
101
99
  'pisell2.text.client-search.membership': string;
102
- 'pisell2.text.client-search.contact-info': string;
103
100
  };
104
101
  };
105
102
  export default _default;
@@ -41,7 +41,7 @@ var locales_default = {
41
41
  "pisell2.text.save": "Save",
42
42
  "pisell2.text.save-and-select": "Save and select",
43
43
  "pisell2.text.no-results-found": "No results found.",
44
- "pisell2.text.create-new-client": "Create new customer",
44
+ "pisell2.text.create-new-client": "Create new client",
45
45
  "pisell2.text.result-found": "Result found",
46
46
  "pisell2.text.personnel-list": "Personnel list",
47
47
  "pisell2.text.load-more": "Load more",
@@ -54,8 +54,7 @@ var locales_default = {
54
54
  "pisell2.text.client-search.register-time": "Registration Time",
55
55
  "pisell2.text.client-search.phone": "Phone Number",
56
56
  "pisell2.text.client-search.email": "Email Address",
57
- "pisell2.text.client-search.membership": "Membership",
58
- "pisell2.text.client-search.contact-info": "Contact info"
57
+ "pisell2.text.client-search.membership": "Membership"
59
58
  },
60
59
  "zh-CN": {
61
60
  "pisell2.text.leave-empty-for-walk-in": "如未注册游客则留空",
@@ -88,8 +87,7 @@ var locales_default = {
88
87
  "pisell2.text.client-search.register-time": "注册时间",
89
88
  "pisell2.text.client-search.phone": "电话号码",
90
89
  "pisell2.text.client-search.email": "邮箱",
91
- "pisell2.text.client-search.membership": "会员",
92
- "pisell2.text.client-search.contact-info": "联系信息"
90
+ "pisell2.text.client-search.membership": "会员"
93
91
  },
94
92
  "zh-HK": {
95
93
  "pisell2.text.leave-empty-for-walk-in": "如未註冊遊客則留空",
@@ -122,7 +120,6 @@ var locales_default = {
122
120
  "pisell2.text.client-search.register-time": "註冊時間",
123
121
  "pisell2.text.client-search.phone": "電話號碼",
124
122
  "pisell2.text.client-search.email": "電郵地址",
125
- "pisell2.text.client-search.membership": "會員",
126
- "pisell2.text.client-search.contact-info": "聯繫信息"
123
+ "pisell2.text.client-search.membership": "會員"
127
124
  }
128
125
  };
@@ -10,18 +10,6 @@ export interface ClientData {
10
10
  nickname: string;
11
11
  shop_id: number;
12
12
  updated_at: string;
13
- contacts_info: {
14
- value: {
15
- first_name?: string;
16
- last_name?: string;
17
- phone?: {
18
- phone?: string;
19
- country_calling_code?: string;
20
- country_code?: string;
21
- };
22
- email?: string;
23
- };
24
- };
25
13
  }
26
14
  export interface ClientSearchProps {
27
15
  dataSource?: any;
@@ -160,13 +160,13 @@ var FooterButtons = ({
160
160
  )
161
161
  );
162
162
  }
163
- const className = `pisell-wallet-pass-gallery_footer-buttons`;
163
+ const buttonCount = buttons.length;
164
+ const className = `pisell-wallet-pass-gallery_footer-buttons pisell-wallet-pass-gallery_footer-buttons-count-${buttonCount}`;
164
165
  return buttons.length > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className }, buttons) : null;
165
166
  };
166
167
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-pass-gallery_footer" }, renderButtons()), /* @__PURE__ */ import_react.default.createElement(
167
168
  import_materials.PisellModal,
168
169
  {
169
- destroyOnClose: true,
170
170
  platform,
171
171
  mobileModalHeight: "auto",
172
172
  headerDivider: false,
@@ -1,38 +1,83 @@
1
1
  .pisell-wallet-pass-gallery_footer {
2
2
  position: relative;
3
+ left: 0;
4
+ right: 0;
5
+ bottom: 0;
3
6
  background-color: #fff;
4
7
  padding: 24px;
5
8
  z-index: 100;
6
9
  border-top: 1px solid #d0d5de;
7
- margin-left: -24px;
8
- margin-right: -24px;
10
+ margin-left: -20px;
11
+ margin-right: -20px;
9
12
  &-buttons {
10
13
  display: flex;
11
14
  gap: 12px;
12
15
  width: 100%;
13
16
 
14
- .pisell-wallet-pass-gallery_footer-buttons-item-secondary {
15
- overflow: hidden;
16
- display: inline-block;
17
+
18
+ .pisell-wallet-pass-gallery_footer-buttons-item-secondary{
19
+ overflow: hidden;
20
+ display: flex;
21
+ >span{
22
+ display: block;
23
+ // width: 100%;
24
+ flex:1;
17
25
  white-space: nowrap;
18
26
  overflow: hidden;
19
27
  text-overflow: ellipsis;
20
28
  text-wrap: nowrap;
21
- > span {
22
- display: inline;
23
- }
24
29
  }
30
+ }
25
31
 
26
- .pisell-wallet-pass-gallery_footer-buttons-item {
27
- flex-grow: 1;
28
- }
29
32
 
33
+ // 按钮数量样式
34
+ // 单个按钮占满宽度
35
+ &-count-1 {
36
+ .pisell-wallet-pass-gallery_footer-buttons-item {
37
+ flex: 1;
38
+ width: 100%;
39
+ }
40
+ }
41
+
42
+ // 两个按钮各占一半
43
+ &-count-2 {
44
+ .pisell-wallet-pass-gallery_footer-buttons-item {
45
+ flex: 1;
46
+ width: calc(50% - 6px);
47
+ }
48
+ }
49
+
50
+ // 三个按钮各占三分之一
51
+ &-count-3 {
52
+ .pisell-wallet-pass-gallery_footer-buttons-item {
53
+ flex: 1;
54
+ width: calc(33.33% - 8px);
55
+ }
56
+ }
57
+
58
+ // 四个按钮各占四分之一
59
+ &-count-4 {
60
+ .pisell-wallet-pass-gallery_footer-buttons-item {
61
+ flex: 1;
62
+ width: calc(25% - 9px);
63
+ }
64
+ }
65
+
66
+ // Ant Design按钮覆盖样式
67
+ :global(.ant-btn) {
68
+ height: 48px;
69
+ border-radius: 6px;
70
+ font-size: 16px;
71
+ font-weight: 500;
72
+ width: 100%;
73
+ }
74
+
30
75
  &-item {
31
76
  // 修饰符:主按钮
32
77
  &-primary {
33
- background-color: var(--theme-color, #7f56d9);
78
+ background-color: var(--theme-color, #7F56D9);
34
79
  }
35
-
80
+
36
81
  // 修饰符:次按钮
37
82
  &-secondary {
38
83
  background-color: #fff;
@@ -45,4 +90,4 @@
45
90
 
46
91
  .pisell-wallet-pass-gallery_footer:empty {
47
92
  display: none;
48
- }
93
+ }
@@ -4,7 +4,6 @@ interface PassDetailProps {
4
4
  dataSource?: any | null;
5
5
  platform?: 'pc' | 'h5';
6
6
  buttonGroupList?: any[][];
7
- showTimeLine?: boolean;
8
7
  }
9
8
  declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
10
9
  export default PassDetail;
@@ -48,26 +48,19 @@ var import_recharge = __toESM(require("../recharge"));
48
48
  var import_footerButton = __toESM(require("../footerButton"));
49
49
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
50
50
  var import_index = require("./index.less");
51
- var import_utils3 = require("../../../../components/wallet/utils");
52
- var import_locales = __toESM(require("../../locales"));
53
- var import_utils4 = require("../../../../utils");
54
51
  var { Text } = import_antd.Typography;
55
52
  var PassDetail = (props) => {
56
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
54
+ if (!props.dataSource) return null;
57
55
  const { symbol = "$" } = (0, import_materials.usePisellConfig)();
58
- const { dataSource, platform = "pc", showTimeLine = true } = props;
56
+ const { dataSource, platform = "pc" } = props;
59
57
  const [activeKey, setActiveKey] = (0, import_react.useState)("detail");
60
58
  const [rechargeOpen, setRechargeOpen] = (0, import_react.useState)(false);
61
59
  const containerRef = (0, import_react.useRef)(null);
62
60
  const isIndicatorVisibleRef = (0, import_react.useRef)(false);
63
61
  const context = (0, import_useEngineContext.default)();
64
62
  const { store } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || { store: {} };
65
- const { apiPrefix } = ((_b = context.appHelper) == null ? void 0 : _b.constants) || { apiPrefix: "/h5" };
66
- const timezone = ((_g = (_f = (_e = (_d = (_c = store == null ? void 0 : store.getState) == null ? void 0 : _c.call(store)) == null ? void 0 : _d.global) == null ? void 0 : _e.symbol) == null ? void 0 : _f.shop) == null ? void 0 : _g.timezone) || "Asia/Shanghai";
67
- import_utils.locales.init(import_locales.default, ((_i = (_h = context == null ? void 0 : context.engine) == null ? void 0 : _h.props) == null ? void 0 : _i.locale) || "en");
68
- if ((_k = (_j = context.appHelper) == null ? void 0 : _j.utils) == null ? void 0 : _k.request) {
69
- import_utils4.request.setRequest((_m = (_l = context.appHelper) == null ? void 0 : _l.utils) == null ? void 0 : _m.request);
70
- }
63
+ const timezone = ((_e = (_d = (_c = (_b = store == null ? void 0 : store.getState) == null ? void 0 : _b.call(store)) == null ? void 0 : _c.global) == null ? void 0 : _d.symbol) == null ? void 0 : _e.shop.timezone) || "Asia/Shanghai";
71
64
  const {
72
65
  id = "",
73
66
  code = "",
@@ -76,22 +69,17 @@ var PassDetail = (props) => {
76
69
  encoded = "",
77
70
  balance,
78
71
  expire_date = "",
79
- product = {},
80
- custom_schedule_snapshot,
81
- customer_id
72
+ product = {}
82
73
  } = dataSource || {};
83
74
  const {
84
75
  description = "",
85
76
  extension_data = [],
86
77
  customer_order_behavior_count = 0
87
78
  } = product || {};
88
- const _getDetail = (0, import_ahooks.useRequest)(() => (0, import_serve.getDetailApi)({ id, apiPrefix, order_behavior_count_customer_id: customer_id }), {
79
+ const _getDetail = (0, import_ahooks.useRequest)(() => (0, import_serve.getDetailApi)({ id }), {
89
80
  ready: !!id,
90
- refreshDeps: [id, customer_id]
81
+ refreshDeps: [id]
91
82
  });
92
- const scheduleList = (0, import_react.useMemo)(() => {
93
- return (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [];
94
- }, [custom_schedule_snapshot]);
95
83
  (0, import_react.useEffect)(() => {
96
84
  if (tag === "product_discount_card") {
97
85
  setActiveKey("detail");
@@ -123,29 +111,7 @@ var PassDetail = (props) => {
123
111
  return () => clearTimeout(timeoutId);
124
112
  }, []);
125
113
  const descs = (0, import_react.useMemo)(() => {
126
- var _a2, _b2, _c2;
127
- const detail = (0, import_utils3.formatScheduleText)(scheduleList, (_b2 = (_a2 = context == null ? void 0 : context.engine) == null ? void 0 : _a2.props) == null ? void 0 : _b2.locale);
128
- let expireText = expire_date ? expire_date : import_utils.locales.getText("wallet-pass-gallery.expireDate");
129
- if (scheduleList.length > 0) {
130
- let validityTexts = "";
131
- let excludedText = "";
132
- let includedText = "";
133
- detail.forEach((item) => {
134
- if (item.validityTexts.length > 0) {
135
- validityTexts = `${validityTexts}${item.validityTexts.join("\n")}
136
- `;
137
- }
138
- if (item.excluded_date.length > 0) {
139
- excludedText = `${excludedText}${item.excluded_date.join("\n")}
140
- `;
141
- }
142
- if (item.included_date.length > 0) {
143
- includedText = `${includedText}${item.included_date.join("\n")}
144
- `;
145
- }
146
- });
147
- expireText = /* @__PURE__ */ import_react.default.createElement("span", { className: "wallet-detail-expire-text" }, validityTexts, excludedText && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-expire-text-title" }, import_utils.locales.getText("page.wallet.notValidDate")), excludedText, includedText && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-expire-text-title" }, import_utils.locales.getText("page.wallet.includedDate")), includedText);
148
- }
114
+ var _a2;
149
115
  let data = [
150
116
  {
151
117
  label: import_utils.locales.getText("wallet-pass-gallery.cardName"),
@@ -158,11 +124,11 @@ var PassDetail = (props) => {
158
124
  },
159
125
  {
160
126
  label: import_utils.locales.getText("wallet-pass-gallery.validDate"),
161
- value: expireText
127
+ value: expire_date ? expire_date : import_utils.locales.getText("wallet-pass-gallery.expireDate")
162
128
  }
163
129
  ];
164
130
  if (tag === "product_discount_card") {
165
- const isFixedAmount = ((_c2 = dataSource.metadata) == null ? void 0 : _c2.discount_card_type) === "fixed_amount";
131
+ const isFixedAmount = ((_a2 = dataSource.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
166
132
  data.splice(2, 0, {
167
133
  label: import_utils.locales.getText("wallet-pass-gallery.discount"),
168
134
  value: balance ? isFixedAmount ? `${symbol}${Number(balance)}` : `${Number(balance)}%` : ""
@@ -229,19 +195,14 @@ var PassDetail = (props) => {
229
195
  };
230
196
  const renderTimeLine = () => {
231
197
  if (tag === "product_discount_card") return null;
232
- if (!showTimeLine) return null;
233
198
  return /* @__PURE__ */ import_react.default.createElement(import_timelineSection.default, { code, tag, timezone });
234
199
  };
235
- if (!props.dataSource) return null;
236
200
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
237
201
  "div",
238
202
  {
239
203
  className: (0, import_classnames.default)(
240
204
  `pisell-wallet-pass-gallery_detail`,
241
- `pisell-wallet-pass-gallery_detail-${platform}`,
242
- {
243
- [`pisell-wallet-pass-gallery_detail-with-footer`]: platform === "h5" && tag === "gift_card"
244
- }
205
+ `pisell-wallet-pass-gallery_detail-${platform}`
245
206
  )
246
207
  },
247
208
  /* @__PURE__ */ import_react.default.createElement(
@@ -276,7 +237,7 @@ var PassDetail = (props) => {
276
237
  },
277
238
  /* @__PURE__ */ import_react.default.createElement("div", { "data-anchor": "detail" })
278
239
  ),
279
- /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(Text, { className: "pisell-wallet-pass-gallery_detail-title" }, import_utils.locales.getText("wallet-pass-gallery.details")), platform === "pc" && tag === "gift_card" && ((_n = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _n.hide_recharge) === 0 && /* @__PURE__ */ import_react.default.createElement(
240
+ /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(Text, { className: "pisell-wallet-pass-gallery_detail-title" }, import_utils.locales.getText("wallet-pass-gallery.details")), platform === "pc" && tag === "gift_card" && ((_f = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _f.hide_recharge) === 0 && /* @__PURE__ */ import_react.default.createElement(
280
241
  import_antd.Button,
281
242
  {
282
243
  type: "primary",
@@ -308,9 +269,9 @@ var PassDetail = (props) => {
308
269
  ), platform === "h5" && tag === "gift_card" ? /* @__PURE__ */ import_react.default.createElement(
309
270
  import_footerButton.default,
310
271
  {
311
- appleWalletUrl: (_o = _getDetail.data) == null ? void 0 : _o.apple_wallet_url,
312
- googleWalletUrl: (_p = _getDetail.data) == null ? void 0 : _p.google_wallet_url,
313
- onRechargeClick: ((_q = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _q.hide_recharge) === 0 ? () => setRechargeOpen(true) : void 0,
272
+ appleWalletUrl: (_g = _getDetail.data) == null ? void 0 : _g.apple_wallet_url,
273
+ googleWalletUrl: (_h = _getDetail.data) == null ? void 0 : _h.google_wallet_url,
274
+ onRechargeClick: ((_i = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _i.hide_recharge) === 0 ? () => setRechargeOpen(true) : void 0,
314
275
  platform
315
276
  }
316
277
  ) : null, /* @__PURE__ */ import_react.default.createElement(
@@ -18,10 +18,6 @@
18
18
  padding: 20px 0px;
19
19
  }
20
20
 
21
- &-with-footer {
22
- height: calc(100% - 90px);
23
- }
24
-
25
21
  .pisell-wallet-pass-gallery_detail-content {
26
22
  overflow-y: auto;
27
23
  height: 100%;
@@ -51,7 +51,6 @@ var Recharge = ({
51
51
  const { action, storage } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
52
52
  const dvaStore = (_e = (_d = (_c = (_b = context.appHelper) == null ? void 0 : _b.utils) == null ? void 0 : _c.getStore) == null ? void 0 : _d.call(_c)) == null ? void 0 : _e.getState();
53
53
  const shop = ((_g = (_f = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _f.core) == null ? void 0 : _g.shop) || {};
54
- const [loading, setLoading] = (0, import_react.useState)(false);
55
54
  (0, import_react.useEffect)(() => {
56
55
  if (detailData) {
57
56
  setChargeItem(((detailData == null ? void 0 : detailData.gift_option) || [])[0]);
@@ -60,7 +59,6 @@ var Recharge = ({
60
59
  const handleRecharge = async () => {
61
60
  var _a2;
62
61
  try {
63
- setLoading(true);
64
62
  const params = {
65
63
  voucher_id: (detailData == null ? void 0 : detailData.id) || "",
66
64
  product_id: (detailData == null ? void 0 : detailData.product_id) || "",
@@ -89,14 +87,11 @@ var Recharge = ({
89
87
  import_utils.locales.getText("wallet-pass-gallery.log.rechargeOrderFailed"),
90
88
  error
91
89
  );
92
- } finally {
93
- setLoading(false);
94
90
  }
95
91
  };
96
92
  return /* @__PURE__ */ import_react.default.createElement(
97
93
  import_antd.Drawer,
98
94
  {
99
- destroyOnClose: true,
100
95
  title: import_utils.locales.getText("wallet-pass-gallery.rechargeOptions"),
101
96
  open,
102
97
  zIndex: 999,
@@ -110,8 +105,7 @@ var Recharge = ({
110
105
  block: true,
111
106
  size: "large",
112
107
  onClick: handleRecharge,
113
- disabled: !(chargeItem == null ? void 0 : chargeItem.id),
114
- loading
108
+ disabled: !(chargeItem == null ? void 0 : chargeItem.id)
115
109
  },
116
110
  import_utils.locales.getText("wallet-pass-gallery.recharge")
117
111
  )
@@ -89,8 +89,7 @@ var WalletPassGallery = (props) => {
89
89
  num: 20,
90
90
  skip: (d == null ? void 0 : d.nextId) || 1,
91
91
  tags: TAGS,
92
- filter_wallet_id: walletId || void 0,
93
- "with": ["customScheduleSnapshot"]
92
+ filter_wallet_id: walletId || void 0
94
93
  });
95
94
  return {
96
95
  list: (res == null ? void 0 : res.list) || [],
@@ -116,8 +115,7 @@ var WalletPassGallery = (props) => {
116
115
  num: 20,
117
116
  skip: (d == null ? void 0 : d.nextId) || 1,
118
117
  tags: TAGS,
119
- filter_wallet_id: walletId || void 0,
120
- "with": ["customScheduleSnapshot"]
118
+ filter_wallet_id: walletId || void 0
121
119
  });
122
120
  return {
123
121
  list: (res == null ? void 0 : res.list) || [],
@@ -442,9 +440,7 @@ var WalletPassGallery = (props) => {
442
440
  ), /* @__PURE__ */ import_react.default.createElement(
443
441
  import_materials.PisellModal,
444
442
  {
445
- zIndex: 997,
446
- destroyOnClose: true,
447
- platform,
443
+ platform: "h5",
448
444
  visible: !!_currentItem,
449
445
  onCancel: () => setCurrentItemId(""),
450
446
  footer: null,
@@ -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
  * 详情响应数据结构,供组件消费
@@ -69,12 +69,11 @@ var getAssetList = async (params) => {
69
69
  return data;
70
70
  };
71
71
  var getDetailApi = async (params) => {
72
- const { data } = await import_utils.request.getRequest().get(`${params.apiPrefix || "/h5"}/machinecode/lowcode/detail/${params.id}`, {
72
+ const { data } = await import_utils.request.getRequest().get(`/h5/machinecode/lowcode/detail/${params.id}`, {
73
73
  order_behavior_count: 1,
74
74
  // 订单行为次数
75
- order_behavior_count_customer: 1,
75
+ order_behavior_count_customer: 1
76
76
  // 客户订单行为次数
77
- order_behavior_count_customer_id: params.apiPrefix === "/shop" ? params.order_behavior_count_customer_id : void 0
78
77
  });
79
78
  return data;
80
79
  };
@@ -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;
@@ -24,15 +24,15 @@ __export(locales_exports, {
24
24
  module.exports = __toCommonJS(locales_exports);
25
25
  var locales_default = {
26
26
  en: {
27
- "pisell2.comprehensive-search.placeholder": "WalletPass Code / Name / Mobile / Email / Contact info",
27
+ "pisell2.comprehensive-search.placeholder": "WalletPass Code / Name / Mobile / Email",
28
28
  "pisell2.text.search": "Search"
29
29
  },
30
30
  "zh-CN": {
31
- "pisell2.comprehensive-search.placeholder": "钱包码 / 姓名 / 电话 / 电子邮箱 / 联系信息",
31
+ "pisell2.comprehensive-search.placeholder": "钱包码 / 姓名 / 电话 / 电子邮箱",
32
32
  "pisell2.text.search": "搜索"
33
33
  },
34
34
  "zh-HK": {
35
- "pisell2.comprehensive-search.placeholder": "錢包碼 / 姓名 / 電話 / 電子郵箱 / 聯繫信息",
35
+ "pisell2.comprehensive-search.placeholder": "錢包碼 / 姓名 / 電話 / 電子郵箱",
36
36
  "pisell2.text.search": "搜索"
37
37
  }
38
38
  };
@@ -24,7 +24,7 @@ __export(locales_exports, {
24
24
  module.exports = __toCommonJS(locales_exports);
25
25
  var locales_default = {
26
26
  en: {
27
- "pisell2.text.new-client": "New Customer",
27
+ "pisell2.text.new-client": "New Client",
28
28
  "pisell2.comprehensive-search.empty": "No Data"
29
29
  },
30
30
  "zh-CN": {