@pisell/private-materials 6.5.14 → 6.5.15

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 (373) hide show
  1. package/build/lowcode/render/default/view.css +1 -1
  2. package/build/lowcode/render/default/view.js +1 -1
  3. package/build/lowcode/view.css +1 -1
  4. package/build/lowcode/view.js +1 -1
  5. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  6. package/es/components/appointmentBooking/index.d.ts +1 -0
  7. package/es/components/booking/addons/model.d.ts +1 -10
  8. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  9. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  10. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  11. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  12. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  13. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  14. package/es/components/booking/components/footer/amount.js +7 -2
  15. package/es/components/booking/components/footer/utils.js +8 -1
  16. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  18. package/es/components/booking/deposit/index.d.ts +1 -0
  19. package/es/components/booking/forms/model.d.ts +1 -10
  20. package/es/components/booking/forms/single/index.d.ts +1 -0
  21. package/es/components/booking/forms/table/index.d.ts +1 -0
  22. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  24. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  25. package/es/components/booking/info/date/index.d.ts +1 -0
  26. package/es/components/booking/info/header/index.d.ts +1 -0
  27. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  28. package/es/components/booking/info/index.d.ts +1 -0
  29. package/es/components/booking/info/model.d.ts +1 -10
  30. package/es/components/booking/info/notes/index.d.ts +1 -0
  31. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  32. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  33. package/es/components/booking/info/service/like/index.d.ts +1 -0
  34. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  35. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  36. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  37. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  38. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  39. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  40. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  41. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  42. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  43. package/es/components/booking/model.d.ts +1 -9
  44. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  45. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  46. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  47. package/es/components/booking/notes/model.d.ts +1 -10
  48. package/es/components/booking/payments/model.d.ts +1 -10
  49. package/es/components/booking/utils.d.ts +2 -2
  50. package/es/components/booking/utils.js +1 -1
  51. package/es/components/checkout/PaymentModal.js +25 -18
  52. package/es/components/checkout/PaymentPlugin.d.ts +1 -0
  53. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  54. package/es/components/eftpos/form/index.d.ts +1 -0
  55. package/es/components/eftpos/group/index.d.ts +1 -0
  56. package/es/components/eftpos/hooks.d.ts +1 -0
  57. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  58. package/es/components/eftpos/icon/device.d.ts +1 -0
  59. package/es/components/eftpos/index.d.ts +1 -0
  60. package/es/components/eftpos/pos.d.ts +1 -0
  61. package/es/components/eftpos/receipt/index.d.ts +1 -0
  62. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  63. package/es/components/eftposPay/amount.d.ts +1 -0
  64. package/es/components/eftposPay/app.d.ts +1 -0
  65. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  66. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  67. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  68. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  69. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  70. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  71. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  72. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  73. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  74. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  75. package/es/components/eftposPay/hooks.d.ts +2 -2
  76. package/es/components/eftposPay/index.d.ts +1 -0
  77. package/es/components/eftposPay/pay.d.ts +1 -0
  78. package/es/components/eftposPay/payo/config.d.ts +1 -0
  79. package/es/components/eftposPay/store/index.d.ts +4 -4
  80. package/es/components/eftposPay/tip.d.ts +1 -0
  81. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  82. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  83. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  86. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  87. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  88. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  89. package/es/components/list/styles/content.less +1 -0
  90. package/es/components/login/index.d.ts +1 -0
  91. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  92. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  93. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  95. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  99. package/es/components/pay/toC/model.d.ts +1 -9
  100. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  101. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  102. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  103. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  104. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  105. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  106. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  107. package/es/components/schedules/calendar/index.d.ts +1 -0
  108. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  109. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  110. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  111. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  112. package/es/components/schedules/model.d.ts +1 -9
  113. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  114. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  115. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  117. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  118. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  119. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  120. package/es/components/schedules/products/index.d.ts +1 -0
  121. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  122. package/es/components/schedules/products/list/index.d.ts +1 -0
  123. package/es/components/schedules/resources/index.d.ts +1 -0
  124. package/es/components/schedules/resources/list/index.d.ts +1 -0
  125. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  126. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  127. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  128. package/es/components/schedules/schedules/index.d.ts +1 -0
  129. package/es/components/taxSelect/index.d.ts +1 -0
  130. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  131. package/es/components/ticketBooking/components/addServiceVariant/addService.js +634 -208
  132. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  133. package/es/components/ticketBooking/components/addServiceVariant/index.js +2 -0
  134. package/es/components/ticketBooking/components/ticketBooking/index.js +85 -22
  135. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  136. package/es/components/ticketBooking/components/timeBar/index.js +4 -1
  137. package/es/components/ticketBooking/context/OsKeyContext.d.ts +1 -1
  138. package/es/components/ticketBooking/context/OsKeyContext.js +1 -1
  139. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -1
  140. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
  141. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +141 -4
  142. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +1 -1
  143. package/es/components/ticketBooking/index.js +1 -1
  144. package/es/components/ticketBooking/utils/index.d.ts +3 -2
  145. package/es/components/ticketBooking/utils/index.js +33 -8
  146. package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
  147. package/es/components/ticketBooking/utils/productCache.js +184 -0
  148. package/es/components/wallet/Detail/model.d.ts +1 -13
  149. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  150. package/es/components/wallet/PointCard/model.d.ts +1 -13
  151. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  152. package/es/components/wallet/Voucher/model.d.ts +1 -13
  153. package/es/components/wallet/model.d.ts +1 -9
  154. package/es/hooks/usePaymentLogger.d.ts +1 -0
  155. package/es/plus/clientName/index.d.ts +1 -0
  156. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  157. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  158. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  159. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  160. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  161. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  162. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  163. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  164. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  165. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  166. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  167. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  168. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  169. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  170. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  171. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  172. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  173. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  174. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
  175. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  176. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
  177. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  178. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  179. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  180. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  181. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  182. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  183. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  184. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  185. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  186. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  187. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  188. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  189. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  190. package/lib/components/appointmentBooking/index.d.ts +1 -0
  191. package/lib/components/booking/addons/model.d.ts +1 -10
  192. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  193. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  194. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  195. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  196. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  197. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  198. package/lib/components/booking/components/footer/amount.js +5 -2
  199. package/lib/components/booking/components/footer/utils.js +8 -1
  200. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  201. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  202. package/lib/components/booking/deposit/index.d.ts +1 -0
  203. package/lib/components/booking/forms/model.d.ts +1 -10
  204. package/lib/components/booking/forms/single/index.d.ts +1 -0
  205. package/lib/components/booking/forms/table/index.d.ts +1 -0
  206. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  207. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  208. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  209. package/lib/components/booking/info/date/index.d.ts +1 -0
  210. package/lib/components/booking/info/header/index.d.ts +1 -0
  211. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  212. package/lib/components/booking/info/index.d.ts +1 -0
  213. package/lib/components/booking/info/model.d.ts +1 -10
  214. package/lib/components/booking/info/notes/index.d.ts +1 -0
  215. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  216. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  217. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  218. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  219. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  220. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  221. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  222. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  223. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  224. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  225. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  226. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  227. package/lib/components/booking/model.d.ts +1 -9
  228. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  229. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  230. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  231. package/lib/components/booking/notes/model.d.ts +1 -10
  232. package/lib/components/booking/payments/model.d.ts +1 -10
  233. package/lib/components/booking/utils.d.ts +2 -2
  234. package/lib/components/booking/utils.js +1 -1
  235. package/lib/components/checkout/PaymentModal.js +13 -9
  236. package/lib/components/checkout/PaymentPlugin.d.ts +1 -0
  237. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  238. package/lib/components/eftpos/form/index.d.ts +1 -0
  239. package/lib/components/eftpos/group/index.d.ts +1 -0
  240. package/lib/components/eftpos/hooks.d.ts +1 -0
  241. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  242. package/lib/components/eftpos/icon/device.d.ts +1 -0
  243. package/lib/components/eftpos/index.d.ts +1 -0
  244. package/lib/components/eftpos/pos.d.ts +1 -0
  245. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  246. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  247. package/lib/components/eftposPay/amount.d.ts +1 -0
  248. package/lib/components/eftposPay/app.d.ts +1 -0
  249. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  250. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  251. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  252. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  253. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  254. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  255. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  256. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  257. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  258. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  259. package/lib/components/eftposPay/hooks.d.ts +2 -2
  260. package/lib/components/eftposPay/index.d.ts +1 -0
  261. package/lib/components/eftposPay/pay.d.ts +1 -0
  262. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  263. package/lib/components/eftposPay/store/index.d.ts +4 -4
  264. package/lib/components/eftposPay/tip.d.ts +1 -0
  265. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  266. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  267. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  268. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  269. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  270. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  271. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  272. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  273. package/lib/components/list/styles/content.less +1 -0
  274. package/lib/components/login/index.d.ts +1 -0
  275. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  276. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  277. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  278. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  279. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  280. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  281. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  282. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  283. package/lib/components/pay/toC/model.d.ts +1 -9
  284. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  285. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  286. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  287. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  288. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  289. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  290. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  291. package/lib/components/schedules/calendar/index.d.ts +1 -0
  292. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  293. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  294. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  295. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  296. package/lib/components/schedules/model.d.ts +1 -9
  297. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  298. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  299. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  300. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  301. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  302. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  303. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  304. package/lib/components/schedules/products/index.d.ts +1 -0
  305. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  306. package/lib/components/schedules/products/list/index.d.ts +1 -0
  307. package/lib/components/schedules/resources/index.d.ts +1 -0
  308. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  309. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  310. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  311. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  312. package/lib/components/schedules/schedules/index.d.ts +1 -0
  313. package/lib/components/taxSelect/index.d.ts +1 -0
  314. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  315. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +286 -213
  316. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  317. package/lib/components/ticketBooking/components/addServiceVariant/index.js +2 -1
  318. package/lib/components/ticketBooking/components/ticketBooking/index.js +57 -8
  319. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  320. package/lib/components/ticketBooking/components/timeBar/index.js +3 -1
  321. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +1 -1
  322. package/lib/components/ticketBooking/context/OsKeyContext.js +1 -1
  323. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -1
  324. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
  325. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +83 -0
  326. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +1 -1
  327. package/lib/components/ticketBooking/index.js +1 -1
  328. package/lib/components/ticketBooking/utils/index.d.ts +3 -2
  329. package/lib/components/ticketBooking/utils/index.js +48 -6
  330. package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
  331. package/lib/components/ticketBooking/utils/productCache.js +144 -0
  332. package/lib/components/wallet/Detail/model.d.ts +1 -13
  333. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  334. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  335. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  336. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  337. package/lib/components/wallet/model.d.ts +1 -9
  338. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  339. package/lib/plus/clientName/index.d.ts +1 -0
  340. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  341. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  342. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  343. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  344. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  345. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  346. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  347. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  348. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  349. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  350. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  351. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  352. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  353. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  354. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  355. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  356. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  357. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  358. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
  359. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  360. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
  361. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  362. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  363. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  364. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  365. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  366. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  367. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  368. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  369. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  370. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  371. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  372. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  373. package/package.json +1 -1
@@ -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;
@@ -200,7 +200,7 @@ var getTax = (state, options) => {
200
200
  var _a, _b, _c;
201
201
  const { isEdit, computed, tax_rate, is_price_include_tax } = options;
202
202
  if (!isEdit) {
203
- return { tax: Number((_a = state.bookingDetail) == null ? void 0 : _a.tax_fee) };
203
+ return { tax: Number((_a = state.bookingDetail) == null ? void 0 : _a.tax_fee) || 0 };
204
204
  }
205
205
  let totalOriginTax = new import_decimal.default(0);
206
206
  let totalTax = new import_decimal.default(0);
@@ -313,7 +313,7 @@ var getSurcharge = (state, options) => {
313
313
  const { bookingDetail, bookingId } = state;
314
314
  if (!isEdit && bookingId) {
315
315
  if (Array.isArray(bookingDetail == null ? void 0 : bookingDetail.surcharge)) {
316
- return (((_a = state.bookingDetail) == null ? void 0 : _a.surcharge) || []).map(
316
+ return (((_a = state.bookingDetail) == null ? void 0 : _a.surcharge) || []).filter((d) => Number(d.amount) > 0).map(
317
317
  (d, index) => {
318
318
  return {
319
319
  key: `custom_surcharge_${index}`,
@@ -396,6 +396,9 @@ var getSurcharge = (state, options) => {
396
396
  finalAmount = configTotal.toDecimalPlaces(2, import_decimal.default.ROUND_HALF_UP).toNumber();
397
397
  }
398
398
  const name = surchargeConfig.name || {};
399
+ if (Number(finalAmount) <= 0) {
400
+ continue;
401
+ }
399
402
  surchargeWithAmount.push({
400
403
  key: `custom_surcharge_${i}`,
401
404
  label: name[state.locale || "en"] || name["en"] || name["original"],
@@ -49,6 +49,7 @@ var import_utils5 = require("@pisell/utils");
49
49
  var import_materials = require("@pisell/materials");
50
50
  var import_utils6 = require("../../../../plus/clientName/utils");
51
51
  var import_lodash = require("lodash");
52
+ var import_decimal = __toESM(require("decimal.js"));
52
53
  var formatNote = (data) => {
53
54
  var _a;
54
55
  return ((_a = data.notes) == null ? void 0 : _a.orderNote) || "";
@@ -101,6 +102,10 @@ var formatProductBundle = (bundle) => {
101
102
  } catch (error) {
102
103
  }
103
104
  return bundle.map((d) => {
105
+ const option = formatProductOption(d.option);
106
+ const option_price = option.reduce((temp, item) => {
107
+ return temp + Number(item.num) * item.custom_add_price;
108
+ }, 0);
104
109
  return {
105
110
  "bundle_group_id": d.group_id,
106
111
  "bundle_id": d.id,
@@ -113,7 +118,9 @@ var formatProductBundle = (bundle) => {
113
118
  // checkout 2.0 新增
114
119
  "price_type": d == null ? void 0 : d.price_type,
115
120
  // checkout 2.0 新增
116
- "option": formatProductOption(d.option)
121
+ "custom_price": new import_decimal.default(d == null ? void 0 : d.price).sub(option_price).toNumber().toFixed(2),
122
+ "custom_price_type": d == null ? void 0 : d.price_type,
123
+ "option": option
117
124
  };
118
125
  });
119
126
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  modal: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -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 "./index.less";
2
3
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
3
4
  export default Table;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
2
3
  export default useIsLowSpeedNetwork;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Like: ({ status, onChange, className, style, }: {
3
4
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -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 {
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -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 HolderProps extends SelectProps {
3
4
  selectProps?: SelectProps;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -106,11 +105,4 @@ export declare const walkInData: {
106
105
  id: number;
107
106
  nickname: string;
108
107
  };
109
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
110
- state: FormState;
111
- } & {
112
- dispatch: (params: {
113
- type: string;
114
- payload: any;
115
- }) => void;
116
- }>;
108
+ export declare const Provider: any, Context: any;
@@ -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;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | "flexible" | {
168
+ }) => number | {
169
169
  type: string;
170
170
  value: number;
171
- };
171
+ } | "flexible";
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -503,7 +503,7 @@ var formatResource = (resourceItem, cacheItem, formatLabel) => {
503
503
  return _resourceItem;
504
504
  };
505
505
  var getLastServer = (list) => {
506
- return list[list.length - 1];
506
+ return list == null ? void 0 : list[0];
507
507
  };
508
508
  var getCacheParams = () => {
509
509
  const sessionData = sessionStorage.getItem("pisell2.booking.serviceParams");
@@ -195,7 +195,8 @@ var PaymentContent = (0, import_react.forwardRef)(
195
195
  return surcharge;
196
196
  };
197
197
  const onPaymentOptionClick = async (method) => {
198
- var _a2, _b2, _c2, _d;
198
+ var _a2, _b2, _c2, _d, _e;
199
+ if (syncingLock) return;
199
200
  const { id, code, name, type } = method || {};
200
201
  const finalAmount = method.totalAmount ?? customAmount;
201
202
  const eftposCodes = [
@@ -215,6 +216,7 @@ var PaymentContent = (0, import_react.forwardRef)(
215
216
  let data;
216
217
  const isSynced = await checkoutModule.isCurrentOrderSynced();
217
218
  if (!isSynced) {
219
+ (_a2 = Toast == null ? void 0 : Toast.loading) == null ? void 0 : _a2.call(Toast, "", 0);
218
220
  data = await checkoutModule.manualSyncOrderAsync();
219
221
  } else {
220
222
  const orderId = await checkoutModule.getCurrentOrderId();
@@ -222,7 +224,7 @@ var PaymentContent = (0, import_react.forwardRef)(
222
224
  orderId
223
225
  };
224
226
  }
225
- (_a2 = paymentMethodsRef.current) == null ? void 0 : _a2.onPay(payType, {
227
+ (_b2 = paymentMethodsRef.current) == null ? void 0 : _b2.onPay(payType, {
226
228
  source: "normal",
227
229
  data: {
228
230
  payMethod: { id, code, name, type },
@@ -284,13 +286,13 @@ var PaymentContent = (0, import_react.forwardRef)(
284
286
  percentage: (method == null ? void 0 : method.percentage) || "0"
285
287
  };
286
288
  }
287
- if (method.type === "custom" && ((_b2 = method.metadata) == null ? void 0 : _b2.order_open_cash_drawer)) {
289
+ if (method.type === "custom" && ((_c2 = method.metadata) == null ? void 0 : _c2.order_open_cash_drawer)) {
288
290
  logger == null ? void 0 : logger.addLog({
289
291
  type: "info",
290
292
  title: "open_till",
291
293
  metadata: {}
292
294
  });
293
- (_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.postMessageToApp) == null ? void 0 : _d.call(_c2, {
295
+ (_e = (_d = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _d.postMessageToApp) == null ? void 0 : _e.call(_d, {
294
296
  module: "till",
295
297
  key: "open_till",
296
298
  data: {
@@ -418,11 +420,13 @@ var PaymentContent = (0, import_react.forwardRef)(
418
420
  );
419
421
  const orderSubmitStartUnsubscribe = core.effects.on(
420
422
  CheckoutHooks.OnOrderSubmitStart,
421
- executeIfActive(() => {
422
- var _a2;
423
- setSyncingLock(true);
424
- (_a2 = Toast == null ? void 0 : Toast.loading) == null ? void 0 : _a2.call(Toast);
425
- })
423
+ executeIfActive(
424
+ () => {
425
+ var _a2;
426
+ setSyncingLock(true);
427
+ (_a2 = Toast == null ? void 0 : Toast.loading) == null ? void 0 : _a2.call(Toast, "", 0);
428
+ }
429
+ )
426
430
  );
427
431
  const orderSubmitEndUnsubscribe = core.effects.on(
428
432
  CheckoutHooks.OnOrderSubmitEnd,
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PaymentPlugin: () => JSX.Element;
2
3
  export default PaymentPlugin;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 递归循环表单数据
3
4
  * @Author: hongbing.wang
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RadioGroupProps } from 'antd';
2
3
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
3
4
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos } from './const';
2
3
  /**
3
4
  * @title: tyro 设备连接
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -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;
@@ -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.css';
2
3
  /**
3
4
  * @title: 自定义组件设置
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './titlebar.less';
2
3
  declare enum EPopupTitleBarVariantType {
3
4
  BackTitleClose = "back-title-cancel",
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 取消签名确认页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusType } from '../../const';
2
3
  declare const _default: (props: {
3
4
  status: StatusType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: (props: {
2
3
  status: string;
3
4
  pedding?: string;
@@ -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<"tyro" | "windcave" | "stripe" | "payo" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -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
  /**
@@ -295,9 +295,9 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
298
+ mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "tyro" | "windcave" | "stripe" | "payo" | "linkly" | undefined;
300
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | 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
  /** 用于重置当前步骤 */