@pisell/private-materials 6.8.93 → 6.8.94

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 (317) 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 +7 -7
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Summary/utils.d.ts +1 -1
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/index.d.ts +1 -0
  12. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  13. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  14. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  15. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  16. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  18. package/es/components/booking/dashboard/index.js +71 -93
  19. package/es/components/booking/dashboard/serve.d.ts +1 -0
  20. package/es/components/booking/dashboard/serve.js +22 -0
  21. package/es/components/booking/deposit/index.d.ts +1 -0
  22. package/es/components/booking/forms/single/index.d.ts +1 -0
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  24. package/es/components/booking/info/header/index.d.ts +1 -0
  25. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  26. package/es/components/booking/info/service/Lists.d.ts +1 -0
  27. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  28. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  29. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  30. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  31. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  32. package/es/components/booking/info/service2/utils.js +41 -39
  33. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  34. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  35. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  36. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  37. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  38. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  39. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  40. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  41. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  42. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  43. package/es/components/eftpos/index.d.ts +1 -0
  44. package/es/components/eftpos/pos.d.ts +1 -0
  45. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  46. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  47. package/es/components/eftposPay/amount.d.ts +2 -1
  48. package/es/components/eftposPay/app.d.ts +1 -0
  49. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  50. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  51. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  52. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  53. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  54. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  55. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  56. package/es/components/eftposPay/device.d.ts +1 -1
  57. package/es/components/eftposPay/hooks.d.ts +1 -1
  58. package/es/components/eftposPay/index.d.ts +1 -0
  59. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  60. package/es/components/eftposPay/pay.d.ts +1 -0
  61. package/es/components/eftposPay/payo/config.d.ts +1 -0
  62. package/es/components/eftposPay/store/index.d.ts +5 -5
  63. package/es/components/eftposPay/tip.d.ts +1 -0
  64. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  65. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  66. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  67. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  68. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  69. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  70. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  71. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  72. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  73. package/es/components/eventBooking/index.d.ts +1 -0
  74. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  75. package/es/components/list/hooks/useListState.d.ts +45 -0
  76. package/es/components/list/types.d.ts +178 -0
  77. package/es/components/list/utils/index.d.ts +19 -0
  78. package/es/components/login/index.d.ts +1 -0
  79. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  80. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  81. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  82. package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
  83. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  84. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  85. package/es/components/pay/toC/locales.d.ts +307 -0
  86. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  87. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  88. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  89. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  90. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  91. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  92. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  93. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  94. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  95. package/es/components/productExtension/index.d.ts +1 -0
  96. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  97. package/es/components/ruleSetting/index.d.ts +1 -0
  98. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  99. package/es/components/schedules/calendar/index.d.ts +1 -0
  100. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  101. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  102. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  107. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  108. package/es/components/schedules/products/index.d.ts +1 -0
  109. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  110. package/es/components/schedules/products/list/index.d.ts +1 -0
  111. package/es/components/schedules/resources/index.d.ts +1 -0
  112. package/es/components/schedules/resources/list/index.d.ts +1 -0
  113. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  114. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  115. package/es/components/schedules/schedules/index.d.ts +1 -0
  116. package/es/components/shoppingCart/index.d.ts +1 -0
  117. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  118. package/es/components/taxSelect/index.d.ts +1 -0
  119. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  120. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  121. package/es/components/ticketBooking/components/bookingDataPanel/index.js +2 -1
  122. package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  123. package/es/components/ticketBooking/index.d.ts +1 -0
  124. package/es/components/ticketBooking/locales.d.ts +201 -0
  125. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  126. package/es/hooks/printer.d.ts +4 -0
  127. package/es/hooks/useEngineContext.d.ts +4 -0
  128. package/es/hooks/usePaymentLogger.d.ts +1 -0
  129. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  130. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  131. package/es/plus/clinetSearch/index.d.ts +18 -0
  132. package/es/plus/clinetSearch/locales.d.ts +108 -0
  133. package/es/plus/clinetSearch/types.d.ts +70 -0
  134. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  135. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  136. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  137. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  138. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  139. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  140. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  141. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  142. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  143. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  144. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  145. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  146. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  147. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  148. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  149. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  150. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  151. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  152. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  153. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  154. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  155. package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
  156. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  157. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  158. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  159. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  160. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  161. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  162. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  163. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  164. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  165. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  166. package/lib/components/appointmentBooking/index.d.ts +1 -0
  167. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  168. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  169. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  170. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  171. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  172. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  173. package/lib/components/booking/dashboard/index.js +38 -60
  174. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  175. package/lib/components/booking/dashboard/serve.js +8 -2
  176. package/lib/components/booking/deposit/index.d.ts +1 -0
  177. package/lib/components/booking/forms/single/index.d.ts +1 -0
  178. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  179. package/lib/components/booking/info/header/index.d.ts +1 -0
  180. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  181. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  182. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  183. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  184. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  185. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  186. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  187. package/lib/components/booking/info/service2/utils.js +3 -1
  188. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  189. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  190. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  191. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  192. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  193. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  194. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  195. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  196. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  197. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  198. package/lib/components/eftpos/index.d.ts +1 -0
  199. package/lib/components/eftpos/pos.d.ts +1 -0
  200. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  201. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  202. package/lib/components/eftposPay/amount.d.ts +2 -1
  203. package/lib/components/eftposPay/app.d.ts +1 -0
  204. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  205. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  206. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  207. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  208. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  209. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  210. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  211. package/lib/components/eftposPay/device.d.ts +1 -1
  212. package/lib/components/eftposPay/hooks.d.ts +1 -1
  213. package/lib/components/eftposPay/index.d.ts +1 -0
  214. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  215. package/lib/components/eftposPay/pay.d.ts +1 -0
  216. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  217. package/lib/components/eftposPay/store/index.d.ts +5 -5
  218. package/lib/components/eftposPay/tip.d.ts +1 -0
  219. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  220. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  221. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  222. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  223. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  224. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  225. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  226. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  227. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  228. package/lib/components/eventBooking/index.d.ts +1 -0
  229. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  230. package/lib/components/list/hooks/useListState.d.ts +45 -0
  231. package/lib/components/list/types.d.ts +178 -0
  232. package/lib/components/list/utils/index.d.ts +19 -0
  233. package/lib/components/login/index.d.ts +1 -0
  234. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  235. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  236. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  237. package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
  238. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  239. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  240. package/lib/components/pay/toC/locales.d.ts +307 -0
  241. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  242. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  243. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  244. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  245. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  246. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  247. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  248. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  249. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  250. package/lib/components/productExtension/index.d.ts +1 -0
  251. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  252. package/lib/components/ruleSetting/index.d.ts +1 -0
  253. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  254. package/lib/components/schedules/calendar/index.d.ts +1 -0
  255. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  256. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  257. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  258. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  259. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  260. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  261. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  262. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  263. package/lib/components/schedules/products/index.d.ts +1 -0
  264. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  265. package/lib/components/schedules/products/list/index.d.ts +1 -0
  266. package/lib/components/schedules/resources/index.d.ts +1 -0
  267. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  268. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  269. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  270. package/lib/components/schedules/schedules/index.d.ts +1 -0
  271. package/lib/components/shoppingCart/index.d.ts +1 -0
  272. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  273. package/lib/components/taxSelect/index.d.ts +1 -0
  274. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  275. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  276. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +3 -2
  277. package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  278. package/lib/components/ticketBooking/index.d.ts +1 -0
  279. package/lib/components/ticketBooking/locales.d.ts +201 -0
  280. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  281. package/lib/hooks/printer.d.ts +4 -0
  282. package/lib/hooks/useEngineContext.d.ts +4 -0
  283. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  284. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  285. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  286. package/lib/plus/clinetSearch/index.d.ts +18 -0
  287. package/lib/plus/clinetSearch/locales.d.ts +108 -0
  288. package/lib/plus/clinetSearch/types.d.ts +70 -0
  289. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  290. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  291. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  292. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  293. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  294. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  295. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  296. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  297. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  298. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  299. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  300. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  301. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  302. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  303. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  304. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  305. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  306. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  307. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  308. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  309. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  310. package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
  311. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  312. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  313. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  314. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  315. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  316. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  317. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const RelationProduct: ({ value, onChange, }: {
3
4
  value?: string[] | undefined;
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ export interface LoginCodeInputProps {
3
+ /** 账号(邮箱或手机号) */
4
+ account: string;
5
+ /** 账号类型 */
6
+ accountType: 'email' | 'phone';
7
+ /** 验证码长度 */
8
+ codeLength?: number;
9
+ /** 提交验证码 */
10
+ onSubmit?: (code: string) => void;
11
+ /** 重新发送 */
12
+ onResend?: () => void;
13
+ /** 返回 */
14
+ onBack?: () => void;
15
+ /** 倒计时秒数 */
16
+ countdown?: number;
17
+ /** 加载状态 */
18
+ loading?: boolean;
19
+ /** 按钮文案(默认为"Log in",忘记密码场景为"Verify") */
20
+ submitButtonText?: string;
21
+ /** 错误信息 */
22
+ error?: string;
23
+ /** 当用户输入时清除错误的回调 */
24
+ onClearError?: () => void;
25
+ }
26
+ declare function LoginCodeInput({ account, accountType, codeLength, onSubmit, onResend, onBack, countdown, loading, submitButtonText, error, onClearError, }: LoginCodeInputProps): JSX.Element;
27
+ export default LoginCodeInput;
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import type { RegisterFlowData } from '../shared/registerFlow';
3
+ export interface CodeInputProps {
4
+ /** 流程数据 */
5
+ flowData: RegisterFlowData;
6
+ /** 验证码长度 */
7
+ codeLength?: number;
8
+ /** 提交验证码 */
9
+ onSubmit?: (code: string) => void;
10
+ /** 重新发送 */
11
+ onResend?: () => void;
12
+ /** 返回 */
13
+ onBack?: () => void;
14
+ /** 倒计时秒数 */
15
+ countdown?: number;
16
+ /** 加载状态 */
17
+ loading?: boolean;
18
+ /** 错误信息 */
19
+ error?: string;
20
+ /** 当用户输入时清除错误的回调 */
21
+ onClearError?: () => void;
22
+ }
23
+ declare function CodeInput({ flowData, codeLength, onSubmit, onResend, onBack, countdown, loading, error, onClearError, }: CodeInputProps): JSX.Element;
24
+ export default CodeInput;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.comprehensive-search.placeholder': string;
4
+ 'pisell2.text.search': string;
5
+ };
6
+ 'zh-CN': {
7
+ 'pisell2.comprehensive-search.placeholder': string;
8
+ 'pisell2.text.search': string;
9
+ };
10
+ 'zh-HK': {
11
+ 'pisell2.comprehensive-search.placeholder': string;
12
+ 'pisell2.text.search': string;
13
+ };
14
+ };
15
+ export default _default;
@@ -4,6 +4,7 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
+ /// <reference types="react" />
7
8
  export declare const BasicExample: () => JSX.Element;
8
9
  export declare const ChildrenExample: () => JSX.Element;
9
10
  export declare const CustomItemExample: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CashKeyboardBaseProps } from './types';
2
3
  export interface CashKeyboardProps extends CashKeyboardBaseProps {
3
4
  containerProps?: {
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
30
30
  * @return {*}
31
31
  * @Author: xiangfeng.xue
32
32
  */
33
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
33
+ export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
34
34
  /**
35
35
  * 计算所有价格明细
36
36
  * @param items - 购物车商品数组
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: ({ onNext, renderContactInfo }: any) => JSX.Element;
3
4
  export default CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
3
4
  export default SelectProductItem;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 空状态
3
4
  * @description:
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
3
4
  export default FooterMenus;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  modal: any;
@@ -45,19 +45,20 @@ var translationOriginal = (text) => "";
45
45
  var formatCapacityToChildrenData = (data) => {
46
46
  const map = {};
47
47
  data.forEach((item) => {
48
- const name = translationOriginal(item.name) || "default";
48
+ const name = translationOriginal(item.label) || "default";
49
49
  if (!map[name]) {
50
50
  map[name] = {
51
- label: !item.id ? import_utils.locales.getText("pisell2.booking.dashboard.default") : translationOriginal(item.name) || "",
51
+ label: !item.label ? import_utils.locales.getText("pisell2.booking.dashboard.default") : item.label,
52
52
  value: 0
53
53
  };
54
54
  }
55
- map[name].value = (map[name].value || 0) + (item.value || 0);
55
+ map[name].value = (map[name].value || 0) + (item.num || 0);
56
56
  });
57
57
  return Object.values(map).filter((item) => !!item.value).sort((a, b) => b.label.localeCompare(a.label));
58
58
  };
59
59
  import_utils.locales.init(import_locales.default, (0, import_locales2.getLocale)());
60
60
  var BookingDashboard = (0, import_react.forwardRef)((props, ref) => {
61
+ var _a, _b;
61
62
  const {
62
63
  otherParams = {},
63
64
  backgroundColors,
@@ -70,6 +71,8 @@ var BookingDashboard = (0, import_react.forwardRef)((props, ref) => {
70
71
  const context = (0, import_useEngineContext.default)();
71
72
  import_utils2.request.setRequest(context.appHelper.utils.request);
72
73
  translationOriginal = context.appHelper.utils.translationOriginal;
74
+ const { businessUtils } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
75
+ const hasTurnstileApp = !!((_b = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _b.call(businessUtils, "turnstile"));
73
76
  const [data, setData] = (0, import_react.useState)([
74
77
  // 当前在场团体
75
78
  {
@@ -122,55 +125,38 @@ var BookingDashboard = (0, import_react.forwardRef)((props, ref) => {
122
125
  tip: import_utils.locales.getText("pisell2.booking.dashboard.departed-visitors-tip")
123
126
  }
124
127
  ]);
125
- const [bookingData, setBookingData] = (0, import_react.useState)([]);
128
+ const [statisticData, setStatisticData] = (0, import_react.useState)({});
126
129
  const getData = async () => {
127
- const data2 = await (0, import_serve.getBookingList)({
128
- ...otherParams,
129
- item_type: "appointment_booking",
130
- parent_id: 0,
131
- with: ["children"],
132
- child_booking: 0,
133
- skip: 1,
134
- num: 1e3
130
+ var _a2;
131
+ console.log("otherParams", otherParams);
132
+ let statisticsTime = ((_a2 = otherParams == null ? void 0 : otherParams.booking_time_start_between) == null ? void 0 : _a2[1]) || (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm:ss");
133
+ const statisticsDay = (0, import_dayjs.default)(statisticsTime);
134
+ const now = (0, import_dayjs.default)();
135
+ if (statisticsDay.isValid()) {
136
+ if (statisticsDay.isSame(now, "day")) statisticsTime = now.format("YYYY-MM-DD HH:mm:ss");
137
+ if (statisticsDay.isBefore(now, "day")) statisticsTime = statisticsDay.endOf("day").format("YYYY-MM-DD HH:mm:ss");
138
+ if (statisticsDay.isAfter(now, "day")) statisticsTime = statisticsDay.startOf("day").format("YYYY-MM-DD HH:mm:ss");
139
+ }
140
+ const res = await (0, import_serve.getStatistic)({
141
+ statistics_time: statisticsTime
135
142
  });
136
- setBookingData(data2.list);
143
+ setStatisticData(res);
144
+ calcBookingDataCount();
137
145
  };
138
- const calcBookingDataCount = (data2) => {
139
- let groupsOnSiteNow = "-";
140
- let peopleOnSiteNow = "-";
141
- let totalVisitorsToday = 0;
142
- let totalVisitorsTodayChildren = [];
143
- let ongoing = 0;
144
- let ongoingChildren = [];
145
- let upcoming = 0;
146
- let upcomingChildren = [];
147
- let overdue = "-";
148
- let completed = 0;
149
- let completedChildren = [];
150
- let departed = "-";
151
- data2.forEach((item) => {
152
- if ((0, import_utils.isArr)(item.children)) {
153
- item.children.forEach((child) => {
154
- var _a, _b, _c, _d;
155
- const start = (0, import_dayjs.default)(`${child.start_date} ${child.start_time}`);
156
- const end = (0, import_dayjs.default)(`${child.end_date} ${child.end_time}`);
157
- totalVisitorsToday += child.number;
158
- totalVisitorsTodayChildren.push(...((_a = child.metadata) == null ? void 0 : _a.capacity) || []);
159
- if (start < (0, import_dayjs.default)() && end > (0, import_dayjs.default)()) {
160
- ongoing += child.number || 1;
161
- ongoingChildren.push(...((_b = child.metadata) == null ? void 0 : _b.capacity) || []);
162
- }
163
- if ((0, import_dayjs.default)() < start) {
164
- upcoming += child.number || 1;
165
- upcomingChildren.push(...((_c = child.metadata) == null ? void 0 : _c.capacity) || []);
166
- }
167
- if ((0, import_dayjs.default)() > end) {
168
- completed += child.number || 1;
169
- completedChildren.push(...((_d = child.metadata) == null ? void 0 : _d.capacity) || []);
170
- }
171
- });
172
- }
173
- });
146
+ const calcBookingDataCount = () => {
147
+ var _a2, _b2, _c, _d, _e, _f;
148
+ let groupsOnSiteNow = statisticData.groups_today_num || 0;
149
+ let peopleOnSiteNow = statisticData.people_on_site_now_num || (hasTurnstileApp ? 0 : "-");
150
+ let totalVisitorsToday = ((_a2 = statisticData.total_visitors_today) == null ? void 0 : _a2.num) || 0;
151
+ let totalVisitorsTodayChildren = ((_b2 = statisticData.total_visitors_today) == null ? void 0 : _b2.statistics) || [];
152
+ let ongoing = ((_c = statisticData.ongoing_visitors) == null ? void 0 : _c.num) || 0;
153
+ let ongoingChildren = ((_d = statisticData.ongoing_visitors) == null ? void 0 : _d.statistics) || [];
154
+ let upcoming = ((_e = statisticData.upcoming_visitors) == null ? void 0 : _e.num) || 0;
155
+ let upcomingChildren = ((_f = statisticData.upcoming_visitors) == null ? void 0 : _f.statistics) || [];
156
+ let overdue = statisticData.overdue_visitors_num || (hasTurnstileApp ? 0 : "-");
157
+ let completed = statisticData.completed_visitors.num || 0;
158
+ let completedChildren = statisticData.completed_visitors.statistics || [];
159
+ let departed = statisticData.departed_visitors_num || (hasTurnstileApp ? 0 : "-");
174
160
  onDataChange == null ? void 0 : onDataChange(
175
161
  {
176
162
  groupsOnSiteNow,
@@ -182,7 +168,7 @@ var BookingDashboard = (0, import_react.forwardRef)((props, ref) => {
182
168
  completed,
183
169
  departed
184
170
  },
185
- data2
171
+ []
186
172
  );
187
173
  setData([
188
174
  // 当前在场团体
@@ -249,26 +235,18 @@ var BookingDashboard = (0, import_react.forwardRef)((props, ref) => {
249
235
  }
250
236
  ]);
251
237
  };
252
- (0, import_react.useEffect)(() => {
253
- calcBookingDataCount(bookingData);
254
- const timer = setInterval(() => {
255
- calcBookingDataCount(bookingData);
256
- }, 60 * 1e3);
257
- return () => {
258
- clearInterval(timer);
259
- };
260
- }, [bookingData]);
261
238
  (0, import_react.useEffect)(() => {
262
239
  getData();
263
240
  const timer = setInterval(() => {
264
241
  getData();
265
- }, 10 * 60 * 1e3);
242
+ }, 60 * 1e3);
266
243
  return () => {
267
244
  clearInterval(timer);
268
245
  };
269
246
  }, [JSON.stringify(otherParams), refreshKey]);
270
247
  (0, import_react.useImperativeHandle)(ref, () => ({
271
248
  refresh: () => {
249
+ debugger;
272
250
  getData();
273
251
  }
274
252
  }));
@@ -1 +1,2 @@
1
1
  export declare const getBookingList: (params: any) => Promise<any>;
2
+ export declare const getStatistic: (params: any) => Promise<any>;
@@ -19,7 +19,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  // src/components/booking/dashboard/serve.ts
20
20
  var serve_exports = {};
21
21
  __export(serve_exports, {
22
- getBookingList: () => getBookingList
22
+ getBookingList: () => getBookingList,
23
+ getStatistic: () => getStatistic
23
24
  });
24
25
  module.exports = __toCommonJS(serve_exports);
25
26
  var import_utils = require("../utils");
@@ -32,7 +33,12 @@ var getBookingList = async (params) => {
32
33
  });
33
34
  return data;
34
35
  };
36
+ var getStatistic = async (params) => {
37
+ let { data } = await import_utils.request.getRequest().get(`/shop/schedule/ticket/statistics`, params);
38
+ return data;
39
+ };
35
40
  // Annotate the CommonJS export names for ESM import in node:
36
41
  0 && (module.exports = {
37
- getBookingList
42
+ getBookingList,
43
+ getStatistic
38
44
  });
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const header: ({ state, dispatch }: any) => JSX.Element;
3
4
  export default header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource, isShowDelete, isShowAmountFooter }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  interface AddServiceProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingList: ({ items }: {
3
2
  items: any[];
4
3
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -174,7 +174,9 @@ var currentResource = (state, useResource, cacheItem) => {
174
174
  };
175
175
  var handleChangeHolder = (products, currentItem, other) => {
176
176
  return products.map((item) => {
177
- if (item._id === currentItem._id) {
177
+ var _a, _b, _c, _d;
178
+ const isSameGroup = ((_a = item == null ? void 0 : item._extend) == null ? void 0 : _a.groupId) && ((_b = item._extend) == null ? void 0 : _b.groupId) === ((_d = (_c = currentItem == null ? void 0 : currentItem._origin) == null ? void 0 : _c._extend) == null ? void 0 : _d.groupId);
179
+ if (item._id === currentItem._id || isSameGroup) {
178
180
  return {
179
181
  ...item,
180
182
  _extend: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/actions/index.less';
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import '../../../info/service/addService/index.less';
3
4
  interface AddServiceProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ContactType = {
3
4
  country_calling_code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  interface DurationProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  interface StartTimeProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  isEdit: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ScrollableListProps } from './types';
3
+ import './index.less';
4
+ declare const ScrollableList: React.FC<ScrollableListProps>;
5
+ export default ScrollableList;
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { StatusClassName, ActionButtonGroupList } from '../components/PaymentResultToast';
3
+ export interface PaymentResultToastConfig {
4
+ context: any;
5
+ pisellos: any;
6
+ getData: (key: string) => any;
7
+ interaction: any;
8
+ Toast: any;
9
+ onToastClose?: () => void;
10
+ }
11
+ export interface PaymentResultToastParams {
12
+ paymentStatus: string;
13
+ orderTotalAmount: number;
14
+ gapAmount: number;
15
+ failureReason?: string;
16
+ autoCloseConfig?: {
17
+ autoClose: boolean;
18
+ autoCloseDelay: number;
19
+ };
20
+ actionButtons?: ActionButtonGroupList;
21
+ }
22
+ export declare const formatCurrency: (amount: number, amountSymbol?: string) => string | number;
23
+ export declare const calculateTitle: (status: string, failureReason?: string) => string;
24
+ export declare const calculateSubtitle: (status: string, amount: number, gapAmount?: number, getData?: ((key: string) => any) | undefined) => React.ReactNode;
25
+ export declare const calculateStatusClassName: (status: string) => StatusClassName;
26
+ export declare const calculateAutoCloseConfig: (status: string, hasChangeDue: boolean) => {
27
+ autoClose: boolean;
28
+ autoCloseDelay: number;
29
+ maskClosable: boolean;
30
+ };
31
+ export declare const displayPaymentResultToast: (params: PaymentResultToastParams, config: PaymentResultToastConfig) => Promise<void>;
32
+ export declare const createShowSuccessToast: (config: PaymentResultToastConfig, getActionButtons?: ((paymentStatus: string) => ActionButtonGroupList) | undefined) => (result: any) => Promise<void>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos, DeviceStatus } from './const';
2
3
  import './index.less';
3
4
  interface PosProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DeviceProp } from "./const";
2
3
  interface PosProps {
3
4
  eftposName: string;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 聚合支付-支付接口
3
+ */
4
+ export declare const AGPTPayApi: (data: any, config: any) => Promise<any>;
5
+ /**
6
+ * 聚合支付-支付-查询接口
7
+ */
8
+ export declare const AGPTQueryApi: (param: any, config: any) => Promise<any>;
9
+ /**
10
+ * 聚合支付-支付-支付行为接口
11
+ */
12
+ export declare const AGPTActionApi: (param: any, config: any) => Promise<any>;
13
+ /**
14
+ * 聚合支付-退款接口
15
+ */
16
+ export declare const AGPTRefundApi: (data: any, config: any) => Promise<any>;
17
+ /**
18
+ * 聚合支付-退款-查询接口
19
+ */
20
+ export declare const AGPTRefundQueryApi: (param: any, config: any) => Promise<any>;
21
+ /**
22
+ * 聚合支付-退款-支付行为接口
23
+ */
24
+ export declare const AGPTRefundActionApi: (param: any, config: any) => Promise<any>;