@pisell/private-materials 6.7.4 → 6.7.5

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 (536) 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 +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Voucher/index.js +2 -1
  14. package/es/components/booking/addons/index.js +25 -17
  15. package/es/components/booking/addons/model.d.ts +1 -10
  16. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  17. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  18. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  19. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  20. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  21. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  22. package/es/components/booking/components/footer/amount.js +529 -79
  23. package/es/components/booking/components/footer/index.js +77 -56
  24. package/es/components/booking/components/footer/utils.d.ts +19 -0
  25. package/es/components/booking/components/footer/utils.js +151 -52
  26. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  27. package/es/components/booking/components/voucher/index.js +20 -6
  28. package/es/components/booking/forms/model.d.ts +1 -10
  29. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  30. package/es/components/booking/forms/single/index.d.ts +1 -0
  31. package/es/components/booking/forms/table/index.d.ts +1 -0
  32. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  33. package/es/components/booking/info/date/index.d.ts +1 -0
  34. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  35. package/es/components/booking/info/model.d.ts +1 -10
  36. package/es/components/booking/info/notes/index.d.ts +1 -0
  37. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  38. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  39. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  40. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  41. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  42. package/es/components/booking/info/service2/utils.js +1 -0
  43. package/es/components/booking/info2/cartClientCard/index.js +30 -6
  44. package/es/components/booking/info2/index.js +1 -1
  45. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  46. package/es/components/booking/info2/service/addService/index.js +2 -3
  47. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  48. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  49. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  50. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  51. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  52. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  53. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  54. package/es/components/booking/model.d.ts +1 -9
  55. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  56. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  57. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  58. package/es/components/booking/notes/model.d.ts +1 -10
  59. package/es/components/booking/payments/model.d.ts +1 -10
  60. package/es/components/booking/utils.js +16 -3
  61. package/es/components/checkout/PaymentModal.d.ts +7 -5
  62. package/es/components/checkout/PaymentModal.js +257 -213
  63. package/es/components/checkout/components/AdditionalModule/index.d.ts +3 -1
  64. package/es/components/checkout/components/AdditionalModule/index.js +52 -12
  65. package/es/components/checkout/components/AmountSummary/index.js +9 -76
  66. package/es/components/checkout/components/AmountSummary/index.less +5 -6
  67. package/es/components/checkout/components/CashPaymentModule/index.js +5 -2
  68. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
  69. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +6 -1
  70. package/es/components/checkout/components/PaymentOptionsModule/index.js +2 -1
  71. package/es/components/checkout/components/PaymentOptionsModule/index.less +4 -0
  72. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +31 -8
  73. package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
  74. package/es/components/checkout/components/PaymentResultToast/index.less +94 -33
  75. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  76. package/es/components/checkout/index.less +1 -1
  77. package/es/components/checkout/locales.js +6 -0
  78. package/es/components/checkout/utils/PaymentResultToastUtils.js +11 -1
  79. package/es/components/eftpos/index.d.ts +1 -0
  80. package/es/components/eftpos/pos.d.ts +1 -0
  81. package/es/components/eftposPay/amount.d.ts +1 -0
  82. package/es/components/eftposPay/app.d.ts +1 -0
  83. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  84. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  85. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  86. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  87. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  88. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  89. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +14 -6
  90. package/es/components/eftposPay/pay.d.ts +1 -0
  91. package/es/components/eftposPay/payo/config.js +70 -32
  92. package/es/components/eftposPay/payo/payment.js +579 -0
  93. package/es/components/eftposPay/store/index.d.ts +1 -1
  94. package/es/components/eftposPay/tip.d.ts +1 -0
  95. package/es/components/eftposPay/tyro/index.js +12 -0
  96. package/es/components/eftposPay/utils/log/index.js +371 -0
  97. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  98. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  99. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  100. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  103. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  105. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  106. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  107. package/es/components/index.js +2 -1
  108. package/es/components/login/index.d.ts +1 -0
  109. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  110. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  111. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
  112. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  113. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  114. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  115. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  116. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
  117. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +2 -0
  118. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
  119. package/es/components/pay/toC/index.js +7 -4
  120. package/es/components/pay/toC/locales.js +6 -3
  121. package/es/components/pay/toC/model.d.ts +1 -9
  122. package/es/components/pay/toC/status.js +3 -0
  123. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  124. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  125. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  126. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  127. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  128. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  129. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  130. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  131. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  132. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  133. package/es/components/schedules/calendar/index.d.ts +1 -0
  134. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  135. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  136. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  137. package/es/components/schedules/model.d.ts +1 -9
  138. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  139. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  140. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  141. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  142. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  143. package/es/components/schedules/products/index.d.ts +1 -0
  144. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  145. package/es/components/schedules/products/list/index.d.ts +1 -0
  146. package/es/components/schedules/resources/index.d.ts +1 -0
  147. package/es/components/schedules/resources/list/index.d.ts +1 -0
  148. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  149. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  150. package/es/components/schedules/schedules/index.d.ts +1 -0
  151. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  152. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  153. package/es/components/shoppingCart/index.d.ts +1 -0
  154. package/es/components/subTotal/index.js +1 -1
  155. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  156. package/es/components/{checkout/PaymentPlugin.js → systemSettings/registry/components/GroupModal.js} +132 -171
  157. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  158. package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
  159. package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
  160. package/es/components/systemSettings/registry/components/SectionList.js +174 -0
  161. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  162. package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
  163. package/es/components/systemSettings/registry/components/index.js +4 -0
  164. package/es/components/systemSettings/registry/index.d.ts +5 -0
  165. package/es/components/systemSettings/registry/index.js +1059 -0
  166. package/es/components/systemSettings/registry/index.less +410 -0
  167. package/es/components/systemSettings/registry/locales.js +300 -0
  168. package/es/components/systemSettings/registry/services.js +472 -0
  169. package/es/components/systemSettings/registry/types.js +1 -0
  170. package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
  171. package/es/components/systemSettings/registry/utils/validators.js +44 -0
  172. package/es/components/ticketBooking/components/addServiceVariant/addService.js +2 -86
  173. package/es/components/ticketBooking/components/menuBar/index.js +109 -12
  174. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  175. package/es/components/ticketBooking/components/timeBar/index.js +112 -7
  176. package/es/components/ticketBooking/components/timeBar/index.less +59 -0
  177. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +29 -18
  178. package/es/components/ticketBooking/locales.js +9 -3
  179. package/es/components/ticketBooking/utils/index.js +36 -13
  180. package/es/components/wallet/Detail/index.js +34 -2
  181. package/es/components/wallet/Detail/index.less +11 -0
  182. package/es/components/wallet/Detail/locales.js +14 -2
  183. package/es/components/wallet/Detail/model.d.ts +1 -13
  184. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  185. package/es/components/wallet/PointCard/model.d.ts +1 -13
  186. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  187. package/es/components/wallet/Voucher/index.js +11 -10
  188. package/es/components/wallet/Voucher/model.d.ts +1 -13
  189. package/es/components/wallet/components/WalletCard.js +5 -1
  190. package/es/components/wallet/index.js +4 -2
  191. package/es/components/wallet/model.d.ts +1 -9
  192. package/es/components/wallet/utils.js +342 -0
  193. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  194. package/es/hooks/usePaymentLogger.d.ts +1 -0
  195. package/es/index.d.ts +4 -0
  196. package/es/index.js +4 -0
  197. package/es/plus/clientCard/locales.js +3 -3
  198. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  199. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  200. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  201. package/es/plus/clinetSearch/index.js +28 -30
  202. package/es/plus/clinetSearch/locales.js +7 -4
  203. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  204. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  205. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  206. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  207. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  208. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  209. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  210. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  211. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  212. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  213. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  214. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  215. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  216. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  217. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  218. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  219. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  220. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  221. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  222. package/es/plus/walletPassGallery/components/footerButton/index.js +2 -4
  223. package/es/plus/walletPassGallery/components/footerButton/index.less +14 -59
  224. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  225. package/es/plus/walletPassGallery/components/passDetail/index.js +84 -31
  226. package/es/plus/walletPassGallery/components/passDetail/index.less +4 -0
  227. package/es/plus/walletPassGallery/components/recharge/index.js +19 -8
  228. package/es/plus/walletPassGallery/index.js +7 -3
  229. package/es/plus/walletPassGallery/serve.js +4 -2
  230. package/es/pro/Login2.0/index.less +15 -8
  231. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  232. package/es/pro/comprehensiveSearch/locales.js +1 -1
  233. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +45 -36
  234. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +4 -2
  235. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +10 -1
  236. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
  237. package/es/pro/priceKeyboard/components/shortcuts/index.js +5 -2
  238. package/es/pro/priceKeyboard/components/shortcuts/index.less +4 -0
  239. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  240. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  241. package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
  242. package/lib/components/booking/addons/index.js +15 -7
  243. package/lib/components/booking/addons/model.d.ts +1 -10
  244. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  245. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  246. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  247. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  248. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  249. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  250. package/lib/components/booking/components/footer/amount.js +276 -38
  251. package/lib/components/booking/components/footer/index.js +30 -11
  252. package/lib/components/booking/components/footer/utils.d.ts +19 -0
  253. package/lib/components/booking/components/footer/utils.js +97 -21
  254. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  255. package/lib/components/booking/components/voucher/index.js +21 -7
  256. package/lib/components/booking/forms/model.d.ts +1 -10
  257. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  258. package/lib/components/booking/forms/single/index.d.ts +1 -0
  259. package/lib/components/booking/forms/table/index.d.ts +1 -0
  260. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  261. package/lib/components/booking/info/date/index.d.ts +1 -0
  262. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  263. package/lib/components/booking/info/model.d.ts +1 -10
  264. package/lib/components/booking/info/notes/index.d.ts +1 -0
  265. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  266. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  267. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  268. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  269. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  270. package/lib/components/booking/info/service2/utils.js +1 -0
  271. package/lib/components/booking/info2/cartClientCard/index.js +25 -5
  272. package/lib/components/booking/info2/index.js +7 -2
  273. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  274. package/lib/components/booking/info2/service/addService/index.js +1 -2
  275. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  276. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  277. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  278. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  279. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  280. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  281. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  282. package/lib/components/booking/model.d.ts +1 -9
  283. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  284. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  285. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  286. package/lib/components/booking/notes/model.d.ts +1 -10
  287. package/lib/components/booking/payments/model.d.ts +1 -10
  288. package/lib/components/booking/utils.js +11 -0
  289. package/lib/components/checkout/PaymentModal.d.ts +7 -5
  290. package/lib/components/checkout/PaymentModal.js +171 -135
  291. package/lib/components/checkout/components/AdditionalModule/index.d.ts +3 -1
  292. package/lib/components/checkout/components/AdditionalModule/index.js +52 -11
  293. package/lib/components/checkout/components/AmountSummary/index.js +5 -46
  294. package/lib/components/checkout/components/AmountSummary/index.less +5 -6
  295. package/lib/components/checkout/components/CashPaymentModule/index.js +5 -2
  296. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
  297. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +5 -1
  298. package/lib/components/checkout/components/PaymentOptionsModule/index.js +6 -0
  299. package/lib/components/checkout/components/PaymentOptionsModule/index.less +4 -0
  300. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +23 -5
  301. package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
  302. package/lib/components/checkout/components/PaymentResultToast/index.less +94 -33
  303. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  304. package/lib/components/checkout/index.less +1 -1
  305. package/lib/components/checkout/locales.js +6 -0
  306. package/lib/components/checkout/utils/PaymentResultToastUtils.js +11 -1
  307. package/lib/components/eftpos/index.d.ts +1 -0
  308. package/lib/components/eftpos/pos.d.ts +1 -0
  309. package/lib/components/eftposPay/amount.d.ts +1 -0
  310. package/lib/components/eftposPay/app.d.ts +1 -0
  311. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  312. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  313. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  314. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  315. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  316. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  317. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +12 -6
  318. package/lib/components/eftposPay/pay.d.ts +1 -0
  319. package/lib/components/eftposPay/payo/config.js +98 -73
  320. package/lib/components/eftposPay/payo/payment.js +357 -0
  321. package/lib/components/eftposPay/store/index.d.ts +1 -1
  322. package/lib/components/eftposPay/tip.d.ts +1 -0
  323. package/lib/components/eftposPay/tyro/index.js +12 -0
  324. package/lib/components/eftposPay/utils/log/index.js +294 -0
  325. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  326. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  327. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  328. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  329. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  330. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  331. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  332. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  333. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  334. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  335. package/lib/components/index.js +3 -0
  336. package/lib/components/login/index.d.ts +1 -0
  337. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  338. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  339. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
  340. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  341. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  342. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  343. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  344. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
  345. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
  346. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
  347. package/lib/components/pay/toC/index.js +4 -1
  348. package/lib/components/pay/toC/locales.js +6 -3
  349. package/lib/components/pay/toC/model.d.ts +1 -9
  350. package/lib/components/pay/toC/status.js +5 -0
  351. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  352. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  353. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  354. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  355. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  356. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  357. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  358. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  359. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  360. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  361. package/lib/components/schedules/calendar/index.d.ts +1 -0
  362. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  363. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  364. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  365. package/lib/components/schedules/model.d.ts +1 -9
  366. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  367. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  368. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  369. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  370. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  371. package/lib/components/schedules/products/index.d.ts +1 -0
  372. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  373. package/lib/components/schedules/products/list/index.d.ts +1 -0
  374. package/lib/components/schedules/resources/index.d.ts +1 -0
  375. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  376. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  377. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  378. package/lib/components/schedules/schedules/index.d.ts +1 -0
  379. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  380. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  381. package/lib/components/shoppingCart/index.d.ts +1 -0
  382. package/lib/components/subTotal/index.js +1 -1
  383. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  384. package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
  385. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  386. package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
  387. package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
  388. package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
  389. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  390. package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
  391. package/lib/components/systemSettings/registry/components/index.js +48 -0
  392. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  393. package/lib/components/systemSettings/registry/index.js +529 -0
  394. package/lib/components/systemSettings/registry/index.less +410 -0
  395. package/lib/components/systemSettings/registry/locales.js +324 -0
  396. package/lib/components/systemSettings/registry/services.js +290 -0
  397. package/lib/components/systemSettings/registry/types.js +17 -0
  398. package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
  399. package/lib/components/systemSettings/registry/utils/validators.js +54 -0
  400. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +0 -1
  401. package/lib/components/ticketBooking/components/menuBar/index.js +42 -6
  402. package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -2
  403. package/lib/components/ticketBooking/components/timeBar/index.js +105 -4
  404. package/lib/components/ticketBooking/components/timeBar/index.less +59 -0
  405. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +17 -13
  406. package/lib/components/ticketBooking/locales.js +9 -3
  407. package/lib/components/ticketBooking/utils/index.js +20 -6
  408. package/lib/components/wallet/Detail/index.js +31 -3
  409. package/lib/components/wallet/Detail/index.less +11 -0
  410. package/lib/components/wallet/Detail/locales.js +14 -2
  411. package/lib/components/wallet/Detail/model.d.ts +1 -13
  412. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  413. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  414. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  415. package/lib/components/wallet/Voucher/index.js +8 -8
  416. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  417. package/lib/components/wallet/components/WalletCard.js +4 -0
  418. package/lib/components/wallet/index.js +2 -2
  419. package/lib/components/wallet/model.d.ts +1 -9
  420. package/lib/components/wallet/utils.js +287 -0
  421. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  422. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  423. package/lib/index.d.ts +4 -0
  424. package/lib/index.js +12 -0
  425. package/lib/plus/clientCard/locales.js +3 -3
  426. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  427. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  428. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  429. package/lib/plus/clinetSearch/index.js +17 -8
  430. package/lib/plus/clinetSearch/locales.js +7 -4
  431. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  432. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  433. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  434. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  435. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  436. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  437. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  438. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  439. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  440. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  441. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  442. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  443. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  444. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  445. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  446. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  447. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  448. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  449. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  450. package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
  451. package/lib/plus/walletPassGallery/components/footerButton/index.less +14 -59
  452. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  453. package/lib/plus/walletPassGallery/components/passDetail/index.js +54 -15
  454. package/lib/plus/walletPassGallery/components/passDetail/index.less +4 -0
  455. package/lib/plus/walletPassGallery/components/recharge/index.js +7 -1
  456. package/lib/plus/walletPassGallery/index.js +7 -3
  457. package/lib/plus/walletPassGallery/serve.js +3 -2
  458. package/lib/pro/Login2.0/index.less +15 -8
  459. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  460. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  461. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +42 -43
  462. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +3 -2
  463. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +8 -1
  464. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
  465. package/lib/pro/priceKeyboard/components/shortcuts/index.js +3 -2
  466. package/lib/pro/priceKeyboard/components/shortcuts/index.less +4 -0
  467. package/lowcode/settings-registry/meta.ts +29 -0
  468. package/lowcode/wallet-pass-detail/meta.ts +89 -0
  469. package/package.json +4 -4
  470. package/es/components/booking/components/footer/amount.d.ts +0 -36
  471. package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  472. package/es/components/booking/info/service2/utils.d.ts +0 -251
  473. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  474. package/es/components/booking/utils.d.ts +0 -173
  475. package/es/components/checkout/PaymentPlugin.d.ts +0 -2
  476. package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -24
  477. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -15
  478. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -81
  479. package/es/components/checkout/locales.d.ts +0 -507
  480. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -33
  481. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  482. package/es/components/eftposPay/payo/config.d.ts +0 -12
  483. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  484. package/es/components/index.d.ts +0 -23
  485. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -149
  486. package/es/components/pay/toC/locales.d.ts +0 -298
  487. package/es/components/pay/toC/status.d.ts +0 -12
  488. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
  489. package/es/components/ticketBooking/locales.d.ts +0 -192
  490. package/es/components/ticketBooking/utils/index.d.ts +0 -90
  491. package/es/components/wallet/Detail/locales.d.ts +0 -147
  492. package/es/components/wallet/serve.d.ts +0 -143
  493. package/es/plus/clientCard/locales.d.ts +0 -18
  494. package/es/plus/clinetSearch/index.d.ts +0 -17
  495. package/es/plus/clinetSearch/locales.d.ts +0 -102
  496. package/es/plus/clinetSearch/types.d.ts +0 -49
  497. package/es/plus/walletPassGallery/serve.d.ts +0 -218
  498. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
  499. package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
  500. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -11
  501. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -97
  502. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -17
  503. package/lib/components/booking/components/footer/amount.d.ts +0 -36
  504. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  505. package/lib/components/booking/info/service2/utils.d.ts +0 -251
  506. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  507. package/lib/components/booking/utils.d.ts +0 -173
  508. package/lib/components/checkout/PaymentPlugin.d.ts +0 -2
  509. package/lib/components/checkout/PaymentPlugin.js +0 -181
  510. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -24
  511. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -15
  512. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -81
  513. package/lib/components/checkout/locales.d.ts +0 -507
  514. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -33
  515. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  516. package/lib/components/eftposPay/payo/config.d.ts +0 -12
  517. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  518. package/lib/components/index.d.ts +0 -23
  519. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -149
  520. package/lib/components/pay/toC/locales.d.ts +0 -298
  521. package/lib/components/pay/toC/status.d.ts +0 -12
  522. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
  523. package/lib/components/ticketBooking/locales.d.ts +0 -192
  524. package/lib/components/ticketBooking/utils/index.d.ts +0 -90
  525. package/lib/components/wallet/Detail/locales.d.ts +0 -147
  526. package/lib/components/wallet/serve.d.ts +0 -143
  527. package/lib/plus/clientCard/locales.d.ts +0 -18
  528. package/lib/plus/clinetSearch/index.d.ts +0 -17
  529. package/lib/plus/clinetSearch/locales.d.ts +0 -102
  530. package/lib/plus/clinetSearch/types.d.ts +0 -49
  531. package/lib/plus/walletPassGallery/serve.d.ts +0 -218
  532. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
  533. package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
  534. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -11
  535. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -97
  536. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -17
@@ -1,81 +0,0 @@
1
- import React from 'react';
2
- import { StatusClassName, ActionButtonGroupList } from './types';
3
- interface ShowPaymentResultToastConfig {
4
- /** 状态样式类名 */
5
- statusClassName: StatusClassName;
6
- /** 标题 */
7
- title: string;
8
- /** 副标题 */
9
- subtitle?: React.ReactNode;
10
- /** 找零文本 */
11
- changeDueText?: string;
12
- /** 操作按钮 */
13
- actionButtons?: ActionButtonGroupList;
14
- /** 自动关闭配置 */
15
- autoClose?: boolean;
16
- /** 自动关闭延迟时间(秒) */
17
- autoCloseDelay?: number;
18
- /** 是否显示倒计时进度 */
19
- showCountdownProgress?: boolean;
20
- /** 倒计时完成回调 */
21
- onCountdownComplete?: () => void;
22
- /** 自定义关闭回调 */
23
- onClose?: () => void;
24
- /** 是否显示右上角关闭按钮 */
25
- closable?: boolean;
26
- }
27
- interface PaymentResultToastContextType {
28
- /** 显示成功弹窗 */
29
- showSuccess: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => string;
30
- /** 显示失败弹窗 */
31
- showFailed: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => string;
32
- /** 显示钱包通行证失败弹窗 */
33
- showWalletPassFailed: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => string;
34
- /** 显示部分支付弹窗 */
35
- showPartiallyPaid: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => string;
36
- /** 显示自定义状态弹窗 */
37
- showToast: (config: ShowPaymentResultToastConfig) => string;
38
- /** 关闭弹窗 */
39
- closeToast: () => void;
40
- /** 是否正在显示弹窗 */
41
- isVisible: boolean;
42
- }
43
- export declare const PaymentResultToastProvider: React.FC<{
44
- children: React.ReactNode;
45
- }>;
46
- export declare const usePaymentResultToast: () => PaymentResultToastContextType;
47
- declare class GlobalToastManager {
48
- private instances;
49
- private nextId;
50
- private readonly TOAST_HEIGHT;
51
- private readonly TOAST_MARGIN;
52
- private readonly BOTTOM_OFFSET;
53
- private readonly LEFT_OFFSET;
54
- private cachedBottomOffset;
55
- private cachedCenterOffset;
56
- private tillButton;
57
- setTillButton(tillButton: any): void;
58
- private generateId;
59
- private calculateAndCacheBottomOffset;
60
- private calculateAndCacheCenterOffset;
61
- private resetBottomOffsetCache;
62
- private calculateBottomPosition;
63
- private updatePositions;
64
- addToast(config: ShowPaymentResultToastConfig): string;
65
- removeToast(id: string): void;
66
- clearAll(): void;
67
- getCount(): number;
68
- initializeResizeListener(): () => void;
69
- }
70
- declare const globalToastManager: GlobalToastManager;
71
- export declare const showPaymentResultToastSuccess: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => Promise<string>;
72
- export declare const showPaymentResultToastFailed: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => Promise<string>;
73
- export declare const showPaymentResultToastWalletPassFailed: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => Promise<string>;
74
- export declare const showPaymentResultToastPartiallyPaid: (config: Omit<ShowPaymentResultToastConfig, 'statusClassName'>) => Promise<string>;
75
- export declare const showPaymentResultToast: (config: ShowPaymentResultToastConfig) => Promise<string>;
76
- export declare const closePaymentResultToast: (id?: string) => void;
77
- export declare const clearAllPaymentResultToasts: () => void;
78
- export declare const getPaymentResultToastCount: () => number;
79
- export type { ShowPaymentResultToastConfig, PaymentResultToastContextType };
80
- export declare const setTillButton: (tillButton: any) => void;
81
- export { globalToastManager };
@@ -1,507 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'order.total': string;
4
- 'order.start-new-order': string;
5
- 'pisell2.subtotal.deposit': string;
6
- 'pisell2.subtotal.total': string;
7
- 'pisell2.subtotal.subtotal': string;
8
- 'pisell2.subtotal.tax': string;
9
- 'pisell2.subtotal.delivery-fee': string;
10
- 'pisell2.subtotal.discount': string;
11
- 'pisell2.subtotal.point-deduction': string;
12
- 'pisell2.subtotal.member-deduction': string;
13
- 'pisell2.subtotal.expect-amount': string;
14
- 'regular.payment': string;
15
- 'deposit.payment': string;
16
- 'regular.payment.short': string;
17
- 'deposit.payment.short': string;
18
- 'regular.text': string;
19
- 'deposit.text': string;
20
- 'payment.text': string;
21
- more: string;
22
- pay: string;
23
- 'balance.due': string;
24
- 'deposit.due': string;
25
- 'partial.paid': string;
26
- 'deposit.partial.paid': string;
27
- 'split.payment': string;
28
- 'split.cancel': string;
29
- cash: string;
30
- rounding: string;
31
- 'cash.payment': string;
32
- 'cash.amount': string;
33
- 'custom.amount': string;
34
- 'quick.amounts': string;
35
- 'enter.amount': string;
36
- 'confirm.payment': string;
37
- 'payment.methods': string;
38
- 'select.payment.method': string;
39
- 'card.payment': string;
40
- 'digital.wallet': string;
41
- 'bank.transfer': string;
42
- 'cards.and.digitals': string;
43
- 'payment.success': string;
44
- 'payment.failed': string;
45
- 'payment.cancelled': string;
46
- 'payment.processing': string;
47
- close: string;
48
- cancel: string;
49
- confirm: string;
50
- save: string;
51
- void: string;
52
- 'no.payments.recorded': string;
53
- 'order.paid': string;
54
- 'balance.to.pay': string;
55
- 'no.items.found': string;
56
- 'discount.card': string;
57
- 'order.and.payment.summary': string;
58
- 'will.be.paid.in.full': string;
59
- 'by.wallet': string;
60
- 'wallet.pass': string;
61
- vouchers: string;
62
- 'gift.cards': string;
63
- 'loyalty.points': string;
64
- 'wallet-pass-module-cards-vouchers-in-wallet': (customerName: string) => string;
65
- 'wallet-pass-module-applied': (count: number) => string;
66
- 'wallet-pass-module-expired': (count: number) => string;
67
- 'wallet-pass-module-best-saving': string;
68
- 'wallet-pass-module-clear-all': string;
69
- 'wallet-pass-module-expired-modal-title': (count: number) => string;
70
- 'wallet-pass-module-expired-modal-empty': string;
71
- 'wallet-pass-module-expired-modal-close': string;
72
- 'wallet-pass-module-no-cards': string;
73
- 'wallet-pass-module-no-selected-cards': string;
74
- 'wallet-pass-module-best-combination-selected': string;
75
- 'wallet-pass-module-already-best-combination': string;
76
- 'pisell2.checkout.wallet-pass-module.no-result': string;
77
- 'wallet-pass-module-balance': string;
78
- "wallet-pass-module-balance-after": string;
79
- 'wallet-pass-module-max.use': string;
80
- 'wallet-pass-module-disabled-modal-title': string;
81
- 'wallet-pass-module-disabled-modal-empty': string;
82
- 'wallet-pass-module-discount-partially-paid': string;
83
- 'wallet-pass-module-discount-order-free': string;
84
- 'additional.options': string;
85
- 'add.tip': string;
86
- 'service.charge': string;
87
- notes: string;
88
- 'receipt.options': string;
89
- 'pisell2.text.walletPassPermanent': string;
90
- 'pisell2.checkout.search-section.placeholder': string;
91
- 'pisell2.checkout.discount.percentage.off': (value: string) => string;
92
- 'pisell2.checkout.discount.fixed_amount': string;
93
- 'pisell2.checkout.wallet-pass.good-pass.format': (left: number, use: number) => string;
94
- 'pisell2.checkout.client-card.tip.wallet-updated': string;
95
- 'pisell2.checkout.client-card.tip.client-changed': string;
96
- 'pisell2.checkout.client-card.tip.partially-paid': string;
97
- 'pisell2.checkout.client-card.tip.same-client': string;
98
- 'payment.result.success': string;
99
- 'payment.result.failed': string;
100
- 'payment.result.paid': string;
101
- 'payment.result.partiallyPaid': string;
102
- 'payment.result.amountDue': string;
103
- 'payment.result.changeDue': string;
104
- 'payment.result.details': string;
105
- 'payment.result.printReceipt': string;
106
- 'payment.result.retry': string;
107
- 'payment.result.changePayment': string;
108
- 'payment.result.more': string;
109
- 'payment.result.autoClose': string;
110
- 'payment.result.saveAsPartialPaid': string;
111
- 'payment.result.continuePayment': string;
112
- 'payment.result.orderNote': string;
113
- 'payment.result.refund': string;
114
- 'payment.result.actions.detailsClicked': string;
115
- 'payment.result.actions.printReceiptClicked': string;
116
- 'payment.result.actions.retryClicked': string;
117
- 'payment.result.actions.changePaymentClicked': string;
118
- 'payment.result.actions.saveAsPartialPaidClicked': string;
119
- 'payment.result.actions.continuePaymentClicked': string;
120
- 'payment.result.actions.orderNoteClicked': string;
121
- 'payment.result.actions.refundClicked': string;
122
- 'pisell2.checkout.manual-discount.no-amount': string;
123
- 'pisell2.checkout.manual-discount.has-payment-items': string;
124
- 'pisell2.checkout.manual-discount.invalid-amount': string;
125
- 'pisell2.checkout.can-not-change-deposit-amount': string;
126
- 'pisell2.checkout.wallet-balance-confirm.title': string;
127
- 'pisell2.checkout.wallet-balance-confirm.description-before': string;
128
- 'pisell2.checkout.wallet-balance-confirm.description-after': string;
129
- 'pisell2.checkout.wallet-balance-confirm.cancel': string;
130
- 'pisell2.checkout.wallet-balance-confirm.save-without-deduct': string;
131
- 'pisell2.checkout.wallet-balance-confirm.apply-deduct-now': string;
132
- 'pisell2.checkout.payment-detail.no-wallet-pass-items': string;
133
- 'pisell2.checkout.payment-detail.by': string;
134
- 'pisell2.checkout.order-note.updated-successfully': string;
135
- 'pisell2.checkout.order-note.deleted-successfully': string;
136
- 'pisell2.checkout.order-note.update-failed': string;
137
- 'pisell2.checkout.order-note.delete-failed': string;
138
- 'pisell2.checkout.payment.select-payment': string;
139
- 'pisell2.checkout.customer.default-name': string;
140
- 'pisell2.checkout.wallet-pass.redemption-failed': string;
141
- 'pisell2.checkout.modal.close-price-adjustment': string;
142
- 'pisell2.checkout.modal.reset-price-adjustment': string;
143
- 'pisell2.checkout.modal.done-price-adjustment': string;
144
- 'pisell2.checkout.send-payment-link.modal-title': string;
145
- 'pisell2.checkout.send-payment-link.email-address': string;
146
- 'pisell2.checkout.send-payment-link.email-placeholder': string;
147
- 'pisell2.checkout.send-payment-link.send-button': string;
148
- 'pisell2.checkout.send-payment-link.email-required': string;
149
- 'pisell2.checkout.send-payment-link.email-invalid': string;
150
- 'pisell2.checkout.send-payment-link.success': string;
151
- 'pisell2.checkout.send-payment-link.error': string;
152
- 'pisell2.checkout.send-payment-link.customer-name-format': (customerName: string) => string;
153
- 'pisell2.payment-options.surcharge-label': string;
154
- 'wallet-pass-module-customer-name-walk-in': string;
155
- 'pisell2.amount-summary.amount-cannot-be-zero': string;
156
- 'pisell2.checkout.order-sync-failed': string;
157
- 'pisell2.checkout.sync-retry-hint': string;
158
- 'pisell2.checkout.tips': string;
159
- retry: string;
160
- 'cash-payment-title': string;
161
- 'cash-payment-balance-due': string;
162
- 'cash-payment-cash-received': string;
163
- 'cash-payment-change-due': string;
164
- 'cash-payment-rounding': string;
165
- 'cash-payment-other': string;
166
- 'cash-payment-reset': string;
167
- 'cash-payment-pay': string;
168
- 'cash-payment-amount-cannot-be-zero': string;
169
- };
170
- 'zh-CN': {
171
- 'order.total': string;
172
- 'order.start-new-order': string;
173
- 'pisell2.subtotal.deposit': string;
174
- 'pisell2.subtotal.total': string;
175
- 'pisell2.subtotal.subtotal': string;
176
- 'pisell2.subtotal.tax': string;
177
- 'pisell2.subtotal.delivery-fee': string;
178
- 'pisell2.subtotal.discount': string;
179
- 'pisell2.subtotal.point-deduction': string;
180
- 'pisell2.subtotal.member-deduction': string;
181
- 'pisell2.subtotal.expect-amount': string;
182
- 'regular.payment': string;
183
- 'deposit.payment': string;
184
- 'regular.payment.short': string;
185
- 'deposit.payment.short': string;
186
- 'regular.text': string;
187
- 'deposit.text': string;
188
- 'payment.text': string;
189
- more: string;
190
- pay: string;
191
- 'balance.due': string;
192
- 'deposit.due': string;
193
- 'partial.paid': string;
194
- 'deposit.partial.paid': string;
195
- 'split.payment': string;
196
- 'split.cancel': string;
197
- cash: string;
198
- rounding: string;
199
- 'cash.payment': string;
200
- 'cash.amount': string;
201
- 'custom.amount': string;
202
- 'quick.amounts': string;
203
- 'enter.amount': string;
204
- 'confirm.payment': string;
205
- 'payment.methods': string;
206
- 'select.payment.method': string;
207
- 'card.payment': string;
208
- 'digital.wallet': string;
209
- 'bank.transfer': string;
210
- 'cards.and.digitals': string;
211
- 'payment.success': string;
212
- 'payment.failed': string;
213
- 'payment.cancelled': string;
214
- 'payment.processing': string;
215
- close: string;
216
- cancel: string;
217
- confirm: string;
218
- save: string;
219
- void: string;
220
- 'no.payments.recorded': string;
221
- 'order.paid': string;
222
- 'balance.to.pay': string;
223
- 'no.items.found': string;
224
- 'discount.card': string;
225
- 'order.and.payment.summary': string;
226
- 'will.be.paid.in.full': string;
227
- 'by.wallet': string;
228
- 'wallet.pass': string;
229
- vouchers: string;
230
- 'gift.cards': string;
231
- 'loyalty.points': string;
232
- 'wallet-pass-module-cards-vouchers-in-wallet': (customerName: string) => string;
233
- 'wallet-pass-module-applied': (count: number) => string;
234
- 'wallet-pass-module-expired': (count: number) => string;
235
- 'wallet-pass-module-best-saving': string;
236
- 'wallet-pass-module-clear-all': string;
237
- 'wallet-pass-module-expired-modal-title': (count: number) => string;
238
- 'wallet-pass-module-expired-modal-empty': string;
239
- 'wallet-pass-module-expired-modal-close': string;
240
- 'wallet-pass-module-no-cards': string;
241
- 'wallet-pass-module-no-selected-cards': string;
242
- 'wallet-pass-module-best-combination-selected': string;
243
- 'wallet-pass-module-already-best-combination': string;
244
- 'pisell2.checkout.wallet-pass-module.no-result': string;
245
- 'wallet-pass-module-balance': string;
246
- "wallet-pass-module-balance-after": string;
247
- 'wallet-pass-module-max.use': string;
248
- 'wallet-pass-module-disabled-modal-title': string;
249
- 'wallet-pass-module-disabled-modal-empty': string;
250
- 'wallet-pass-module-discount-partially-paid': string;
251
- 'wallet-pass-module-discount-order-free': string;
252
- 'additional.options': string;
253
- 'add.tip': string;
254
- 'service.charge': string;
255
- notes: string;
256
- 'receipt.options': string;
257
- 'pisell2.text.walletPassPermanent': string;
258
- 'payment.result.success': string;
259
- 'payment.result.failed': string;
260
- 'payment.result.paid': string;
261
- 'payment.result.partiallyPaid': string;
262
- 'payment.result.amountDue': string;
263
- 'payment.result.changeDue': string;
264
- 'payment.result.details': string;
265
- 'payment.result.printReceipt': string;
266
- 'payment.result.retry': string;
267
- 'payment.result.changePayment': string;
268
- 'payment.result.more': string;
269
- 'payment.result.autoClose': string;
270
- 'payment.result.saveAsPartialPaid': string;
271
- 'payment.result.continuePayment': string;
272
- 'payment.result.orderNote': string;
273
- 'payment.result.refund': string;
274
- 'payment.result.actions.detailsClicked': string;
275
- 'payment.result.actions.printReceiptClicked': string;
276
- 'payment.result.actions.retryClicked': string;
277
- 'payment.result.actions.changePaymentClicked': string;
278
- 'payment.result.actions.saveAsPartialPaidClicked': string;
279
- 'payment.result.actions.continuePaymentClicked': string;
280
- 'payment.result.actions.orderNoteClicked': string;
281
- 'payment.result.actions.refundClicked': string;
282
- 'pisell2.checkout.manual-discount.no-amount': string;
283
- 'pisell2.checkout.manual-discount.has-payment-items': string;
284
- 'pisell2.checkout.manual-discount.invalid-amount': string;
285
- 'pisell2.checkout.can-not-change-deposit-amount': string;
286
- 'pisell2.checkout.wallet-balance-confirm.title': string;
287
- 'pisell2.checkout.wallet-balance-confirm.description-before': string;
288
- 'pisell2.checkout.wallet-balance-confirm.description-after': string;
289
- 'pisell2.checkout.wallet-balance-confirm.cancel': string;
290
- 'pisell2.checkout.wallet-balance-confirm.save-without-deduct': string;
291
- 'pisell2.checkout.wallet-balance-confirm.apply-deduct-now': string;
292
- 'pisell2.checkout.payment-detail.no-wallet-pass-items': string;
293
- 'pisell2.checkout.payment-detail.by': string;
294
- 'pisell2.checkout.order-note.updated-successfully': string;
295
- 'pisell2.checkout.order-note.deleted-successfully': string;
296
- 'pisell2.checkout.order-note.update-failed': string;
297
- 'pisell2.checkout.order-note.delete-failed': string;
298
- 'pisell2.checkout.payment.select-payment': string;
299
- 'pisell2.checkout.customer.default-name': string;
300
- 'pisell2.checkout.wallet-pass.redemption-failed': string;
301
- 'pisell2.checkout.modal.close-price-adjustment': string;
302
- 'pisell2.checkout.modal.reset-price-adjustment': string;
303
- 'pisell2.checkout.modal.done-price-adjustment': string;
304
- 'pisell2.checkout.send-payment-link.modal-title': string;
305
- 'pisell2.checkout.send-payment-link.email-address': string;
306
- 'pisell2.checkout.send-payment-link.email-placeholder': string;
307
- 'pisell2.checkout.send-payment-link.send-button': string;
308
- 'pisell2.checkout.send-payment-link.email-required': string;
309
- 'pisell2.checkout.send-payment-link.email-invalid': string;
310
- 'pisell2.checkout.send-payment-link.success': string;
311
- 'pisell2.checkout.send-payment-link.error': string;
312
- 'pisell2.checkout.send-payment-link.customer-name-format': (customerName: string) => string;
313
- 'pisell2.payment-options.surcharge-label': string;
314
- 'pisell2.checkout.search-section.placeholder': string;
315
- 'pisell2.checkout.discount.percentage.off': (value: string) => string;
316
- 'pisell2.checkout.discount.fixed_amount': string;
317
- 'pisell2.checkout.wallet-pass.good-pass.format': (left: number, use: number) => string;
318
- 'pisell2.checkout.client-card.tip.wallet-updated': string;
319
- 'pisell2.checkout.client-card.tip.client-changed': string;
320
- 'pisell2.checkout.client-card.tip.partially-paid': string;
321
- 'pisell2.checkout.client-card.tip.same-client': string;
322
- 'wallet-pass-module-customer-name-walk-in': string;
323
- 'pisell2.amount-summary.amount-cannot-be-zero': string;
324
- 'pisell2.checkout.order-sync-failed': string;
325
- 'pisell2.checkout.sync-retry-hint': string;
326
- 'pisell2.checkout.tips': string;
327
- retry: string;
328
- 'cash-payment-title': string;
329
- 'cash-payment-balance-due': string;
330
- 'cash-payment-cash-received': string;
331
- 'cash-payment-change-due': string;
332
- 'cash-payment-rounding': string;
333
- 'cash-payment-other': string;
334
- 'cash-payment-reset': string;
335
- 'cash-payment-pay': string;
336
- 'cash-payment-amount-cannot-be-zero': string;
337
- };
338
- 'zh-HK': {
339
- 'order.total': string;
340
- 'order.start-new-order': string;
341
- 'pisell2.subtotal.deposit': string;
342
- 'pisell2.subtotal.total': string;
343
- 'pisell2.subtotal.subtotal': string;
344
- 'pisell2.subtotal.tax': string;
345
- 'pisell2.subtotal.delivery-fee': string;
346
- 'pisell2.subtotal.discount': string;
347
- 'pisell2.subtotal.point-deduction': string;
348
- 'pisell2.subtotal.member-deduction': string;
349
- 'pisell2.subtotal.expect-amount': string;
350
- 'regular.payment': string;
351
- 'deposit.payment': string;
352
- 'regular.payment.short': string;
353
- 'deposit.payment.short': string;
354
- 'regular.text': string;
355
- 'deposit.text': string;
356
- 'payment.text': string;
357
- more: string;
358
- pay: string;
359
- 'balance.due': string;
360
- 'deposit.due': string;
361
- 'partial.paid': string;
362
- 'deposit.partial.paid': string;
363
- 'split.payment': string;
364
- 'split.cancel': string;
365
- cash: string;
366
- rounding: string;
367
- 'cash.payment': string;
368
- 'cash.amount': string;
369
- 'custom.amount': string;
370
- 'quick.amounts': string;
371
- 'enter.amount': string;
372
- 'confirm.payment': string;
373
- 'payment.methods': string;
374
- 'select.payment.method': string;
375
- 'card.payment': string;
376
- 'digital.wallet': string;
377
- 'bank.transfer': string;
378
- 'cards.and.digitals': string;
379
- 'payment.success': string;
380
- 'payment.failed': string;
381
- 'payment.cancelled': string;
382
- 'payment.processing': string;
383
- close: string;
384
- cancel: string;
385
- confirm: string;
386
- save: string;
387
- void: string;
388
- 'no.payments.recorded': string;
389
- 'order.paid': string;
390
- 'balance.to.pay': string;
391
- 'no.items.found': string;
392
- 'discount.card': string;
393
- 'order.and.payment.summary': string;
394
- 'will.be.paid.in.full': string;
395
- 'by.wallet': string;
396
- 'wallet.pass': string;
397
- vouchers: string;
398
- 'gift.cards': string;
399
- 'loyalty.points': string;
400
- 'wallet-pass-module-cards-vouchers-in-wallet': (customerName: string) => string;
401
- 'wallet-pass-module-applied': (count: number) => string;
402
- 'wallet-pass-module-expired': (count: number) => string;
403
- 'wallet-pass-module-best-saving': string;
404
- 'wallet-pass-module-clear-all': string;
405
- 'wallet-pass-module-expired-modal-title': (count: number) => string;
406
- 'wallet-pass-module-expired-modal-empty': string;
407
- 'wallet-pass-module-expired-modal-close': string;
408
- 'wallet-pass-module-no-cards': string;
409
- 'wallet-pass-module-no-selected-cards': string;
410
- 'wallet-pass-module-best-combination-selected': string;
411
- 'wallet-pass-module-already-best-combination': string;
412
- 'pisell2.checkout.wallet-pass-module.no-result': string;
413
- 'wallet-pass-module-balance': string;
414
- "wallet-pass-module-balance-after": string;
415
- 'additional.options': string;
416
- 'add.tip': string;
417
- 'service.charge': string;
418
- notes: string;
419
- 'receipt.options': string;
420
- 'pisell2.text.walletPassPermanent': string;
421
- 'wallet-pass-module-max.use': string;
422
- 'wallet-pass-module-disabled-modal-title': string;
423
- 'wallet-pass-module-disabled-modal-empty': string;
424
- 'wallet-pass-module-discount-partially-paid': string;
425
- 'wallet-pass-module-discount-order-free': string;
426
- 'pisell2.checkout.search-section.placeholder': string;
427
- 'pisell2.checkout.discount.percentage.off': (value: string) => string;
428
- 'pisell2.checkout.discount.fixed_amount': string;
429
- 'pisell2.checkout.wallet-pass.good-pass.format': (left: number, use: number) => string;
430
- 'pisell2.checkout.client-card.tip.wallet-updated': string;
431
- 'pisell2.checkout.client-card.tip.client-changed': string;
432
- 'pisell2.checkout.client-card.tip.partially-paid': string;
433
- 'pisell2.checkout.client-card.tip.same-client': string;
434
- 'payment.result.success': string;
435
- 'payment.result.failed': string;
436
- 'payment.result.paid': string;
437
- 'payment.result.partiallyPaid': string;
438
- 'payment.result.amountDue': string;
439
- 'payment.result.changeDue': string;
440
- 'payment.result.details': string;
441
- 'payment.result.printReceipt': string;
442
- 'payment.result.retry': string;
443
- 'payment.result.changePayment': string;
444
- 'payment.result.more': string;
445
- 'payment.result.autoClose': string;
446
- 'payment.result.saveAsPartialPaid': string;
447
- 'payment.result.continuePayment': string;
448
- 'payment.result.orderNote': string;
449
- 'payment.result.refund': string;
450
- 'payment.result.actions.detailsClicked': string;
451
- 'payment.result.actions.printReceiptClicked': string;
452
- 'payment.result.actions.retryClicked': string;
453
- 'payment.result.actions.changePaymentClicked': string;
454
- 'payment.result.actions.saveAsPartialPaidClicked': string;
455
- 'payment.result.actions.continuePaymentClicked': string;
456
- 'payment.result.actions.orderNoteClicked': string;
457
- 'payment.result.actions.refundClicked': string;
458
- 'pisell2.checkout.manual-discount.no-amount': string;
459
- 'pisell2.checkout.manual-discount.has-payment-items': string;
460
- 'pisell2.checkout.manual-discount.invalid-amount': string;
461
- 'pisell2.checkout.can-not-change-deposit-amount': string;
462
- 'pisell2.checkout.wallet-balance-confirm.title': string;
463
- 'pisell2.checkout.wallet-balance-confirm.description-before': string;
464
- 'pisell2.checkout.wallet-balance-confirm.description-after': string;
465
- 'pisell2.checkout.wallet-balance-confirm.cancel': string;
466
- 'pisell2.checkout.wallet-balance-confirm.save-without-deduct': string;
467
- 'pisell2.checkout.wallet-balance-confirm.apply-deduct-now': string;
468
- 'pisell2.checkout.payment-detail.no-wallet-pass-items': string;
469
- 'pisell2.checkout.payment-detail.by': string;
470
- 'pisell2.checkout.order-note.updated-successfully': string;
471
- 'pisell2.checkout.order-note.deleted-successfully': string;
472
- 'pisell2.checkout.order-note.update-failed': string;
473
- 'pisell2.checkout.order-note.delete-failed': string;
474
- 'pisell2.checkout.payment.select-payment': string;
475
- 'pisell2.checkout.customer.default-name': string;
476
- 'pisell2.checkout.wallet-pass.redemption-failed': string;
477
- 'pisell2.checkout.modal.close-price-adjustment': string;
478
- 'pisell2.checkout.modal.reset-price-adjustment': string;
479
- 'pisell2.checkout.modal.done-price-adjustment': string;
480
- 'pisell2.checkout.send-payment-link.modal-title': string;
481
- 'pisell2.checkout.send-payment-link.email-address': string;
482
- 'pisell2.checkout.send-payment-link.email-placeholder': string;
483
- 'pisell2.checkout.send-payment-link.send-button': string;
484
- 'pisell2.checkout.send-payment-link.email-required': string;
485
- 'pisell2.checkout.send-payment-link.email-invalid': string;
486
- 'pisell2.checkout.send-payment-link.success': string;
487
- 'pisell2.checkout.send-payment-link.error': string;
488
- 'pisell2.checkout.send-payment-link.customer-name-format': (customerName: string) => string;
489
- 'pisell2.payment-options.surcharge-label': string;
490
- 'wallet-pass-module-customer-name-walk-in': string;
491
- 'pisell2.amount-summary.amount-cannot-be-zero': string;
492
- 'pisell2.checkout.order-sync-failed': string;
493
- 'pisell2.checkout.sync-retry-hint': string;
494
- 'pisell2.checkout.tips': string;
495
- retry: string;
496
- 'cash-payment-title': string;
497
- 'cash-payment-balance-due': string;
498
- 'cash-payment-cash-received': string;
499
- 'cash-payment-change-due': string;
500
- 'cash-payment-rounding': string;
501
- 'cash-payment-other': string;
502
- 'cash-payment-reset': string;
503
- 'cash-payment-pay': string;
504
- 'cash-payment-amount-cannot-be-zero': string;
505
- };
506
- };
507
- export default _default;
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { StatusClassName, ActionButtonGroupList } from '../components/PaymentResultToast';
3
- export interface PaymentResultToastConfig {
4
- context: any;
5
- pisellos: any;
6
- getData: (key: string) => any;
7
- interaction: any;
8
- Toast: any;
9
- state: any;
10
- onToastClose?: () => void;
11
- }
12
- export interface PaymentResultToastParams {
13
- paymentStatus: string;
14
- orderTotalAmount: number;
15
- gapAmount: number;
16
- failureReason?: string;
17
- autoCloseConfig?: {
18
- autoClose: boolean;
19
- autoCloseDelay: number;
20
- };
21
- actionButtons?: ActionButtonGroupList;
22
- }
23
- export declare const formatCurrency: (amount: number, amountSymbol?: string) => string | number;
24
- export declare const calculateTitle: (status: string, failureReason?: string) => string;
25
- export declare const calculateSubtitle: (status: string, amount: number, gapAmount?: number, getData?: ((key: string) => any) | undefined) => React.ReactNode;
26
- export declare const calculateStatusClassName: (status: string) => StatusClassName;
27
- export declare const calculateAutoCloseConfig: (status: string, hasChangeDue: boolean) => {
28
- autoClose: boolean;
29
- autoCloseDelay: number;
30
- maskClosable: boolean;
31
- };
32
- export declare const displayPaymentResultToast: (params: PaymentResultToastParams, config: PaymentResultToastConfig) => Promise<void>;
33
- export declare const createShowSuccessToast: (config: PaymentResultToastConfig, getActionButtons?: ((paymentStatus: string) => ActionButtonGroupList) | undefined) => (result: any) => Promise<void>;
@@ -1,4 +0,0 @@
1
- export declare const useTimeResultQuery: (api: any, resultCheck: () => boolean, handleLinklySuccess: (res: any) => void) => {
2
- run: () => Promise<void>;
3
- stop: () => void;
4
- };
@@ -1,12 +0,0 @@
1
- import { StatusEnum } from '../const';
2
- export declare const POS: ({ api, onChange, }: {
3
- api: {
4
- [key: string]: (...agrn: unknown[]) => Promise<unknown>;
5
- };
6
- onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
7
- [keys: string]: unknown;
8
- } | undefined) => void;
9
- }) => JSX.Element;
10
- export declare const Action: ({ onChange }: {
11
- onChange: any;
12
- }) => JSX.Element;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- declare const _default: ({ api, onChange, children, url, version, }: {
3
- api: any;
4
- onChange: any;
5
- children?: React.ReactNode;
6
- url?: string | undefined;
7
- version?: string | undefined;
8
- }) => JSX.Element;
9
- export default _default;