@pisell/private-materials 6.3.117 → 6.3.119

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 (299) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +4 -4
  9. package/es/components/Sales/Cart/utils.d.ts +68 -0
  10. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  11. package/es/components/Sales/Summary/utils.d.ts +58 -0
  12. package/es/components/appointmentBooking/locales.d.ts +606 -0
  13. package/es/components/booking/addons/model.d.ts +10 -1
  14. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  15. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  16. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  17. package/es/components/booking/forms/model.d.ts +10 -1
  18. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  19. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  20. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  21. package/es/components/booking/info/index.d.ts +4 -0
  22. package/es/components/booking/info/model.d.ts +10 -1
  23. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  24. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  25. package/es/components/booking/info/service2/utils.d.ts +1 -1
  26. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  27. package/es/components/booking/model.d.ts +9 -1
  28. package/es/components/booking/notes/model.d.ts +10 -1
  29. package/es/components/booking/payments/model.d.ts +10 -1
  30. package/es/components/booking/utils.d.ts +2 -2
  31. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  32. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  33. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  34. package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
  35. package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
  36. package/es/components/ecocup/cupList/const.d.ts +140 -0
  37. package/es/components/ecocup/cupProject/const.d.ts +7 -0
  38. package/es/components/ecocup/customerList/const.d.ts +44 -0
  39. package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
  40. package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  41. package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  42. package/es/components/ecocup/hooks.d.ts +57 -0
  43. package/es/components/ecocup/locales.d.ts +653 -0
  44. package/es/components/ecocup/types.d.ts +103 -0
  45. package/es/components/ecocup/utils/download.d.ts +7 -0
  46. package/es/components/ecocup/utils/index.d.ts +2 -0
  47. package/es/components/ecocup/utils/scanListener.d.ts +20 -0
  48. package/es/components/eftpos/const.d.ts +64 -0
  49. package/es/components/eftpos/hooks.d.ts +34 -0
  50. package/es/components/eftpos/locales.d.ts +163 -0
  51. package/es/components/eftposPay/amount.d.ts +1 -1
  52. package/es/components/eftposPay/const.d.ts +186 -0
  53. package/es/components/eftposPay/device.d.ts +1 -1
  54. package/es/components/eftposPay/hooks.d.ts +2 -2
  55. package/es/components/eftposPay/locales.d.ts +572 -0
  56. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  57. package/es/components/eftposPay/store/index.d.ts +358 -0
  58. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
  59. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  60. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  61. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  62. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  63. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  64. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  65. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  66. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  67. package/es/components/pay/toC/locales.d.ts +626 -0
  68. package/es/components/pay/toC/model.d.ts +9 -1
  69. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  70. package/es/components/schedules/locales.d.ts +143 -0
  71. package/es/components/schedules/model.d.ts +9 -1
  72. package/es/components/shoppingCart/locales.d.ts +53 -0
  73. package/es/components/shoppingCart/type.d.ts +48 -0
  74. package/es/components/subTotal/locales.d.ts +68 -0
  75. package/es/components/systemSettings/registry/locales.d.ts +534 -0
  76. package/es/components/systemSettings/registry/services.d.ts +97 -0
  77. package/es/components/systemSettings/registry/types.d.ts +140 -0
  78. package/es/components/taxSelect/locales.d.ts +38 -0
  79. package/es/components/ticketBooking/locales.d.ts +304 -0
  80. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  81. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  82. package/es/hooks/useEngineContext.d.ts +11 -0
  83. package/es/hooks/useLocale.d.ts +2 -0
  84. package/es/hooks/usePaymentLogger.d.ts +1 -0
  85. package/es/hooks/useThemeTokens.d.ts +7 -0
  86. package/es/hooks/useWindowSize.d.ts +5 -0
  87. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  88. package/es/plus/orderList/config.d.ts +2 -2
  89. package/es/plus/orderList/locales.d.ts +618 -0
  90. package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
  91. package/es/plus/pisellSalesGrid/types.d.ts +170 -0
  92. package/es/plus/pisellSalesManagement/config/booking.d.ts +7 -6
  93. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  94. package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
  95. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  96. package/es/plus/saasAttendance/locales.d.ts +591 -0
  97. package/es/plus/saasAttendance/settings/types.d.ts +136 -0
  98. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  99. package/es/plus/selectHolder/locales.d.ts +35 -0
  100. package/es/plus/skuOptionsSelection/components/NormalCard/index.js +10 -3
  101. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +6 -2
  102. package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +20 -7
  103. package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -10
  104. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  105. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  106. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  107. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  108. package/es/plus/skuOptionsSelection/index.js +2 -1
  109. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  110. package/es/plus/skuOptionsSelection/locales.js +10 -5
  111. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  112. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  113. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  114. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  115. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  116. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  117. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  118. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
  119. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  120. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +1 -1
  121. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +19 -6
  122. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +45 -58
  123. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  124. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +1 -1
  125. package/es/plus/walletPassGallery/locales.d.ts +483 -0
  126. package/es/pro/Cards/components/SKUCard/index.js +5 -2
  127. package/es/pro/Cards/components/SKUCard/index.less +18 -3
  128. package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  129. package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
  130. package/es/pro/Login2.0/locales.d.ts +908 -0
  131. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  132. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  133. package/es/pro/Selector/Item.d.ts +14 -0
  134. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  135. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  136. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  137. package/es/pro/Selector/components/Indicator/index.d.ts +20 -0
  138. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  139. package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  140. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  141. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  142. package/es/pro/Selector/components/index.d.ts +4 -0
  143. package/es/pro/Selector/demo.d.ts +3 -0
  144. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  145. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  146. package/es/pro/Selector/index.d.ts +11 -0
  147. package/es/pro/Selector/locales.d.ts +58 -0
  148. package/es/pro/Selector/types.d.ts +223 -0
  149. package/es/pro/Selector/utils/index.d.ts +49 -0
  150. package/es/pro/keyboards/locales.d.ts +38 -0
  151. package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  152. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  153. package/es/test/setup.d.ts +1 -0
  154. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  155. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  156. package/lib/components/Sales/Summary/utils.d.ts +58 -0
  157. package/lib/components/appointmentBooking/locales.d.ts +606 -0
  158. package/lib/components/booking/addons/model.d.ts +10 -1
  159. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  160. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  161. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  162. package/lib/components/booking/forms/model.d.ts +10 -1
  163. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  164. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  165. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  166. package/lib/components/booking/info/index.d.ts +4 -0
  167. package/lib/components/booking/info/model.d.ts +10 -1
  168. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  169. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  170. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  171. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  172. package/lib/components/booking/model.d.ts +9 -1
  173. package/lib/components/booking/notes/model.d.ts +10 -1
  174. package/lib/components/booking/payments/model.d.ts +10 -1
  175. package/lib/components/booking/utils.d.ts +2 -2
  176. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  177. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  178. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  179. package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
  180. package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
  181. package/lib/components/ecocup/cupList/const.d.ts +140 -0
  182. package/lib/components/ecocup/cupProject/const.d.ts +7 -0
  183. package/lib/components/ecocup/customerList/const.d.ts +44 -0
  184. package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
  185. package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  186. package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  187. package/lib/components/ecocup/hooks.d.ts +57 -0
  188. package/lib/components/ecocup/locales.d.ts +653 -0
  189. package/lib/components/ecocup/types.d.ts +103 -0
  190. package/lib/components/ecocup/utils/download.d.ts +7 -0
  191. package/lib/components/ecocup/utils/index.d.ts +2 -0
  192. package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
  193. package/lib/components/eftpos/const.d.ts +64 -0
  194. package/lib/components/eftpos/hooks.d.ts +34 -0
  195. package/lib/components/eftpos/locales.d.ts +163 -0
  196. package/lib/components/eftposPay/amount.d.ts +1 -1
  197. package/lib/components/eftposPay/const.d.ts +186 -0
  198. package/lib/components/eftposPay/device.d.ts +1 -1
  199. package/lib/components/eftposPay/hooks.d.ts +2 -2
  200. package/lib/components/eftposPay/locales.d.ts +572 -0
  201. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  202. package/lib/components/eftposPay/store/index.d.ts +358 -0
  203. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
  204. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  205. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  206. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  207. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  208. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  209. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  210. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  211. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  212. package/lib/components/pay/toC/locales.d.ts +626 -0
  213. package/lib/components/pay/toC/model.d.ts +9 -1
  214. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  215. package/lib/components/schedules/locales.d.ts +143 -0
  216. package/lib/components/schedules/model.d.ts +9 -1
  217. package/lib/components/shoppingCart/locales.d.ts +53 -0
  218. package/lib/components/shoppingCart/type.d.ts +48 -0
  219. package/lib/components/subTotal/locales.d.ts +68 -0
  220. package/lib/components/systemSettings/registry/locales.d.ts +534 -0
  221. package/lib/components/systemSettings/registry/services.d.ts +97 -0
  222. package/lib/components/systemSettings/registry/types.d.ts +140 -0
  223. package/lib/components/taxSelect/locales.d.ts +38 -0
  224. package/lib/components/ticketBooking/locales.d.ts +304 -0
  225. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  226. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  227. package/lib/hooks/useEngineContext.d.ts +11 -0
  228. package/lib/hooks/useLocale.d.ts +2 -0
  229. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  230. package/lib/hooks/useThemeTokens.d.ts +7 -0
  231. package/lib/hooks/useWindowSize.d.ts +5 -0
  232. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  233. package/lib/plus/orderList/config.d.ts +2 -2
  234. package/lib/plus/orderList/locales.d.ts +618 -0
  235. package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
  236. package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
  237. package/lib/plus/pisellSalesManagement/config/booking.d.ts +7 -6
  238. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  239. package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
  240. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  241. package/lib/plus/saasAttendance/locales.d.ts +591 -0
  242. package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
  243. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  244. package/lib/plus/selectHolder/locales.d.ts +35 -0
  245. package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +15 -9
  246. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +3 -3
  247. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +20 -7
  248. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -7
  249. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  250. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  251. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  252. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  253. package/lib/plus/skuOptionsSelection/index.js +2 -1
  254. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  255. package/lib/plus/skuOptionsSelection/locales.js +10 -5
  256. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  257. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  258. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  259. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  260. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  261. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  262. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  263. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
  264. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  265. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +1 -1
  266. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +15 -4
  267. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +39 -54
  268. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  269. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +1 -1
  270. package/lib/plus/walletPassGallery/locales.d.ts +483 -0
  271. package/lib/pro/Cards/components/SKUCard/index.js +4 -7
  272. package/lib/pro/Cards/components/SKUCard/index.less +18 -3
  273. package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  274. package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
  275. package/lib/pro/Login2.0/locales.d.ts +908 -0
  276. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  277. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  278. package/lib/pro/Selector/Item.d.ts +14 -0
  279. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  280. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  281. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  282. package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
  283. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  284. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  285. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  286. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  287. package/lib/pro/Selector/components/index.d.ts +4 -0
  288. package/lib/pro/Selector/demo.d.ts +3 -0
  289. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  290. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  291. package/lib/pro/Selector/index.d.ts +11 -0
  292. package/lib/pro/Selector/locales.d.ts +58 -0
  293. package/lib/pro/Selector/types.d.ts +223 -0
  294. package/lib/pro/Selector/utils/index.d.ts +49 -0
  295. package/lib/pro/keyboards/locales.d.ts +38 -0
  296. package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  297. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  298. package/lib/test/setup.d.ts +1 -0
  299. package/package.json +1 -1
@@ -0,0 +1,103 @@
1
+ /** 杯子信息 */
2
+ export interface ICup {
3
+ /** 杯子id */
4
+ id: string;
5
+ /** 杯子编码 */
6
+ code: string;
7
+ /** 杯子id,客户下返回的杯子信息为该字段 */
8
+ eco_cup_id: string;
9
+ /** 杯子编码,客户下返回的杯子信息为该字段 */
10
+ eco_cup_code?: string;
11
+ /** 当前归属店铺 */
12
+ current_shop?: {
13
+ id: string;
14
+ name: string;
15
+ };
16
+ /** 当前归属店铺id */
17
+ current_shop_id?: number;
18
+ /** 借出店铺 */
19
+ rent_shop?: {
20
+ id: string;
21
+ name: string;
22
+ };
23
+ /** 借出店铺id */
24
+ rent_shop_id?: number;
25
+ /** 借出时间 */
26
+ rent_time: string;
27
+ /** 用户id */
28
+ customer_id: string;
29
+ /** 用户信息 */
30
+ customer?: ICustomer;
31
+ /** 杯子状态 */
32
+ status: ECupStatus;
33
+ /** 操作时间 */
34
+ operated_at?: string;
35
+ }
36
+ /** 杯子状态 */
37
+ export declare enum ECupStatus {
38
+ /** 在库 */
39
+ IN_STOCK = "in_stock",
40
+ /** 借出 */
41
+ RENT = "rent",
42
+ /** 遗失 */
43
+ MISSING = "missing",
44
+ /** 损坏 */
45
+ BROKEN = "broken"
46
+ }
47
+ /** 用户信息 */
48
+ export interface ICustomer {
49
+ /** 用户id */
50
+ id: string;
51
+ /** 昵称 */
52
+ nickname?: string;
53
+ /** 显示名称 */
54
+ display_name?: string;
55
+ /** 名 */
56
+ first_name?: string;
57
+ /** 姓 */
58
+ last_name?: string;
59
+ /** 电话 */
60
+ phone: string;
61
+ /** 国家区号 */
62
+ country_calling_code: string;
63
+ /** 国家代码 */
64
+ country_code?: string;
65
+ /** 邮箱 */
66
+ email?: string;
67
+ /** 头像 */
68
+ cover?: string;
69
+ /** 会员类型 */
70
+ membership?: string;
71
+ }
72
+ /** 杯子操作类型 */
73
+ export declare enum ECupActionType {
74
+ /** 归还 */
75
+ RETURN = "return",
76
+ /** 遗失 */
77
+ MISSING = "missing",
78
+ /** 损坏 */
79
+ BROKEN = "broken",
80
+ /** 转移 */
81
+ TRANSFER = "transfer"
82
+ }
83
+ /**
84
+ * 扫描杯子后的状态
85
+ */
86
+ export declare enum ECupScanStatus {
87
+ /** 其他在库 */
88
+ OTHER_IN_STOCK = "other_in_stock",
89
+ /** 其他人借出 */
90
+ OTHER_RENT = "other_rent",
91
+ /** 转移 */
92
+ TRANSFER = "transfer",
93
+ /** 在库 */
94
+ IN_STOCK = "in_stock",
95
+ /** 借出 */
96
+ RENT = "rent",
97
+ /** 遗失 */
98
+ MISSING = "missing",
99
+ /** 损坏 */
100
+ BROKEN = "broken",
101
+ /** 不存在 */
102
+ NOT_FOUND = "not_found"
103
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @description: 通过创建 a 标签触发文件下载
3
+ * @param {string} url - 文件下载地址
4
+ * @param {string} filename - 可选的文件名,如果不提供则使用浏览器默认行为
5
+ * @return {void}
6
+ */
7
+ export declare const downloadFile: (url: string, filename?: string) => void;
@@ -0,0 +1,2 @@
1
+ export * from './download';
2
+ export { default as scanListener } from './scanListener';
@@ -0,0 +1,20 @@
1
+ export declare type TCallback = (result: {
2
+ type: string;
3
+ value: string;
4
+ }) => void;
5
+ declare class ScanListener {
6
+ private isInitialized;
7
+ private listeners;
8
+ constructor();
9
+ /**
10
+ * 初始化外设扫码结果监听
11
+ */
12
+ initPeripheralsListener(interaction: any): void;
13
+ addListener(interaction: any, key: string, callback: TCallback): void;
14
+ removeListener(key: string): void;
15
+ getActiveListener(): string | null;
16
+ setActiveListener(key: string): void;
17
+ destroy(): void;
18
+ }
19
+ declare const scanListener: ScanListener;
20
+ export default scanListener;
@@ -0,0 +1,64 @@
1
+ export declare enum Eftpos {
2
+ Payo = "payo",
3
+ Tyro = "tyro",
4
+ Windcave = "windcave",
5
+ Stripe = "stripe"
6
+ }
7
+ export declare enum DeviceEnum {
8
+ /** 新增 */
9
+ Add = "add",
10
+ /** 编辑 */
11
+ Edit = "edit",
12
+ /** 重新链接 */
13
+ Repair = "repair"
14
+ }
15
+ export declare type DeviceStatus = `${DeviceEnum}`;
16
+ /** 设备配置信息 */
17
+ export interface DeviceProp {
18
+ /** 设备id */
19
+ id?: string | number;
20
+ /** 设备名称 */
21
+ name: string;
22
+ /** 设备类型(厂商) */
23
+ type: Eftpos.Tyro;
24
+ /** 设备状态 */
25
+ status: "unpaired" | "paired";
26
+ /** 设备设置(商户配置) */
27
+ setting: {
28
+ [key: string]: unknown;
29
+ } | null;
30
+ /** 设备设置(第三方配置) */
31
+ connection: {
32
+ [key: string]: unknown;
33
+ } | null;
34
+ [key: string]: unknown;
35
+ }
36
+ /**
37
+ * @title: 获取表单结果数据
38
+ * @description: 获取表单结果数据
39
+ * @param {any} list 表单配置信息
40
+ * @return {*} 表单结果信息
41
+ * @Author: hongbing.wang
42
+ * @Date: 2024-08-19 11:10
43
+ */
44
+ export declare const getDefaultValue: (list: any) => any;
45
+ /**
46
+ * @title: 构建通用表单配置信息,构建动态表单
47
+ * @description:
48
+ * @param {any} field : array 字段信息 value 结果信息,name 上级字段信息用于嵌套, getComm : 获取字段组件配置信息
49
+ * @return form 表单配置信息
50
+ * @Author: hongbing.wang
51
+ * @Date: 2024-08-19 11:11
52
+ */
53
+ export declare function getCommByFields({ field, value, name, getComm, }: {
54
+ field: (string | {
55
+ name: string;
56
+ children: string[];
57
+ })[];
58
+ value?: any;
59
+ name?: string[];
60
+ getComm: (params: {
61
+ field: string;
62
+ value?: unknown;
63
+ }, record?: any) => any;
64
+ }): Promise<any>;
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ import { Eftpos } from './const';
3
+ /**
4
+ * @title: tyro 设备连接
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-20 13:23
7
+ */
8
+ export declare const usePairTerminalo: (type: Eftpos, params: {
9
+ url?: string;
10
+ version?: string;
11
+ }) => ({ mid, tid, apiKey, posProductData, }: {
12
+ mid: string;
13
+ tid: string;
14
+ apiKey: string;
15
+ posProductData: {
16
+ posProductVendor: string;
17
+ posProductName: string;
18
+ posProductVersion: string;
19
+ siteReference: string;
20
+ };
21
+ }, cb: (...agrn: unknown[]) => void) => Promise<void>;
22
+ /**
23
+ * @title: 获取 Tyro 资源
24
+ * @description:
25
+ * @param {Eftpos} type 类型
26
+ * @param {string} url 链接
27
+ * @return {*}
28
+ * @Author: hongbing.wang
29
+ * @Date: 2024-08-19 18:36
30
+ */
31
+ export declare const useTyro: (params: {
32
+ url?: string;
33
+ version?: string;
34
+ }) => readonly [import("react").MutableRefObject<any>, boolean];
@@ -0,0 +1,163 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.eftpos.text.manufacturer': string;
4
+ 'page.eftpos.text.description': string;
5
+ 'page.eftpos.text.status': string;
6
+ 'page.eftpos.text.operation': string;
7
+ 'page.eftpos.text.device': string;
8
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
9
+ 'page.eftpos.text.device.list': string;
10
+ 'page.eftpos.text.device.name': string;
11
+ 'page.eftpos.text.sucahrge': string;
12
+ 'page.eftpos.text.paired': string;
13
+ 'page.eftpos.text.unpaired': string;
14
+ 'page.eftpos.text.repair': string;
15
+ 'page.eftpos.text.edit': string;
16
+ 'page.eftpos.text.delete': string;
17
+ 'page.eftpos.text.save': string;
18
+ 'page.eftpos.text.confim.delete': string;
19
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
20
+ 'page.eftpos.text.confim.cancel': string;
21
+ 'page.eftpos.text.table.name': string;
22
+ 'page.eftpos.text.table.status': string;
23
+ 'page.eftpos.text.table.surcharge': string;
24
+ 'page.eftpos.text.table.opeartion': string;
25
+ 'page.eftpos.text.table.del.title': string;
26
+ 'page.eftpos.text.table.del.text': string;
27
+ 'page.eftpos.text.table.del.delete': string;
28
+ 'page.eftpos.text.table.del.cancel': string;
29
+ 'page.eftpos.text.log': string;
30
+ 'page.eftpos.text.setting': string;
31
+ 'page.eftpos.text.setting.tip': string;
32
+ 'page.eftpos.text.setting.btn': string;
33
+ };
34
+ 'zh-CN': {
35
+ 'page.eftpos.text.manufacturer': string;
36
+ 'page.eftpos.text.description': string;
37
+ 'page.eftpos.text.status': string;
38
+ 'page.eftpos.text.operation': string;
39
+ 'page.eftpos.text.device': string;
40
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
41
+ 'page.eftpos.text.device.list': string;
42
+ 'page.eftpos.text.device.name': string;
43
+ 'page.eftpos.text.sucahrge': string;
44
+ 'page.eftpos.text.paired': string;
45
+ 'page.eftpos.text.unpaired': string;
46
+ 'page.eftpos.text.repair': string;
47
+ 'page.eftpos.text.edit': string;
48
+ 'page.eftpos.text.delete': string;
49
+ 'page.eftpos.text.save': string;
50
+ 'page.eftpos.text.confim.delete': string;
51
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
52
+ 'page.eftpos.text.confim.cancel': string;
53
+ 'page.eftpos.text.table.name': string;
54
+ 'page.eftpos.text.table.status': string;
55
+ 'page.eftpos.text.table.surcharge': string;
56
+ 'page.eftpos.text.table.opeartion': string;
57
+ 'page.eftpos.text.table.del.title': string;
58
+ 'page.eftpos.text.table.del.text': string;
59
+ 'page.eftpos.text.table.del.delete': string;
60
+ 'page.eftpos.text.table.del.cancel': string;
61
+ 'page.eftpos.text.log': string;
62
+ 'page.eftpos.text.setting': string;
63
+ 'page.eftpos.text.setting.tip': string;
64
+ 'page.eftpos.text.setting.btn': string;
65
+ };
66
+ 'zh-HK': {
67
+ 'page.eftpos.text.manufacturer': string;
68
+ 'page.eftpos.text.description': string;
69
+ 'page.eftpos.text.status': string;
70
+ 'page.eftpos.text.operation': string;
71
+ 'page.eftpos.text.device': string;
72
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
73
+ 'page.eftpos.text.device.list': string;
74
+ 'page.eftpos.text.device.name': string;
75
+ 'page.eftpos.text.sucahrge': string;
76
+ 'page.eftpos.text.paired': string;
77
+ 'page.eftpos.text.unpaired': string;
78
+ 'page.eftpos.text.repair': string;
79
+ 'page.eftpos.text.edit': string;
80
+ 'page.eftpos.text.delete': string;
81
+ 'page.eftpos.text.save': string;
82
+ 'page.eftpos.text.confim.delete': string;
83
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
84
+ 'page.eftpos.text.confim.cancel': string;
85
+ 'page.eftpos.text.table.name': string;
86
+ 'page.eftpos.text.table.status': string;
87
+ 'page.eftpos.text.table.surcharge': string;
88
+ 'page.eftpos.text.table.opeartion': string;
89
+ 'page.eftpos.text.table.del.title': string;
90
+ 'page.eftpos.text.table.del.text': string;
91
+ 'page.eftpos.text.table.del.delete': string;
92
+ 'page.eftpos.text.table.del.cancel': string;
93
+ 'page.eftpos.text.log': string;
94
+ 'page.eftpos.text.setting': string;
95
+ 'page.eftpos.text.setting.tip': string;
96
+ 'page.eftpos.text.setting.btn': string;
97
+ };
98
+ ja: {
99
+ 'page.eftpos.text.manufacturer': string;
100
+ 'page.eftpos.text.description': string;
101
+ 'page.eftpos.text.status': string;
102
+ 'page.eftpos.text.operation': string;
103
+ 'page.eftpos.text.device': string;
104
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
105
+ 'page.eftpos.text.device.list': string;
106
+ 'page.eftpos.text.device.name': string;
107
+ 'page.eftpos.text.sucahrge': string;
108
+ 'page.eftpos.text.paired': string;
109
+ 'page.eftpos.text.unpaired': string;
110
+ 'page.eftpos.text.repair': string;
111
+ 'page.eftpos.text.edit': string;
112
+ 'page.eftpos.text.delete': string;
113
+ 'page.eftpos.text.save': string;
114
+ 'page.eftpos.text.confim.delete': string;
115
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
116
+ 'page.eftpos.text.confim.cancel': string;
117
+ 'page.eftpos.text.table.name': string;
118
+ 'page.eftpos.text.table.status': string;
119
+ 'page.eftpos.text.table.surcharge': string;
120
+ 'page.eftpos.text.table.opeartion': string;
121
+ 'page.eftpos.text.table.del.title': string;
122
+ 'page.eftpos.text.table.del.text': string;
123
+ 'page.eftpos.text.table.del.delete': string;
124
+ 'page.eftpos.text.table.del.cancel': string;
125
+ 'page.eftpos.text.log': string;
126
+ 'page.eftpos.text.setting': string;
127
+ 'page.eftpos.text.setting.tip': string;
128
+ 'page.eftpos.text.setting.btn': string;
129
+ };
130
+ pt: {
131
+ 'page.eftpos.text.manufacturer': string;
132
+ 'page.eftpos.text.description': string;
133
+ 'page.eftpos.text.status': string;
134
+ 'page.eftpos.text.operation': string;
135
+ 'page.eftpos.text.device': string;
136
+ 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
137
+ 'page.eftpos.text.device.list': string;
138
+ 'page.eftpos.text.device.name': string;
139
+ 'page.eftpos.text.sucahrge': string;
140
+ 'page.eftpos.text.paired': string;
141
+ 'page.eftpos.text.unpaired': string;
142
+ 'page.eftpos.text.repair': string;
143
+ 'page.eftpos.text.edit': string;
144
+ 'page.eftpos.text.delete': string;
145
+ 'page.eftpos.text.save': string;
146
+ 'page.eftpos.text.confim.delete': string;
147
+ 'page.eftpos.text.confirm_delete-message': (x: string) => string;
148
+ 'page.eftpos.text.confim.cancel': string;
149
+ 'page.eftpos.text.table.name': string;
150
+ 'page.eftpos.text.table.status': string;
151
+ 'page.eftpos.text.table.surcharge': string;
152
+ 'page.eftpos.text.table.opeartion': string;
153
+ 'page.eftpos.text.table.del.title': string;
154
+ 'page.eftpos.text.table.del.text': string;
155
+ 'page.eftpos.text.table.del.delete': string;
156
+ 'page.eftpos.text.table.del.cancel': string;
157
+ 'page.eftpos.text.log': string;
158
+ 'page.eftpos.text.setting': string;
159
+ 'page.eftpos.text.setting.tip': string;
160
+ 'page.eftpos.text.setting.btn': string;
161
+ };
162
+ };
163
+ export default _default;
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "success" | "print" | "page" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -0,0 +1,186 @@
1
+ export declare enum EftposEnum {
2
+ /** 后端支付 - 仅支付 */
3
+ Payo = "payo",
4
+ /** 前端支付 */
5
+ Tyro = "tyro",
6
+ /** 后端支付 - 支付 + 退款 */
7
+ Windcave = "windcave",
8
+ Stripe = "stripe",
9
+ Linkly = "linkly"
10
+ }
11
+ export declare enum StatusEnum {
12
+ Loading = "loading",
13
+ Warn = "warn",
14
+ Fail = "fail",
15
+ Success = "success",
16
+ Pedding = "pedding",
17
+ Resove = "resove",
18
+ Reject = "reject",
19
+ Question = "question"
20
+ }
21
+ export declare enum ModeEnum {
22
+ /** 支付 */
23
+ Pay = "pay",
24
+ /** 完整支付 */
25
+ FullPay = "fullPay",
26
+ /** 退款 */
27
+ Refund = "refund",
28
+ /** 查询 */
29
+ Query = "query"
30
+ }
31
+ /**
32
+ * 崩溃恢复
33
+ */
34
+ export declare enum RestoreEumn {
35
+ /** 常规 */
36
+ Normal = "normal",
37
+ /** 恢复 */
38
+ Restore = "restore"
39
+ }
40
+ /**
41
+ * 订单状态
42
+ */
43
+ export declare enum OrderEumn {
44
+ /** 恢复 */
45
+ Restore = "restore",
46
+ /** 常规 */
47
+ Normal = "normal",
48
+ /** 成功 */
49
+ Succeed = "succeed",
50
+ /** 失败 */
51
+ Failed = "failed",
52
+ /** 等待 */
53
+ Pending = "pending",
54
+ /** 没有订单状态 */
55
+ Null = "null"
56
+ }
57
+ export declare enum ClientEnum {
58
+ /** 用户端 */
59
+ User = "user",
60
+ /** 商家端 */
61
+ Merchant = "merchant"
62
+ }
63
+ export declare enum RouteEnum {
64
+ /** 改价页 */
65
+ Amount = "amount",
66
+ /** 门店列表页 */
67
+ DeviceList = "deviceList",
68
+ /**支付页 */
69
+ Pay = "pay"
70
+ }
71
+ export declare enum PayRouteEnum {
72
+ Step = "step",
73
+ Unset = "unset"
74
+ }
75
+ export declare type RouteType = `${RouteEnum}`;
76
+ export declare type PayRouteType = `${PayRouteEnum}`;
77
+ export declare type DeviceStatusType = `${EftposEnum}`;
78
+ export declare type StatusType = `${StatusEnum}`;
79
+ export declare type ModeType = `${ModeEnum}`;
80
+ export interface PosProps {
81
+ /** 厂商类型 */
82
+ type: DeviceStatusType;
83
+ getApi: () => {
84
+ [key: string]: (...agrn: unknown[]) => Promise<unknown>;
85
+ };
86
+ params: {
87
+ [key: string]: unknown;
88
+ };
89
+ /** 回调 */
90
+ onChangeStatus: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page' | 'print' | 'mark_tx_processed', params?: {
91
+ [keys: string]: unknown;
92
+ } | string, other?: any) => void;
93
+ onChangeParams(...agrn: unknown[]): void;
94
+ terminal: {
95
+ network: boolean;
96
+ };
97
+ device?: {
98
+ [key: string]: unknown;
99
+ };
100
+ mode: ModeEnum;
101
+ tyroUrl?: string;
102
+ tyroVersion?: string;
103
+ source: 'normal' | 'restore';
104
+ }
105
+ export interface PayProps {
106
+ api: ReturnType<PosProps['getApi']>;
107
+ onChange: PosProps['onChangeStatus'];
108
+ className?: string;
109
+ }
110
+ export declare type Amount = {
111
+ name: string;
112
+ /** 订单金额 */
113
+ money: number;
114
+ /** 上一轮操作订单金额 */
115
+ amount: number;
116
+ /** 金额单位 */
117
+ symbol: string;
118
+ /** 手续费-百分率 */
119
+ surRate: number;
120
+ /** 手续费-是否开启 */
121
+ surMoney: number;
122
+ /** 手续费-是否存在 */
123
+ surcharge: boolean;
124
+ /** 是否使用原始手续费 */
125
+ useOriginSurcharge: boolean;
126
+ };
127
+ export declare type PayAmount = {
128
+ /** 手续费-百分比-带百分号 例: 1% =》 数据为 0.01 */
129
+ surPercentRate: string;
130
+ /** 手续费-百分比-不带百分号 例:1% =》 数据为 1 */
131
+ surRate: string;
132
+ /** 手续费-比例金额 amount * surPercentRate */
133
+ surRateMoney: string;
134
+ /** 手续费-固定金额 */
135
+ surMoney: string;
136
+ /** 手续费 = surPercentRate + surMoney */
137
+ surcharge: string;
138
+ /** 支付金额 (不包含手续费) */
139
+ amount: string;
140
+ /** 支付总金额 = amount + surcharge */
141
+ total: string;
142
+ /** 订单金额 */
143
+ sourceAmount: string;
144
+ /** 支付总金额带单位 + 单位 */
145
+ totalUnit: string;
146
+ };
147
+ export declare enum PayStatus {
148
+ 'Success' = "200",
149
+ /** 未生成交易记录 */
150
+ 'NoPay' = "4004",
151
+ /** 配对失效 */
152
+ 'PairingFailure' = "606020",
153
+ /** 支付失败 */
154
+ 'Unknown' = "701000",
155
+ /** 交易请求超时 */
156
+ 'Timeout' = "701001",
157
+ /** 支付失败 */
158
+ 'PaymentFailed' = "701002",
159
+ /** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
160
+ 'PayOtherEftposFailed' = "701003",
161
+ /** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
162
+ 'PayCardErrorFailed' = "701004",
163
+ /** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
164
+ 'NoNetWork' = "701005",
165
+ /** 交易等待超时 */
166
+ 'PayTimeout' = "701006",
167
+ /** 连接失败 */
168
+ 'SocketError' = "701007",
169
+ /** 银行拒绝 */
170
+ 'PayBankRefuses' = "701008",
171
+ /** 签名拒绝 */
172
+ 'SignatureDeclined' = "701009",
173
+ /** 配置参数错误 */
174
+ 'UserConfigError' = "701010"
175
+ }
176
+ export interface ActionProps {
177
+ onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
178
+ [key: string]: unknown;
179
+ } | string) => void;
180
+ api: {
181
+ [key: string]: (...agrn: unknown[]) => Promise<unknown>;
182
+ };
183
+ className?: string;
184
+ isMobile?: boolean;
185
+ formatAmount: (amount: number | string, precision: number, symbol: string) => string;
186
+ }
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "success" | "print" | "page" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -15,11 +15,11 @@ 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<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"warn" | "success" | "loading" | "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>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "payo" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };