@pisell/private-materials 3.3.9 → 3.3.10

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 (383) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/businessModel/SalesModel/index.d.ts +0 -1
  8. package/es/components/Sales/Event/index.d.ts +30 -0
  9. package/es/components/Sales/Summary/utils.d.ts +1 -1
  10. package/es/components/appointmentBooking/utils.d.ts +151 -0
  11. package/es/components/booking/addons/index.d.ts +17 -0
  12. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  13. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  14. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  15. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  16. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  17. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  18. package/es/components/booking/components/footer/index.d.ts +11 -0
  19. package/es/components/booking/components/footer/utils.d.ts +30 -0
  20. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  21. package/es/components/booking/deposit/index.d.ts +0 -1
  22. package/es/components/booking/forms/single/index.d.ts +0 -1
  23. package/es/components/booking/forms/table/index.d.ts +0 -1
  24. package/es/components/booking/hooks/useCreateBookingPageHeader.d.ts +6 -0
  25. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  26. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  27. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  28. package/es/components/booking/info/date/index.d.ts +0 -1
  29. package/es/components/booking/info/header/index.d.ts +0 -1
  30. package/es/components/booking/info/hooks/useAddHolder.d.ts +2 -0
  31. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  32. package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  33. package/es/components/booking/info/index.d.ts +3 -0
  34. package/es/components/booking/info/main.d.ts +12 -0
  35. package/es/components/booking/info/notes/index.d.ts +0 -1
  36. package/es/components/booking/info/pet/index.d.ts +14 -0
  37. package/es/components/booking/info/service/Lists.d.ts +2 -0
  38. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  39. package/es/components/booking/info/service/addService/index.d.ts +11 -0
  40. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  41. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  42. package/es/components/booking/info/service/index.d.ts +4 -0
  43. package/es/components/booking/info/service/like/index.d.ts +0 -1
  44. package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
  45. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  46. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  47. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  48. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
  49. package/es/components/booking/info/utils.js +1 -1
  50. package/es/components/booking/info2/index.d.ts +12 -0
  51. package/es/components/booking/info2/serve.d.ts +6 -0
  52. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  53. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  54. package/es/components/booking/info2/service/addService/utils.d.ts +88 -0
  55. package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  56. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  57. package/es/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
  58. package/es/components/booking/info2/service/editService/index.d.ts +7 -0
  59. package/es/components/booking/info2/service/index.d.ts +4 -0
  60. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  61. package/es/components/booking/info2/utils.d.ts +4 -0
  62. package/es/components/booking/info2/utilsByBooking.d.ts +34 -0
  63. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  64. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  65. package/es/components/booking/materiels/holder/index.d.ts +6 -0
  66. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  67. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  68. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  69. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  70. package/es/components/booking/payments/index.js +1 -1
  71. package/es/components/booking/utils.d.ts +172 -0
  72. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  73. package/es/components/eftpos/form/index.d.ts +0 -1
  74. package/es/components/eftpos/group/index.d.ts +0 -1
  75. package/es/components/eftpos/hooks.d.ts +0 -1
  76. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  77. package/es/components/eftpos/icon/device.d.ts +0 -1
  78. package/es/components/eftpos/index.d.ts +0 -1
  79. package/es/components/eftpos/pos.d.ts +0 -1
  80. package/es/components/eftpos/receipt/index.d.ts +0 -1
  81. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  82. package/es/components/eftposPay/amount.d.ts +1 -2
  83. package/es/components/eftposPay/app.d.ts +0 -1
  84. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  85. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  86. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  87. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  88. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  89. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  90. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  91. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  92. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  93. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  94. package/es/components/eftposPay/device.d.ts +1 -2
  95. package/es/components/eftposPay/hooks.d.ts +2 -2
  96. package/es/components/eftposPay/index.d.ts +0 -1
  97. package/es/components/eftposPay/pay.d.ts +0 -1
  98. package/es/components/eftposPay/payo/config.d.ts +0 -1
  99. package/es/components/eftposPay/store/index.d.ts +4 -4
  100. package/es/components/eftposPay/tip.d.ts +0 -1
  101. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  102. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  103. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  104. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  105. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  106. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  112. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  113. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  114. package/es/components/eventBooking/index.d.ts +0 -1
  115. package/es/components/index.d.ts +18 -0
  116. package/es/components/login/index.d.ts +0 -1
  117. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  118. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  119. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  120. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  121. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  122. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  123. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  124. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  125. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  126. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  127. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  128. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  129. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  130. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  131. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  132. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  133. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  134. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  135. package/es/components/productExtension/index.d.ts +0 -1
  136. package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
  137. package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
  138. package/es/components/productSelect/components/productGroup/index.d.ts +34 -0
  139. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  140. package/es/components/productSelect/index.d.ts +23 -0
  141. package/es/components/productSelect/locales.d.ts +18 -0
  142. package/es/components/productSelect/mock.d.ts +134 -0
  143. package/es/components/productSelect/theme/token.d.ts +17 -0
  144. package/es/components/ruleSetting/index.d.ts +0 -1
  145. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  146. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  147. package/es/components/schedules/calendar/index.d.ts +0 -1
  148. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  149. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  150. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  151. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  152. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  153. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  154. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  155. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  156. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  157. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  158. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  159. package/es/components/schedules/products/index.d.ts +0 -1
  160. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  161. package/es/components/schedules/products/list/index.d.ts +0 -1
  162. package/es/components/schedules/resources/index.d.ts +0 -1
  163. package/es/components/schedules/resources/list/index.d.ts +0 -1
  164. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  165. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  166. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  167. package/es/components/schedules/schedules/index.d.ts +0 -1
  168. package/es/components/shoppingCart/Provider.d.ts +3 -0
  169. package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  170. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  171. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  172. package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -0
  173. package/es/components/shoppingCart/index.d.ts +3 -0
  174. package/es/components/shoppingCart/type.d.ts +48 -0
  175. package/es/components/subTotal/index.d.ts +22 -0
  176. package/es/components/subTotal/locales.d.ts +42 -0
  177. package/es/components/taxSelect/index.d.ts +0 -1
  178. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  179. package/es/components/ticketBooking/components/menuBar/index.d.ts +3 -0
  180. package/es/components/ticketBooking/data.d.ts +58 -0
  181. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  182. package/es/components/ticketBooking/index.d.ts +3 -0
  183. package/es/components/ticketBooking/locales.d.ts +144 -0
  184. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  185. package/es/components/ticketBooking/serve.d.ts +282 -0
  186. package/es/components/ticketBooking/utils/index.d.ts +14 -0
  187. package/es/components/wallet/Detail/index.d.ts +42 -0
  188. package/es/components/wallet/components/WalletCard.d.ts +11 -0
  189. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  190. package/es/index.d.ts +45 -0
  191. package/es/utils/tasks/index.d.ts +16 -0
  192. package/es/utils/tasks/index.js +114 -0
  193. package/es/utils/tasks/type.d.ts +4 -0
  194. package/es/utils/tasks/type.js +1 -0
  195. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  196. package/lib/components/Sales/Event/index.d.ts +30 -0
  197. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  198. package/lib/components/appointmentBooking/utils.d.ts +151 -0
  199. package/lib/components/booking/addons/index.d.ts +17 -0
  200. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  201. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  202. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  203. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  204. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  205. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  206. package/lib/components/booking/components/footer/index.d.ts +11 -0
  207. package/lib/components/booking/components/footer/utils.d.ts +30 -0
  208. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  209. package/lib/components/booking/deposit/index.d.ts +0 -1
  210. package/lib/components/booking/forms/single/index.d.ts +0 -1
  211. package/lib/components/booking/forms/table/index.d.ts +0 -1
  212. package/lib/components/booking/hooks/useCreateBookingPageHeader.d.ts +6 -0
  213. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  214. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  215. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  216. package/lib/components/booking/info/date/index.d.ts +0 -1
  217. package/lib/components/booking/info/header/index.d.ts +0 -1
  218. package/lib/components/booking/info/hooks/useAddHolder.d.ts +2 -0
  219. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  220. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  221. package/lib/components/booking/info/index.d.ts +3 -0
  222. package/lib/components/booking/info/main.d.ts +12 -0
  223. package/lib/components/booking/info/notes/index.d.ts +0 -1
  224. package/lib/components/booking/info/pet/index.d.ts +14 -0
  225. package/lib/components/booking/info/service/Lists.d.ts +2 -0
  226. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  227. package/lib/components/booking/info/service/addService/index.d.ts +11 -0
  228. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  229. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  230. package/lib/components/booking/info/service/index.d.ts +4 -0
  231. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  232. package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
  233. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  234. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  235. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  236. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
  237. package/lib/components/booking/info/utils.js +1 -1
  238. package/lib/components/booking/info2/index.d.ts +12 -0
  239. package/lib/components/booking/info2/serve.d.ts +6 -0
  240. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  241. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  242. package/lib/components/booking/info2/service/addService/utils.d.ts +88 -0
  243. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  244. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  245. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
  246. package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
  247. package/lib/components/booking/info2/service/index.d.ts +4 -0
  248. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  249. package/lib/components/booking/info2/utils.d.ts +4 -0
  250. package/lib/components/booking/info2/utilsByBooking.d.ts +34 -0
  251. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  252. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  253. package/lib/components/booking/materiels/holder/index.d.ts +6 -0
  254. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  255. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  256. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  257. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  258. package/lib/components/booking/payments/index.js +1 -1
  259. package/lib/components/booking/utils.d.ts +172 -0
  260. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  261. package/lib/components/eftpos/form/index.d.ts +0 -1
  262. package/lib/components/eftpos/group/index.d.ts +0 -1
  263. package/lib/components/eftpos/hooks.d.ts +0 -1
  264. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  265. package/lib/components/eftpos/icon/device.d.ts +0 -1
  266. package/lib/components/eftpos/index.d.ts +0 -1
  267. package/lib/components/eftpos/pos.d.ts +0 -1
  268. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  269. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  270. package/lib/components/eftposPay/amount.d.ts +1 -2
  271. package/lib/components/eftposPay/app.d.ts +0 -1
  272. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  273. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  274. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  275. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  276. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  277. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  278. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  279. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  280. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  281. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  282. package/lib/components/eftposPay/device.d.ts +1 -2
  283. package/lib/components/eftposPay/hooks.d.ts +2 -2
  284. package/lib/components/eftposPay/index.d.ts +0 -1
  285. package/lib/components/eftposPay/pay.d.ts +0 -1
  286. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  287. package/lib/components/eftposPay/store/index.d.ts +4 -4
  288. package/lib/components/eftposPay/tip.d.ts +0 -1
  289. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  290. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  291. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  292. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  293. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  294. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  295. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  296. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  297. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  298. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  299. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  300. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  301. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  302. package/lib/components/eventBooking/index.d.ts +0 -1
  303. package/lib/components/index.d.ts +18 -0
  304. package/lib/components/login/index.d.ts +0 -1
  305. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  306. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  307. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  308. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  309. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  310. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  311. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  312. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  313. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  314. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  315. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  316. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  317. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  318. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  319. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  320. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  321. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  322. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  323. package/lib/components/productExtension/index.d.ts +0 -1
  324. package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
  325. package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
  326. package/lib/components/productSelect/components/productGroup/index.d.ts +34 -0
  327. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  328. package/lib/components/productSelect/index.d.ts +23 -0
  329. package/lib/components/productSelect/locales.d.ts +18 -0
  330. package/lib/components/productSelect/mock.d.ts +134 -0
  331. package/lib/components/productSelect/theme/token.d.ts +17 -0
  332. package/lib/components/ruleSetting/index.d.ts +0 -1
  333. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  334. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  335. package/lib/components/schedules/calendar/index.d.ts +0 -1
  336. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  337. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  338. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  339. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  340. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  341. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  342. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  343. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  344. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  345. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  346. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  347. package/lib/components/schedules/products/index.d.ts +0 -1
  348. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  349. package/lib/components/schedules/products/list/index.d.ts +0 -1
  350. package/lib/components/schedules/resources/index.d.ts +0 -1
  351. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  352. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  353. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  354. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  355. package/lib/components/schedules/schedules/index.d.ts +0 -1
  356. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  357. package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  358. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  359. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  360. package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -0
  361. package/lib/components/shoppingCart/index.d.ts +3 -0
  362. package/lib/components/shoppingCart/type.d.ts +48 -0
  363. package/lib/components/subTotal/index.d.ts +22 -0
  364. package/lib/components/subTotal/locales.d.ts +42 -0
  365. package/lib/components/taxSelect/index.d.ts +0 -1
  366. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  367. package/lib/components/ticketBooking/components/menuBar/index.d.ts +3 -0
  368. package/lib/components/ticketBooking/data.d.ts +58 -0
  369. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  370. package/lib/components/ticketBooking/index.d.ts +3 -0
  371. package/lib/components/ticketBooking/locales.d.ts +144 -0
  372. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  373. package/lib/components/ticketBooking/serve.d.ts +282 -0
  374. package/lib/components/ticketBooking/utils/index.d.ts +14 -0
  375. package/lib/components/wallet/Detail/index.d.ts +42 -0
  376. package/lib/components/wallet/components/WalletCard.d.ts +11 -0
  377. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  378. package/lib/index.d.ts +45 -0
  379. package/lib/utils/tasks/index.d.ts +16 -0
  380. package/lib/utils/tasks/index.js +63 -0
  381. package/lib/utils/tasks/type.d.ts +4 -0
  382. package/lib/utils/tasks/type.js +17 -0
  383. package/package.json +3 -3
@@ -0,0 +1,88 @@
1
+ import dayjs from 'dayjs';
2
+ export declare const getUsableTime: (cacheItem: any) => any;
3
+ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
4
+ startDate: dayjs.Dayjs;
5
+ usableTime: any;
6
+ duration: string | number | {
7
+ type: string;
8
+ value: number;
9
+ };
10
+ locale: string;
11
+ slice: any;
12
+ selectProps: {
13
+ size: string;
14
+ };
15
+ };
16
+ /**
17
+ * @title: 灵活时长选项
18
+ * @description:
19
+ * @param {*} useMemo
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-02-23 10:10
23
+ */
24
+ export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
25
+ label: any;
26
+ value: any;
27
+ } | null;
28
+ export declare const getTimeSlices: ({ state }: any) => {
29
+ timeSlices: {
30
+ label: string;
31
+ value: string;
32
+ }[];
33
+ };
34
+ /**
35
+ * @title: 时间切片
36
+ * @description:
37
+ * @return {*}
38
+ * @Author: zhiwei.Wang
39
+ * @Date: 2024-01-09 13:37
40
+ */
41
+ export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
42
+ timeSlices: {
43
+ label: string;
44
+ value: string;
45
+ }[];
46
+ durationSlicesBasedOnTime: {
47
+ label: string;
48
+ value: number;
49
+ }[];
50
+ };
51
+ /**
52
+ * @title: 获取资源列表
53
+ * @description:
54
+ * @return {*}
55
+ * @Author: zhiwei.Wang
56
+ * @Date: 2024-01-09 13:38
57
+ */
58
+ export declare const formatResources: ({ cacheItem, resourcesOrigin }: any) => {
59
+ list: any[];
60
+ maps: any;
61
+ };
62
+ export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
63
+ /**
64
+ * @title: 设置默认容量
65
+ * @description:
66
+ * @param {any} param1
67
+ * @return {*}
68
+ * @Author: zhiwei.Wang
69
+ * @Date: 2024-09-19 20:26
70
+ */
71
+ export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
72
+ /**
73
+ * @title: 预生成服务的 extend
74
+ * @description:
75
+ * @param {any} param1
76
+ * @return {*}
77
+ * @Author: zhiwei.Wang
78
+ * @Date: 2024-06-01 13:25
79
+ */
80
+ export declare const getProductExtend: ({ cacheItem, state }: any) => any;
81
+ /**
82
+ * @title: 格式化服务列表
83
+ * @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
84
+ * 使用with resourceRelation后 返回的resource_relation是实时数据
85
+ * 这里做一次转换
86
+ * @param list
87
+ */
88
+ export declare const transServiceList: (list: any[]) => any[];
@@ -0,0 +1,3 @@
1
+ import '../../../info/service/addTimeModal/index.less';
2
+ declare const AddTimeModal: () => JSX.Element;
3
+ export default AddTimeModal;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from 'antd';
3
+ interface MaxLengthSelectProps<T> extends SelectProps<T> {
4
+ maxLength: number;
5
+ }
6
+ declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface EditServiceRef {
4
+ init: (cacheItem?: any) => void;
5
+ }
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import '../../info/service/index.less';
3
+ declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -0,0 +1,4 @@
1
+ export declare const getFormatResourceListAndMap: (data: any[], bookingId?: number) => {
2
+ list: any[];
3
+ listMap: any;
4
+ };
@@ -0,0 +1,34 @@
1
+ export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
2
+ export declare const getSumCapacity: ({ cacheItem }: any) => number;
3
+ /**
4
+ * @title: 查找是否有可用的time
5
+ * @description:
6
+ * @param {any} resourceItem
7
+ * @return {*}
8
+ * @Author: zhiwei.Wang
9
+ * @Date: 2024-01-09 13:57
10
+ */
11
+ export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
12
+ export declare const getErrorList: (resource: any, cacheItem: any) => {
13
+ label: any;
14
+ type: string;
15
+ }[];
16
+ /**
17
+ * @title: 格式化资源, 添加自定义参数
18
+ * @description:
19
+ * @param {any} resourceItem
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-01-09 13:40
23
+ */
24
+ export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
25
+ /**
26
+ * @title: 创建服务的开始时间和结束时间
27
+ * @description:
28
+ * @param {any} state
29
+ * @param {any} item
30
+ * @return {*}
31
+ * @Author: zhiwei.Wang
32
+ * @Date: 2024-01-26 14:09
33
+ */
34
+ export declare const getServiceStartTimeAndEndTime: (state: any, cacheItem: any, timeObj: any) => any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -0,0 +1,6 @@
1
+ import { SelectProps } from 'antd';
2
+ interface HolderProps extends SelectProps {
3
+ selectProps?: SelectProps;
4
+ }
5
+ declare const Holder: (props: HolderProps) => JSX.Element;
6
+ export default Holder;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -0,0 +1,3 @@
1
+ import "./index.less";
2
+ declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
+ export default AddNote;
@@ -189,7 +189,7 @@ var Payments = Provider(function (props) {
189
189
  className: "payment-list-item-surcharge"
190
190
  }, "(", locales.getText("pisell2.text.surcharge"), " ", formatAmount(item.service_fee, 2, (state === null || state === void 0 ? void 0 : state.amountSymbol) || "$"), ")") : null, /*#__PURE__*/React.createElement("div", {
191
191
  className: "payment-list-item-date"
192
- }, dayjs("2024-01-17 16:56:41").format("HH:mm YYYY/MM/DD"), /*#__PURE__*/React.createElement("span", {
192
+ }, dayjs(item.payment_time).format("HH:mm YYYY/MM/DD"), /*#__PURE__*/React.createElement("span", {
193
193
  className: "payment-list-item-platform-type"
194
194
  }, item.platform && locales.getText("pisell2.text.platform.type")(item.platform))))))));
195
195
  }
@@ -0,0 +1,172 @@
1
+ import dayjs from 'dayjs';
2
+ declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
3
+ declare class Request {
4
+ private request;
5
+ constructor();
6
+ setRequest(val: any): void;
7
+ getRequest(): {
8
+ get: RType;
9
+ post: RType;
10
+ put: RType;
11
+ remove: RType;
12
+ custom: RType;
13
+ };
14
+ }
15
+ export declare const request: Request;
16
+ /**
17
+ * @title: 格式化持续时长用于展示
18
+ * @description:
19
+ * @param {number} service_times
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-04-26 14:00
23
+ */
24
+ export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
25
+ /**
26
+ * @title: 时间切片
27
+ * @description:
28
+ * @param {any} config
29
+ * @param {string} locale
30
+ * @return {*}
31
+ * @Author: zhiwei.Wang
32
+ * @Date: 2024-04-26 13:59
33
+ */
34
+ export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
35
+ timeSlices: {
36
+ label: string;
37
+ value: string;
38
+ }[];
39
+ durationSlicesBasedOnTime: {
40
+ label: string;
41
+ value: number;
42
+ }[];
43
+ };
44
+ export declare const getNowTime: () => string;
45
+ export declare const isNowTime: (time: string) => boolean;
46
+ /**
47
+ * @title: 获取服务的开始时间, 如果是now 转换为当前的时间
48
+ * @description:
49
+ * @param {string} start_time
50
+ * @return {*}
51
+ * @Author: zhiwei.Wang
52
+ * @Date: 2024-04-26 14:03
53
+ */
54
+ export declare const getServeStartTime: (start_time: string) => string;
55
+ /**
56
+ * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
57
+ * @description:
58
+ * @param {any} item
59
+ * @param {any} currentDate
60
+ * @return {*}
61
+ * @Author: zhiwei.Wang
62
+ * @Date: 2024-04-26 14:04
63
+ */
64
+ export declare const getServiceTime: (item: any, currentDate: any) => string;
65
+ export declare const findNextSlice: ({ timeSlices, index, date, }: {
66
+ timeSlices: any[];
67
+ index?: number | undefined;
68
+ date?: string | undefined;
69
+ }) => any;
70
+ export declare const findNextDuration: (current: any, array: any, defaultValue?: any) => any;
71
+ export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
72
+ export declare const getResourceTimeIsUsable: (item: any, cacheItem: any) => any;
73
+ /**
74
+ * @title: 查找是否有可用的time
75
+ * @description:
76
+ * @param {any} resourceItem
77
+ * @return {*}
78
+ * @Author: zhiwei.Wang
79
+ * @Date: 2024-01-09 13:57
80
+ */
81
+ export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
82
+ /**
83
+ * @title: 获取店铺的营业结束时间
84
+ * @description:
85
+ * @return {*}
86
+ * @Author: zhiwei.Wang
87
+ * @Date: 2024-02-23 10:00
88
+ */
89
+ export declare const getShopOpeningHours: () => string;
90
+ /**
91
+ * @title: 对灵活时长进行处理
92
+ * @description:
93
+ * @return {*}
94
+ * @Author: zhiwei.Wang
95
+ * @Date: 2024-02-23 10:00
96
+ */
97
+ export declare const flexibleObj: {
98
+ create: (num: number) => any;
99
+ getValue: (str: string | number) => number;
100
+ isFlexible: (str: string | number) => boolean;
101
+ add: (current: number | string, duration: number) => any;
102
+ };
103
+ /**
104
+ * @title: 获取结束时间
105
+ * @description: 取 endDate | 店铺营业时间 最小的那一个
106
+ * @param {any} startDate
107
+ * @param {string} duration
108
+ * @param {any} endDate
109
+ * @return {*}
110
+ * @Author: zhiwei.Wang
111
+ * @Date: 2024-02-23 10:01
112
+ */
113
+ export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
114
+ export declare const getServiceTimes: (service: any) => {
115
+ startDate: dayjs.Dayjs;
116
+ endDate: dayjs.Dayjs;
117
+ };
118
+ export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
119
+ label: any;
120
+ type: string;
121
+ }[];
122
+ /**
123
+ * @title: 格式化资源, 添加自定义参数
124
+ * @description:
125
+ * @param {any} resourceItem
126
+ * @return {*}
127
+ * @Author: zhiwei.Wang
128
+ * @Date: 2024-01-09 13:40
129
+ */
130
+ export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
131
+ export declare const getLastServer: (list: any) => any;
132
+ export declare const getCacheParams: () => any;
133
+ export declare const deleteCacheParams: () => void;
134
+ /**
135
+ * @title: 获取跨日预约的时长
136
+ * @description:
137
+ * @param {any} cacheItem
138
+ * @return {*}
139
+ * @Author: WangHan
140
+ * @Date: 2024-12-01 22:43
141
+ */
142
+ export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
143
+ export declare const isSessionProduct: (cacheItem: any) => boolean;
144
+ /**
145
+ * @title: 创建一个服务商品
146
+ * @description:
147
+ * @param {any} state
148
+ * @param {any} item
149
+ * @return {*}
150
+ * @Author: zhiwei.Wang
151
+ * @Date: 2024-01-26 14:09
152
+ */
153
+ export declare const getServerItemExtend: (state: any, cacheItem: any, timeObj: any) => any;
154
+ export declare const getProductTotalPrice: (item: any) => number;
155
+ /**
156
+ * @title: 判断 duration
157
+ * @description: 用于处理不同格式的duration
158
+ * @param {number} duration
159
+ * @return {*}
160
+ * @Author: zhiwei.Wang
161
+ * @Date: 2024-02-23 10:02
162
+ */
163
+ export declare const getDuration: (duration: number | {
164
+ type: string;
165
+ value: number;
166
+ }) => number | "flexible" | {
167
+ type: string;
168
+ value: number;
169
+ };
170
+ export declare const isWalkIn: (customer_id?: number | string) => boolean;
171
+ export declare const getIsEdit: (state: any) => boolean;
172
+ export {};
@@ -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" | "print" | "fail" | "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
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  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 { 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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps, PosProps } from './const';
3
2
  import './device.less';
4
3
  /**
@@ -11,7 +10,7 @@ import './device.less';
11
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
11
  api: PayProps['api'];
13
12
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
14
  [keys: string]: unknown;
16
15
  } | undefined, other?: any) => void) | undefined;
17
16
  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" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo">;
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 { PosProps } from './const';
3
2
  import './index.less';
4
3
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -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" | "success" | "warn" | "fail" | "question";
177
+ status: "loading" | "warn" | "success" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -297,8 +297,8 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | undefined;
301
- action?: "amount" | "deviceList" | "pay" | undefined;
300
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "warn" | "success" | "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 Layout: () => JSX.Element;
4
3
  export default Layout;