@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
@@ -205,10 +205,6 @@ var GlobalToastManager = class {
205
205
  instance.offsetIndex = index;
206
206
  const bottomPosition = this.calculateBottomPosition(index, totalCount);
207
207
  if (instance.container) {
208
- const hasMask = instance.container.getAttribute("data-mask") === "true";
209
- if (hasMask) {
210
- return;
211
- }
212
208
  instance.container.classList.add("toast-moving");
213
209
  instance.container.style.position = "fixed";
214
210
  instance.container.style.left = `${this.LEFT_OFFSET}px`;
@@ -244,36 +240,22 @@ var GlobalToastManager = class {
244
240
  autoClose: config.autoClose,
245
241
  autoCloseDelay: config.autoCloseDelay || 30,
246
242
  showCountdownProgress: config.showCountdownProgress,
247
- clickOutsideToClose: config.clickOutsideToClose,
248
243
  onCountdownComplete: config.onCountdownComplete,
249
244
  onClose: () => {
250
245
  var _a;
251
246
  (_a = config.onClose) == null ? void 0 : _a.call(config);
252
247
  this.removeToast(id);
253
248
  },
254
- closable: config.closable !== void 0 ? config.closable : DEFAULT_TOAST_CONFIG.closable,
255
- mask: config.mask || false
249
+ closable: config.closable !== void 0 ? config.closable : DEFAULT_TOAST_CONFIG.closable
256
250
  };
257
251
  const container = document.createElement("div");
258
252
  container.setAttribute("data-toast-id", id);
259
- if (config.mask) {
260
- container.setAttribute("data-mask", "true");
261
- }
262
253
  const dynamicBottomOffset = this.calculateAndCacheBottomOffset();
263
254
  container.style.position = "fixed";
264
- if (config.mask) {
265
- container.style.left = "50%";
266
- container.style.top = "50%";
267
- container.style.transform = "translate(-50%, -50%)";
268
- container.style.bottom = "auto";
269
- container.style.right = "auto";
270
- } else {
271
- container.style.left = `${this.LEFT_OFFSET}px`;
272
- container.style.bottom = `${dynamicBottomOffset}px`;
273
- container.style.top = "auto";
274
- container.style.right = "auto";
275
- container.style.transform = "none";
276
- }
255
+ container.style.left = `${this.LEFT_OFFSET}px`;
256
+ container.style.bottom = `${dynamicBottomOffset}px`;
257
+ container.style.top = "auto";
258
+ container.style.right = "auto";
277
259
  container.style.pointerEvents = "none";
278
260
  container.style.width = "auto";
279
261
  container.style.height = "auto";
@@ -225,8 +225,8 @@ var PaymentResultToast = (0, import_react.memo)((props) => {
225
225
  mask,
226
226
  maskClosable,
227
227
  closable: false,
228
- className: getBaseClassName(`${className} ${statusClassName} ${mask ? "payment-result-toast-with-mask" : ""}`),
229
- wrapClassName: `toast-modal-wrap ${mask ? "toast-modal-wrap-with-mask" : ""}`,
228
+ className: getBaseClassName(`${className} ${statusClassName}`),
229
+ wrapClassName: "toast-modal-wrap",
230
230
  style: {
231
231
  ...height ? { height: `${height}px` } : {},
232
232
  // 确保Modal不会被默认定位影响
@@ -246,8 +246,8 @@ var PaymentResultToast = (0, import_react.memo)((props) => {
246
246
  focusTriggerAfterClose: false,
247
247
  transitionName: "",
248
248
  maskTransitionName: "",
249
- centered: mask,
250
- getContainer: mask ? void 0 : false
249
+ centered: false,
250
+ getContainer: false
251
251
  },
252
252
  /* @__PURE__ */ import_react.default.createElement(
253
253
  "div",
@@ -17,7 +17,6 @@
17
17
  margin: 0 !important;
18
18
  pointer-events: none !important; // 让Toast Modal Wrap点击穿透
19
19
 
20
- // 非 mask 模式下的样式
21
20
  .ant-modal {
22
21
  position: static !important;
23
22
  top: auto !important;
@@ -33,47 +32,11 @@
33
32
  }
34
33
  }
35
34
 
36
- // mask 模式下的全局样式(Modal 渲染到 body)
37
- .toast-modal-wrap-with-mask {
38
- position: fixed !important;
39
- top: 0 !important;
40
- left: 0 !important;
41
- right: 0 !important;
42
- bottom: 0 !important;
43
- width: 100vw !important;
44
- height: 100vh !important;
45
- display: flex !important;
46
- align-items: center !important;
47
- justify-content: center !important;
48
- pointer-events: auto !important; // mask 模式下需要响应点击
49
-
50
- .ant-modal-mask {
51
- position: fixed !important;
52
- top: 0 !important;
53
- left: 0 !important;
54
- right: 0 !important;
55
- bottom: 0 !important;
56
- width: 100vw !important;
57
- height: 100vh !important;
58
- }
59
-
60
- .ant-modal {
61
- position: relative !important;
62
- top: auto !important;
63
- left: auto !important;
64
- transform: none !important;
65
- margin: 0 !important;
66
- padding: 0 !important;
67
- width: auto !important;
68
- max-width: none !important;
69
- pointer-events: auto !important; // Modal 内容可以响应点击
70
- }
71
- }
72
-
73
35
  // Toast容器样式 - 用于多实例定位
74
36
  [data-toast-id] {
75
37
  z-index: 1000;
76
38
  position: fixed !important;
39
+ left: 96px !important;
77
40
  /* 注意:不设置bottom的!important,让JavaScript可以动态更新 */
78
41
  /* 移除强制的z-index设置,让Toast使用默认层级 */
79
42
  pointer-events: none !important; // 让Toast容器本身点击穿透
@@ -82,23 +45,6 @@
82
45
  width: auto !important;
83
46
  height: auto !important;
84
47
 
85
- // 非 mask 模式下使用左下角定位
86
- &:not([data-mask="true"]) {
87
- left: 96px !important;
88
- }
89
-
90
- // mask 模式下,Modal 会渲染到 body,容器只作为占位符
91
- // 不需要设置定位,因为 Modal 已经独立渲染
92
- &[data-mask="true"] {
93
- // 容器在 mask 模式下不需要定位,Modal 会独立渲染到 body
94
- position: static !important;
95
- left: auto !important;
96
- top: auto !important;
97
- bottom: auto !important;
98
- right: auto !important;
99
- transform: none !important;
100
- }
101
-
102
48
  /* 新Toast进入动画 */
103
49
  &.toast-entering {
104
50
  opacity: 0;
@@ -135,49 +81,42 @@
135
81
  }
136
82
 
137
83
  // 强制覆盖Ant Design Modal的默认定位
138
- // 非 mask 模式下使用 static 定位
139
- &:not([data-mask="true"]) {
140
- .ant-modal-wrap {
141
- position: static !important;
142
- pointer-events: none !important; // 让Modal wrap点击穿透
143
- }
84
+ .ant-modal-wrap {
85
+ position: static !important;
86
+ pointer-events: none !important; // 让Modal wrap点击穿透
87
+ }
144
88
 
145
- .ant-modal {
146
- position: static !important;
147
- top: auto !important;
148
- left: auto !important;
149
- transform: none !important;
150
- margin: 0 !important;
151
- padding: 0 !important;
152
- pointer-events: none !important; // 让Modal本身点击穿透
153
- }
89
+ .ant-modal {
90
+ position: static !important;
91
+ top: auto !important;
92
+ left: auto !important;
93
+ transform: none !important;
94
+ margin: 0 !important;
95
+ padding: 0 !important;
96
+ pointer-events: none !important; // 让Modal本身点击穿透
154
97
  }
155
98
 
156
- // mask 模式下,Modal 会渲染到 body,容器内的样式不再需要
157
- // 样式已通过全局 .toast-modal-wrap-with-mask 类名设置
158
99
 
159
- // 覆盖所有可能的Ant Design Modal定位(非 mask 模式)
160
- &:not([data-mask="true"]) {
161
- .ant-modal-wrap {
162
- position: static !important;
163
- display: block !important;
164
- overflow: visible !important;
165
- pointer-events: none !important; // 让Modal wrap点击穿透
166
- }
100
+ // 覆盖所有可能的Ant Design Modal定位
101
+ .ant-modal-wrap {
102
+ position: static !important;
103
+ display: block !important;
104
+ overflow: visible !important;
105
+ pointer-events: none !important; // 让Modal wrap点击穿透
106
+ }
167
107
 
168
- .ant-modal {
169
- position: static !important;
170
- top: auto !important;
171
- left: auto !important;
172
- right: auto !important;
173
- bottom: auto !important;
174
- transform: none !important;
175
- margin: 0 !important;
176
- padding: 0 !important;
177
- width: 100% !important;
178
- max-width: none !important;
179
- pointer-events: none !important; // 让Modal点击穿透
180
- }
108
+ .ant-modal {
109
+ position: static !important;
110
+ top: auto !important;
111
+ left: auto !important;
112
+ right: auto !important;
113
+ bottom: auto !important;
114
+ transform: none !important;
115
+ margin: 0 !important;
116
+ padding: 0 !important;
117
+ width: 100% !important;
118
+ max-width: none !important;
119
+ pointer-events: none !important; // 让Modal点击穿透
181
120
  }
182
121
 
183
122
  // Toast进入动画
@@ -462,7 +401,7 @@
462
401
  // 副标题样式
463
402
  &-subtitle {
464
403
  &-text {
465
- font-size: 48px; // 与图片一致
404
+ font-size: 30px; // 与图片一致
466
405
  font-weight: 600; // 与图片一致
467
406
  text-shadow: none; // 移除阴影
468
407
 
@@ -48,7 +48,7 @@ var SearchAndClientModule = (props) => {
48
48
  const bookingTicket = (0, import_pisellos.useBookingTicket)();
49
49
  const handleSearch = (0, import_ahooks.useDebounceFn)(
50
50
  async (keyword) => {
51
- var _a, _b, _c, _d, _e;
51
+ var _a, _b, _c, _d;
52
52
  if (!!keyword) {
53
53
  setLoading(true);
54
54
  try {
@@ -61,18 +61,9 @@ var SearchAndClientModule = (props) => {
61
61
  return;
62
62
  }
63
63
  if ("type" in res && res.type == "walletCode") {
64
- if (disabledSwitch) {
65
- (_b = Toast == null ? void 0 : Toast.info) == null ? void 0 : _b.call(
66
- Toast,
67
- import_utils.locales.getText(
68
- "pisell2.checkout.client-card.tip.partially-paid"
69
- )
70
- );
71
- return;
72
- }
73
64
  const { customer, ...rest } = res.data;
74
65
  if (!customer) {
75
- (_c = Toast == null ? void 0 : Toast.info) == null ? void 0 : _c.call(
66
+ (_b = Toast == null ? void 0 : Toast.info) == null ? void 0 : _b.call(
76
67
  Toast,
77
68
  import_utils.locales.getText("pisell2.checkout.wallet-pass-module.no-result")
78
69
  );
@@ -82,7 +73,7 @@ var SearchAndClientModule = (props) => {
82
73
  ...customer,
83
74
  latest_wallet_detail: rest
84
75
  };
85
- (_e = (_d = clientCardRef.current) == null ? void 0 : _d.handleSetClient) == null ? void 0 : _e.call(_d, _customer, {
76
+ (_d = (_c = clientCardRef.current) == null ? void 0 : _c.handleSetClient) == null ? void 0 : _d.call(_c, _customer, {
86
77
  sameClientTip: import_utils.locales.getText(
87
78
  "pisell2.checkout.client-card.tip.same-client"
88
79
  )
@@ -139,23 +130,6 @@ var SearchAndClientModule = (props) => {
139
130
  size: "default"
140
131
  }
141
132
  };
142
- if (disabledSwitch === true) {
143
- _props = {
144
- open: false,
145
- buttonProps: {
146
- icon,
147
- size: "default",
148
- onClick: () => {
149
- var _a;
150
- (_a = Toast == null ? void 0 : Toast.info) == null ? void 0 : _a.call(
151
- Toast,
152
- import_utils.locales.getText("pisell2.checkout.client-card.tip.partially-paid")
153
- );
154
- },
155
- style: { cursor: "not-allowed" }
156
- }
157
- };
158
- }
159
133
  return _props;
160
134
  }, [Toast, disabledSwitch]);
161
135
  return /* @__PURE__ */ import_react.default.createElement(
@@ -253,7 +253,7 @@ var useWalletPass = (props) => {
253
253
  setWalletSelect(newValues);
254
254
  setTimeout(() => {
255
255
  handleFetchUserIdentificationCodes(newValues.map((item) => item.id));
256
- });
256
+ }, 200);
257
257
  });
258
258
  const onOrderCreated = (0, import_ahooks.useMemoizedFn)(() => {
259
259
  const orderInfo2 = checkoutModule.getOrderOriginalData();
@@ -71,7 +71,7 @@
71
71
  grid-template-rows: auto auto;
72
72
  gap: 8px 16px;
73
73
  background-color: #f6f2ff;
74
- padding: 16px 16px 8px 16px;
74
+ padding: 16px 16px 0 16px;
75
75
  border-radius: 0 0 12px 12px;
76
76
  width: 100%; // 确保容器占满宽度
77
77
 
@@ -141,7 +141,6 @@ declare const _default: {
141
141
  'pisell2.checkout.modal.close-price-adjustment': string;
142
142
  'pisell2.checkout.modal.reset-price-adjustment': string;
143
143
  'pisell2.checkout.modal.done-price-adjustment': string;
144
- 'pisell2.checkout.modal.price-adjustment-tips': string;
145
144
  'pisell2.checkout.send-payment-link.modal-title': string;
146
145
  'pisell2.checkout.send-payment-link.email-address': string;
147
146
  'pisell2.checkout.send-payment-link.email-placeholder': string;
@@ -155,7 +154,6 @@ declare const _default: {
155
154
  'wallet-pass-module-customer-name-walk-in': string;
156
155
  'pisell2.amount-summary.amount-cannot-be-zero': string;
157
156
  'pisell2.checkout.order-sync-failed': string;
158
- 'pisell2.checkout.order-create-failed': string;
159
157
  'pisell2.checkout.sync-retry-hint': string;
160
158
  'pisell2.checkout.tips': string;
161
159
  retry: string;
@@ -303,7 +301,6 @@ declare const _default: {
303
301
  'pisell2.checkout.modal.close-price-adjustment': string;
304
302
  'pisell2.checkout.modal.reset-price-adjustment': string;
305
303
  'pisell2.checkout.modal.done-price-adjustment': string;
306
- 'pisell2.checkout.modal.price-adjustment-tips': string;
307
304
  'pisell2.checkout.send-payment-link.modal-title': string;
308
305
  'pisell2.checkout.send-payment-link.email-address': string;
309
306
  'pisell2.checkout.send-payment-link.email-placeholder': string;
@@ -325,7 +322,6 @@ declare const _default: {
325
322
  'wallet-pass-module-customer-name-walk-in': string;
326
323
  'pisell2.amount-summary.amount-cannot-be-zero': string;
327
324
  'pisell2.checkout.order-sync-failed': string;
328
- 'pisell2.checkout.order-create-failed': string;
329
325
  'pisell2.checkout.sync-retry-hint': string;
330
326
  'pisell2.checkout.tips': string;
331
327
  retry: string;
@@ -481,7 +477,6 @@ declare const _default: {
481
477
  'pisell2.checkout.modal.close-price-adjustment': string;
482
478
  'pisell2.checkout.modal.reset-price-adjustment': string;
483
479
  'pisell2.checkout.modal.done-price-adjustment': string;
484
- 'pisell2.checkout.modal.price-adjustment-tips': string;
485
480
  'pisell2.checkout.send-payment-link.modal-title': string;
486
481
  'pisell2.checkout.send-payment-link.email-address': string;
487
482
  'pisell2.checkout.send-payment-link.email-placeholder': string;
@@ -495,7 +490,6 @@ declare const _default: {
495
490
  'wallet-pass-module-customer-name-walk-in': string;
496
491
  'pisell2.amount-summary.amount-cannot-be-zero': string;
497
492
  'pisell2.checkout.order-sync-failed': string;
498
- 'pisell2.checkout.order-create-failed': string;
499
493
  'pisell2.checkout.sync-retry-hint': string;
500
494
  'pisell2.checkout.tips': string;
501
495
  retry: string;
@@ -192,7 +192,6 @@ var locales_default = {
192
192
  "pisell2.checkout.modal.close-price-adjustment": "Close price adjustment modal",
193
193
  "pisell2.checkout.modal.reset-price-adjustment": "Reset",
194
194
  "pisell2.checkout.modal.done-price-adjustment": "Done",
195
- "pisell2.checkout.modal.price-adjustment-tips": "Changing amount will update order total",
196
195
  // Send Payment Link Modal
197
196
  "pisell2.checkout.send-payment-link.modal-title": "Send Payment Link",
198
197
  "pisell2.checkout.send-payment-link.email-address": "Email Address",
@@ -211,7 +210,6 @@ var locales_default = {
211
210
  "pisell2.amount-summary.amount-cannot-be-zero": "The amount cannot be 0",
212
211
  // Order sync errors
213
212
  "pisell2.checkout.order-sync-failed": "Order sync failed, please check your network",
214
- "pisell2.checkout.order-create-failed": "Order create failed, please refresh app",
215
213
  "pisell2.checkout.sync-retry-hint": "Network error, please click the retry button to resync the order",
216
214
  "pisell2.checkout.tips": "Tips",
217
215
  "retry": "Retry",
@@ -383,7 +381,6 @@ var locales_default = {
383
381
  "pisell2.checkout.modal.close-price-adjustment": "关闭价格调整弹窗",
384
382
  "pisell2.checkout.modal.reset-price-adjustment": "重置",
385
383
  "pisell2.checkout.modal.done-price-adjustment": "完成",
386
- "pisell2.checkout.modal.price-adjustment-tips": "修改金额将更新订单总额",
387
384
  // Send Payment Link Modal
388
385
  "pisell2.checkout.send-payment-link.modal-title": "发送支付链接",
389
386
  "pisell2.checkout.send-payment-link.email-address": "邮箱地址",
@@ -418,7 +415,6 @@ var locales_default = {
418
415
  "pisell2.amount-summary.amount-cannot-be-zero": "金额不能为0",
419
416
  // Order sync errors
420
417
  "pisell2.checkout.order-sync-failed": "订单同步失败,请检查网络",
421
- "pisell2.checkout.order-create-failed": "订单创建失败,请重启APP",
422
418
  "pisell2.checkout.sync-retry-hint": "网络异常,请点击重试按钮重新同步订单",
423
419
  "pisell2.checkout.tips": "提示",
424
420
  "retry": "重试",
@@ -606,7 +602,6 @@ var locales_default = {
606
602
  "pisell2.checkout.modal.close-price-adjustment": "關閉價格調整彈窗",
607
603
  "pisell2.checkout.modal.reset-price-adjustment": "重置",
608
604
  "pisell2.checkout.modal.done-price-adjustment": "完成",
609
- "pisell2.checkout.modal.price-adjustment-tips": "修改金額將更新訂單總額",
610
605
  // Send Payment Link Modal
611
606
  "pisell2.checkout.send-payment-link.modal-title": "發送支付鏈接",
612
607
  "pisell2.checkout.send-payment-link.email-address": "郵箱地址",
@@ -625,7 +620,6 @@ var locales_default = {
625
620
  "pisell2.amount-summary.amount-cannot-be-zero": "金額不能為0",
626
621
  // Order sync errors
627
622
  "pisell2.checkout.order-sync-failed": "訂單同步失敗,請檢查網絡",
628
- "pisell2.checkout.order-create-failed": "订单创建失败,请重启APP",
629
623
  "pisell2.checkout.sync-retry-hint": "網絡異常,請點擊重試按鈕重新同步訂單",
630
624
  "pisell2.checkout.tips": "提示",
631
625
  "retry": "重試",
@@ -6,6 +6,7 @@ export interface PaymentResultToastConfig {
6
6
  getData: (key: string) => any;
7
7
  interaction: any;
8
8
  Toast: any;
9
+ state: any;
9
10
  onToastClose?: () => void;
10
11
  }
11
12
  export interface PaymentResultToastParams {
@@ -150,7 +150,6 @@ var displayPaymentResultToast = async (params, config) => {
150
150
  const { getData, onToastClose } = config;
151
151
  if (paymentStatus === "paid") {
152
152
  await (0, import_PaymentResultToast.showPaymentResultToastSuccess)({
153
- mask: !(autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
154
153
  title: calculateTitle(paymentStatus),
155
154
  subtitle: calculateSubtitle(
156
155
  paymentStatus,
@@ -160,18 +159,16 @@ var displayPaymentResultToast = async (params, config) => {
160
159
  ),
161
160
  autoClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
162
161
  autoCloseDelay: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoCloseDelay) || 3e3,
163
- clickOutsideToClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
164
162
  showCountdownProgress: true,
165
163
  actionButtons: actionButtons || [],
166
164
  onClose: onToastClose || (() => {
167
165
  }),
168
166
  // 提供默认空函数
169
- closable: !(autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose)
167
+ closable: false
170
168
  // 控制关闭按钮显示
171
169
  });
172
170
  } else if (paymentStatus === "partially_paid") {
173
171
  await (0, import_PaymentResultToast.showPaymentResultToastSuccess)({
174
- mask: !(autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
175
172
  title: calculateTitle(paymentStatus),
176
173
  subtitle: calculateSubtitle(
177
174
  paymentStatus,
@@ -181,16 +178,12 @@ var displayPaymentResultToast = async (params, config) => {
181
178
  ),
182
179
  autoClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
183
180
  actionButtons: actionButtons || [],
184
- clickOutsideToClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
185
- closable: !(autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose),
186
- // 控制关闭按钮显示
187
181
  onClose: onToastClose || (() => {
188
182
  })
189
183
  // 提供默认空函数
190
184
  });
191
185
  } else if (paymentStatus === "failed" || paymentStatus === "error") {
192
186
  await (0, import_PaymentResultToast.showPaymentResultToastFailed)({
193
- mask: !(autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
194
187
  title: calculateTitle(paymentStatus, failureReason),
195
188
  subtitle: calculateSubtitle(
196
189
  paymentStatus,
@@ -200,9 +193,6 @@ var displayPaymentResultToast = async (params, config) => {
200
193
  ),
201
194
  autoClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
202
195
  actionButtons: actionButtons || [],
203
- clickOutsideToClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
204
- closable: !(autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose),
205
- // 控制关闭按钮显示
206
196
  onClose: onToastClose || (() => {
207
197
  })
208
198
  // 提供默认空函数
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -41,7 +41,6 @@ var import_const = require("../../const");
41
41
  var import_const2 = require("../const");
42
42
  var GlobalTimeout = 1e3 * 60 * 2;
43
43
  var RequestTimeout = 1e3 * 5;
44
- var QUERY_INTERVAL = 1e3 * 2;
45
44
  var useTimeResultQuery = (api, resultCheck, handleLinklySuccess) => {
46
45
  const dispatch = (0, import_store.useDispatch)();
47
46
  const { numRef, modeRef, deviceRef, orderIdRef } = (0, import_hooks.useStoreRef)();
@@ -57,7 +56,6 @@ var useTimeResultQuery = (api, resultCheck, handleLinklySuccess) => {
57
56
  const startTimeRef = (0, import_react.useRef)(null);
58
57
  const isQueryFinishedRef = (0, import_react.useRef)(true);
59
58
  const queryIdRef = (0, import_react.useRef)(null);
60
- const queryIntervalTimerRef = (0, import_react.useRef)(null);
61
59
  const _resultQuery = async () => {
62
60
  var _a, _b;
63
61
  if (controllerRef.current) {
@@ -109,9 +107,9 @@ var useTimeResultQuery = (api, resultCheck, handleLinklySuccess) => {
109
107
  console.log("交易状态为0需要继续查询");
110
108
  _log("Querying" /* Querying */, result);
111
109
  isQueryFinishedRef.current = false;
112
- queryIntervalTimerRef.current = setTimeout(() => {
110
+ setTimeout(() => {
113
111
  _resultQuery();
114
- }, QUERY_INTERVAL);
112
+ }, 1500);
115
113
  return;
116
114
  }
117
115
  if (data.status < 0) {
@@ -147,18 +145,18 @@ var useTimeResultQuery = (api, resultCheck, handleLinklySuccess) => {
147
145
  _log("AbortError" /* AbortError */);
148
146
  console.log("Error: 请求被取消,将继续查询");
149
147
  isQueryFinishedRef.current = false;
150
- queryIntervalTimerRef.current = setTimeout(() => {
148
+ setTimeout(() => {
151
149
  _resultQuery();
152
- }, QUERY_INTERVAL);
150
+ }, 1500);
153
151
  return;
154
152
  }
155
153
  if (!(error == null ? void 0 : error.code) || `${error.code}` === import_const.PayStatus.Timeout) {
156
154
  _log("NetworkError" /* NetworkError */);
157
155
  console.log("Error: 网关类报错,将继续查询");
158
156
  isQueryFinishedRef.current = false;
159
- queryIntervalTimerRef.current = setTimeout(() => {
157
+ setTimeout(() => {
160
158
  _resultQuery();
161
- }, QUERY_INTERVAL);
159
+ }, 1500);
162
160
  return;
163
161
  }
164
162
  _log("Error" /* Error */, error);
@@ -205,10 +203,6 @@ var useTimeResultQuery = (api, resultCheck, handleLinklySuccess) => {
205
203
  clearTimeout(requestTimeoutIdRef.current);
206
204
  requestTimeoutIdRef.current = null;
207
205
  }
208
- if (queryIntervalTimerRef.current) {
209
- clearTimeout(queryIntervalTimerRef.current);
210
- queryIntervalTimerRef.current = null;
211
- }
212
206
  if (controllerRef.current) {
213
207
  controllerRef.current.abort();
214
208
  controllerRef.current = null;