@pisell/private-materials 6.5.3 → 6.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +8 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  14. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  16. package/es/components/booking/components/actionButtons/index.js +37 -42
  17. package/es/components/booking/components/actionButtons/index.less +0 -28
  18. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  19. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  20. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  21. package/es/components/booking/components/footer/amount.d.ts +3 -3
  22. package/es/components/booking/components/footer/amount.js +52 -31
  23. package/es/components/booking/components/footer/index.js +168 -68
  24. package/es/components/booking/components/footer/utils.js +62 -33
  25. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  26. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  27. package/es/components/booking/deposit/index.d.ts +0 -1
  28. package/es/components/booking/forms/model.d.ts +10 -1
  29. package/es/components/booking/forms/single/index.d.ts +0 -1
  30. package/es/components/booking/forms/table/index.d.ts +0 -1
  31. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  32. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  33. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  34. package/es/components/booking/info/date/index.d.ts +0 -1
  35. package/es/components/booking/info/header/index.d.ts +0 -1
  36. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  37. package/es/components/booking/info/index.d.ts +0 -1
  38. package/es/components/booking/info/model.d.ts +10 -1
  39. package/es/components/booking/info/model.js +5 -0
  40. package/es/components/booking/info/notes/index.d.ts +0 -1
  41. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  42. package/es/components/booking/info/service/addService/index.js +2 -1
  43. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info/service/like/index.d.ts +0 -1
  45. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  46. package/es/components/booking/info/service2/utils.d.ts +1 -1
  47. package/es/components/booking/info2/index.js +42 -2
  48. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  49. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  50. package/es/components/booking/info2/service/addService/index.js +2 -1
  51. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  52. package/es/components/booking/info2/service/editService/index.js +12 -4
  53. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  54. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  55. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  56. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  57. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  58. package/es/components/booking/model.d.ts +9 -1
  59. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  60. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  61. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  62. package/es/components/booking/notes/model.d.ts +10 -1
  63. package/es/components/booking/payments/model.d.ts +10 -1
  64. package/es/components/booking/utils.js +10 -5
  65. package/es/components/checkout/PaymentModal.d.ts +2 -0
  66. package/es/components/checkout/PaymentModal.js +402 -241
  67. package/es/components/checkout/PaymentPlugin.d.ts +0 -1
  68. package/es/components/checkout/components/AdditionalModule/index.less +1 -1
  69. package/es/components/checkout/components/AmountSummary/index.js +161 -54
  70. package/es/components/checkout/components/CashPaymentModule/index.d.ts +5 -3
  71. package/es/components/checkout/components/CashPaymentModule/index.js +114 -131
  72. package/es/components/checkout/components/CashPaymentModule/index.less +200 -176
  73. package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
  74. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +29 -0
  75. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +210 -0
  76. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -4
  77. package/es/components/checkout/components/PaymentOptionsModule/index.js +12 -114
  78. package/es/components/checkout/components/PaymentOptionsModule/index.less +29 -0
  79. package/es/components/checkout/components/SavePayLaterHandler/index.js +1 -1
  80. package/es/components/checkout/components/SearchAndClientModule/index.js +40 -39
  81. package/es/components/checkout/components/WalletPassModule/index.js +4 -3
  82. package/es/components/checkout/components/WalletPassModule/utils.js +6 -1
  83. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  84. package/es/components/checkout/hooks/useWalletPass.js +2 -0
  85. package/es/components/checkout/index.less +1 -1
  86. package/es/components/checkout/locales.d.ts +33 -0
  87. package/es/components/checkout/locales.js +39 -3
  88. package/es/components/checkout/types.d.ts +1 -0
  89. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  90. package/es/components/eftpos/form/index.d.ts +0 -1
  91. package/es/components/eftpos/group/index.d.ts +0 -1
  92. package/es/components/eftpos/hooks.d.ts +0 -1
  93. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  94. package/es/components/eftpos/icon/device.d.ts +0 -1
  95. package/es/components/eftpos/index.d.ts +0 -1
  96. package/es/components/eftpos/pos.d.ts +0 -1
  97. package/es/components/eftpos/receipt/index.d.ts +0 -1
  98. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  99. package/es/components/eftposPay/amount.d.ts +1 -2
  100. package/es/components/eftposPay/app.d.ts +0 -1
  101. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  102. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  103. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  104. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  105. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  106. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  107. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  108. package/es/components/eftposPay/device.d.ts +1 -1
  109. package/es/components/eftposPay/hooks.d.ts +2 -2
  110. package/es/components/eftposPay/payo/config.d.ts +0 -1
  111. package/es/components/eftposPay/store/index.d.ts +5 -5
  112. package/es/components/eftposPay/tip.d.ts +0 -1
  113. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  114. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  115. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  116. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  119. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  121. package/es/components/login/index.d.ts +0 -1
  122. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  123. package/es/components/pay/toB/components/Content/Header.d.ts +0 -1
  124. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  125. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  126. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  127. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  130. package/es/components/pay/toC/model.d.ts +9 -1
  131. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  132. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  133. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  134. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  135. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  136. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  137. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  138. package/es/components/schedules/calendar/index.d.ts +0 -1
  139. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  140. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  141. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  142. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  143. package/es/components/schedules/model.d.ts +9 -1
  144. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  145. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  146. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  147. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  148. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  149. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  150. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  151. package/es/components/schedules/products/index.d.ts +0 -1
  152. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  153. package/es/components/schedules/products/list/index.d.ts +0 -1
  154. package/es/components/schedules/resources/index.d.ts +0 -1
  155. package/es/components/schedules/resources/list/index.d.ts +0 -1
  156. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  157. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  158. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  159. package/es/components/schedules/schedules/index.d.ts +0 -1
  160. package/es/components/schedules/utils.d.ts +1 -1
  161. package/es/components/shoppingCart/components/Cart/Product.js +143 -71
  162. package/es/components/shoppingCart/components/Cart/index.js +1 -1
  163. package/es/components/shoppingCart/components/Cart/index.less +31 -0
  164. package/es/components/shoppingCart/locales.d.ts +3 -0
  165. package/es/components/shoppingCart/locales.js +12 -3
  166. package/es/components/taxSelect/index.d.ts +0 -1
  167. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +7 -7
  168. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  169. package/es/components/ticketBooking/utils/index.js +2 -1
  170. package/es/components/wallet/Detail/model.d.ts +13 -1
  171. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  172. package/es/components/wallet/PointCard/model.d.ts +13 -1
  173. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  174. package/es/components/wallet/Voucher/model.d.ts +13 -1
  175. package/es/components/wallet/model.d.ts +9 -1
  176. package/es/hooks/usePaymentLogger.d.ts +0 -1
  177. package/es/plus/clientName/index.d.ts +0 -1
  178. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  179. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  180. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  181. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  182. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  183. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  184. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  185. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  186. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  187. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  188. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  189. package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.js +1 -1
  190. package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  191. package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.js +148 -0
  192. package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.less +23 -0
  193. package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
  194. package/es/pro/pisellSimplePriceKeyboardPopover/index.js +1 -0
  195. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  196. package/es/pro/pisellSimplePriceKeyboardPopover/types.js +1 -0
  197. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +4 -0
  198. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +310 -0
  199. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +13 -0
  200. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +349 -0
  201. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +11 -0
  202. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +49 -0
  203. package/es/pro/priceKeyboard/components/cashKeyboard/index.less +103 -0
  204. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  205. package/es/pro/priceKeyboard/components/cashKeyboard/locales.js +41 -0
  206. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +97 -0
  207. package/es/pro/priceKeyboard/components/cashKeyboard/types.js +1 -0
  208. package/es/pro/priceKeyboard/components/discountKeyboard/index.d.ts +22 -0
  209. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +442 -0
  210. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +47 -0
  211. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  212. package/es/pro/priceKeyboard/components/discountKeyboard/locales.js +44 -0
  213. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  214. package/es/pro/priceKeyboard/components/discountKeyboard/types.js +1 -0
  215. package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +11 -0
  216. package/es/pro/priceKeyboard/components/paymentKeyboard/index.js +444 -0
  217. package/es/pro/priceKeyboard/components/paymentKeyboard/index.less +64 -0
  218. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  219. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.js +47 -0
  220. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  221. package/es/pro/priceKeyboard/components/paymentKeyboard/types.js +1 -0
  222. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +17 -0
  223. package/es/pro/priceKeyboard/components/shortcuts/index.js +47 -0
  224. package/es/pro/priceKeyboard/components/shortcuts/index.less +39 -0
  225. package/es/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
  226. package/es/pro/priceKeyboard/hooks/keyActions.js +252 -0
  227. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +27 -0
  228. package/es/pro/priceKeyboard/hooks/rightItems.js +50 -0
  229. package/es/pro/priceKeyboard/index.d.ts +3 -0
  230. package/es/pro/priceKeyboard/index.js +3 -0
  231. package/es/pro/priceKeyboard/index.less +215 -0
  232. package/es/pro/priceKeyboard/utils.d.ts +31 -0
  233. package/es/pro/priceKeyboard/utils.js +51 -0
  234. package/es/pro/skuDetailModal/index.js +19 -16
  235. package/es/utils/index.d.ts +1 -1
  236. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  237. package/lib/components/booking/addons/model.d.ts +10 -1
  238. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  239. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  240. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  241. package/lib/components/booking/components/actionButtons/index.js +31 -28
  242. package/lib/components/booking/components/actionButtons/index.less +0 -28
  243. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  244. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  245. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  246. package/lib/components/booking/components/footer/amount.d.ts +3 -3
  247. package/lib/components/booking/components/footer/amount.js +50 -34
  248. package/lib/components/booking/components/footer/index.js +107 -40
  249. package/lib/components/booking/components/footer/utils.js +35 -7
  250. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  251. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  252. package/lib/components/booking/deposit/index.d.ts +0 -1
  253. package/lib/components/booking/forms/model.d.ts +10 -1
  254. package/lib/components/booking/forms/single/index.d.ts +0 -1
  255. package/lib/components/booking/forms/table/index.d.ts +0 -1
  256. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  257. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  258. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  259. package/lib/components/booking/info/date/index.d.ts +0 -1
  260. package/lib/components/booking/info/header/index.d.ts +0 -1
  261. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  262. package/lib/components/booking/info/index.d.ts +0 -1
  263. package/lib/components/booking/info/model.d.ts +10 -1
  264. package/lib/components/booking/info/model.js +3 -0
  265. package/lib/components/booking/info/notes/index.d.ts +0 -1
  266. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  267. package/lib/components/booking/info/service/addService/index.js +2 -1
  268. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  269. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  270. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  271. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  272. package/lib/components/booking/info2/index.js +18 -1
  273. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  274. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  275. package/lib/components/booking/info2/service/addService/index.js +2 -1
  276. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  277. package/lib/components/booking/info2/service/editService/index.js +12 -4
  278. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  279. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  280. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  281. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  282. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  283. package/lib/components/booking/model.d.ts +9 -1
  284. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  285. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  286. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  287. package/lib/components/booking/notes/model.d.ts +10 -1
  288. package/lib/components/booking/payments/model.d.ts +10 -1
  289. package/lib/components/booking/utils.js +10 -5
  290. package/lib/components/checkout/PaymentModal.d.ts +2 -0
  291. package/lib/components/checkout/PaymentModal.js +160 -73
  292. package/lib/components/checkout/PaymentPlugin.d.ts +0 -1
  293. package/lib/components/checkout/components/AdditionalModule/index.less +1 -1
  294. package/lib/components/checkout/components/AmountSummary/index.js +114 -40
  295. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +5 -3
  296. package/lib/components/checkout/components/CashPaymentModule/index.js +103 -134
  297. package/lib/components/checkout/components/CashPaymentModule/index.less +200 -176
  298. package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
  299. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +29 -0
  300. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +172 -0
  301. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -4
  302. package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -123
  303. package/lib/components/checkout/components/PaymentOptionsModule/index.less +29 -0
  304. package/lib/components/checkout/components/SavePayLaterHandler/index.js +1 -1
  305. package/lib/components/checkout/components/SearchAndClientModule/index.js +3 -29
  306. package/lib/components/checkout/components/WalletPassModule/index.js +4 -3
  307. package/lib/components/checkout/components/WalletPassModule/utils.js +4 -1
  308. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  309. package/lib/components/checkout/hooks/useWalletPass.js +2 -0
  310. package/lib/components/checkout/index.less +1 -1
  311. package/lib/components/checkout/locales.d.ts +33 -0
  312. package/lib/components/checkout/locales.js +39 -3
  313. package/lib/components/checkout/types.d.ts +1 -0
  314. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  315. package/lib/components/eftpos/form/index.d.ts +0 -1
  316. package/lib/components/eftpos/group/index.d.ts +0 -1
  317. package/lib/components/eftpos/hooks.d.ts +0 -1
  318. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  319. package/lib/components/eftpos/icon/device.d.ts +0 -1
  320. package/lib/components/eftpos/index.d.ts +0 -1
  321. package/lib/components/eftpos/pos.d.ts +0 -1
  322. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  323. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  324. package/lib/components/eftposPay/amount.d.ts +1 -2
  325. package/lib/components/eftposPay/app.d.ts +0 -1
  326. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  327. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  328. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  329. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  330. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  331. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  332. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  333. package/lib/components/eftposPay/device.d.ts +1 -1
  334. package/lib/components/eftposPay/hooks.d.ts +2 -2
  335. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  336. package/lib/components/eftposPay/store/index.d.ts +5 -5
  337. package/lib/components/eftposPay/tip.d.ts +0 -1
  338. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  339. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  340. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  341. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  342. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  343. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  344. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  345. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  346. package/lib/components/login/index.d.ts +0 -1
  347. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  348. package/lib/components/pay/toB/components/Content/Header.d.ts +0 -1
  349. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  350. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  351. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  352. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  353. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  354. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  355. package/lib/components/pay/toC/model.d.ts +9 -1
  356. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  357. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  358. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  359. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  360. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  361. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  362. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  363. package/lib/components/schedules/calendar/index.d.ts +0 -1
  364. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  365. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  366. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  367. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  368. package/lib/components/schedules/model.d.ts +9 -1
  369. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  370. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  371. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  372. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  373. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  374. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  375. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  376. package/lib/components/schedules/products/index.d.ts +0 -1
  377. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  378. package/lib/components/schedules/products/list/index.d.ts +0 -1
  379. package/lib/components/schedules/resources/index.d.ts +0 -1
  380. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  381. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  382. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  383. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  384. package/lib/components/schedules/schedules/index.d.ts +0 -1
  385. package/lib/components/schedules/utils.d.ts +1 -1
  386. package/lib/components/shoppingCart/components/Cart/Product.js +111 -51
  387. package/lib/components/shoppingCart/components/Cart/index.js +1 -1
  388. package/lib/components/shoppingCart/components/Cart/index.less +31 -0
  389. package/lib/components/shoppingCart/locales.d.ts +3 -0
  390. package/lib/components/shoppingCart/locales.js +6 -3
  391. package/lib/components/taxSelect/index.d.ts +0 -1
  392. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +7 -7
  393. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  394. package/lib/components/ticketBooking/utils/index.js +2 -1
  395. package/lib/components/wallet/Detail/model.d.ts +13 -1
  396. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  397. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  398. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  399. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  400. package/lib/components/wallet/model.d.ts +9 -1
  401. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  402. package/lib/plus/clientName/index.d.ts +0 -1
  403. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  404. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  405. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  406. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  407. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  408. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  409. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  410. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  411. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  412. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  413. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  414. package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.js +2 -2
  415. package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  416. package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.js +144 -0
  417. package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.less +23 -0
  418. package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
  419. package/lib/pro/pisellSimplePriceKeyboardPopover/index.js +35 -0
  420. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  421. package/lib/pro/pisellSimplePriceKeyboardPopover/types.js +17 -0
  422. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +4 -0
  423. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +332 -0
  424. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +13 -0
  425. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +399 -0
  426. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +11 -0
  427. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +76 -0
  428. package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +103 -0
  429. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  430. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.js +65 -0
  431. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +97 -0
  432. package/lib/pro/priceKeyboard/components/cashKeyboard/types.js +17 -0
  433. package/lib/pro/priceKeyboard/components/discountKeyboard/index.d.ts +22 -0
  434. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +485 -0
  435. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +47 -0
  436. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  437. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.js +68 -0
  438. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  439. package/lib/pro/priceKeyboard/components/discountKeyboard/types.js +17 -0
  440. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +11 -0
  441. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.js +488 -0
  442. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.less +64 -0
  443. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  444. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.js +71 -0
  445. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  446. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.js +17 -0
  447. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +17 -0
  448. package/lib/pro/priceKeyboard/components/shortcuts/index.js +79 -0
  449. package/lib/pro/priceKeyboard/components/shortcuts/index.less +39 -0
  450. package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
  451. package/lib/pro/priceKeyboard/hooks/keyActions.js +176 -0
  452. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +27 -0
  453. package/lib/pro/priceKeyboard/hooks/rightItems.js +81 -0
  454. package/lib/pro/priceKeyboard/index.d.ts +3 -0
  455. package/lib/pro/priceKeyboard/index.js +45 -0
  456. package/lib/pro/priceKeyboard/index.less +215 -0
  457. package/lib/pro/priceKeyboard/utils.d.ts +31 -0
  458. package/lib/pro/priceKeyboard/utils.js +75 -0
  459. package/lib/pro/skuDetailModal/index.js +18 -22
  460. package/lib/utils/index.d.ts +1 -1
  461. package/package.json +12 -12
@@ -51,6 +51,7 @@ var locales_default = {
51
51
  "balance.due": "Balance Due",
52
52
  "deposit.due": "Deposit Due",
53
53
  "partial.paid": "Partial Paid",
54
+ "deposit.partial.paid": "Deposit Paid",
54
55
  "split.payment": "Pay\nPartially",
55
56
  // Cash Payment
56
57
  "cash": "Cash",
@@ -114,6 +115,7 @@ var locales_default = {
114
115
  "wallet-pass-module-disabled-modal-title": "Unable to use",
115
116
  "wallet-pass-module-disabled-modal-empty": "No unusable cards",
116
117
  "wallet-pass-module-discount-partially-paid": "Promotion cannot be changed on partially paid orders or used wallet",
118
+ "wallet-pass-module-discount-order-free": "The order total is free, can not use wallet",
117
119
  // Additional Module
118
120
  "additional.options": "Additional Options",
119
121
  "add.tip": "Add Tip",
@@ -208,7 +210,17 @@ var locales_default = {
208
210
  "pisell2.checkout.order-sync-failed": "Order sync failed, please check your network",
209
211
  "pisell2.checkout.sync-retry-hint": "Network error, please click the retry button to resync the order",
210
212
  "pisell2.checkout.tips": "Tips",
211
- "retry": "Retry"
213
+ "retry": "Retry",
214
+ // Cash Payment Module
215
+ "cash-payment-title": "Cash Payment",
216
+ "cash-payment-balance-due": "Balance Due",
217
+ "cash-payment-cash-received": "Cash Received",
218
+ "cash-payment-change-due": "Change Due",
219
+ "cash-payment-rounding": "Rounding",
220
+ "cash-payment-other": "Other",
221
+ "cash-payment-reset": "Reset",
222
+ "cash-payment-pay": "Pay",
223
+ "cash-payment-amount-cannot-be-zero": "The amount cannot be 0"
212
224
  },
213
225
  "zh-CN": {
214
226
  // Order and Payment
@@ -238,6 +250,7 @@ var locales_default = {
238
250
  "balance.due": "应付金额",
239
251
  "deposit.due": "定金待支付金额",
240
252
  "partial.paid": "部分支付",
253
+ "deposit.partial.paid": "定金部分支付",
241
254
  "split.payment": "部分付款",
242
255
  // Cash Payment
243
256
  "cash": "现金",
@@ -301,6 +314,7 @@ var locales_default = {
301
314
  "wallet-pass-module-disabled-modal-title": "无法使用的卡券",
302
315
  "wallet-pass-module-disabled-modal-empty": "暂无不可用卡券",
303
316
  "wallet-pass-module-discount-partially-paid": "部分付款或已使用钱包的订单不可修改促销",
317
+ "wallet-pass-module-discount-order-free": "订单金额为0,不可使用折扣卡或商品券",
304
318
  // Additional Module
305
319
  "additional.options": "附加选项",
306
320
  "add.tip": "添加小费",
@@ -399,7 +413,17 @@ var locales_default = {
399
413
  "pisell2.checkout.order-sync-failed": "订单同步失败,请检查网络",
400
414
  "pisell2.checkout.sync-retry-hint": "网络异常,请点击重试按钮重新同步订单",
401
415
  "pisell2.checkout.tips": "提示",
402
- "retry": "重试"
416
+ "retry": "重试",
417
+ // 现金支付模块
418
+ "cash-payment-title": "现金支付",
419
+ "cash-payment-balance-due": "应付金额",
420
+ "cash-payment-cash-received": "实收金额",
421
+ "cash-payment-change-due": "找零金额",
422
+ "cash-payment-rounding": "抹零",
423
+ "cash-payment-other": "其他",
424
+ "cash-payment-reset": "重置",
425
+ "cash-payment-pay": "支付",
426
+ "cash-payment-amount-cannot-be-zero": "金额不能为0"
403
427
  },
404
428
  "zh-HK": {
405
429
  // Order and Payment
@@ -429,6 +453,7 @@ var locales_default = {
429
453
  "balance.due": "應付金額",
430
454
  "deposit.due": "定金待支付金額",
431
455
  "partial.paid": "部分支付",
456
+ "deposit.partial.paid": "定金部分支付",
432
457
  "split.payment": "部分付款",
433
458
  // Cash Payment
434
459
  "cash": "現金",
@@ -499,6 +524,7 @@ var locales_default = {
499
524
  "wallet-pass-module-disabled-modal-title": "無法使用的卡券",
500
525
  "wallet-pass-module-disabled-modal-empty": "暫無不可用卡券",
501
526
  "wallet-pass-module-discount-partially-paid": "部分付款或已使用錢包的訂單不可修改促銷",
527
+ "wallet-pass-module-discount-order-free": "訂單金額為0,不可使用折扣卡或商品券",
502
528
  // search section
503
529
  "pisell2.checkout.search-section.placeholder": "錢包碼 / 短碼",
504
530
  // discount formatting
@@ -590,6 +616,16 @@ var locales_default = {
590
616
  "pisell2.checkout.order-sync-failed": "訂單同步失敗,請檢查網絡",
591
617
  "pisell2.checkout.sync-retry-hint": "網絡異常,請點擊重試按鈕重新同步訂單",
592
618
  "pisell2.checkout.tips": "提示",
593
- "retry": "重試"
619
+ "retry": "重試",
620
+ // 現金支付模組
621
+ "cash-payment-title": "現金支付",
622
+ "cash-payment-balance-due": "應付金額",
623
+ "cash-payment-cash-received": "實收金額",
624
+ "cash-payment-change-due": "找零金額",
625
+ "cash-payment-rounding": "抹零",
626
+ "cash-payment-other": "其他",
627
+ "cash-payment-reset": "重置",
628
+ "cash-payment-pay": "支付",
629
+ "cash-payment-amount-cannot-be-zero": "金額不能為0"
594
630
  }
595
631
  };
@@ -121,6 +121,7 @@ export interface PaymentMethod {
121
121
  type: string;
122
122
  fixed?: number;
123
123
  percentage?: number;
124
+ totalAmount?: string;
124
125
  }
125
126
  export interface PaymentMethodSelection {
126
127
  method: PaymentMethod;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.css';
3
2
  /**
4
3
  * @title: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -9,7 +8,7 @@ import { PosProps } from './const';
9
8
  */
10
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
10
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
13
12
  [keys: string]: unknown;
14
13
  } | undefined, other?: any) => void) | undefined;
15
14
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps, RouteType } from './const';
3
2
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
3
  action: RouteType;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "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<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "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<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "warn" | "success" | "fail" | "question";
177
+ status: "success" | "warn" | "loading" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,20 +295,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
298
+ mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
300
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "unset" | "step" | undefined;
306
+ type?: "step" | "unset" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface LoginProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayMethod, PayMethodGroup } from '../../types';
3
2
  import './index.less';
4
3
  declare const ToBPayCardGroup: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ToBPayTitle: (props: {
3
2
  amount: number | string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
4
3
  export default ThreedsLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const PageLoading: () => JSX.Element;
4
3
  export default PageLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const PaymentRequestForm: () => JSX.Element | null;
4
3
  export default PaymentRequestForm;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -28,4 +29,11 @@ export interface PayGroup {
28
29
  pay_number?: string;
29
30
  _order: any;
30
31
  }
31
- export declare const Provider: any, Context: any;
32
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
+ state: FormState;
34
+ } & {
35
+ dispatch: (params: {
36
+ type: string;
37
+ payload: any;
38
+ }) => void;
39
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {