@pisell/private-materials 6.3.64 → 6.3.65

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 (823) 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.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
  8. package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
  9. package/es/businessModel/SalesModel/index.d.ts +0 -1
  10. package/es/businessModel/index.d.ts +0 -0
  11. package/es/components/Sales/Cart/types.d.ts +31 -0
  12. package/es/components/Sales/Cart/utils.d.ts +63 -0
  13. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  14. package/es/components/Sales/Customer/index.d.ts +25 -0
  15. package/es/components/Sales/Summary/utils.d.ts +51 -0
  16. package/es/components/Sales/hooks/index.d.ts +1 -0
  17. package/es/components/Sales/utils/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  21. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  22. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  23. package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  24. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  25. package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  26. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  27. package/es/components/appointmentBooking/locales.d.ts +363 -0
  28. package/es/components/appointmentBooking/type.d.ts +17 -0
  29. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  30. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  31. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  32. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  36. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  37. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  38. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  43. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  44. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  45. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  46. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  47. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  48. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  49. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  50. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  51. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  52. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  53. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  54. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  55. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  56. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  57. package/es/components/authentication/index.d.ts +0 -0
  58. package/es/components/booking/addons/model.d.ts +10 -1
  59. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  60. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  61. package/es/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
  62. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  63. package/es/components/booking/components/drawer/index.d.ts +19 -0
  64. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  65. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  66. package/es/components/booking/components/footer/serve.d.ts +3 -0
  67. package/es/components/booking/components/menuButton/index.d.ts +10 -0
  68. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  69. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  70. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  71. package/es/components/booking/dashboard/serve.d.ts +1 -0
  72. package/es/components/booking/deposit/serve.d.ts +8 -0
  73. package/es/components/booking/editBookingModal/locales.d.ts +21 -0
  74. package/es/components/booking/editBookingModal/mock.d.ts +807 -0
  75. package/es/components/booking/editBookingModal/type.d.ts +12 -0
  76. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  77. package/es/components/booking/forms/footer.d.ts +1 -0
  78. package/es/components/booking/forms/format.d.ts +11 -0
  79. package/es/components/booking/forms/model.d.ts +10 -1
  80. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  81. package/es/components/booking/forms/serve.d.ts +18 -0
  82. package/es/components/booking/forms/single/index.d.ts +1 -0
  83. package/es/components/booking/forms/table/index.d.ts +1 -0
  84. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  85. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  86. package/es/components/booking/info/Provider.d.ts +0 -0
  87. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  88. package/es/components/booking/info/client/serve.d.ts +2 -0
  89. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  90. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
  91. package/es/components/booking/info/date/index.d.ts +1 -0
  92. package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  93. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  94. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  95. package/es/components/booking/info/index.d.ts +0 -1
  96. package/es/components/booking/info/model.d.ts +10 -1
  97. package/es/components/booking/info/notes/index.d.ts +1 -0
  98. package/es/components/booking/info/pet/serve.d.ts +1 -0
  99. package/es/components/booking/info/service/Lists.d.ts +0 -1
  100. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  101. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  102. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  103. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  104. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  105. package/es/components/booking/info/service/serve.d.ts +20 -0
  106. package/es/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
  107. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  108. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  109. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  110. package/es/components/booking/info/service2/utils.d.ts +1 -1
  111. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  112. package/es/components/booking/info2/service/addService/mock.d.ts +214 -0
  113. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  114. package/es/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
  115. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  116. package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  117. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  118. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  119. package/es/components/booking/locales.d.ts +843 -0
  120. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  121. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  122. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  123. package/es/components/booking/materiels/startTime/index.d.ts +10 -0
  124. package/es/components/booking/model.d.ts +9 -1
  125. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  126. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  127. package/es/components/booking/notes/model.d.ts +10 -1
  128. package/es/components/booking/payments/model.d.ts +10 -1
  129. package/es/components/eftpos/const.d.ts +64 -0
  130. package/es/components/eftpos/deviceList/index.d.ts +2 -0
  131. package/es/components/eftpos/form/index.d.ts +20 -0
  132. package/es/components/eftpos/group/index.d.ts +5 -0
  133. package/es/components/eftpos/hooks.d.ts +33 -0
  134. package/es/components/eftpos/icon/apiKey.d.ts +4 -0
  135. package/es/components/eftpos/icon/device.d.ts +4 -0
  136. package/es/components/eftpos/index.d.ts +1 -0
  137. package/es/components/eftpos/locales.d.ts +99 -0
  138. package/es/components/eftpos/log.d.ts +8 -0
  139. package/es/components/eftpos/pos.d.ts +1 -0
  140. package/es/components/eftpos/receipt/index.d.ts +23 -0
  141. package/es/components/eftpos/surcharge/index.d.ts +30 -0
  142. package/es/components/eftposPay/amount.d.ts +2 -1
  143. package/es/components/eftposPay/component/alert/index.d.ts +6 -0
  144. package/es/components/eftposPay/component/alert/warn.d.ts +2 -0
  145. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  146. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  147. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  148. package/es/components/eftposPay/component/header/index.d.ts +10 -0
  149. package/es/components/eftposPay/component/header/titlebar.d.ts +12 -0
  150. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  151. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  152. package/es/components/eftposPay/component/step/index.d.ts +11 -0
  153. package/es/components/eftposPay/component/step/step.d.ts +8 -0
  154. package/es/components/eftposPay/const.d.ts +184 -0
  155. package/es/components/eftposPay/device.d.ts +1 -1
  156. package/es/components/eftposPay/helper.d.ts +83 -0
  157. package/es/components/eftposPay/hooks.d.ts +2 -2
  158. package/es/components/eftposPay/locales.d.ts +330 -0
  159. package/es/components/eftposPay/pay.d.ts +1 -0
  160. package/es/components/eftposPay/payo/config.d.ts +1 -0
  161. package/es/components/eftposPay/store/index.d.ts +355 -0
  162. package/es/components/eftposPay/store/useThunkReducer.d.ts +9 -0
  163. package/es/components/eftposPay/tip.d.ts +1 -0
  164. package/es/components/eftposPay/tyro/hooks.d.ts +13 -0
  165. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  166. package/es/components/eftposPay/windcave/timer.d.ts +29 -0
  167. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  168. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  169. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  170. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  171. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  172. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  173. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  174. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  175. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  176. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  177. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  178. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  179. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  180. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  181. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  182. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  183. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  184. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  185. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  186. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
  187. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
  188. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  189. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  190. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  191. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  192. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  193. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  194. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  195. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  196. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  197. package/es/components/eventBooking/locales.d.ts +246 -0
  198. package/es/components/eventBooking/type.d.ts +17 -0
  199. package/es/components/eventBooking/utils.d.ts +45 -0
  200. package/es/components/login/index.d.ts +1 -0
  201. package/es/components/login/locales.d.ts +24 -0
  202. package/es/components/pay/toC/PaymentList/mock.d.ts +88 -0
  203. package/es/components/pay/toC/PaymentList/status.d.ts +4 -0
  204. package/es/components/pay/toC/PaymentList/utils.d.ts +10 -0
  205. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  206. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  207. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  208. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  209. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
  210. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
  211. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  212. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  213. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  214. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  215. package/es/components/pay/toC/locales.d.ts +301 -0
  216. package/es/components/pay/toC/model.d.ts +9 -1
  217. package/es/components/pay/toC/status.d.ts +13 -0
  218. package/es/components/pinModal/locales.d.ts +27 -0
  219. package/es/components/pinModal/types.d.ts +0 -0
  220. package/es/components/pinVerifyModal/locales.d.ts +24 -0
  221. package/es/components/pinVerifyModal/types.d.ts +33 -0
  222. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  223. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  224. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  225. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  226. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  227. package/es/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
  228. package/es/components/pisellSelectCustomerModal/locales.d.ts +81 -0
  229. package/es/components/productExtension/card/index.d.ts +10 -0
  230. package/es/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
  231. package/es/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
  232. package/es/components/productExtension/fields/Forms/index.d.ts +10 -0
  233. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  234. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  235. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  236. package/es/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
  237. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  238. package/es/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
  239. package/es/components/productExtension/locales.d.ts +48 -0
  240. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  241. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  242. package/es/components/productSelect/locales.d.ts +18 -0
  243. package/es/components/productSelect/mock.d.ts +134 -0
  244. package/es/components/productSelect/theme/token.d.ts +17 -0
  245. package/es/components/ruleSetting/locales.d.ts +48 -0
  246. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  247. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  248. package/es/components/schedules/calendar/index.d.ts +1 -0
  249. package/es/components/schedules/components/Card/index.d.ts +6 -0
  250. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  251. package/es/components/schedules/components/CurrentDay/utils.d.ts +1 -0
  252. package/es/components/schedules/components/DropdownSort/index.d.ts +3 -0
  253. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  254. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
  255. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  256. package/es/components/schedules/constants.d.ts +1 -0
  257. package/es/components/schedules/locales.d.ts +87 -0
  258. package/es/components/schedules/model.d.ts +9 -1
  259. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  260. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  261. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  262. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  263. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  264. package/es/components/schedules/products/index.d.ts +1 -0
  265. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  266. package/es/components/schedules/products/list/index.d.ts +1 -0
  267. package/es/components/schedules/resources/add/index.d.ts +3 -0
  268. package/es/components/schedules/resources/index.d.ts +1 -0
  269. package/es/components/schedules/resources/list/index.d.ts +1 -0
  270. package/es/components/schedules/resources/relationProduct/index.d.ts +6 -0
  271. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  272. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  273. package/es/components/schedules/schedules/index.d.ts +1 -0
  274. package/es/components/schedules/type.d.ts +157 -0
  275. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  276. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  277. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  278. package/es/components/shoppingCart/index.d.ts +1 -0
  279. package/es/components/shoppingCart/locales.d.ts +33 -0
  280. package/es/components/shoppingCart/mock.d.ts +40 -0
  281. package/es/components/shoppingCart/type.d.ts +48 -0
  282. package/es/components/shoppingCart/utils.d.ts +63 -0
  283. package/es/components/stepController/components/Content/index.d.ts +7 -0
  284. package/es/components/stepController/components/Footer/index.d.ts +8 -0
  285. package/es/components/stepController/locales.d.ts +27 -0
  286. package/es/components/stepController/types.d.ts +23 -0
  287. package/es/components/subTotal/locales.d.ts +42 -0
  288. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  289. package/es/components/systemSettings/registry/services.d.ts +77 -0
  290. package/es/components/systemSettings/registry/types.d.ts +126 -0
  291. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  292. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  293. package/es/components/tabProduct/card/index.d.ts +7 -0
  294. package/es/components/tabProduct/index.d.ts +16 -0
  295. package/es/components/tabProduct/tabs/index.d.ts +21 -0
  296. package/es/components/taxSelect/locales.d.ts +24 -0
  297. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  298. package/es/components/ticketBooking/data.d.ts +58 -0
  299. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  300. package/es/components/ticketBooking/locales.d.ts +174 -0
  301. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  302. package/es/components/wallet/utils.d.ts +48 -0
  303. package/es/components/walletList/locales.d.ts +27 -0
  304. package/es/components/walletList/model.d.ts +6 -0
  305. package/es/components/walletList/types/index.d.ts +194 -0
  306. package/es/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
  307. package/es/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
  308. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  309. package/es/components/workSpaceList/data.d.ts +42 -0
  310. package/es/hooks/useComponents.d.ts +5 -0
  311. package/es/hooks/useEngineContext.d.ts +10 -0
  312. package/es/hooks/useLocale.d.ts +2 -0
  313. package/es/hooks/useLoginUser.d.ts +2 -0
  314. package/es/hooks/usePaymentLogger.d.ts +1 -0
  315. package/es/hooks/usePrefix.d.ts +1 -0
  316. package/es/hooks/useWindowSize.d.ts +5 -0
  317. package/es/plus/clientName/index.d.ts +4 -0
  318. package/es/plus/clientName/type.d.ts +13 -0
  319. package/es/plus/clientName/utils.d.ts +2 -0
  320. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  321. package/es/plus/contactInfo/locales.d.ts +15 -0
  322. package/es/plus/contactInfo/types.d.ts +91 -0
  323. package/es/plus/contactInfo/utils.d.ts +7 -0
  324. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  325. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  326. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  327. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  328. package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  329. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  330. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  331. package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  332. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  333. package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  334. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  335. package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
  336. package/es/plus/productSelect/locales.d.ts +18 -0
  337. package/es/plus/productSelect/theme/token.d.ts +17 -0
  338. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  339. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  340. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  341. package/es/plus/saasLogin/locales.d.ts +51 -0
  342. package/es/plus/saasLogin/types.d.ts +62 -0
  343. package/es/plus/saasLogin/utils.d.ts +35 -0
  344. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  345. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  346. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  347. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  348. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  349. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  350. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  351. package/es/plus/saasRegister/locales.d.ts +117 -0
  352. package/es/plus/saasRegister/types.d.ts +114 -0
  353. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  354. package/es/plus/selectHolder/locales.d.ts +21 -0
  355. package/es/plus/selectHolder/types.d.ts +104 -0
  356. package/es/plus/selectHolder/utils.d.ts +9 -0
  357. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  358. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  359. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  360. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  361. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  362. package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
  363. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  364. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  365. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  366. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  367. package/es/plus/skuOptionsSelection/types.d.ts +424 -0
  368. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  369. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  370. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  371. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +3 -1
  372. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  373. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  374. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  375. package/es/plus/walletEditor/locales.d.ts +135 -0
  376. package/es/plus/walletEditor/types.d.ts +52 -0
  377. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  378. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  379. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  380. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  381. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  382. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  383. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  384. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  385. package/es/pro/Login2.0/locales.d.ts +543 -0
  386. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  387. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  388. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  389. package/es/pro/Login2.0/types.d.ts +167 -0
  390. package/es/pro/NumericStepper/index.d.ts +43 -0
  391. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  392. package/es/pro/Selector/Item.d.ts +14 -0
  393. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  394. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  395. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  396. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  397. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  398. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  399. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  400. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  401. package/es/pro/Selector/components/index.d.ts +4 -0
  402. package/es/pro/Selector/demo.d.ts +2 -0
  403. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  404. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  405. package/es/pro/Selector/index.d.ts +11 -0
  406. package/es/pro/Selector/locales.d.ts +36 -0
  407. package/es/pro/Selector/types.d.ts +173 -0
  408. package/es/pro/Selector/utils/index.d.ts +49 -0
  409. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  410. package/es/test/setup.d.ts +1 -0
  411. package/es/utils/date.d.ts +11 -0
  412. package/es/utils/load.d.ts +11 -0
  413. package/es/utils/locales.d.ts +1 -0
  414. package/es/utils/tasks/type.d.ts +4 -0
  415. package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
  416. package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
  417. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  418. package/lib/businessModel/index.d.ts +0 -0
  419. package/lib/components/Sales/Cart/types.d.ts +31 -0
  420. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  421. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  422. package/lib/components/Sales/Customer/index.d.ts +25 -0
  423. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  424. package/lib/components/Sales/hooks/index.d.ts +1 -0
  425. package/lib/components/Sales/utils/index.d.ts +1 -0
  426. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  427. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  428. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  429. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  430. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  431. package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  432. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  433. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  434. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  435. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  436. package/lib/components/appointmentBooking/type.d.ts +17 -0
  437. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  438. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  439. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  440. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  441. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  442. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  443. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  444. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  445. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  446. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  447. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  448. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  449. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  450. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  451. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  452. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  453. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  454. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  455. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  456. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  457. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  458. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  459. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  460. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  461. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  462. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  463. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  464. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  465. package/lib/components/authentication/index.d.ts +0 -0
  466. package/lib/components/booking/addons/model.d.ts +10 -1
  467. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  468. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  469. package/lib/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
  470. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  471. package/lib/components/booking/components/drawer/index.d.ts +19 -0
  472. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  473. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  474. package/lib/components/booking/components/footer/serve.d.ts +3 -0
  475. package/lib/components/booking/components/menuButton/index.d.ts +10 -0
  476. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  477. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  478. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  479. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  480. package/lib/components/booking/deposit/serve.d.ts +8 -0
  481. package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
  482. package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
  483. package/lib/components/booking/editBookingModal/type.d.ts +12 -0
  484. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  485. package/lib/components/booking/forms/footer.d.ts +1 -0
  486. package/lib/components/booking/forms/format.d.ts +11 -0
  487. package/lib/components/booking/forms/model.d.ts +10 -1
  488. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  489. package/lib/components/booking/forms/serve.d.ts +18 -0
  490. package/lib/components/booking/forms/single/index.d.ts +1 -0
  491. package/lib/components/booking/forms/table/index.d.ts +1 -0
  492. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  493. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  494. package/lib/components/booking/info/Provider.d.ts +0 -0
  495. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  496. package/lib/components/booking/info/client/serve.d.ts +2 -0
  497. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  498. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
  499. package/lib/components/booking/info/date/index.d.ts +1 -0
  500. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  501. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  502. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  503. package/lib/components/booking/info/index.d.ts +0 -1
  504. package/lib/components/booking/info/model.d.ts +10 -1
  505. package/lib/components/booking/info/notes/index.d.ts +1 -0
  506. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  507. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  508. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  509. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  510. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  511. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  512. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  513. package/lib/components/booking/info/service/serve.d.ts +20 -0
  514. package/lib/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
  515. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  516. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  517. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  518. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  519. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  520. package/lib/components/booking/info2/service/addService/mock.d.ts +214 -0
  521. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  522. package/lib/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
  523. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  524. package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  525. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  526. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  527. package/lib/components/booking/locales.d.ts +843 -0
  528. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  529. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  530. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  531. package/lib/components/booking/materiels/startTime/index.d.ts +10 -0
  532. package/lib/components/booking/model.d.ts +9 -1
  533. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  534. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  535. package/lib/components/booking/notes/model.d.ts +10 -1
  536. package/lib/components/booking/payments/model.d.ts +10 -1
  537. package/lib/components/eftpos/const.d.ts +64 -0
  538. package/lib/components/eftpos/deviceList/index.d.ts +2 -0
  539. package/lib/components/eftpos/form/index.d.ts +20 -0
  540. package/lib/components/eftpos/group/index.d.ts +5 -0
  541. package/lib/components/eftpos/hooks.d.ts +33 -0
  542. package/lib/components/eftpos/icon/apiKey.d.ts +4 -0
  543. package/lib/components/eftpos/icon/device.d.ts +4 -0
  544. package/lib/components/eftpos/index.d.ts +1 -0
  545. package/lib/components/eftpos/locales.d.ts +99 -0
  546. package/lib/components/eftpos/log.d.ts +8 -0
  547. package/lib/components/eftpos/pos.d.ts +1 -0
  548. package/lib/components/eftpos/receipt/index.d.ts +23 -0
  549. package/lib/components/eftpos/surcharge/index.d.ts +30 -0
  550. package/lib/components/eftposPay/amount.d.ts +2 -1
  551. package/lib/components/eftposPay/component/alert/index.d.ts +6 -0
  552. package/lib/components/eftposPay/component/alert/warn.d.ts +2 -0
  553. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  554. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  555. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  556. package/lib/components/eftposPay/component/header/index.d.ts +10 -0
  557. package/lib/components/eftposPay/component/header/titlebar.d.ts +12 -0
  558. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  559. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  560. package/lib/components/eftposPay/component/step/index.d.ts +11 -0
  561. package/lib/components/eftposPay/component/step/step.d.ts +8 -0
  562. package/lib/components/eftposPay/const.d.ts +184 -0
  563. package/lib/components/eftposPay/device.d.ts +1 -1
  564. package/lib/components/eftposPay/helper.d.ts +83 -0
  565. package/lib/components/eftposPay/hooks.d.ts +2 -2
  566. package/lib/components/eftposPay/locales.d.ts +330 -0
  567. package/lib/components/eftposPay/pay.d.ts +1 -0
  568. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  569. package/lib/components/eftposPay/store/index.d.ts +355 -0
  570. package/lib/components/eftposPay/store/useThunkReducer.d.ts +9 -0
  571. package/lib/components/eftposPay/tip.d.ts +1 -0
  572. package/lib/components/eftposPay/tyro/hooks.d.ts +13 -0
  573. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  574. package/lib/components/eftposPay/windcave/timer.d.ts +29 -0
  575. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  576. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  577. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  578. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  579. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  580. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  581. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  582. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  583. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  584. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  585. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  586. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  587. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  588. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  589. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  590. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  591. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  592. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  593. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  594. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
  595. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
  596. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  597. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  598. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  599. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  600. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  601. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  602. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  603. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  604. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  605. package/lib/components/eventBooking/locales.d.ts +246 -0
  606. package/lib/components/eventBooking/type.d.ts +17 -0
  607. package/lib/components/eventBooking/utils.d.ts +45 -0
  608. package/lib/components/login/index.d.ts +1 -0
  609. package/lib/components/login/locales.d.ts +24 -0
  610. package/lib/components/pay/toC/PaymentList/mock.d.ts +88 -0
  611. package/lib/components/pay/toC/PaymentList/status.d.ts +4 -0
  612. package/lib/components/pay/toC/PaymentList/utils.d.ts +10 -0
  613. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  614. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  615. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  616. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  617. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
  618. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
  619. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  620. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  621. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  622. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  623. package/lib/components/pay/toC/locales.d.ts +301 -0
  624. package/lib/components/pay/toC/model.d.ts +9 -1
  625. package/lib/components/pay/toC/status.d.ts +13 -0
  626. package/lib/components/pinModal/locales.d.ts +27 -0
  627. package/lib/components/pinModal/types.d.ts +0 -0
  628. package/lib/components/pinVerifyModal/locales.d.ts +24 -0
  629. package/lib/components/pinVerifyModal/types.d.ts +33 -0
  630. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  631. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  632. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  633. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  634. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  635. package/lib/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
  636. package/lib/components/pisellSelectCustomerModal/locales.d.ts +81 -0
  637. package/lib/components/productExtension/card/index.d.ts +10 -0
  638. package/lib/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
  639. package/lib/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
  640. package/lib/components/productExtension/fields/Forms/index.d.ts +10 -0
  641. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  642. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  643. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  644. package/lib/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
  645. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  646. package/lib/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
  647. package/lib/components/productExtension/locales.d.ts +48 -0
  648. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  649. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  650. package/lib/components/productSelect/locales.d.ts +18 -0
  651. package/lib/components/productSelect/mock.d.ts +134 -0
  652. package/lib/components/productSelect/theme/token.d.ts +17 -0
  653. package/lib/components/ruleSetting/locales.d.ts +48 -0
  654. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  655. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  656. package/lib/components/schedules/calendar/index.d.ts +1 -0
  657. package/lib/components/schedules/components/Card/index.d.ts +6 -0
  658. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  659. package/lib/components/schedules/components/CurrentDay/utils.d.ts +1 -0
  660. package/lib/components/schedules/components/DropdownSort/index.d.ts +3 -0
  661. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  662. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
  663. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  664. package/lib/components/schedules/constants.d.ts +1 -0
  665. package/lib/components/schedules/locales.d.ts +87 -0
  666. package/lib/components/schedules/model.d.ts +9 -1
  667. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  668. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  669. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  670. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  671. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  672. package/lib/components/schedules/products/index.d.ts +1 -0
  673. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  674. package/lib/components/schedules/products/list/index.d.ts +1 -0
  675. package/lib/components/schedules/resources/add/index.d.ts +3 -0
  676. package/lib/components/schedules/resources/index.d.ts +1 -0
  677. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  678. package/lib/components/schedules/resources/relationProduct/index.d.ts +6 -0
  679. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  680. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  681. package/lib/components/schedules/schedules/index.d.ts +1 -0
  682. package/lib/components/schedules/type.d.ts +157 -0
  683. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  684. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  685. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  686. package/lib/components/shoppingCart/index.d.ts +1 -0
  687. package/lib/components/shoppingCart/locales.d.ts +33 -0
  688. package/lib/components/shoppingCart/mock.d.ts +40 -0
  689. package/lib/components/shoppingCart/type.d.ts +48 -0
  690. package/lib/components/shoppingCart/utils.d.ts +63 -0
  691. package/lib/components/stepController/components/Content/index.d.ts +7 -0
  692. package/lib/components/stepController/components/Footer/index.d.ts +8 -0
  693. package/lib/components/stepController/locales.d.ts +27 -0
  694. package/lib/components/stepController/types.d.ts +23 -0
  695. package/lib/components/subTotal/locales.d.ts +42 -0
  696. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  697. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  698. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  699. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  700. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  701. package/lib/components/tabProduct/card/index.d.ts +7 -0
  702. package/lib/components/tabProduct/index.d.ts +16 -0
  703. package/lib/components/tabProduct/tabs/index.d.ts +21 -0
  704. package/lib/components/taxSelect/locales.d.ts +24 -0
  705. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  706. package/lib/components/ticketBooking/data.d.ts +58 -0
  707. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  708. package/lib/components/ticketBooking/locales.d.ts +174 -0
  709. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  710. package/lib/components/wallet/utils.d.ts +48 -0
  711. package/lib/components/walletList/locales.d.ts +27 -0
  712. package/lib/components/walletList/model.d.ts +6 -0
  713. package/lib/components/walletList/types/index.d.ts +194 -0
  714. package/lib/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
  715. package/lib/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
  716. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  717. package/lib/components/workSpaceList/data.d.ts +42 -0
  718. package/lib/hooks/useComponents.d.ts +5 -0
  719. package/lib/hooks/useEngineContext.d.ts +10 -0
  720. package/lib/hooks/useLocale.d.ts +2 -0
  721. package/lib/hooks/useLoginUser.d.ts +2 -0
  722. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  723. package/lib/hooks/usePrefix.d.ts +1 -0
  724. package/lib/hooks/useWindowSize.d.ts +5 -0
  725. package/lib/plus/clientName/index.d.ts +4 -0
  726. package/lib/plus/clientName/type.d.ts +13 -0
  727. package/lib/plus/clientName/utils.d.ts +2 -0
  728. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  729. package/lib/plus/contactInfo/locales.d.ts +15 -0
  730. package/lib/plus/contactInfo/types.d.ts +91 -0
  731. package/lib/plus/contactInfo/utils.d.ts +7 -0
  732. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  733. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  734. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  735. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  736. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  737. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  738. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  739. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  740. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  741. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  742. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  743. package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
  744. package/lib/plus/productSelect/locales.d.ts +18 -0
  745. package/lib/plus/productSelect/theme/token.d.ts +17 -0
  746. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  747. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  748. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  749. package/lib/plus/saasLogin/locales.d.ts +51 -0
  750. package/lib/plus/saasLogin/types.d.ts +62 -0
  751. package/lib/plus/saasLogin/utils.d.ts +35 -0
  752. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  753. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  754. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  755. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  756. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  757. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  758. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  759. package/lib/plus/saasRegister/locales.d.ts +117 -0
  760. package/lib/plus/saasRegister/types.d.ts +114 -0
  761. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  762. package/lib/plus/selectHolder/locales.d.ts +21 -0
  763. package/lib/plus/selectHolder/types.d.ts +104 -0
  764. package/lib/plus/selectHolder/utils.d.ts +9 -0
  765. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  766. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  767. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  768. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  769. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  770. package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
  771. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  772. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  773. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  774. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  775. package/lib/plus/skuOptionsSelection/types.d.ts +424 -0
  776. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  777. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  778. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  779. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
  780. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  781. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  782. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  783. package/lib/plus/walletEditor/locales.d.ts +135 -0
  784. package/lib/plus/walletEditor/types.d.ts +52 -0
  785. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  786. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  787. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  788. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  789. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  790. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  791. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  792. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  793. package/lib/pro/Login2.0/locales.d.ts +543 -0
  794. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  795. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  796. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  797. package/lib/pro/Login2.0/types.d.ts +167 -0
  798. package/lib/pro/NumericStepper/index.d.ts +43 -0
  799. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  800. package/lib/pro/Selector/Item.d.ts +14 -0
  801. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  802. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  803. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  804. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  805. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  806. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  807. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  808. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  809. package/lib/pro/Selector/components/index.d.ts +4 -0
  810. package/lib/pro/Selector/demo.d.ts +2 -0
  811. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  812. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  813. package/lib/pro/Selector/index.d.ts +11 -0
  814. package/lib/pro/Selector/locales.d.ts +36 -0
  815. package/lib/pro/Selector/types.d.ts +173 -0
  816. package/lib/pro/Selector/utils/index.d.ts +49 -0
  817. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  818. package/lib/test/setup.d.ts +1 -0
  819. package/lib/utils/date.d.ts +11 -0
  820. package/lib/utils/load.d.ts +11 -0
  821. package/lib/utils/locales.d.ts +1 -0
  822. package/lib/utils/tasks/type.d.ts +4 -0
  823. package/package.json +2 -2
@@ -0,0 +1,184 @@
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
+ /** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
158
+ 'PayOtherEftposFailed' = "701003",
159
+ /** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
160
+ 'PayCardErrorFailed' = "701004",
161
+ /** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
162
+ 'NoNetWork' = "701005",
163
+ /** 交易等待超时 */
164
+ 'PayTimeout' = "701006",
165
+ /** 连接失败 */
166
+ 'SocketError' = "701007",
167
+ /** 银行拒绝 */
168
+ 'PayBankRefuses' = "701008",
169
+ /** 签名拒绝 */
170
+ 'SignatureDeclined' = "701009",
171
+ /** 配置参数错误 */
172
+ 'UserConfigError' = "701010"
173
+ }
174
+ export interface ActionProps {
175
+ onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
176
+ [key: string]: unknown;
177
+ } | string) => void;
178
+ api: {
179
+ [key: string]: (...agrn: unknown[]) => Promise<unknown>;
180
+ };
181
+ className?: string;
182
+ isMobile?: boolean;
183
+ formatAmount: (amount: number | string, precision: number, symbol: string) => string;
184
+ }
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -0,0 +1,83 @@
1
+ import { State } from './store';
2
+ import { Amount } from './const';
3
+ export declare function getUuid(): string;
4
+ /**
5
+ * @title: Promise化 setTimeout
6
+ * @param {number} time
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-20 13:03
9
+ */
10
+ export declare const sleep: (time: number) => Promise<unknown>;
11
+ /**
12
+ * @title: 克隆
13
+ * @Author: hongbing.wang
14
+ * @Date: 2024-08-20 13:03
15
+ */
16
+ export declare function cloneDeep(source: any, hash?: WeakMap<object, any>): any;
17
+ declare type key = 'mode' | 'amount' | 'order_id' | 'number' | 'device' | 'pay' | 'custom';
18
+ /**
19
+ * @title: 获取支付回调参数
20
+ * @Author: hongbing.wang
21
+ * @Date: 2024-08-20 20:26
22
+ */
23
+ export declare const getPayParams: (data: Partial<Omit<State, key>> & Pick<State, Extract<key, keyof State>>, statue: 'success' | 'fail') => {
24
+ number: string | number | undefined;
25
+ device: {
26
+ [key: string]: unknown;
27
+ } | undefined;
28
+ order_id: string | number;
29
+ amount?: undefined;
30
+ total?: undefined;
31
+ receipt?: undefined;
32
+ } | {
33
+ cardReaderSurcharge: {};
34
+ surMoney: string;
35
+ surcharge: string;
36
+ total: string;
37
+ number: string | number | undefined;
38
+ uniquePaymentNumber: string | number | undefined;
39
+ device: {
40
+ [key: string]: unknown;
41
+ } | undefined;
42
+ order_id: string | number;
43
+ receipt: {};
44
+ amount?: undefined;
45
+ } | {
46
+ amount: string | number;
47
+ total: string | number;
48
+ number: string | number | undefined;
49
+ device: {
50
+ [key: string]: unknown;
51
+ } | undefined;
52
+ order_id: string | number;
53
+ receipt: {};
54
+ } | {
55
+ amount: string | number;
56
+ total: string | number;
57
+ number: string | number | undefined;
58
+ order_id: string | number;
59
+ device?: undefined;
60
+ receipt?: undefined;
61
+ };
62
+ export declare const limitDecimals: (value: any) => any;
63
+ /**
64
+ * @title: 通用获取 金额信息
65
+ * @description: 在 amount 页面设置则使用 pay ,如果有 setting 则使用 setting 信息 ,都没有则设置0
66
+ * @param {State} store : 全局store数据管理
67
+ * @Author: hongbing.wang
68
+ * @Date: 2024-08-12 10:24
69
+ */
70
+ export declare function getAmonunt(store: State): Amount;
71
+ export declare function getPayAmonunt({ money, amount, surRate, surMoney }: Amount, formatAmount: (...agrn: unknown[]) => string): {
72
+ sourceAmount: string;
73
+ amount: string;
74
+ surcharge: string;
75
+ total: string;
76
+ surPercentRate: string;
77
+ surRate: string;
78
+ surMoney: string;
79
+ surRateMoney: string;
80
+ totalUnit: string;
81
+ };
82
+ export declare function getBrowserVersion(): string;
83
+ export {};
@@ -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<"loading" | "success" | "warn" | "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" | "payo" | "tyro" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -0,0 +1,330 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.eftpos-pay.text.loading': (mode: string) => string;
4
+ 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
5
+ 'page.eftpos-pay.text.surcharge': string;
6
+ 'page.eftpos-pay.text.card': string;
7
+ 'page.eftpos-pay.text.account': string;
8
+ 'page.eftpos-pay.text.pin': string;
9
+ 'page.eftpos-pay.text.receipt': string;
10
+ 'page.eftpos-pay.text.receipt.again.title': string;
11
+ 'page.eftpos-pay.text.receipt.again.text': string;
12
+ 'page.eftpos-pay.text.signature.title': string;
13
+ 'page.eftpos-pay.text.signature.text': (mode: string) => "Decline will cause payment failure, need to pay again." | "Decline will cause refund failure; a refund needs to be processed again.";
14
+ 'page.eftpos-pay.text.timedout.title': string;
15
+ 'page.eftpos-pay.text.timedout.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
16
+ 'page.eftpos-pay.text.request.title': (mode: string) => string;
17
+ 'page.eftpos-pay.text.request.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
18
+ 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
19
+ 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually mark the refund result based on the refund status displayed on the card reader, to ensure the accuracy of the transaction.";
20
+ 'page.eftpos-pay.text.interrupted': string;
21
+ 'page.eftpos-pay.text.reconnect': string;
22
+ 'page.eftpos-pay.text.waiting.pay': (mode: string) => "If you have confirmed the payment status from the EFTPOS, you can press Manual marking buttonto skip." | "If you have confirmed the refund status on the EFTPOS, you can press the Manual Marking button to skip.";
23
+ 'page.eftpos-pay.text.restored': string;
24
+ 'page.eftpos-pay.text.disconnected': string;
25
+ 'page.eftpos-pay.text.waiting.network': string;
26
+ 'page.eftpos-pay.text.waiting.wifi.title': string;
27
+ 'page.eftpos-pay.text.waiting.wifi.connection': string;
28
+ 'page.eftpos-pay.text.waiting.wifi.router': string;
29
+ 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
30
+ 'page.eftpos-pay.text.accept': string;
31
+ 'page.eftpos-pay.text.decline': string;
32
+ 'page.eftpos-pay.text.manual.marking': string;
33
+ 'page.eftpos-pay.text.manual.title': string;
34
+ 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
35
+ 'page.eftpos-pay.text.manual.confirm': string;
36
+ 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
37
+ 'page.eftpos-pay.text.manual.diff': string;
38
+ 'page.eftpos-pay.text.manual.tip': string;
39
+ 'page.eftpos-pay.text.manual.cancel': string;
40
+ 'page.eftpos-pay.text.manual.print_receipt': string;
41
+ 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "Modify payment info" | "Modify refund information";
42
+ 'page.eftpos-pay.text.successful': (mode: string) => string;
43
+ 'page.eftpos-pay.text.failed': (mode: string) => string;
44
+ 'page.eftpos-pay.text.confirm': string;
45
+ 'page.eftpos-pay.text.confirm.decline': string;
46
+ 'page.eftpos-pay.text.back': string;
47
+ 'page.eftpos-pay.text.cancel': string;
48
+ 'page.eftpos-pay.text.waiting.processing': string;
49
+ 'page.eftpos-pay.text.waiting.signature': string;
50
+ 'page.eftpos-pay.text.waiting.decline': string;
51
+ 'page.eftpos-pay.text.processing': string;
52
+ 'page.eftpos-pay.text.transaction.processing': string;
53
+ 'page.eftpos-pay.text.retry': string;
54
+ 'page.eftpos-pay.text.sure': string;
55
+ 'page.eftpos-pay.text.device': string;
56
+ 'page.eftpos-pay.text.leave': string;
57
+ 'page.eftpos-pay.text.latest.success': string;
58
+ 'page.eftpos-pay.text.latest.amount': string;
59
+ 'page.eftpos-pay.text.latest.surcharge': string;
60
+ 'page.eftpos-pay.text.latest.time': string;
61
+ 'page.eftpos-pay.text.latest.confirm': string;
62
+ 'page.eftpos-pay.text.amount.to.pay': string;
63
+ 'page.eftpos-pay.text.surcharge.percentage': string;
64
+ 'page.eftpos-pay.text.surcharge.fixed': string;
65
+ 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
66
+ 'page.eftpos-pay.text.surcharge.edit.title': string;
67
+ 'page.eftpos-pay.text.input.title': (name: string) => string;
68
+ 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
69
+ 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
70
+ 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
71
+ 'page.eftpos-pay.text.surcharge.edit.rate': string;
72
+ 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
73
+ 'page.eftpos-pay.text.transaction.end': string;
74
+ 'page.eftpos-pay.text.transaction.user.declined.title': string;
75
+ 'page.eftpos-pay.text.transaction.user.declined.text': string;
76
+ 'page.eftpos-pay.text.transaction.user.config.title': string;
77
+ 'page.eftpos-pay.text.transaction.user.config.text': string;
78
+ 'page.eftpos-pay.text.transaction.back.declined.title': string;
79
+ 'page.eftpos-pay.text.transaction.back.declined.text': string;
80
+ 'page.eftpos-pay.text.transaction.fail': string;
81
+ 'page.eftpos-pay.text.transaction.fail.timeout': string;
82
+ 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
83
+ 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
84
+ 'page.eftpos-pay.text.transaction.fail.terminal': string;
85
+ 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
86
+ 'page.eftpos-pay.text.transaction.fail.cancel': string;
87
+ 'page.eftpos-pay.text.transaction.fail.socket': string;
88
+ 'page.eftpos-pay.text.transaction.eftpos.fail': string;
89
+ 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
90
+ 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
91
+ 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
92
+ 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
93
+ 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "If you have confirmed the payment status of this order, please click on Manual marking." | "If you have confirmed the refund status of this order, please click on Manual Marking.";
94
+ 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
95
+ 'page.eftpos-pay.text.application': string;
96
+ 'page.eftpos-pay.text.approved': string;
97
+ 'page.eftpos-pay.text.device.no.title': string;
98
+ 'page.eftpos-pay.text.device.no.add': string;
99
+ 'page.eftpos-pay.text.device.no.web': string;
100
+ 'page.eftpos-pay.text.device.no.terminal': string;
101
+ 'page.eftpos-pay.text.waiting.decline.signature': string;
102
+ 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
103
+ 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
104
+ 'page.eftpos-pay.text.reconnecting': string;
105
+ 'page.eftpos-pay.text.reconnect.network': string;
106
+ 'page.eftpos-pay.text.network.disconnected': string;
107
+ 'page.eftpos-pay.text.not.connected': string;
108
+ 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
109
+ 'page.eftpos-pay.text.tyro': (key: string) => string;
110
+ };
111
+ 'zh-CN': {
112
+ 'page.eftpos-pay.text.loading': (mode: string) => string;
113
+ 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
114
+ 'page.eftpos-pay.text.surcharge': string;
115
+ 'page.eftpos-pay.text.card': string;
116
+ 'page.eftpos-pay.text.account': string;
117
+ 'page.eftpos-pay.text.pin': string;
118
+ 'page.eftpos-pay.text.receipt': string;
119
+ 'page.eftpos-pay.text.receipt.again.title': string;
120
+ 'page.eftpos-pay.text.receipt.again.text': string;
121
+ 'page.eftpos-pay.text.signature.title': string;
122
+ 'page.eftpos-pay.text.signature.text': (mode: string) => "拒绝将导致支付失败,需重新支付。" | "拒绝将导致退款失败;需要重新退款";
123
+ 'page.eftpos-pay.text.timedout.title': string;
124
+ 'page.eftpos-pay.text.timedout.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
125
+ 'page.eftpos-pay.text.request.title': (mode: string) => string;
126
+ 'page.eftpos-pay.text.request.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
127
+ 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
128
+ 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请您根据刷卡机上的退款状态,手动标记退款结果,以确保交易的准确性。";
129
+ 'page.eftpos-pay.text.interrupted': string;
130
+ 'page.eftpos-pay.text.reconnect': string;
131
+ 'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已经从EFTPOS确认了付款状态,您可以按手动标记按钮跳过。" | "如果您已确认了EFTPOS上的退款状态,您可以按下手动标记按钮跳过。";
132
+ 'page.eftpos-pay.text.restored': string;
133
+ 'page.eftpos-pay.text.disconnected': string;
134
+ 'page.eftpos-pay.text.waiting.network': string;
135
+ 'page.eftpos-pay.text.waiting.wifi.title': string;
136
+ 'page.eftpos-pay.text.waiting.wifi.connection': string;
137
+ 'page.eftpos-pay.text.waiting.wifi.router': string;
138
+ 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
139
+ 'page.eftpos-pay.text.accept': string;
140
+ 'page.eftpos-pay.text.decline': string;
141
+ 'page.eftpos-pay.text.manual.marking': string;
142
+ 'page.eftpos-pay.text.manual.title': string;
143
+ 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
144
+ 'page.eftpos-pay.text.manual.confirm': string;
145
+ 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
146
+ 'page.eftpos-pay.text.manual.diff': string;
147
+ 'page.eftpos-pay.text.manual.tip': string;
148
+ 'page.eftpos-pay.text.manual.cancel': string;
149
+ 'page.eftpos-pay.text.manual.print_receipt': string;
150
+ 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
151
+ 'page.eftpos-pay.text.successful': (mode: string) => string;
152
+ 'page.eftpos-pay.text.failed': (mode: string) => string;
153
+ 'page.eftpos-pay.text.confirm': string;
154
+ 'page.eftpos-pay.text.confirm.decline': string;
155
+ 'page.eftpos-pay.text.back': string;
156
+ 'page.eftpos-pay.text.cancel': string;
157
+ 'page.eftpos-pay.text.waiting.processing': string;
158
+ 'page.eftpos-pay.text.waiting.signature': string;
159
+ 'page.eftpos-pay.text.waiting.decline': string;
160
+ 'page.eftpos-pay.text.processing': string;
161
+ 'page.eftpos-pay.text.transaction.processing': string;
162
+ 'page.eftpos-pay.text.retry': string;
163
+ 'page.eftpos-pay.text.sure': string;
164
+ 'page.eftpos-pay.text.device': string;
165
+ 'page.eftpos-pay.text.leave': string;
166
+ 'page.eftpos-pay.text.latest.success': string;
167
+ 'page.eftpos-pay.text.latest.amount': string;
168
+ 'page.eftpos-pay.text.latest.surcharge': string;
169
+ 'page.eftpos-pay.text.latest.time': string;
170
+ 'page.eftpos-pay.text.latest.confirm': string;
171
+ 'page.eftpos-pay.text.amount.to.pay': string;
172
+ 'page.eftpos-pay.text.surcharge.percentage': string;
173
+ 'page.eftpos-pay.text.surcharge.fixed': string;
174
+ 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
175
+ 'page.eftpos-pay.text.surcharge.edit.title': string;
176
+ 'page.eftpos-pay.text.input.title': (name: string) => string;
177
+ 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
178
+ 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
179
+ 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
180
+ 'page.eftpos-pay.text.surcharge.edit.rate': string;
181
+ 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
182
+ 'page.eftpos-pay.text.transaction.end': string;
183
+ 'page.eftpos-pay.text.transaction.user.declined.title': string;
184
+ 'page.eftpos-pay.text.transaction.user.declined.text': string;
185
+ 'page.eftpos-pay.text.transaction.user.config.title': string;
186
+ 'page.eftpos-pay.text.transaction.user.config.text': string;
187
+ 'page.eftpos-pay.text.transaction.back.declined.title': string;
188
+ 'page.eftpos-pay.text.transaction.back.declined.text': string;
189
+ 'page.eftpos-pay.text.transaction.fail': string;
190
+ 'page.eftpos-pay.text.transaction.fail.timeout': string;
191
+ 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
192
+ 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
193
+ 'page.eftpos-pay.text.transaction.fail.terminal': string;
194
+ 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
195
+ 'page.eftpos-pay.text.transaction.fail.cancel': string;
196
+ 'page.eftpos-pay.text.transaction.fail.socket': string;
197
+ 'page.eftpos-pay.text.transaction.eftpos.fail': string;
198
+ 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
199
+ 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
200
+ 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
201
+ 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
202
+ 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已确认此交易的付款状态,请点击手动标记" | "如果您已确认此订单的退款状态,请点击手动标记。";
203
+ 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
204
+ 'page.eftpos-pay.text.application': string;
205
+ 'page.eftpos-pay.text.approved': string;
206
+ 'page.eftpos-pay.text.device.no.title': string;
207
+ 'page.eftpos-pay.text.device.no.add': string;
208
+ 'page.eftpos-pay.text.device.no.web': string;
209
+ 'page.eftpos-pay.text.device.no.terminal': string;
210
+ 'page.eftpos-pay.text.waiting.decline.signature': string;
211
+ 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
212
+ 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
213
+ 'page.eftpos-pay.text.reconnecting': string;
214
+ 'page.eftpos-pay.text.reconnect.network': string;
215
+ 'page.eftpos-pay.text.network.disconnected': string;
216
+ 'page.eftpos-pay.text.not.connected': string;
217
+ 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
218
+ 'page.eftpos-pay.text.tyro': (key: string) => string | string[];
219
+ };
220
+ 'zh-HK': {
221
+ 'page.eftpos-pay.text.loading': (mode: string) => string;
222
+ 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
223
+ 'page.eftpos-pay.text.surcharge': string;
224
+ 'page.eftpos-pay.text.card': string;
225
+ 'page.eftpos-pay.text.account': string;
226
+ 'page.eftpos-pay.text.pin': string;
227
+ 'page.eftpos-pay.text.receipt': string;
228
+ 'page.eftpos-pay.text.receipt.again.title': string;
229
+ 'page.eftpos-pay.text.receipt.again.text': string;
230
+ 'page.eftpos-pay.text.signature.title': string;
231
+ 'page.eftpos-pay.text.signature.text': (mode: string) => "拒絕將導致支付失敗,需重新支付。" | "拒絕將導致退款失敗;需要重新退款";
232
+ 'page.eftpos-pay.text.timedout.title': string;
233
+ 'page.eftpos-pay.text.timedout.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
234
+ 'page.eftpos-pay.text.request.title': (mode: string) => string;
235
+ 'page.eftpos-pay.text.request.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
236
+ 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
237
+ 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請您根據刷卡機上的退款狀態,手動標記退款結果,以確保交易的準確性。";
238
+ 'page.eftpos-pay.text.interrupted': string;
239
+ 'page.eftpos-pay.text.reconnect': string;
240
+ 'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已經從EFTPOS確認了付款狀態,您可以按手動標記按鈕跳過。" | "如果您已確認了EFTPOS上的退款狀態,您可以按下手動標記按鈕跳過。";
241
+ 'page.eftpos-pay.text.restored': string;
242
+ 'page.eftpos-pay.text.disconnected': string;
243
+ 'page.eftpos-pay.text.waiting.network': string;
244
+ 'page.eftpos-pay.text.waiting.wifi.title': string;
245
+ 'page.eftpos-pay.text.waiting.wifi.connection': string;
246
+ 'page.eftpos-pay.text.waiting.wifi.router': string;
247
+ 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
248
+ 'page.eftpos-pay.text.accept': string;
249
+ 'page.eftpos-pay.text.decline': string;
250
+ 'page.eftpos-pay.text.manual.marking': string;
251
+ 'page.eftpos-pay.text.manual.title': string;
252
+ 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
253
+ 'page.eftpos-pay.text.manual.confirm': string;
254
+ 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
255
+ 'page.eftpos-pay.text.manual.diff': string;
256
+ 'page.eftpos-pay.text.manual.tip': string;
257
+ 'page.eftpos-pay.text.manual.cancel': string;
258
+ 'page.eftpos-pay.text.manual.print_receipt': string;
259
+ 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
260
+ 'page.eftpos-pay.text.successful': (mode: string) => string;
261
+ 'page.eftpos-pay.text.failed': (mode: string) => string;
262
+ 'page.eftpos-pay.text.confirm': string;
263
+ 'page.eftpos-pay.text.confirm.decline': string;
264
+ 'page.eftpos-pay.text.back': string;
265
+ 'page.eftpos-pay.text.cancel': string;
266
+ 'page.eftpos-pay.text.waiting.processing': string;
267
+ 'page.eftpos-pay.text.waiting.signature': string;
268
+ 'page.eftpos-pay.text.waiting.decline': string;
269
+ 'page.eftpos-pay.text.processing': string;
270
+ 'page.eftpos-pay.text.transaction.processing': string;
271
+ 'page.eftpos-pay.text.retry': string;
272
+ 'page.eftpos-pay.text.sure': string;
273
+ 'page.eftpos-pay.text.device': string;
274
+ 'page.eftpos-pay.text.leave': string;
275
+ 'page.eftpos-pay.text.latest.success': string;
276
+ 'page.eftpos-pay.text.latest.amount': string;
277
+ 'page.eftpos-pay.text.latest.surcharge': string;
278
+ 'page.eftpos-pay.text.latest.time': string;
279
+ 'page.eftpos-pay.text.latest.confirm': string;
280
+ 'page.eftpos-pay.text.amount.to.pay': string;
281
+ 'page.eftpos-pay.text.surcharge.percentage': string;
282
+ 'page.eftpos-pay.text.surcharge.fixed': string;
283
+ 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
284
+ 'page.eftpos-pay.text.surcharge.edit.title': string;
285
+ 'page.eftpos-pay.text.input.title': (name: string) => string;
286
+ 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
287
+ 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
288
+ 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
289
+ 'page.eftpos-pay.text.surcharge.edit.rate': string;
290
+ 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
291
+ 'page.eftpos-pay.text.transaction.end': string;
292
+ 'page.eftpos-pay.text.transaction.user.declined.title': string;
293
+ 'page.eftpos-pay.text.transaction.user.declined.text': string;
294
+ 'page.eftpos-pay.text.transaction.user.config.title': string;
295
+ 'page.eftpos-pay.text.transaction.user.config.text': string;
296
+ 'page.eftpos-pay.text.transaction.back.declined.title': string;
297
+ 'page.eftpos-pay.text.transaction.back.declined.text': string;
298
+ 'page.eftpos-pay.text.transaction.fail': string;
299
+ 'page.eftpos-pay.text.transaction.fail.timeout': string;
300
+ 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
301
+ 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
302
+ 'page.eftpos-pay.text.transaction.fail.terminal': string;
303
+ 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
304
+ 'page.eftpos-pay.text.transaction.fail.cancel': string;
305
+ 'page.eftpos-pay.text.transaction.fail.socket': string;
306
+ 'page.eftpos-pay.text.transaction.eftpos.fail': string;
307
+ 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
308
+ 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
309
+ 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
310
+ 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
311
+ 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已確認此交易的付款狀態,請點擊手動標記" | "如果您已確認此訂單的退款狀態,請點擊手動標記。";
312
+ 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
313
+ 'page.eftpos-pay.text.application': string;
314
+ 'page.eftpos-pay.text.approved': string;
315
+ 'page.eftpos-pay.text.device.no.title': string;
316
+ 'page.eftpos-pay.text.device.no.add': string;
317
+ 'page.eftpos-pay.text.device.no.web': string;
318
+ 'page.eftpos-pay.text.device.no.terminal': string;
319
+ 'page.eftpos-pay.text.waiting.decline.signature': string;
320
+ 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
321
+ 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
322
+ 'page.eftpos-pay.text.reconnecting': string;
323
+ 'page.eftpos-pay.text.reconnect.network': string;
324
+ 'page.eftpos-pay.text.network.disconnected': string;
325
+ 'page.eftpos-pay.text.not.connected': string;
326
+ 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
327
+ 'page.eftpos-pay.text.tyro': (key: string) => string | string[];
328
+ };
329
+ };
330
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {