@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
@@ -20,63 +20,4 @@
20
20
  }
21
21
  }
22
22
  }
23
-
24
- // 收起状态
25
- &.collapsed {
26
- position: fixed;
27
- bottom: 0;
28
- left: 86px;
29
- padding: 0;
30
- background-color: transparent;
31
- display: block;
32
- // 高度通过内联样式动态设置以补偿 body 的 scale
33
-
34
- .pisell-ticket-booking-time-bar-collapsed-content {
35
- display: flex;
36
- align-items: center;
37
- justify-content: space-between;
38
- width: 100%;
39
- // 高度通过内联样式动态设置以补偿 body 的 scale
40
- padding: 0 16px;
41
- background-color: #fff;
42
- border-radius: 0 8px 8px 0;
43
- box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
44
- box-sizing: border-box;
45
- overflow: hidden;
46
-
47
- .pisell-ticket-booking-time-bar-collapsed-today {
48
- font-weight: 600;
49
- font-size: 18px;
50
- color: #000;
51
- flex-shrink: 0;
52
- margin-right: 16px;
53
- // line-height 通过内联样式动态设置
54
- }
55
-
56
- .pisell-ticket-booking-time-bar-collapsed-expand {
57
- color: #7F56DA;
58
- padding: 0;
59
- margin: 0;
60
- height: auto;
61
- font-size: 18px;
62
- font-weight: 500;
63
- display: inline-flex;
64
- align-items: center;
65
- flex-shrink: 0;
66
- // line-height 通过内联样式动态设置
67
-
68
- &:hover {
69
- color: #6941c6;
70
- }
71
-
72
- span {
73
- margin-right: 2px;
74
- }
75
- .anticon {
76
- margin-left: 0px;
77
- margin-right: 0px;
78
- }
79
- }
80
- }
81
- }
82
23
  }
@@ -38,21 +38,17 @@ var import_react = require("react");
38
38
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
39
39
  var import_dayjs = __toESM(require("dayjs"));
40
40
  var useProducts = (notAvailableRef) => {
41
- var _a;
42
41
  const bookingTicket = (0, import_bookingTicket.useBookingTicket)();
43
42
  const context = (0, import_useEngineContext.default)();
44
43
  const platform = (0, import_useEngineContext.usePlatform)();
45
44
  const [products, setProducts] = (0, import_react.useState)([]);
46
45
  const [loading, setLoading] = (0, import_react.useState)(true);
47
46
  const isFirstLoadRef = (0, import_react.useRef)(true);
48
- const isFirstLoadDataRef = (0, import_react.useRef)(true);
49
- const { getApp } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
50
- const app = getApp();
51
47
  const [scheduleTimePoints, setScheduleTimePoints] = (0, import_react.useState)([]);
52
48
  const scheduledTaskQueueIdRef = (0, import_react.useRef)("booking-schedule-products");
53
49
  const paramsRef = (0, import_react.useRef)(void 0);
54
50
  const getProducts = (0, import_ahooks.useMemoizedFn)(async (params) => {
55
- var _a2;
51
+ var _a;
56
52
  setLoading(true);
57
53
  try {
58
54
  paramsRef.current = params;
@@ -62,30 +58,30 @@ var useProducts = (notAvailableRef) => {
62
58
  isFirstLoadRef.current = false;
63
59
  } catch (error) {
64
60
  if ((error == null ? void 0 : error.code) === 607100 && (isFirstLoadRef.current || products.length > 0)) {
65
- (_a2 = notAvailableRef.current) == null ? void 0 : _a2.open();
61
+ (_a = notAvailableRef.current) == null ? void 0 : _a.open();
66
62
  }
67
63
  setLoading(false);
68
64
  isFirstLoadRef.current = false;
69
65
  }
70
66
  });
71
67
  (0, import_react.useEffect)(() => {
72
- var _a2, _b, _c;
68
+ var _a, _b, _c;
73
69
  if (platform === "shop") {
74
70
  return;
75
71
  }
76
72
  try {
77
- const app2 = (_c = (_b = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b.getApp) == null ? void 0 : _c.call(_b);
78
- if (!app2 || !app2.tasksManager) {
73
+ const app = (_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getApp) == null ? void 0 : _c.call(_b);
74
+ if (!app || !app.tasksManager) {
79
75
  console.warn("App 或 tasksManager 不可用");
80
76
  return;
81
77
  }
82
- app2.tasksManager.addTaskFunction("getProducts", async ({ task }) => {
78
+ app.tasksManager.addTaskFunction("getProducts", async ({ task }) => {
83
79
  console.log("定时执行 getProducts,参数:", task.payload);
84
80
  await getProducts(task.payload);
85
81
  return { status: "success" };
86
82
  });
87
83
  if (scheduleTimePoints && scheduleTimePoints.length > 0) {
88
- app2.tasksManager.clearTasks({
84
+ app.tasksManager.clearTasks({
89
85
  module: "scheduledTasks",
90
86
  queueId: scheduledTaskQueueIdRef.current
91
87
  });
@@ -106,12 +102,12 @@ var useProducts = (notAvailableRef) => {
106
102
  }
107
103
  };
108
104
  });
109
- app2.tasksManager.addTask({
105
+ app.tasksManager.addTask({
110
106
  module: "scheduledTasks",
111
107
  queueId: scheduledTaskQueueIdRef.current,
112
108
  tasks
113
109
  });
114
- app2.tasksManager.run({
110
+ app.tasksManager.run({
115
111
  module: "scheduledTasks",
116
112
  queueId: scheduledTaskQueueIdRef.current
117
113
  });
@@ -121,11 +117,11 @@ var useProducts = (notAvailableRef) => {
121
117
  console.error("创建定时任务失败:", error);
122
118
  }
123
119
  return () => {
124
- var _a3, _b2, _c2;
120
+ var _a2, _b2, _c2;
125
121
  try {
126
- const app2 = (_c2 = (_b2 = (_a3 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a3.utils) == null ? void 0 : _b2.getApp) == null ? void 0 : _c2.call(_b2);
127
- if (app2 && app2.tasksManager) {
128
- app2.tasksManager.clearTasks({
122
+ const app = (_c2 = (_b2 = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b2.getApp) == null ? void 0 : _c2.call(_b2);
123
+ if (app && app.tasksManager) {
124
+ app.tasksManager.clearTasks({
129
125
  module: "scheduledTasks",
130
126
  queueId: scheduledTaskQueueIdRef.current
131
127
  });
@@ -61,8 +61,6 @@ declare const _default: {
61
61
  'pisell2.ticket-booking.terminal-upgrade-description': string;
62
62
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
63
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
- 'pisell2.ticket-booking.collapse': string;
65
- 'pisell2.ticket-booking.expand': string;
66
64
  };
67
65
  'zh-CN': {
68
66
  'pisell2.ticket-booking.info': string;
@@ -126,8 +124,6 @@ declare const _default: {
126
124
  'pisell2.ticket-booking.terminal-upgrade-description': string;
127
125
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
128
126
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
129
- 'pisell2.ticket-booking.collapse': string;
130
- 'pisell2.ticket-booking.expand': string;
131
127
  };
132
128
  'zh-HK': {
133
129
  'pisell2.ticket-booking.info': string;
@@ -191,8 +187,6 @@ declare const _default: {
191
187
  'pisell2.ticket-booking.terminal-upgrade-description': string;
192
188
  'pisell2.ticket-booking.terminal-upgrade-ok': string;
193
189
  'pisell2.ticket-booking.terminal-upgrade-cancel': string;
194
- 'pisell2.ticket-booking.collapse': string;
195
- 'pisell2.ticket-booking.expand': string;
196
190
  };
197
191
  };
198
192
  export default _default;
@@ -87,9 +87,7 @@ var locales_default = {
87
87
  "pisell2.ticket-booking.terminal-upgrade-title": "Terminal Version Reminder",
88
88
  "pisell2.ticket-booking.terminal-upgrade-description": "Your Terminal version is outdated. Please upgrade Terminal to use all features.",
89
89
  "pisell2.ticket-booking.terminal-upgrade-ok": "I understand",
90
- "pisell2.ticket-booking.terminal-upgrade-cancel": "Cancel",
91
- "pisell2.ticket-booking.collapse": "Collapse",
92
- "pisell2.ticket-booking.expand": "Expand"
90
+ "pisell2.ticket-booking.terminal-upgrade-cancel": "Cancel"
93
91
  },
94
92
  "zh-CN": {
95
93
  "pisell2.ticket-booking.info": "信息",
@@ -155,9 +153,7 @@ var locales_default = {
155
153
  "pisell2.ticket-booking.terminal-upgrade-title": "Terminal版本提醒",
156
154
  "pisell2.ticket-booking.terminal-upgrade-description": "检测到您的Terminal版本较低,请升级Terminal以使用完整功能",
157
155
  "pisell2.ticket-booking.terminal-upgrade-ok": "我知道了",
158
- "pisell2.ticket-booking.terminal-upgrade-cancel": "取消",
159
- "pisell2.ticket-booking.collapse": "收起",
160
- "pisell2.ticket-booking.expand": "展开"
156
+ "pisell2.ticket-booking.terminal-upgrade-cancel": "取消"
161
157
  },
162
158
  "zh-HK": {
163
159
  "pisell2.ticket-booking.info": "資訊",
@@ -223,8 +219,6 @@ var locales_default = {
223
219
  "pisell2.ticket-booking.terminal-upgrade-title": "Terminal版本提醒",
224
220
  "pisell2.ticket-booking.terminal-upgrade-description": "檢測到您的Terminal版本較低,請升級Terminal以使用完整功能",
225
221
  "pisell2.ticket-booking.terminal-upgrade-ok": "我知道了",
226
- "pisell2.ticket-booking.terminal-upgrade-cancel": "取消",
227
- "pisell2.ticket-booking.collapse": "收起",
228
- "pisell2.ticket-booking.expand": "展開"
222
+ "pisell2.ticket-booking.terminal-upgrade-cancel": "取消"
229
223
  }
230
224
  };
@@ -73,9 +73,6 @@ export declare const rulesHooks: {
73
73
  num: any;
74
74
  quantity: any;
75
75
  vouchersApplicable: any;
76
- startDate: any;
77
- bundle: any;
78
- options: any;
79
76
  };
80
77
  setProduct(product: Record<string, any>, values: {
81
78
  total: number;
@@ -197,17 +197,12 @@ var addService = (list, addItem, state) => {
197
197
  let isNotSame = true;
198
198
  let isSetCount = false;
199
199
  value = list.map((item) => {
200
- var _a2, _b, _c, _d, _e;
200
+ var _a2, _b, _c;
201
201
  const isGoodPassDiscountProduct = (item.discount_list || []).some((item2) => item2.type === "good_pass");
202
202
  const isEdit = item == null ? void 0 : item.edit;
203
- const bundleDiscountList = [];
204
- (((_b = (_a2 = item == null ? void 0 : item._extend) == null ? void 0 : _a2.other) == null ? void 0 : _b.bundle) || []).forEach((item2) => {
205
- bundleDiscountList.push(...(item2 == null ? void 0 : item2.discount_list) || []);
206
- });
207
- const isGoodPassBundleProduct = bundleDiscountList.some((item2) => item2.type === "good_pass");
208
- if (isSameProduct(item, addItem) && !isSetCount && !isGoodPassDiscountProduct && !isEdit && !isGoodPassBundleProduct) {
203
+ if (isSameProduct(item, addItem) && !isSetCount && !isGoodPassDiscountProduct && !isEdit) {
209
204
  isNotSame = false;
210
- const quantity = (((_c = item == null ? void 0 : item._extend) == null ? void 0 : _c.quantity) || 1) + (((_d = addItem == null ? void 0 : addItem._extend) == null ? void 0 : _d.quantity) || 1);
205
+ const quantity = (((_a2 = item == null ? void 0 : item._extend) == null ? void 0 : _a2.quantity) || 1) + (((_b = addItem == null ? void 0 : addItem._extend) == null ? void 0 : _b.quantity) || 1);
211
206
  count = quantity;
212
207
  isSetCount = true;
213
208
  return {
@@ -216,7 +211,7 @@ var addService = (list, addItem, state) => {
216
211
  ...item._extend,
217
212
  quantity,
218
213
  other: {
219
- ...((_e = item._extend) == null ? void 0 : _e.other) || {},
214
+ ...((_c = item._extend) == null ? void 0 : _c.other) || {},
220
215
  quantity
221
216
  }
222
217
  }
@@ -346,21 +341,17 @@ var getShopDiscountKey = (osKey) => {
346
341
  var rulesHooks = {
347
342
  // 获取商品关键信息
348
343
  getProduct(product) {
349
- var _a, _b, _c, _d, _e;
350
344
  const detail = {
351
345
  booking_id: product.booking_id,
352
346
  id: product.id,
353
347
  _id: product._id,
354
- price: product._extend.price,
348
+ price: product.price,
355
349
  total: product._extend.total,
356
350
  discount_list: product.discount_list,
357
351
  origin_total: product._extend.origin_total,
358
352
  num: product._extend.quantity,
359
353
  quantity: product._extend.quantity || 1,
360
- vouchersApplicable: product.vouchersApplicable,
361
- startDate: (_a = product._extend) == null ? void 0 : _a.startDate,
362
- bundle: ((_c = (_b = product._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.bundle) || [],
363
- options: ((_e = (_d = product._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.option) || []
354
+ vouchersApplicable: product.vouchersApplicable
364
355
  };
365
356
  return detail;
366
357
  },
@@ -371,12 +362,7 @@ var rulesHooks = {
371
362
  discount_list: values.discount_list,
372
363
  _extend: {
373
364
  ...product._extend,
374
- other: {
375
- ...product._extend.other,
376
- ..."bundle" in values ? { bundle: values.bundle } : {}
377
- },
378
365
  ..."total" in values ? { total: values.total } : {},
379
- ..."main_product_selling_price" in values ? { main_product_selling_price: values.main_product_selling_price } : {},
380
366
  ..."quantity" in values ? { quantity: values.quantity } : {}
381
367
  }
382
368
  };
@@ -45,7 +45,6 @@ var import_locales = __toESM(require("./locales"));
45
45
  var import_serve = require("./serve");
46
46
  var import_utils2 = require("./../../../utils");
47
47
  var import_components = require("../components");
48
- var import_utils3 = require("../utils");
49
48
  var import_index = require("./index.less");
50
49
  var { Text } = import_materials2.Typography;
51
50
  import_dayjs.default.extend(import_timezone.default);
@@ -66,10 +65,8 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
66
65
  encoded = "",
67
66
  balance,
68
67
  expire_date = "",
69
- product = {},
70
- custom_schedule_snapshot
68
+ product = {}
71
69
  } = detail;
72
- console.log(detail, "detail22");
73
70
  const {
74
71
  description = "",
75
72
  extension_data = [],
@@ -215,33 +212,8 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
215
212
  onGoogleClick();
216
213
  }
217
214
  };
218
- const scheduleList = (0, import_react.useMemo)(() => {
219
- return (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [];
220
- }, [custom_schedule_snapshot]);
221
215
  (0, import_react.useEffect)(() => {
222
216
  var _a2;
223
- const detail2 = (0, import_utils3.formatScheduleText)(scheduleList, "zh-CN");
224
- let expireText = expire_date ? expire_date : import_utils.locales.getText("page.wallet.expireDate");
225
- if (scheduleList.length > 0) {
226
- let validityTexts = "";
227
- let excludedText = "";
228
- let includedText = "";
229
- detail2.forEach((item) => {
230
- if (item.validityTexts.length > 0) {
231
- validityTexts = `${validityTexts}${item.validityTexts.join("\n")}
232
- `;
233
- }
234
- if (item.excluded_date.length > 0) {
235
- excludedText = `${excludedText}${item.excluded_date.join("\n")}
236
- `;
237
- }
238
- if (item.included_date.length > 0) {
239
- includedText = `${includedText}${item.included_date.join("\n")}
240
- `;
241
- }
242
- });
243
- 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);
244
- }
245
217
  let data = [
246
218
  {
247
219
  label: import_utils.locales.getText("page.wallet.cardName"),
@@ -254,11 +226,11 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
254
226
  },
255
227
  {
256
228
  label: import_utils.locales.getText("page.wallet.validDate"),
257
- value: expireText
229
+ value: expire_date ? expire_date : import_utils.locales.getText("page.wallet.expireDate")
258
230
  }
259
231
  ];
260
232
  if (tag === "product_discount_card") {
261
- const isFixedAmount = ((_a2 = detail2.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
233
+ const isFixedAmount = ((_a2 = detail.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
262
234
  data.splice(2, 0, {
263
235
  label: import_utils.locales.getText("page.wallet.discount"),
264
236
  value: balance ? isFixedAmount ? `${symbol}${Number(balance)}` : `${Number(balance)}%` : ""
@@ -373,14 +373,3 @@
373
373
  font-weight: 500;
374
374
  line-height: 24px;
375
375
  }
376
-
377
- .wallet-detail-expire-text {
378
- white-space: pre-wrap;
379
- }
380
-
381
- .wallet-detail-expire-text-title {
382
- font-size: 14px;
383
- font-weight: 500;
384
- line-height: 20px;
385
- color: #667085;
386
- }
@@ -21,8 +21,6 @@ declare const _default: {
21
21
  'page.wallet.addGoogle': string;
22
22
  'page.wallet.viewDetails': string;
23
23
  'page.wallet.expireDate': string;
24
- 'page.wallet.notValidDate': string;
25
- 'page.wallet.includedDate': string;
26
24
  'page.wallet.urlEmpty': string;
27
25
  'page.wallet.notIOS': string;
28
26
  'page.wallet.addSuccess': string;
@@ -71,8 +69,6 @@ declare const _default: {
71
69
  'page.wallet.addGoogle': string;
72
70
  'page.wallet.viewDetails': string;
73
71
  'page.wallet.expireDate': string;
74
- 'page.wallet.notValidDate': string;
75
- 'page.wallet.includedDate': string;
76
72
  'page.wallet.urlEmpty': string;
77
73
  'page.wallet.notIOS': string;
78
74
  'page.wallet.addSuccess': string;
@@ -121,8 +117,6 @@ declare const _default: {
121
117
  'page.wallet.addGoogle': string;
122
118
  'page.wallet.viewDetails': string;
123
119
  'page.wallet.expireDate': string;
124
- 'page.wallet.notValidDate': string;
125
- 'page.wallet.includedDate': string;
126
120
  'page.wallet.urlEmpty': string;
127
121
  'page.wallet.notIOS': string;
128
122
  'page.wallet.addSuccess': string;
@@ -48,10 +48,6 @@ var locales_default = {
48
48
  "page.wallet.addGoogle": "Add to Google Wallet",
49
49
  "page.wallet.viewDetails": "See details",
50
50
  "page.wallet.expireDate": "Long term",
51
- "page.wallet.notValidDate": "Not valid on",
52
- // 不可用日期
53
- "page.wallet.includedDate": "Included dates",
54
- // 包含日期
55
51
  "page.wallet.urlEmpty": "Wallet link is empty",
56
52
  "page.wallet.notIOS": "Apple Wallet is not supported on non-iOS devices",
57
53
  "page.wallet.addSuccess": "Successfully added to wallet",
@@ -104,10 +100,6 @@ var locales_default = {
104
100
  "page.wallet.addGoogle": "添加到谷歌钱包",
105
101
  "page.wallet.viewDetails": "查看详情",
106
102
  "page.wallet.expireDate": "长期",
107
- "page.wallet.notValidDate": "不可用日期",
108
- // 不可用日期
109
- "page.wallet.includedDate": "包含日期",
110
- // 包含日期
111
103
  "page.wallet.urlEmpty": "钱包链接为空",
112
104
  "page.wallet.notIOS": "非iOS设备不支持Apple Wallet",
113
105
  "page.wallet.addSuccess": "已成功添加到钱包",
@@ -119,7 +111,7 @@ var locales_default = {
119
111
  // Usage Rules
120
112
  "page.wallet.usageRules": "使用规则",
121
113
  "page.wallet.usageRulesSubtitle": "请仔细阅读以下使用条件",
122
- "page.wallet.timeUsageLimits": "使用频次限制",
114
+ "page.wallet.timeUsageLimits": "时间使用限制",
123
115
  "page.wallet.totalQuantityControl": "总量控制",
124
116
  "page.wallet.dailyLimit": "每日限制:",
125
117
  "page.wallet.weeklyLimit": "每周限制:",
@@ -160,10 +152,6 @@ var locales_default = {
160
152
  "page.wallet.addGoogle": "添加到谷歌錢包",
161
153
  "page.wallet.viewDetails": "查看詳情",
162
154
  "page.wallet.expireDate": "長期",
163
- "page.wallet.notValidDate": "不可用日期",
164
- // 不可用日期
165
- "page.wallet.includedDate": "包含日期",
166
- // 包含日期
167
155
  "page.wallet.urlEmpty": "錢包連結為空",
168
156
  "page.wallet.notIOS": "非iOS設備不支持Apple Wallet",
169
157
  "page.wallet.addSuccess": "已成功添加到錢包",
@@ -175,7 +163,7 @@ var locales_default = {
175
163
  // Usage Rules
176
164
  "page.wallet.usageRules": "使用規則",
177
165
  "page.wallet.usageRulesSubtitle": "請仔細閱讀以下使用條件",
178
- "page.wallet.timeUsageLimits": "使用頻次限制",
166
+ "page.wallet.timeUsageLimits": "時間使用限制",
179
167
  "page.wallet.totalQuantityControl": "總量控制",
180
168
  "page.wallet.dailyLimit": "每日限制:",
181
169
  "page.wallet.weeklyLimit": "每週限制:",
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ addWalletCard: any;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ walletDetailState: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,14 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ setup?: 'menu' | 'list' | 'detail' | string;
5
+ }
6
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
+ state: RechargeState;
8
+ } & {
9
+ dispatch: (params: {
10
+ type: string;
11
+ payload: any;
12
+ }) => void;
13
+ }>;
14
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,29 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -65,14 +65,6 @@ var Voucher = (0, import_model.Provider)((props) => {
65
65
  recordViewRef.current.closeDetailModal();
66
66
  }
67
67
  }, [globalState.setup]);
68
- const handleBack = (0, import_react.useCallback)(() => {
69
- if (recordViewRef.current) {
70
- recordViewRef.current.closeDetailModal();
71
- }
72
- setGlobalState({
73
- setup: "list"
74
- });
75
- }, [recordViewRef, setGlobalState]);
76
68
  const renderItem = (item) => /* @__PURE__ */ import_react.default.createElement(
77
69
  import_WalletCard.default,
78
70
  {
@@ -90,6 +82,14 @@ var Voucher = (0, import_model.Provider)((props) => {
90
82
  if (isEmpty) {
91
83
  return /* @__PURE__ */ import_react.default.createElement(import_materials.PisellEmpty, null);
92
84
  }
85
+ const handleBack = (0, import_react.useCallback)(() => {
86
+ if (recordViewRef.current) {
87
+ recordViewRef.current.closeDetailModal();
88
+ }
89
+ setGlobalState({
90
+ setup: "list"
91
+ });
92
+ }, [recordViewRef, setGlobalState]);
93
93
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, platform !== "pc" && /* @__PURE__ */ import_react.default.createElement(Title, { className: "wallet-voucher-title" }, import_utils.locales.getText("page.wallet.voucher")), /* @__PURE__ */ import_react.default.createElement(
94
94
  import_materials.CardMetricItem,
95
95
  {
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -55,8 +55,6 @@ var WalletCard = ({
55
55
  product_cover = "",
56
56
  par_value = "",
57
57
  unified_messages = {},
58
- custom_schedule_snapshot,
59
- metadata,
60
58
  ...rest
61
59
  } = item;
62
60
  const platform = (0, import_react.useMemo)(() => (0, import_utils.isMobile)() ? "h5" : "pc", []);
@@ -68,8 +66,6 @@ var WalletCard = ({
68
66
  import_materials.PisellWalletPassCard,
69
67
  {
70
68
  ...rest,
71
- scheduleList: (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [],
72
- validDateBySchedule: (metadata == null ? void 0 : metadata.validity_type) === "custom_schedule_validity",
73
69
  balanceTitle,
74
70
  showDetail: false,
75
71
  showRedeem: false,
@@ -88,7 +88,7 @@ var Wallet = (0, import_model.Provider)(() => {
88
88
  import_utils2.request.setRequest(utils == null ? void 0 : utils.request);
89
89
  (0, import_react.useEffect)(() => {
90
90
  document.body.id = "body";
91
- getList({ num: 999, skip: 1, with: ["customScheduleSnapshot"] });
91
+ getList({ num: 999, skip: 1 });
92
92
  }, []);
93
93
  const transformData = (data) => {
94
94
  const result = {};
@@ -353,7 +353,7 @@ var Wallet = (0, import_model.Provider)(() => {
353
353
  content: successMessage,
354
354
  duration: 2
355
355
  });
356
- getList({ num: 999, skip: 1, with: ["customScheduleSnapshot"] }, code);
356
+ getList({ num: 999, skip: 1 }, code);
357
357
  }
358
358
  dispatch({
359
359
  type: "setState",
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from './serve';
2
3
  export interface WalletCardItemProps {
3
4
  id: string;
@@ -26,4 +27,11 @@ export interface WalletListProps {
26
27
  currentSearchListItemCode?: string;
27
28
  [key: string]: any;
28
29
  }
29
- export declare const Provider: any, Context: any;
30
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
+ global_wallet: WalletListProps;
32
+ } & {
33
+ dispatch: (params: {
34
+ type: string;
35
+ payload: any;
36
+ }) => void;
37
+ }>;
@@ -15,7 +15,6 @@ export interface IWalletListParmsProps {
15
15
  used_status?: string;
16
16
  num?: number;
17
17
  skip?: number;
18
- with?: string[];
19
18
  }
20
19
  /**
21
20
  * 钱包列表项属性接口
@@ -49,12 +48,6 @@ export interface IWalletListItemProps {
49
48
  machinecode_config?: {
50
49
  hide_recharge?: number;
51
50
  };
52
- metadata: {
53
- validity_type: string;
54
- };
55
- custom_schedule_snapshot: {
56
- data: any[];
57
- };
58
51
  }
59
52
  /**
60
53
  * 商店信息接口
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface LogData {
3
2
  key: string;
4
3
  value: any;